@christina6950Studied the code of a friend on GitHub, and tried to learn from how she built something, and then try it out myself. ran an NPM install for the first time
@sporeball3the argument parser went somewhere! go get it on npm if you want (npm i --save yeow)
@ella0i followed the npm package workshop and published an npm package :npm:
@safin.singh0I've been struggling to put together large-ish completed projects lately so I decided to just go all out and see how much I can get done in a day-ish. I just finished up ankylos (github.com/safinsingh/ankylos) a modular bootstrapper thing for node projects. Here's what it does:
1. Grab a preset to clone from. This will be copied to whatever destination you specify via a tarball from NPM
2. run ankylos bootstrap to read from the ankylos.config.js in the preset. this tells ankylos what plugins to install and configure. for example, the next preset automatically installs and configures the 'editorconfig', 'eslint', 'github', 'husky', 'markdownlint', 'pnpm', 'prettier', 'renovate', and 'vscode' plugins. it'll also send instructions for build scripts to set, dependencies, etc. ankylos will take care of the explicit dependencies in the preset first. then, it'll install your plugins (ive made like 10 of them for convenience) and install your plugin's dependencies (these are stages 1 & 2 of the bootstrap phase)
3. ankylos prompt you for project metadata and will insert your custom build scripts along with this metadata into a fully-filled out and templated package.json file. finally, ankylos will walk through each of your plugins and apply/copy the files specifies in ankylos.config.js
4. from there, pnpm install will bump you in to your new, modular, automatically-bootstrapped, linted, formatted, <insert a bunch more buzzwords> project!
i only had enough time to create a next and node preset so be sure to check those out. anyway, i'm glad i was able to follow through with this and i hope y'all like it! p.s: you can check out all 16, yes, 16 projects from the ankylos monorepo on its dedicated npm org: www.npmjs.com/org/ankylos. anyway, i'll try my best to maintain this (it's in my best interest too so thats good) if anyone else decides to use it
@sampoder0Iβm really proud that I worked this out!! Published smth on :npm:
@rishi0Yellow hellow everyone! Itβs the first day of winter break, and now that all my school stuffβs finished (having handed in what might, in hindsight, have been one of the worst essays of my life), Iβve found myself quite pretty bored!
Iβm going to be challenging myself to build one cool thing every day (and maybe ship it either here or in #rishi if itβs smaller), so hereβs the first one!
Iβve found myself working with asynchronous hooks in React a lot; whether that be to fetch data or just do timed stuff client-side, the normal integrations just donβt really cut it for me. Thatβs why I built my own library for those kinds of hooks! @rishiosaur/async is built in Typescript, and has some awesome documentation as a result (Typedoc really comin thru), and has two hooks that I use a lot in my daily React life: usePromiseEffect and useAsyncEffect, both of which are modelled to look like idiomatic React (Iβve attached an example of their usage down below).
:githubparrot: You can find the Github repo over at z.rishi.cx/g/async (feel free to star!),
:npm: The NPM package over at www.npmjs.com/package/@rishiosaur/async,
ποΈ And the documentation over at async.rishi.cx!
@christina6950Cloned a github repo, ran an npm install, and then modified the file in data.json- first time for all 3!
@caleb4I'm gonna try to get @scrappy to react with as many emojis as possible, for no particular reason.
When we arrived in space, there were shouts of "yay!" and "hooray!" I wanted to sleep, but the sunset was much too captivating. As I struggled to paint a representation of the masterpiece, my art was cut short by a reminder of our predicament. Our ship's Linux core had been damaged by a rain storm. Upon further inspection, is appeared as though the Rust installation on our ship's robot had been corrupted. We debated which language to replace it with; "Golang!" Matt said. "Swift!" Linus shouted. "Deno!" "JavaScript!" We decided on rewriting the robot's code using minecraft redstone (that way we didn't have to use npm). 15 years later, once we finished, we pushed to the GitHub repository. But wait! The robot's hardware was also severely crippled. We had to 3d print some parts, after getting the models from Google.
@muirrum1Learned my lesson about rolling my own CSS aha, and Hack Night helped me remember why I despise NPM and node