@lynx-js/react-webpack-plugin-canary 0.6.7-canary-20250309-b21403c1 → 0.6.7

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 +13 -15
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,15 +1,13 @@
1
1
  # @lynx-js/react-webpack-plugin
2
2
 
3
- ## 0.6.7-canary-20250309050636-b21403c107212fbc0a0033c067c0170555e0ad4c
3
+ ## 0.6.7
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Support NPM provenance. ([#30](https://github.com/lynx-family/lynx-stack/pull/30))
8
8
 
9
- - Updated dependencies [[`c617453`](https://github.com/lynx-family/lynx-stack/commit/c617453aea967aba702967deb2916b5c883f03bb), [`2fd5a66`](https://github.com/lynx-family/lynx-stack/commit/2fd5a66ca3b88e3bbdc4e4149030ecf1f1e1403d), [`ea82ef6`](https://github.com/lynx-family/lynx-stack/commit/ea82ef63e367c6bb87e4205b6014cc5e1f6896a2), [`f6777ed`](https://github.com/lynx-family/lynx-stack/commit/f6777ed50ebcfce7091a0602011f1129b29e0c73), [`b8bb4f8`](https://github.com/lynx-family/lynx-stack/commit/b8bb4f8e96bcfab3ffb10781a1d0e8aa2eb3b140), [`0428846`](https://github.com/lynx-family/lynx-stack/commit/042884628dad2bd858a0d31657352cb1baf77beb)]:
10
- - @lynx-js/template-webpack-plugin@0.6.4-canary-20250309050636-b21403c107212fbc0a0033c067c0170555e0ad4c
11
- - @lynx-js/webpack-runtime-globals@0.0.5-canary-20250309050636-b21403c107212fbc0a0033c067c0170555e0ad4c
12
- - @lynx-js/react@0.105.1-canary-20250309050636-b21403c107212fbc0a0033c067c0170555e0ad4c
9
+ - Updated dependencies [[`c617453`](https://github.com/lynx-family/lynx-stack/commit/c617453aea967aba702967deb2916b5c883f03bb)]:
10
+ - @lynx-js/webpack-runtime-globals@0.0.5
13
11
 
14
12
  ## 0.6.6
15
13
 
@@ -53,14 +51,14 @@
53
51
  - e8039f2: Add `defineDCE` in plugin options. Often used to define custom macros.
54
52
 
55
53
  ```js
56
- import { pluginReactLynx } from "@lynx-js/react-rsbuild-plugin";
57
- import { defineConfig } from "@lynx-js/rspeedy";
54
+ import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin';
55
+ import { defineConfig } from '@lynx-js/rspeedy';
58
56
 
59
57
  export default defineConfig({
60
58
  plugins: [
61
59
  pluginReactLynx({
62
60
  defineDCE: {
63
- __SOME_FALSE_DEFINE__: "false",
61
+ __SOME_FALSE_DEFINE__: 'false',
64
62
  },
65
63
  }),
66
64
  ],
@@ -72,20 +70,20 @@
72
70
  For example, `import` initialized by dead code will be removed:
73
71
 
74
72
  ```js
75
- import { foo } from "bar";
73
+ import { foo } from 'bar';
76
74
 
77
75
  if (__SOME_FALSE_DEFINE__) {
78
76
  foo();
79
- console.log("dead code");
77
+ console.log('dead code');
80
78
  } else {
81
- console.log("reachable code");
79
+ console.log('reachable code');
82
80
  }
83
81
  ```
84
82
 
85
83
  will be transformed to:
86
84
 
87
85
  ```js
88
- console.log("reachable code");
86
+ console.log('reachable code');
89
87
  ```
90
88
 
91
89
  ## 0.6.0
@@ -95,14 +93,14 @@
95
93
  - a30c83d: Add `compat.removeComponentAttrRegex`.
96
94
 
97
95
  ```js
98
- import { pluginReactLynx } from "@lynx-js/react-rsbuild-plugin";
99
- import { defineConfig } from "@lynx-js/rspeedy";
96
+ import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin';
97
+ import { defineConfig } from '@lynx-js/rspeedy';
100
98
 
101
99
  export default defineConfig({
102
100
  plugins: [
103
101
  pluginReactLynx({
104
102
  compat: {
105
- removeComponentAttrRegex: "YOUR REGEX",
103
+ removeComponentAttrRegex: 'YOUR REGEX',
106
104
  },
107
105
  }),
108
106
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-webpack-plugin-canary",
3
- "version": "0.6.7-canary-20250309-b21403c1",
3
+ "version": "0.6.7",
4
4
  "description": "A webpack plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "webpack",
@@ -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.5-canary-20250309-b21403c1",
36
+ "@lynx-js/webpack-runtime-globals": "npm:@lynx-js/webpack-runtime-globals-canary@0.0.5",
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/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.6.4-canary-20250309-b21403c1",
46
- "@lynx-js/react": "npm:@lynx-js/react-canary@0.105.1-canary-20250309-b21403c1",
47
- "@lynx-js/test-tools": "0.0.0",
48
- "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.5.1-canary-20250309-b21403c1",
49
- "@lynx-js/vitest-setup": "0.0.0"
45
+ "@lynx-js/react": "npm:@lynx-js/react-canary@0.105.1",
46
+ "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.5.1",
47
+ "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.6.4",
48
+ "@lynx-js/vitest-setup": "0.0.0",
49
+ "@lynx-js/test-tools": "0.0.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@lynx-js/react": "*",