Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

major: upgrade-webpack #1650

Draft
wants to merge 5 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 9 additions & 10 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@znck/prop-types": "^0.6.3",
"dog-names": "^1.0.2",
"lodash": "^4.17.21",
"vue-types": "^1.7.0"
"vue-types": "^5.1.1"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand All @@ -31,17 +31,16 @@
"@babel/core": "7.18.6",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"babel-loader": "^8.2.2",
"css-loader": "^3.6.0",
"babel-loader": "^9.1.3",
"css-loader": "^6.10.0",
"sass": "^1.34.0",
"sass-loader": "^8.0.2",
"style-loader": "^0.19.1",
"vue": "^2.7.14",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"vue": "^3.4.21",
"vue-inbrowser-compiler-sucrase": "^4",
"vue-loader": "^15.9.8",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
"vue-template-compiler": "^2.7.14",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "3.3.2"
"webpack": "^5.90.3",
"webpack-bundle-analyzer": "4.10.1"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template functional>
<template>
<!-- @prop {string} id name attribute of the button -->
<button :name="props.id" style="background: pink">
<!-- @slot name of the button -->
Expand Down
6 changes: 3 additions & 3 deletions examples/basic/src/components/Radio/Radio.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<div>
<template v-for="op in options">
<input :key="op.value" type="radio" :value="op.value" name="hello" />
<label :key="`${op.value}-label`" :for="op.value">{{ op.text }}</label>
<template v-for="op in options" :key="op.value">
<input type="radio" :value="op.value" name="hello" />
<label :for="op.value">{{ op.text }}</label>
</template>
</div>
</template>
Expand Down
18 changes: 9 additions & 9 deletions examples/customised/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^8.2.2",
"babel-loader": "^9.1.3",
"babel-plugin-transform-vue-jsx": "4.0.1",
"concurrently": "^4.1.2",
"css-loader": "^3.6.0",
"css-loader": "^6.10.0",
"lodash": "^4.17.21",
"sass": "^1.34.0",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"sass-loader": "^8.0.2",
"style-loader": "^0.19.1",
"url-loader": "^1.1.2",
"vue": "2.7.8",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"url-loader": "^4.1.1",
"vue": "3.4.21",
"vue-docgen-cli": "^4.45.0",
"vue-loader": "^15.9.8",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "3.3.2"
"webpack": "^5.90.3",
"webpack-bundle-analyzer": "4.10.1"
}
}
14 changes: 7 additions & 7 deletions examples/dashed-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dependencies": {
"dog-names": "^1.0.2",
"mini-css-extract-plugin": "^0.5.0",
"vue": "^2.7.14"
"vue": "^3.4.21"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand All @@ -33,13 +33,13 @@
"@babel/core": "7.18.6",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"babel-loader": "^8.2.2",
"css-loader": "^3.6.0",
"babel-loader": "^9.1.3",
"css-loader": "^6.10.0",
"sass": "^1.34.0",
"sass-loader": "^8.0.2",
"style-loader": "^0.19.1",
"vue-loader": "^15.9.8",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
"webpack": "^4.46.0"
"webpack": "^5.90.3"
}
}
16 changes: 8 additions & 8 deletions examples/docgen-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@
"styleguide:build": "vue-docgen && vitepress build docs"
},
"dependencies": {
"vue": "^3.2.37",
"vue": "^3.4.21",
"prismjs": "^1.28.0"
},
"devDependencies": {
"@types/node": "^16.11.45",
"@vitejs/plugin-vue": "^3.0.1",
"@vitejs/plugin-vue-jsx": "^2.0.0",
"@vue/compiler-sfc": "^3.2.27",
"@vue/tsconfig": "^0.1.3",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/compiler-sfc": "^3.4.21",
"@vue/tsconfig": "^0.5.1",
"concurrently": "^4.1.2",
"es-module-lexer": "^1.2.1",
"globby": "^13.1.2",
"npm-run-all": "^4.1.5",
"typescript": "^4.9.5",
"vite": "^2.9.17",
"vitepress": "^1.0.0-beta.1",
"vue-component-meta": "^1.0.9",
"vue-component-meta": "^2.0.6",
"vue-docgen-cli": "^4",
"vue-live": "^2.3.2",
"vue-tsc": "^0.38.8"
"vue-live": "^2.5.4",
"vue-tsc": "^2.0.6"
}
}
31 changes: 15 additions & 16 deletions examples/docgen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,28 @@
"@babel/plugin-transform-react-jsx": "^7.13.12",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@vuepress/plugin-register-components": "1.0.3",
"babel-loader": "^8.2.2",
"@vuepress/plugin-register-components": "1.9.10",
"babel-loader": "^9.1.3",
"concurrently": "^4.1.2",
"css-loader": "^3.6.0",
"css-loader": "^6.10.0",
"dog-names": "^1.0.2",
"html-webpack-plugin": "^4.5.2",
"html-webpack-plugin": "^5.6.0",
"sass": "^1.34.0",
"null-loader": "^4.0.1",
"raw-loader": "^4.0.2",
"sass-loader": "^8.0.2",
"style-loader": "^0.19.1",
"url-loader": "^1.1.2",
"vue": "^2.7.14",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"url-loader": "^4.1.1",
"vue": "^3.4.21",
"vue-docgen-api": "^4.36.1",
"vue-docgen-cli": "^4.36.1",
"vue-loader": "^15.9.8",
"vue-server-renderer": "^2.7.14",
"vue-template-compiler": "^2.7.14",
"vuepress": "^1.9.7",
"vue-loader": "^17.4.2",
"vue-server-renderer": "^2.7.16",
"vuepress": "^1.9.10",
"vuepress-plugin-live": "^1.6.2",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "3.3.2",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^3.11.2"
"webpack": "^5.90.3",
"webpack-bundle-analyzer": "4.10.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.3"
}
}
18 changes: 9 additions & 9 deletions examples/functional-flag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@znck/prop-types": "^0.6.3",
"dog-names": "^1.0.2",
"lodash": "^4.17.21",
"vue-types": "^1.7.0"
"vue-types": "^5.1.1"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand All @@ -33,18 +33,18 @@
"@babel/plugin-transform-react-jsx": "^7.13.12",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"babel-loader": "^8.2.2",
"babel-loader": "^9.1.3",
"clsx": "^1.1.1",
"css-loader": "^3.6.0",
"css-loader": "^6.10.0",
"sass": "^1.34.0",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"sass-loader": "^8.0.2",
"style-loader": "^0.19.1",
"vue": "^2.7.14",
"vue-loader": "^15.9.8",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"vue": "^3.4.21",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "3.3.2"
"webpack": "^5.90.3",
"webpack-bundle-analyzer": "4.10.1"
}
}
16 changes: 8 additions & 8 deletions examples/jsx-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@babel/runtime": "^7.13.10",
"@znck/prop-types": "^0.6.3",
"dog-names": "^1.0.2",
"vue-types": "^1.7.0"
"vue-types": "^5.1.1"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand All @@ -34,15 +34,15 @@
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^8.2.2",
"babel-loader": "^9.1.3",
"babel-plugin-transform-vue-jsx": "4.0.1",
"css-loader": "^3.6.0",
"css-loader": "^6.10.0",
"sass": "^1.34.0",
"sass-loader": "^8.0.2",
"style-loader": "^0.19.1",
"vue": "^2.7.14",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"vue": "^3.4.21",
"vue-styleguidist": "^4",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "3.3.2"
"webpack": "^5.90.3",
"webpack-bundle-analyzer": "4.10.1"
}
}
16 changes: 8 additions & 8 deletions examples/jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@znck/prop-types": "^0.6.3",
"dog-names": "^1.0.2",
"vue-types": "^1.7.0"
"vue-types": "^5.1.1"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand All @@ -26,15 +26,15 @@
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^8.2.2",
"babel-loader": "^9.1.3",
"babel-plugin-transform-vue-jsx": "4.0.1",
"css-loader": "^3.6.0",
"css-loader": "^6.10.0",
"sass": "^1.34.0",
"sass-loader": "^8.0.2",
"style-loader": "^0.19.1",
"vue": "^2.7.14",
"vue-loader": "^15.9.8",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"vue": "^3.4.21",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
"webpack": "^4.46.0"
"webpack": "^5.90.3"
}
}
19 changes: 9 additions & 10 deletions examples/nuxtjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,30 @@
},
"dependencies": {
"@nuxt/core": "2.15.3",
"@nuxt/vue-app": "2.15.3",
"@nuxt/vue-app": "2.17.3",
"@nuxtjs/axios": "5.13.1",
"nuxt": "2.15.3",
"vue": "2.7.8",
"vuex": "3.6.2"
"vue": "3.4.21",
"vuex": "4.1.0"
},
"devDependencies": {
"@babel/core": "7.18.6",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@nuxt/babel-preset-app": "^2.15.3",
"@nuxt/builder": "^2.15.3",
"css-loader": "^3.6.0",
"css-loader": "^6.10.0",
"eslint": "^6",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.3.1",
"prettier": "^2.7.1",
"sass": "^1.34.0",
"postcss-loader": "^3.0.0",
"sass-loader": "^8.0.2",
"vue-loader": "15.9.3",
"vue-server-renderer": "^2.7.14",
"postcss-loader": "^8.1.1",
"sass-loader": "^14.1.1",
"vue-loader": "17.4.2",
"vue-server-renderer": "^2.7.16",
"vue-style-loader": "^4.1.3",
"vue-styleguidist": "^4",
"vue-template-compiler": "^2.7.14",
"webpack": "^4.46.0"
"webpack": "^5.90.3"
}
}
14 changes: 7 additions & 7 deletions examples/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dependencies": {
"dog-names": "^1.0.2",
"mini-css-extract-plugin": "^0.5.0",
"vue": "^2.7.14"
"vue": "^3.4.21"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand All @@ -33,13 +33,13 @@
"@babel/core": "7.18.6",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"babel-loader": "^8.2.2",
"css-loader": "^3.6.0",
"babel-loader": "^9.1.3",
"css-loader": "^6.10.0",
"sass": "^1.34.0",
"sass-loader": "^8.0.2",
"style-loader": "^0.19.1",
"vue-loader": "^15.9.8",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
"webpack": "^4.46.0"
"webpack": "^5.90.3"
}
}
14 changes: 7 additions & 7 deletions examples/sections/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
"@babel/core": "7.18.6",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"babel-loader": "^8.2.2",
"css-loader": "^3.6.0",
"babel-loader": "^9.1.3",
"css-loader": "^6.10.0",
"sass": "^1.34.0",
"sass-loader": "^8.0.2",
"style-loader": "^0.19.1",
"vue": "^2.7.14",
"vue-loader": "^15.9.8",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"vue": "^3.4.21",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
"webpack": "^4.46.0"
"webpack": "^5.90.3"
}
}