Skip to content

Commit a457d15

Browse files
committed
internal(fix): Publish should replace workspace:^ references
1 parent db8bb7d commit a457d15

File tree

6 files changed

+16
-7
lines changed

6 files changed

+16
-7
lines changed

.changeset/chilly-berries-turn.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@data-client/core': patch
3+
'@data-client/graphql': patch
4+
'@data-client/img': patch
5+
'@data-client/react': patch
6+
'@data-client/rest': patch
7+
'@data-client/vue': patch
8+
---
9+
10+
Republish to fix dependency refernces

.github/workflows/beta-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,5 @@ jobs:
4040
title: "Version Packages (Beta)"
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
43+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
44+
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ jobs:
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
36+
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
],
1212
"scripts": {
1313
"changeset:version": "run changeset version && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install",
14-
"changeset:publish": "run build && run changeset publish",
14+
"changeset:publish": "run build && yarn workspaces foreach -A --no-private --topological npm publish --tolerate-republish --access public",
1515
"changeset:version:beta": "run changeset version --snapshot beta && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install",
16-
"changeset:publish:beta": "run build && run changeset publish --tag beta",
16+
"changeset:publish:beta": "run build && yarn workspaces foreach -A --no-private --topological npm publish --tolerate-republish --access public --tag beta",
1717
"lint": "eslint",
1818
"format": "eslint --fix \"packages/*/src/**/*.{js,ts,tsx,cts}\"",
1919
"clean:types": "rimraf packages/*/*.tsbuildinfo",

scripts/rollup-plugins/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "rollup-plugins",
33
"version": "1.0.0",
4+
"private": true,
45
"main": "index.js",
56
"type": "module",
67
"scripts": {
@@ -19,8 +20,5 @@
1920
"rollup-plugin-banner2": "^1.3.1",
2021
"rollup-plugin-dts": "6.1.1",
2122
"rollup-plugin-filesize": "^10.0.0"
22-
},
23-
"devDependencies": {
24-
"rollup-plugins": "workspace:*"
2523
}
2624
}

yarn.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27886,7 +27886,6 @@ __metadata:
2788627886
rollup-plugin-banner2: "npm:^1.3.1"
2788727887
rollup-plugin-dts: "npm:6.1.1"
2788827888
rollup-plugin-filesize: "npm:^10.0.0"
27889-
rollup-plugins: "workspace:*"
2789027889
languageName: unknown
2789127890
linkType: soft
2789227891

0 commit comments

Comments
 (0)