File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 - name : Build
4646 run : pnpm run build
4747
48- - name : List dist contents
49- run : ls -lR dist
48+ - name : List build contents
49+ run : ls -lR build
5050
5151 # Optional: Add a test step here if you have tests
5252 # - name: Test
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ bower_components
3737
3838# Compiled binary addons (https://nodejs.org/api/addons.html)
3939build /Release
40+ build / # Ignore the build output directory
4041
4142# Dependency directories
4243node_modules /
Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ tsconfig.json
3030.vscode /
3131
3232# Explicitly include the distribution directory
33- ! dist
33+ ! build
Original file line number Diff line number Diff line change 77 "license" : " MIT" ,
88 "type" : " module" ,
99 "bin" : {
10- "wt" : " dist /index.js"
10+ "wt" : " build /index.js"
1111 },
1212 "scripts" : {
13- "build" : " tsc && cp package.json dist/package.json " ,
14- "start" : " node dist /index.js" ,
13+ "build" : " tsc" ,
14+ "start" : " node build /index.js" ,
1515 "dev" : " tsc -w" ,
1616 "test" : " vitest run" ,
1717 "semantic-release" : " semantic-release"
4141 "plugins" : [
4242 " @semantic-release/commit-analyzer" ,
4343 " @semantic-release/release-notes-generator" ,
44- [" @semantic-release/npm" , {
45- "pkgRoot" : " dist"
46- }],
44+ " @semantic-release/npm" ,
4745 " @semantic-release/github"
4846 ]
4947 },
5048 "publishConfig" : {
5149 "access" : " public"
5250 },
5351 "files" : [
54- " dist "
52+ " build "
5553 ]
5654}
Original file line number Diff line number Diff line change 44 "module" : " Node16" ,
55 "moduleResolution" : " node16" ,
66 "rootDir" : " src" ,
7- "outDir" : " dist " ,
7+ "outDir" : " build " ,
88 "strict" : true ,
99 "esModuleInterop" : true ,
1010 "resolveJsonModule" : true ,
You can’t perform that action at this time.
0 commit comments