yarn run example examples/example.ts --config examples/.prettierrc
You can set a debugger
anywhere in the code and then use following command:
yarn run compile && node --inspect-brk ./node_modules/.bin/prettier --config examples/.prettierrc --plugin lib/src/index.js examples/example.ts
You can set a debugger
anywhere in the code and then use following command:
node --inspect-brk ./node_modules/.bin/vitest --run
Or, to debug a single unit test file
node --inspect-brk ./node_modules/.bin/vitest --run <name-or-relative-path-of-the-file-file>
First, install the @ianvs/prettier-plugin-sort-imports
and then use following command:
./node_modules/.bin/prettier --write '**/*.{ts,tsx,js}'