Skip to content

Commit

Permalink
ci(action): fix action issue
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Mar 4, 2024
1 parent c07a068 commit e967eb5
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 18 deletions.
1 change: 1 addition & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- run: yarn
- run: yarn build
- run: yarn ci:test
- run: yarn pre:publish
- run: npm run publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true,
"version": "0.2.1",
"version": "0.3.0",
"changelog": true,
"changelogPreset": {
"name": "conventionalcommits",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"start": "cd examples/basic && yarn start",
"test": "lerna run test",
"watch": "lerna run watch",
"pre:publish": "lerna run pre:publish",
"update:version": "lerna version --amend --no-git-tag-version",
"publish": "lerna exec --no-private --no-bail -- npm publish"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ringcentral/mfe-builder",
"version": "0.2.1",
"version": "0.3.0",
"description": "A micro frontends framework for building Web applications",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -44,7 +44,7 @@
"webpack": "^5.75.0"
},
"dependencies": {
"@ringcentral/mfe-shared": "^0.2.1",
"@ringcentral/mfe-shared": "^0.3.0",
"yargs": "17.6.2"
}
}
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ringcentral/mfe-core",
"version": "0.2.1",
"version": "0.3.0",
"description": "A micro frontends framework for building Web applications",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand All @@ -25,8 +25,8 @@
"@ringcentral/mfe-shared": "^0.1.0"
},
"dependencies": {
"@ringcentral/mfe-shared": "^0.2.1",
"@ringcentral/mfe-transport": "^0.2.1"
"@ringcentral/mfe-shared": "^0.3.0",
"@ringcentral/mfe-transport": "^0.3.0"
},
"bugs": {
"url": "https://github.com/ringcentral/ringcentral-mfe/issues"
Expand Down
4 changes: 2 additions & 2 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ringcentral/mfe-logger",
"version": "0.2.1",
"version": "0.3.0",
"description": "A micro frontends framework for building Web applications",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand All @@ -25,7 +25,7 @@
"@ringcentral/mfe-shared": "^0.1.0"
},
"dependencies": {
"@ringcentral/mfe-shared": "^0.2.1",
"@ringcentral/mfe-shared": "^0.3.0",
"@roarr/browser-log-writer": "1.3.0",
"dexie": "3.2.4",
"file-saver": "2.0.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ringcentral/mfe-react",
"version": "0.2.1",
"version": "0.3.0",
"description": "A micro frontends framework for building Web applications",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -39,7 +39,7 @@
"react": "^17.0.2"
},
"dependencies": {
"@ringcentral/mfe-core": "^0.2.1"
"@ringcentral/mfe-core": "^0.3.0"
},
"devDependencies": {
"@testing-library/react": "^12.1.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/sentry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ringcentral/mfe-sentry",
"version": "0.2.1",
"version": "0.3.0",
"description": "A micro frontends framework for building Web applications",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -39,7 +39,7 @@
"@ringcentral/mfe-shared": "^0.1.0"
},
"dependencies": {
"@ringcentral/mfe-shared": "^0.2.1",
"@ringcentral/mfe-shared": "^0.3.0",
"@sentry/browser": "^7.99.0",
"@sentry/tracing": "^7.99.0"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/service-worker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ringcentral/mfe-service-worker",
"version": "0.2.1",
"version": "0.3.0",
"description": "A micro frontends framework for building Web applications",
"main": "index.js",
"module": "index.mjs",
Expand All @@ -10,7 +10,7 @@
},
"scripts": {
"build": "rollup -c ./rollup.config.ts --configPlugin typescript",
"prepublish": "rimraf shared src sw webpack-plugin && cp -r dist/* ./",
"pre:publish": "rimraf shared src sw webpack-plugin && cp -r dist/* ./",
"tsc": "tsc --noEmit",
"ci:test": "echo skip",
"watch": "",
Expand Down Expand Up @@ -46,7 +46,7 @@
"webpack": "^5.75.0"
},
"dependencies": {
"@ringcentral/mfe-shared": "^0.2.1",
"@ringcentral/mfe-shared": "^0.3.0",
"crypto": "^1.0.1",
"ts-md5": "1.3.1",
"workbox-window": "6.5.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ringcentral/mfe-shared",
"version": "0.2.1",
"version": "0.3.0",
"description": "A micro frontends framework for building Web applications",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
4 changes: 2 additions & 2 deletions packages/transport/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ringcentral/mfe-transport",
"version": "0.2.1",
"version": "0.3.0",
"description": "A micro frontends framework for building Web applications",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -39,7 +39,7 @@
"data-transport": "^4.3.5"
},
"dependencies": {
"@ringcentral/mfe-shared": "^0.2.1",
"@ringcentral/mfe-shared": "^0.3.0",
"data-transport": "^4.3.5"
}
}

0 comments on commit e967eb5

Please sign in to comment.