Skip to content

Commit

Permalink
chore: 修复一些构建问题,主要是递归调用 setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rxliuli committed Aug 31, 2021
1 parent 111f5c9 commit ff1de8c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ enableGlobalCache: true

nodeLinker: node-modules

npmRegistryServer: 'https://registry.yarnpkg.com'
npmRegistryServer: "https://registry.yarnpkg.com"

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: '@yarnpkg/plugin-typescript'
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: '@yarnpkg/plugin-version'
spec: "@yarnpkg/plugin-version"
- path: .yarn/plugins/@liuli-util/plugin-changed.cjs
spec: libs/yarn-plugin-changed/bundles/@liuli-util/plugin-changed.js

Expand Down
1 change: 0 additions & 1 deletion libs/i18next-util/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './I18n'
sd
2 changes: 1 addition & 1 deletion libs/monorepo-changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"types": "dist/index.d.ts",
"license": "MIT",
"scripts": {
"setup": "yarn setup",
"setup": "yarn build",
"build": "rimraf dist && liuli-cli build cli",
"dev": "liuli-cli build cli -w",
"start": "ts-node src/bin.ts",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"license": "MIT",
"scripts": {
"setup": "yarn changed foreach -p --topological-dev --include=@liuli-util/i18next-util run setup",
"setup": "yarn changed foreach -p --topological-dev run setup",
"clean": "yarn workspaces foreach -p exec \"yarn dlx rimraf dist node_modules\"",
"build": "yarn workspaces foreach -p --topological-dev run build",
"build:cache": "yarn changed foreach -p --topological-dev run setup",
Expand Down

0 comments on commit ff1de8c

Please sign in to comment.