@yangyongtao/gaea 1.1.2 → 1.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.
- package/package.json +1 -1
- package/scripts/postinstall.mjs +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yangyongtao/gaea",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Gaea 3D visualization component library - Vue 3 components based on Godot WASM engine. Includes WMTS layer loading, camera view control, Vite plugin auto-injection, etc.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
package/scripts/postinstall.mjs
CHANGED
|
@@ -25,8 +25,9 @@ const PUBLIC_DIR = path.join(PACKAGE_ROOT, 'public');
|
|
|
25
25
|
const PKG = JSON.parse(fs.readFileSync(path.join(PACKAGE_ROOT, 'package.json'), 'utf-8'));
|
|
26
26
|
const VERSION = PKG.version;
|
|
27
27
|
|
|
28
|
-
const
|
|
29
|
-
const
|
|
28
|
+
const ASSETS_VERSION = '1.1.1'; // 大文件资源版本,不随 npm 版本变动
|
|
29
|
+
const ZIP_NAME = `gaea-assets-v${ASSETS_VERSION}.zip`;
|
|
30
|
+
const GITHUB_RELEASES = `https://github.com/smallflypig/Gaea/releases/download/v${ASSETS_VERSION}`;
|
|
30
31
|
const ZIP_URL = `${GITHUB_RELEASES}/${ZIP_NAME}`;
|
|
31
32
|
|
|
32
33
|
// ── helpers ──────────────────────────────────────────────────────────
|