Skip to content

Commit

Permalink
Merge pull request #138 from starbeamjs/fix-unstable-build
Browse files Browse the repository at this point in the history
Build and publish the 'unstable' tag correctly
  • Loading branch information
NullVoxPopuli authored Oct 11, 2023
2 parents 84e5619 + 1dcaf37 commit e2eb8cc
Show file tree
Hide file tree
Showing 21 changed files with 137 additions and 20 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
node-registry-url: 'https://registry.npmjs.org'

- name: build
run: pnpm build

- name: set versions
run: node ./workspace/unstable-release/src/version.js

Expand Down
8 changes: 7 additions & 1 deletion packages/preact/preact-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,11 @@
},
"peerDependencies": {
"preact": ">=10"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/preact/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,11 @@
},
"peerDependencies": {
"preact": "^10.11.0"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/react/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,11 @@
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/react/use-strict-lifecycle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,11 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"scheduler": "^0.23.0"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/collections/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,11 @@
"@starbeam-dev/build-support": "workspace:^",
"@types/node": "18.16.1",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/modifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/reactive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/resource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/tags/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/universal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/universal/verify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,11 @@
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"rollup": "^3.29.2"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
8 changes: 7 additions & 1 deletion packages/vue/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,11 @@
},
"peerDependencies": {
"vue": "^3.3.4"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}
2 changes: 1 addition & 1 deletion workspace/unstable-release/src/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async function publish() {
console.info(`Publishing ${workspace}`);
try {
await execaCommand(
"npm publish --tag=unstable --verbose --access=public",
"pnpm publish --tag=unstable --verbose --access=public",
{
cwd: dirname(workspace),
},
Expand Down

0 comments on commit e2eb8cc

Please sign in to comment.