Skip to content

Commit ace430c

Browse files
committed
removed unused dev dependency @types/prettier
swapped out `ansi-colors` for `chalk` - `ansi-colors` hasn't been updated for a while and `chalk` has support for rgb colours which I'd like to use for user colours added a couple keywords to `package.json` changed all `package.json` dependency versions to use easier to understand `1.x` format except `typescript` which now uses an exact version to get rid of `patch-package` errors when new minor versions of typescript come out that update the built in declaration files added a couple type checking options to `tsconfig.json` (and fixed the resulting type checking errors) downgraded `@types/node` to `12.x` since this is the oldest currently supported version of node removed imports from `fs/promises` since this doesn't exist in this version of node instead `src/lib.ts` now exports a bunch of promisified functions (using `util.promisify()`) and those functions are imported instead used this opportunity to use better names for those functions removed unused import `parse` from `acorn` now exporting `Info`, `getFunctionBodyStart()`, and `supportedExtensions` - I actually needed `supportedExtensions` in `src/bin/hsm.ts` (I exported the others as well because it didn't do any harm) updated the syntax style and formating of `src/hsm.ts` - this includes changing `let`s to `const`s, putting `{}` around multiline statement bodies I also changed a couple switch statements with only 1 case to regular `if` `else` statements added `golf`/`minify` command - this command is for using raw `processScript()` on the command line and simply takes an input file and an output file updated `src/scripts/version-dev.ts` to be more async function-y - also removed `execute()` and now using promisified version from `src/lib.ts`
1 parent 64bf467 commit ace430c

7 files changed

Lines changed: 442 additions & 310 deletions

File tree

0 commit comments

Comments
 (0)