File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 3535 - name : Build
3636 run : pnpm build
3737
38+ - name : Check for build artifacts
39+ run : |
40+ [ -f dist/cjs/index.js ] || (echo "CJS build missing" && exit 1)
41+ [ -f dist/es/index.mjs ] || (echo "ESM build missing" && exit 1)
42+
3843 - name : Publish
3944 uses : JS-DevTools/npm-publish@v3
4045 with :
Original file line number Diff line number Diff line change 11{
22 "name" : " @questdb/nodejs-client" ,
3- "version" : " 3.0.1 " ,
3+ "version" : " 3.0.2 " ,
44 "description" : " QuestDB Node.js Client" ,
55 "scripts" : {
66 "test" : " vitest" ,
1212 "preview:docs" : " serve docs"
1313 },
1414 "files" : [
15- " dist"
15+ " dist/cjs" ,
16+ " dist/es"
1617 ],
18+ "main" : " dist/cjs/index.js" ,
19+ "module" : " dist/es/index.mjs" ,
20+ "types" : " dist/cjs/index.d.ts" ,
21+ "type" : " module" ,
1722 "exports" : {
1823 "import" : {
1924 "types" : " ./dist/es/index.d.mts" ,
You can’t perform that action at this time.
0 commit comments