Skip to content

Commit b6a668a

Browse files
committed
internal: Publish behavior test
1 parent db8bb7d commit b6a668a

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

.changeset/chilly-berries-turn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@data-client/vue': patch
3+
---
4+
5+
Just a test to validate publishing flow

.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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"changeset:version": "run changeset version && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install",
1414
"changeset:publish": "run build && run changeset publish",
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-dev npm publish --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)