Skip to content

Commit

Permalink
Merge pull request #89 from simonwong/feature/upgrade_packages
Browse files Browse the repository at this point in the history
feat: upgrade packages, remove lodash in dependencies
  • Loading branch information
simonwong committed Oct 23, 2020
2 parents 90eabfd + 8c59fd9 commit 699ab80
Show file tree
Hide file tree
Showing 3 changed files with 886 additions and 712 deletions.
26 changes: 12 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,34 +37,32 @@
"release": "yarn test && yarn build && np --no-cleanup --yolo --any-branch"
},
"devDependencies": {
"@babel/preset-env": "^7.11.5",
"@microsoft/api-extractor": "^7.9.22",
"@types/fs-extra": "^9.0.1",
"@types/gulp": "^4.0.6",
"@types/jest": "^26.0.14",
"@types/node": "^14.11.2",
"@babel/preset-env": "^7.12.1",
"@microsoft/api-extractor": "^7.10.4",
"@types/fs-extra": "^9.0.2",
"@types/gulp": "^4.0.7",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.2",
"@yueqing/lint": "^1.1.1",
"chalk": "^4.1.0",
"conventional-changelog-cli": "^2.1.0",
"fs-extra": "^9.0.1",
"gulp": "^4.0.2",
"husky": "^4.3.0",
"jest": "^26.4.2",
"lint-staged": "^10.4.0",
"jest": "^26.6.0",
"lint-staged": "^10.4.2",
"np": "^6.5.0",
"rollup": "^2.28.2",
"rollup": "^2.32.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript2": "^0.27.3",
"ts-jest": "^26.4.0",
"rollup-plugin-typescript2": "^0.28.0",
"ts-jest": "^26.4.1",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
},
"dependencies": {
"lodash": "^4.17.15"
},
"dependencies": {},
"husky": {
"hooks": {
"pre-commit": "lint-staged & jest -u"
Expand Down
6 changes: 2 additions & 4 deletions rollup.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable import/no-extraneous-dependencies */
import path from 'path'
import { RollupOptions } from 'rollup'
import rollupTypescript from 'rollup-plugin-typescript2'
Expand Down Expand Up @@ -58,10 +59,7 @@ const rollupConfig: RollupOptions = {
// 只转换源代码,不运行外部依赖
exclude: 'node_modules/**',
// babel 默认不支持 ts 需要手动添加
extensions: [
...DEFAULT_EXTENSIONS,
'.ts',
],
extensions: [...DEFAULT_EXTENSIONS, '.ts'],
}),
],
}
Expand Down

0 comments on commit 699ab80

Please sign in to comment.