File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -112,12 +112,7 @@ jobs:
112112
113113 - name : Publish scratch-gui-standalone
114114 run : |
115- jq '
116- .name = "@scratch/scratch-gui-standalone" |
117- del(.peerDependencies) |
118- .exports."." = .exports."./standalone" |
119- del(.exports."./standalone")
120- ' ./packages/scratch-gui/package.json | npx sponge ./packages/scratch-gui/package.json
115+ bash ./scripts/prepare-standalone-gui.sh
121116
122117 npm --workspace=@scratch/scratch-gui-standalone run clean && npm --workspace=@scratch/scratch-gui-standalone run build:dist-standalone
123118 npm publish --access=public --tag="${{steps.npm_tag.outputs.npm_tag}}" --workspace=@scratch/scratch-gui-standalone
Original file line number Diff line number Diff line change 1+ jq '
2+ if .name != "@scratch/scratch-gui-standalone" then
3+ .name = "@scratch/scratch-gui-standalone" |
4+ del(.peerDependencies) |
5+ .exports."." = .exports."./standalone" |
6+ del(.exports."./standalone")
7+ else
8+ .
9+ end
10+ ' ./packages/scratch-gui/package.json | npx sponge ./packages/scratch-gui/package.json
You can’t perform that action at this time.
0 commit comments