Skip to content

Commit

Permalink
chore(deps): update babel kkt to v7
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 31, 2021
1 parent 02f9a9c commit d5710ed
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 27 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"hook:build": "lerna exec \"tsbb build\" --scope @validator.tool/hook",
"hook:watch": "lerna exec \"tsbb watch\" --scope @validator.tool/hook",
"version": "lerna version --exact --force-publish --no-push --no-git-tag-version",
"remove": "lerna exec \"rm -rf node_modules build package-lock.json\"",
"clean": "lerna clean --yes && npm run remove",
"bootstrap": "lerna bootstrap",
"hoist": "lerna bootstrap --hoist"
},
Expand All @@ -37,8 +39,7 @@
],
"devDependencies": {
"jest-watch-typeahead": "1.0.0",
"jest": "27.4.3",
"lerna": "4.0.0",
"tsbb": "3.5.2"
"tsbb": "3.5.4"
}
}
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "21.0.1",
"@rollup/plugin-node-resolve": "13.0.6",
"@rollup/plugin-node-resolve": "13.1.1",
"@rollup/plugin-typescript": "8.3.0",
"bannerjs": "2.1.0",
"rollup": "2.61.0",
"rollup": "2.62.0",
"rollup-plugin-terser": "7.0.2"
}
}
2 changes: 1 addition & 1 deletion packages/hook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"devDependencies": {
"@babel/runtime": "7.16.3",
"@types/react": "17.0.37",
"@types/react": "17.0.38",
"@types/react-dom": "17.0.11",
"react": "17.0.2",
"react-dom": "17.0.2"
Expand Down
33 changes: 16 additions & 17 deletions website/.kktrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,24 @@ export default (conf: Configuration, env: 'development' | 'production', options:
VERSION: JSON.stringify(pkg.version),
}),
);

conf.optimization = {
...conf.optimization,
splitChunks: {
cacheGroups: {
reactvendor: {
test: /[\\/]node_modules[\\/](react|react-dom)[\\/]/,
name: 'react-vendor',
chunks: 'all',
if (env === 'production') {
conf.optimization = {
...conf.optimization,
splitChunks: {
cacheGroups: {
vendor: {
test: /[\\/]node_modules[\\/](react|react-dom)[\\/]/,
name: 'vendor',
chunks: 'all',
},
prismjs: {
test: /[\\/]node_modules[\\/](refractor)[\\/]/,
name: 'prismjs-vendor',
chunks: 'all',
},
},
// prismjs: {
// test: /[\\/]node_modules[\\/](codemirror)[\\/]/,
// name: 'codemirror-vendor',
// chunks: 'async',
// },
},
},
};
if (env === 'production') {
};
conf.output = { ...conf.output, publicPath: './' };
}
return conf;
Expand Down
10 changes: 5 additions & 5 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"validator.tool": "2.2.2"
},
"devDependencies": {
"@kkt/less-modules": "6.11.0",
"@kkt/raw-modules": "6.11.0",
"@kkt/scope-plugin-options": "6.11.0",
"@types/react": "17.0.37",
"@kkt/less-modules": "7.0.0",
"@kkt/raw-modules": "7.0.0",
"@kkt/scope-plugin-options": "7.0.0",
"@types/react": "17.0.38",
"@types/react-dom": "17.0.11",
"@uiw/react-github-corners": "1.5.3",
"@uiw/react-markdown-preview": "3.4.5",
"@uiw/reset.css": "1.0.5",
"kkt": "6.11.0",
"kkt": "7.0.0",
"react": "17.0.2",
"react-dom": "17.0.2"
},
Expand Down

0 comments on commit d5710ed

Please sign in to comment.