editorconfig-checker / editorconfig-checker.javascript

A tool to verify that your files are in harmony with your .editorconfig
https://editorconfig-checker.github.io/
MIT License
70 stars 10 forks source link

refactor editorconfig checker #376

Closed septs closed 2 years ago

septs commented 2 years ago

100% refactor editorconfig checker

  1. no dependencies (improve install speed, e.g: npx editorconfig-checker)
  2. auto follow latest release
  3. simplify code
$ npm publish --dry-run

> editorconfig-checker@5.0.0 prepublishOnly
> npm start

> editorconfig-checker@5.0.0 start
> rimraf dist && ncc build src/index.ts

ncc: Version 0.33.1
ncc: Compiling file index.js into CJS
ncc: Using typescript@4.5.5 (local user-provided)
757kB  dist/index.js
757kB  [1905ms] - ncc 0.33.1
npm notice
npm notice 📦  editorconfig-checker@5.0.0
npm notice === Tarball Contents ===
npm notice 1.1kB   LICENSE
npm notice 4.3kB   README.md
npm notice 775.6kB dist/index.js
npm notice 1.3kB   package.json
npm notice === Tarball Details ===
npm notice name:          editorconfig-checker
npm notice version:       5.0.0
npm notice filename:      editorconfig-checker-5.0.0.tgz
npm notice package size:  185.3 kB
npm notice unpacked size: 782.2 kB
npm notice shasum:        715128c3babb779b81086a373ece1147b01f1d8d
npm notice integrity:     sha512-PS46td7bnc/Bt[...]+ZZYEfRYx/Rcg==
npm notice total files:   4
npm notice
+ editorconfig-checker@5.0.0
mstruebing commented 2 years ago

Thank you, I will some time to review this and think about this as this changes a pretty important part (using a fixed version or automatically use latest)

github-actions[bot] commented 4 months ago

:tada: This PR is included in version 1.5.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: