@deveco-test/deveco-code 0.2.0-1.2 → 0.2.0-1.3

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/package.json +5 -5
  2. package/postinstall.mjs +1 -0
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "scripts": {
7
7
  "postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
8
8
  },
9
- "version": "0.2.0-1.2",
9
+ "version": "0.2.0-1.3",
10
10
  "license": "MIT",
11
11
  "files": [
12
12
  "bin/**/*",
@@ -16,9 +16,9 @@
16
16
  "CHANGELOG.md"
17
17
  ],
18
18
  "optionalDependencies": {
19
- "@deveco-test/deveco-code-windows-x64": "0.2.0-1.2",
20
- "@deveco-test/deveco-code-darwin-x64": "0.2.0-1.2",
21
- "@deveco-test/deveco-code-darwin-arm64": "0.2.0-1.2",
22
- "@deveco-test/deveco-code-windows-x64-baseline": "0.2.0-1.2"
19
+ "@deveco-test/deveco-code-windows-x64": "0.2.0-1.3",
20
+ "@deveco-test/deveco-code-darwin-x64": "0.2.0-1.3",
21
+ "@deveco-test/deveco-code-darwin-arm64": "0.2.0-1.3",
22
+ "@deveco-test/deveco-code-windows-x64-baseline": "0.2.0-1.3"
23
23
  }
24
24
  }
package/postinstall.mjs CHANGED
@@ -149,6 +149,7 @@ function copyVendor(packageDir) {
149
149
  if (fs.existsSync(vendorSrc)) {
150
150
  copyDir(vendorSrc, vendorDst)
151
151
  restoreDevecoCliDeps(path.join(vendorDst, "deveco-cli"))
152
+ restoreDevecoCliDeps(path.join(packageDir, "vendor", "deveco-cli"))
152
153
  }
153
154
  }
154
155