Skip to content

Commit

Permalink
Fix publish-next
Browse files Browse the repository at this point in the history
  • Loading branch information
tajo committed Dec 21, 2023
1 parent a9c6f35 commit 3cae6c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@
"styletron-engine-monolithic": "^1.0.0",
"typescript": "5.3.3"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"engines": {
"node": ">=18.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions publish/publish-next.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const version = `0.0.0-next-${shortHash}`;
console.log(`Publishing baseui ${version}`);
const pkgJson = JSON.parse(fs.readFileSync("./package.json"));
pkgJson.version = version;
delete pkgJson.scripts.prepare;
fs.writeFileSync("./dist/package.json", JSON.stringify(pkgJson, null, 2));

try {
Expand Down

0 comments on commit 3cae6c7

Please sign in to comment.