Skip to content

Commit

Permalink
🔨 chore: 从 yarn 迁移到 pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Feb 3, 2022
1 parent 1eee29b commit 38bb09b
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion packages/asset-gallery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"test": "jest",
"test:update": "jest -u",
"cov": "jest --coverage",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"clean": "rm -rf es lib dist build coverage .umi"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/float-label-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build": "father-build && webpack",
"test": "jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/heatmap-calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"webpack": "webpack",
"test": "jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"webpack": "webpack",
"test": "jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/journey-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"schema": "typescript-json-schema src/types/yml.ts YMLJourneyMapRawData -o ./schema/journey-map.schema.json --required --ignoreErrors",
"test": "jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi",
"lint-staged": "lint-staged"
Expand Down
2 changes: 1 addition & 1 deletion packages/layout-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"webpack": "webpack",
"test": "jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/macos-traffic-light/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"webpack": "webpack",
"test": "jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/mindflow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "jest",
"test:debug": "DEBUG_MODE=1 jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/page-loading/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"webpack": "webpack",
"test": "jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/preloader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"webpack": "webpack",
"test": "jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/sortable-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"webpack": "webpack",
"test": "jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/tag-selector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"webpack": "webpack",
"test": "jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/user-panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"test": "jest",
"test:update": "jest -u",
"cov": "jest --coverage",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"clean": "rm -rf es lib dist build coverage .umi"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build": "father-build",
"test": "jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
}
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions scripts/create-package/template/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"access": "public"
},
"scripts": {
"build": "father-build && yarn webpack",
"build": "father-build && pnpm run webpack",
"webpack": "webpack",
"test": "jest",
"test:update": "jest -u",
"prepublishOnly": "yarn build",
"prepublishOnly": "pnpm run build",
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
}
Expand Down

1 comment on commit 38bb09b

@vercel
Copy link

@vercel vercel bot commented on 38bb09b Feb 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.