-
- Downloads
Add comb config
Showing
- config-schema.json 14 additions, 0 deletionsconfig-schema.json
- package.json 5 additions, 3 deletionspackage.json
- pnpm-lock.yaml 89 additions, 0 deletionspnpm-lock.yaml
- src/exit-codes.ts 2 additions, 1 deletionsrc/exit-codes.ts
- src/index.ts 10 additions, 3 deletionssrc/index.ts
- src/parse-args.ts 9 additions, 1 deletionsrc/parse-args.ts
- src/utils/iterate.ts 23 additions, 0 deletionssrc/utils/iterate.ts
- src/utils/parse-app-config.ts 40 additions, 0 deletionssrc/utils/parse-app-config.ts
config-schema.json
0 → 100644
... | ... | @@ -8,7 +8,7 @@ |
"private": false, | ||
"packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0", | ||
"scripts": { | ||
"prebuild": "husky", | ||
"prebuild": "husky && json2ts -i config-schema.json -o dist/config.ts", | ||
"build": "tsc", | ||
"postbuild": "rollup -c && size-limit", | ||
"postinstall": "node ./dist/bundle/index.js" | ||
... | ... | @@ -40,6 +40,7 @@ |
"@types/semver": "^7.5.8", | ||
"@types/yargs": "^17.0.33", | ||
"husky": "^9.1.7", | ||
"json-schema-to-typescript": "^15.0.4", | ||
"rollup": "^4.34.8", | ||
"size-limit": "^11.1.6", | ||
"typescript": "^5.7.3" | ||
... | ... | @@ -54,7 +55,7 @@ |
"path": [ | ||
"./dist/bundle" | ||
], | ||
"limit": "5800 kB", | ||
"limit": "50 kB", | ||
"brotli": false | ||
} | ||
], | ||
... | ... | @@ -73,7 +74,8 @@ |
"files": [ | ||
"LICENSE.md", | ||
"README.md", | ||
"dist/bundle" | ||
"dist/bundle", | ||
"config-schema.json" | ||
], | ||
"repository": { | ||
"type": "git", | ||
... | ... |
src/utils/iterate.ts
0 → 100644
src/utils/parse-app-config.ts
0 → 100644
Please register or sign in to comment