Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
codingki committed Jul 2, 2024
1 parent 9156f01 commit 89c0fcc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"submodule": "yarn run submodule:init && yarn run submodule:update",
"submodule:init": "git submodule init",
"submodule:update": "git submodule update",
"release": "yarn run build && changeset publish"
"release": "yarn run submodule && yarn run codegen && yarn run build && yarn workspace @skip-go/widget run && changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
Expand Down
10 changes: 6 additions & 4 deletions packages/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@
"build": "rollup --config rollup.config.js",
"lint": "eslint src --ext .ts",
"chains:generate": "tsx ./src/scripts/codegen.ts",
"postpublish": "git checkout -- package.json",
"prepublishOnly": "npm run build && node scripts/prepublish.cjs",
"prepack": "npm run build && node scripts/prepublish.cjs",
"postpack": "git checkout -- package.json"
"postpublish": "yarn run post",
"prepublishOnly": "yarn run pre",
"prepack": "yarn run pre",
"postpack": "yarn run post",
"pre": "npm run build && node scripts/prepublish.cjs",
"post": "git checkout -- package.json"
},
"peerDependencies": {
"react": "17.x || 18.x",
Expand Down

0 comments on commit 89c0fcc

Please sign in to comment.