@rsbuild/plugin-vue2 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +21 -28
package/README.md CHANGED
@@ -23,7 +23,7 @@ Add plugin to your `rsbuild.config.ts`:
23
23
 
24
24
  ```ts
25
25
  // rsbuild.config.ts
26
- import { pluginVue2 } from "@rsbuild/plugin-vue2";
26
+ import { pluginVue2 } from '@rsbuild/plugin-vue2';
27
27
 
28
28
  export default {
29
29
  plugins: [pluginVue2()],
@@ -46,7 +46,7 @@ Options passed to `vue-loader`, please refer to the [vue-loader documentation](h
46
46
  ```js
47
47
  const defaultOptions = {
48
48
  compilerOptions: {
49
- whitespace: "condense",
49
+ whitespace: 'condense',
50
50
  },
51
51
  experimentalInlineMatchResource: true,
52
52
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-vue2",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "repository": "https://github.com/rstackjs/rsbuild-plugin-vue2",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -17,38 +17,24 @@
17
17
  "files": [
18
18
  "dist"
19
19
  ],
20
- "scripts": {
21
- "build": "rslib build",
22
- "dev": "rslib build --watch",
23
- "lint": "biome check .",
24
- "lint:write": "biome check . --write",
25
- "prepare": "simple-git-hooks && npm run build",
26
- "test": "playwright test",
27
- "bump": "npx bumpp"
28
- },
29
20
  "simple-git-hooks": {
30
- "pre-commit": "npx nano-staged"
31
- },
32
- "nano-staged": {
33
- "*.{js,jsx,ts,tsx,mjs,cjs}": [
34
- "biome check --write --no-errors-on-unmatched"
35
- ]
21
+ "pre-commit": "pnpm run lint:write"
36
22
  },
37
23
  "dependencies": {
38
24
  "vue-loader": "^15.11.1",
39
- "webpack": "^5.104.1"
25
+ "webpack": "^5.107.1"
40
26
  },
41
27
  "devDependencies": {
42
- "@biomejs/biome": "^1.9.4",
43
- "@playwright/test": "^1.58.1",
44
- "@rsbuild/core": "2.0.0-beta.0",
45
- "@rsbuild/plugin-less": "^1.6.0",
46
- "@rslib/core": "^0.19.4",
47
- "@types/node": "^24.10.9",
48
- "nano-staged": "^0.9.0",
49
- "playwright": "^1.58.1",
28
+ "@playwright/test": "^1.60.0",
29
+ "@rsbuild/core": "2.0.7",
30
+ "@rsbuild/plugin-less": "^1.6.3",
31
+ "@rslib/core": "^0.21.5",
32
+ "@rslint/core": "^0.5.3",
33
+ "@types/node": "^24.12.4",
34
+ "playwright": "^1.60.0",
35
+ "prettier": "^3.8.3",
50
36
  "simple-git-hooks": "^2.13.1",
51
- "typescript": "^5.9.3",
37
+ "typescript": "^6.0.3",
52
38
  "vue": "^2.7.16"
53
39
  },
54
40
  "peerDependencies": {
@@ -59,9 +45,16 @@
59
45
  "optional": true
60
46
  }
61
47
  },
62
- "packageManager": "pnpm@10.28.2",
63
48
  "publishConfig": {
64
49
  "access": "public",
65
50
  "registry": "https://registry.npmjs.org/"
51
+ },
52
+ "scripts": {
53
+ "build": "rslib",
54
+ "dev": "rslib -w",
55
+ "lint": "rslint && prettier -c .",
56
+ "lint:write": "rslint --fix && prettier -w .",
57
+ "test": "playwright test",
58
+ "bump": "pnpx bumpp"
66
59
  }
67
- }
60
+ }