Skip to content

Commit

Permalink
fix: publish to npm failed because of name conflicts (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruleeeer authored May 18, 2023
1 parent e32b3dc commit 2a85d44
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 25 deletions.
21 changes: 3 additions & 18 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
{
"name": "webpack-host",
"private": true,
"scripts": {
"build": "pnpm --parallel --filter \"./**\" build",
"serve": "pnpm --parallel --filter \"./**\" serve ",
"build:remotes": "pnpm --filter \"./remote\" build",
"serve:remotes": "pnpm --filter \"./remote\" serve",
"dev:hosts": "pnpm --filter \"./host\" dev",
"stop": "kill-port --port 5000,5001"
},
"workspaces": [
"host",
"remote"
],
"devDependencies": {
"@originjs/vite-plugin-federation": "workspace:*",
"kill-port": "^2.0.1"
}
"name": "federation-examples",
"version": "1.0.0",
"private": true
}
16 changes: 9 additions & 7 deletions packages/examples/webpack-host/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{
"name": "webpack-host",
"private": true,
"version": "1.0.0",
"scripts": {
"build": "pnpm --parallel --filter \"./**\" build",
"serve": "pnpm --parallel --filter \"./**\" serve ",
"build:remotes": "pnpm --filter \"./remote\" build",
"serve:remotes": "pnpm --filter \"./remote\" serve",
"dev:hosts": "pnpm --filter \"./host\" dev",
"stop": "kill-port --port 5000,5001"
},
"workspaces": [
"host",
"remote"
],
"scripts": {
"build": "pnpm --parallel --filter \"./**\" build",
"serve": "pnpm --parallel --filter \"./**\" serve",
"stop": "kill-port --port 8080,5001"
},
"devDependencies": {
"@originjs/vite-plugin-federation": "^1.1.10",
"@originjs/vite-plugin-federation": "workspace:*",
"kill-port": "^2.0.1"
}
}

0 comments on commit 2a85d44

Please sign in to comment.