File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 33Shared configuration files for OpenAPI Typescript projects
44
55- tsconfig.json - modern Node22+ Next-compatible, noEmit
6- - tsconfig.build.json - emits to dist
6+ - tsconfig.build.json - emits to build
77- tsconfig.tsup.json - disables incremental compilation
88- .commitlintrc.yaml - force conventional commit format
99- .prettierrc.yaml - stylez for days
Original file line number Diff line number Diff line change 22 "name" : " @openapi-typescript-infra/cpconfig" ,
33 "version" : " 0.0.0" ,
44 "description" : " Standard Typescript/Node/React configuration for @openapi-typescript-infra projects" ,
5- "main" : " ./dist /index.js" ,
6- "exports" : " ./dist /index.js" ,
5+ "main" : " ./build /index.js" ,
6+ "exports" : " ./build /index.js" ,
77 "type" : " module" ,
8- "types" : " dist /index.d.ts" ,
8+ "types" : " build /index.d.ts" ,
99 "author" :
" Developers <[email protected] >" ,
1010 "license" : " UNLICENSED" ,
1111 "packageManager" :
" [email protected] " ,
1414 },
1515 "scripts" : {
1616 "build" : " tsc -p tsconfig.build.json" ,
17- "clean" : " yarn dlx rimraf ./dist " ,
17+ "clean" : " yarn dlx rimraf ./build " ,
1818 "lint" : " eslint ." ,
1919 "postinstall" : " cpconfig" ,
2020 "test" : " vitest"
5757 "dependencies" : {
5858 "@typescript-eslint/eslint-plugin" : " ^8.46.3" ,
5959 "@typescript-eslint/parser" : " ^8.46.3" ,
60- "cpconfig" : " ^1.3.1 " ,
60+ "cpconfig" : " ^1.4.0 " ,
6161 "eslint" : " ^9.39.1" ,
6262 "eslint-config-prettier" : " ^10.1.8" ,
6363 "eslint-import-resolver-typescript" : " ^4.4.4" ,
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export default defineConfig([
8787 {
8888 ignores : [
8989 '.github/**' ,
90- 'dist /**' ,
90+ 'build /**' ,
9191 'private/**' ,
9292 'public/**' ,
9393 'coverage' ,
Original file line number Diff line number Diff line change 1515 ],
1616 "exclude" : [
1717 " node_modules" ,
18- " dist "
18+ " build "
1919 ],
2020 "compilerOptions" : {
2121 "lib" : [
Original file line number Diff line number Diff line change @@ -568,7 +568,7 @@ __metadata:
568568 " @types/node " : ^24.10.0
569569 " @typescript-eslint/eslint-plugin " : ^8.46.3
570570 " @typescript-eslint/parser " : ^8.46.3
571- cpconfig : ^1.3.1
571+ cpconfig : ^1.4.0
572572 eslint : ^9.39.1
573573 eslint-config-prettier : ^10.1.8
574574 eslint-import-resolver-typescript : ^4.4.4
@@ -1609,12 +1609,12 @@ __metadata:
16091609 languageName : node
16101610 linkType : hard
16111611
1612- " cpconfig@npm:^1.3.1 " :
1613- version : 1.3.1
1614- resolution : " cpconfig@npm:1.3.1 "
1612+ " cpconfig@npm:^1.4.0 " :
1613+ version : 1.4.0
1614+ resolution : " cpconfig@npm:1.4.0 "
16151615 bin :
16161616 cpconfig : build/cli.js
1617- checksum : ebe6bcf24242bcdedd129ff4bfb953652bcd594cf2bb493a68ab4add7cb2b88e0fe7adeb7729d60837ced97952e38ac048ed9a9639a4ef0abbddbb493da006c4
1617+ checksum : 794e09cc39dd69cb390255c882ac4b2f2fbce863c836f4537da98a94bf794ab56fb29bcb310efa66b9cba533ab96447a9be5ac03acd7ceedde827ef26f0df01c
16181618 languageName : node
16191619 linkType : hard
16201620
You can’t perform that action at this time.
0 commit comments