Skip to content

Commit 957f7ae

Browse files
authored
chore: update deps (#58)
1 parent 0043bf9 commit 957f7ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+3334
-2347
lines changed

.eslintrc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"extends": "@so1ve",
3-
"rules": {
4-
"@typescript-eslint/restrict-template-expressions": "off",
5-
"no-console": "off",
6-
"vue/component-api-style": "off",
7-
"vue/no-static-inline-styles": "off",
8-
"import/no-duplicates": "off",
9-
"unicorn/no-array-for-each": "off"
10-
}
2+
"extends": "@so1ve",
3+
"rules": {
4+
"@typescript-eslint/restrict-template-expressions": "off",
5+
"no-console": "off",
6+
"vue/component-api-style": "off",
7+
"vue/no-static-inline-styles": "off",
8+
"import/no-duplicates": "off",
9+
"unicorn/no-array-for-each": "off"
10+
}
1111
}

.prettierrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require("@so1ve/prettier-config");

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"recommendations": ["dbaeumer.vscode-eslint"]
2+
"recommendations": ["dbaeumer.vscode-eslint"]
33
}

.vscode/settings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"typescript.tsdk": "node_modules/typescript/lib",
3-
"editor.codeActionsOnSave": {
4-
"source.fixAll.eslint": true
5-
}
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"editor.codeActionsOnSave": {
4+
"source.fixAll.eslint": true
5+
}
66
}

README.md

Lines changed: 47 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ $ pnpm add unplugin-vue2 -D
2424
import UnpluginVue2 from "unplugin-vue2/vite";
2525

2626
export default defineConfig({
27-
plugins: [
28-
UnpluginVue2({
29-
/* options */
30-
}),
31-
],
27+
plugins: [
28+
UnpluginVue2({
29+
/* options */
30+
}),
31+
],
3232
});
3333
```
3434

@@ -42,30 +42,29 @@ export default defineConfig({
4242
import UnpluginVue2 from "unplugin-vue2/rollup";
4343

4444
export default {
45-
plugins: [
46-
UnpluginVue2({
47-
/* options */
48-
}),
49-
// other plugins
50-
],
45+
plugins: [
46+
UnpluginVue2({
47+
/* options */
48+
}),
49+
// other plugins
50+
],
5151
};
5252
```
5353

5454
<br></details>
5555

56-
5756
<details>
5857
<summary>Webpack</summary><br>
5958

6059
```ts
6160
// webpack.config.js
6261
module.exports = {
63-
/* ... */
64-
plugins: [
65-
require("unplugin-vue2/webpack")({
66-
/* options */
67-
}),
68-
],
62+
/* ... */
63+
plugins: [
64+
require("unplugin-vue2/webpack")({
65+
/* options */
66+
}),
67+
],
6968
};
7069
```
7170

@@ -77,13 +76,13 @@ module.exports = {
7776
```ts
7877
// vue.config.js
7978
module.exports = {
80-
configureWebpack: {
81-
plugins: [
82-
require("unplugin-vue2/webpack")({
83-
/* options */
84-
}),
85-
],
86-
},
79+
configureWebpack: {
80+
plugins: [
81+
require("unplugin-vue2/webpack")({
82+
/* options */
83+
}),
84+
],
85+
},
8786
};
8887
```
8988

@@ -95,14 +94,14 @@ module.exports = {
9594
```ts
9695
// quasar.conf.js [Vite]
9796
module.exports = {
98-
vitePlugins: [
99-
[
100-
"unplugin-vue2/vite",
101-
{
102-
/* options */
103-
},
104-
],
105-
],
97+
vitePlugins: [
98+
[
99+
"unplugin-vue2/vite",
100+
{
101+
/* options */
102+
},
103+
],
104+
],
106105
};
107106
```
108107

@@ -111,15 +110,15 @@ module.exports = {
111110
const UnpluginVue2Plugin = require("unplugin-vue2/webpack");
112111

113112
module.exports = {
114-
build: {
115-
chainWebpack(chain) {
116-
chain.plugin("unplugin-vue2").use(
117-
UnpluginVue2Plugin({
118-
/* options */
119-
}),
120-
);
121-
},
122-
},
113+
build: {
114+
chainWebpack(chain) {
115+
chain.plugin("unplugin-vue2").use(
116+
UnpluginVue2Plugin({
117+
/* options */
118+
}),
119+
);
120+
},
121+
},
123122
};
124123
```
125124

@@ -133,12 +132,12 @@ module.exports = {
133132
import { build } from "esbuild";
134133

135134
build({
136-
/* ... */
137-
plugins: [
138-
require("unplugin-vue2/esbuild")({
139-
/* options */
140-
}),
141-
],
135+
/* ... */
136+
plugins: [
137+
require("unplugin-vue2/esbuild")({
138+
/* options */
139+
}),
140+
],
142141
});
143142
```
144143

build.config.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import { defineBuildConfig } from "unbuild";
22

33
export default defineBuildConfig({
4-
clean: true,
5-
rollup: {
6-
inlineDependencies: true,
7-
},
8-
externals: [
9-
"webpack",
10-
"rollup",
11-
"vite",
12-
"esbuild",
13-
"rspack",
14-
"vue/compiler-sfc",
15-
],
4+
clean: true,
5+
rollup: {
6+
inlineDependencies: true,
7+
},
8+
externals: [
9+
"webpack",
10+
"rollup",
11+
"vite",
12+
"esbuild",
13+
"rspack",
14+
"vue/compiler-sfc",
15+
],
1616
});

0 commit comments

Comments
 (0)