@lynx-js/react-webpack-plugin-canary 0.6.6 → 0.6.7-canary-20250304-b01908ad

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/CHANGELOG.md +23 -10
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @lynx-js/react-webpack-plugin
2
2
 
3
+ ## 0.6.7-canary-20250304134646-b01908ad825fcd95ed9e5abc5656a82b8ad87620
4
+
5
+ ### Patch Changes
6
+
7
+ - c617453: Support NPM provenance.
8
+ - Updated dependencies [c617453]
9
+ - Updated dependencies [2fd5a66]
10
+ - Updated dependencies [f6777ed]
11
+ - Updated dependencies [b8bb4f8]
12
+ - @lynx-js/template-webpack-plugin@0.6.4-canary-20250304134646-b01908ad825fcd95ed9e5abc5656a82b8ad87620
13
+ - @lynx-js/webpack-runtime-globals@0.0.5-canary-20250304134646-b01908ad825fcd95ed9e5abc5656a82b8ad87620
14
+ - @lynx-js/react@0.105.1-canary-20250304134646-b01908ad825fcd95ed9e5abc5656a82b8ad87620
15
+
3
16
  ## 0.6.6
4
17
 
5
18
  ### Patch Changes
@@ -42,14 +55,14 @@
42
55
  - e8039f2: Add `defineDCE` in plugin options. Often used to define custom macros.
43
56
 
44
57
  ```js
45
- import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin';
46
- import { defineConfig } from '@lynx-js/rspeedy';
58
+ import { pluginReactLynx } from "@lynx-js/react-rsbuild-plugin";
59
+ import { defineConfig } from "@lynx-js/rspeedy";
47
60
 
48
61
  export default defineConfig({
49
62
  plugins: [
50
63
  pluginReactLynx({
51
64
  defineDCE: {
52
- __SOME_FALSE_DEFINE__: 'false',
65
+ __SOME_FALSE_DEFINE__: "false",
53
66
  },
54
67
  }),
55
68
  ],
@@ -61,20 +74,20 @@
61
74
  For example, `import` initialized by dead code will be removed:
62
75
 
63
76
  ```js
64
- import { foo } from 'bar';
77
+ import { foo } from "bar";
65
78
 
66
79
  if (__SOME_FALSE_DEFINE__) {
67
80
  foo();
68
- console.log('dead code');
81
+ console.log("dead code");
69
82
  } else {
70
- console.log('reachable code');
83
+ console.log("reachable code");
71
84
  }
72
85
  ```
73
86
 
74
87
  will be transformed to:
75
88
 
76
89
  ```js
77
- console.log('reachable code');
90
+ console.log("reachable code");
78
91
  ```
79
92
 
80
93
  ## 0.6.0
@@ -84,14 +97,14 @@
84
97
  - a30c83d: Add `compat.removeComponentAttrRegex`.
85
98
 
86
99
  ```js
87
- import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin';
88
- import { defineConfig } from '@lynx-js/rspeedy';
100
+ import { pluginReactLynx } from "@lynx-js/react-rsbuild-plugin";
101
+ import { defineConfig } from "@lynx-js/rspeedy";
89
102
 
90
103
  export default defineConfig({
91
104
  plugins: [
92
105
  pluginReactLynx({
93
106
  compat: {
94
- removeComponentAttrRegex: 'YOUR REGEX',
107
+ removeComponentAttrRegex: "YOUR REGEX",
95
108
  },
96
109
  }),
97
110
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-webpack-plugin-canary",
3
- "version": "0.6.6",
3
+ "version": "0.6.7-canary-20250304-b01908ad",
4
4
  "description": "A webpack plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "webpack",
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/lynx-wg/lynx-stack.git",
12
+ "url": "https://github.com/lynx-family/lynx-stack.git",
13
13
  "directory": "packages/webpack/react-webpack-plugin"
14
14
  },
15
15
  "license": "Apache-2.0",
@@ -33,7 +33,7 @@
33
33
  "README.md"
34
34
  ],
35
35
  "dependencies": {
36
- "@lynx-js/webpack-runtime-globals": "npm:@lynx-js/webpack-runtime-globals-canary@0.0.4",
36
+ "@lynx-js/webpack-runtime-globals": "npm:@lynx-js/webpack-runtime-globals-canary@0.0.5-canary-20250304-b01908ad",
37
37
  "tiny-invariant": "^1.3.3"
38
38
  },
39
39
  "devDependencies": {
@@ -42,11 +42,11 @@
42
42
  "css-loader": "^7.1.2",
43
43
  "swc-loader": "^0.2.6",
44
44
  "webpack": "^5.98.0",
45
- "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.5.0",
46
- "@lynx-js/react": "npm:@lynx-js/react-canary@0.105.0",
47
- "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.6.3",
48
- "@lynx-js/test-tools": "0.0.0",
49
- "@lynx-js/vitest-setup": "0.0.0"
45
+ "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.5.1-canary-20250304-b01908ad",
46
+ "@lynx-js/react": "npm:@lynx-js/react-canary@0.105.1-canary-20250304-b01908ad",
47
+ "@lynx-js/vitest-setup": "0.0.0",
48
+ "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.6.4-canary-20250304-b01908ad",
49
+ "@lynx-js/test-tools": "0.0.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@lynx-js/react": "*",