@rsbuild/plugin-assets-retry 1.1.1 → 1.2.0

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.
package/package.json CHANGED
@@ -1,13 +1,7 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-assets-retry",
3
- "version": "1.1.1",
4
- "description": "Assets retry plugin for Rsbuild",
5
- "homepage": "https://rsbuild.dev",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/web-infra-dev/rsbuild",
9
- "directory": "packages/plugin-assets-retry"
10
- },
3
+ "version": "1.2.0",
4
+ "repository": "https://github.com/rspack-contrib/rsbuild-plugin-assets-retry",
11
5
  "license": "MIT",
12
6
  "type": "module",
13
7
  "exports": {
@@ -17,29 +11,51 @@
17
11
  "require": "./dist/index.cjs"
18
12
  }
19
13
  },
20
- "main": "./dist/index.cjs",
14
+ "main": "./dist/index.js",
15
+ "module": "./dist/index.mjs",
21
16
  "types": "./dist/index.d.ts",
22
- "files": [
23
- "dist"
24
- ],
17
+ "files": ["dist"],
18
+ "scripts": {
19
+ "build": "rslib build",
20
+ "dev": "rslib build --watch",
21
+ "lint": "biome check .",
22
+ "lint:write": "biome check . --write",
23
+ "prepare": "simple-git-hooks && npm run build",
24
+ "test": "playwright test",
25
+ "bump": "npx bumpp"
26
+ },
27
+ "simple-git-hooks": {
28
+ "pre-commit": "npm run lint:write"
29
+ },
25
30
  "devDependencies": {
26
- "@rslib/core": "0.4.1",
27
- "@swc/core": "^1.10.16",
31
+ "@biomejs/biome": "^1.9.4",
32
+ "@playwright/test": "^1.50.1",
33
+ "@rsbuild/core": "^1.2.3",
34
+ "@rsbuild/plugin-react": "^1.1.1",
35
+ "@rslib/core": "^0.4.0",
36
+ "@swc/core": "^1.10.18",
37
+ "@types/node": "^22.13.0",
38
+ "@types/react": "^19.0.10",
39
+ "@types/react-dom": "^19.0.4",
28
40
  "@types/serialize-javascript": "^5.0.4",
41
+ "playwright": "^1.50.1",
42
+ "react": "^19.0.0",
43
+ "react-dom": "^19.0.0",
29
44
  "serialize-javascript": "^6.0.2",
30
- "typescript": "^5.7.3",
31
- "@rsbuild/core": "1.2.9"
45
+ "simple-git-hooks": "^2.11.1",
46
+ "typescript": "^5.7.3"
32
47
  },
33
48
  "peerDependencies": {
34
49
  "@rsbuild/core": "1.x"
35
50
  },
51
+ "peerDependenciesMeta": {
52
+ "@rsbuild/core": {
53
+ "optional": true
54
+ }
55
+ },
56
+ "packageManager": "pnpm@9.15.4",
36
57
  "publishConfig": {
37
58
  "access": "public",
38
- "provenance": true,
39
59
  "registry": "https://registry.npmjs.org/"
40
- },
41
- "scripts": {
42
- "build": "rslib build",
43
- "dev": "rslib build --watch"
44
60
  }
45
- }
61
+ }