@galacean/cli 0.0.1-alpha.3 → 0.0.1-alpha.4
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/dist/cli.bundle.cjs +3 -1
- package/package.json +1 -1
package/dist/cli.bundle.cjs
CHANGED
|
@@ -3745,6 +3745,7 @@ function buildLocalPathMap(assets) {
|
|
|
3745
3745
|
resolved.set(uuid3, {
|
|
3746
3746
|
assetId: asset2.uuid,
|
|
3747
3747
|
serverId: asset2.id,
|
|
3748
|
+
name: asset2.name,
|
|
3748
3749
|
localPath,
|
|
3749
3750
|
metaType,
|
|
3750
3751
|
isFolder,
|
|
@@ -3772,6 +3773,7 @@ function generateManifest(pathMap, contentHashes) {
|
|
|
3772
3773
|
for (const [assetId, entry] of pathMap) {
|
|
3773
3774
|
entries[assetId] = {
|
|
3774
3775
|
assetId,
|
|
3776
|
+
name: entry.name,
|
|
3775
3777
|
path: entry.localPath,
|
|
3776
3778
|
type: entry.metaType,
|
|
3777
3779
|
contentHash: contentHashes.get(assetId) ?? "",
|
|
@@ -116538,7 +116540,7 @@ function readCliVersionFromPackageJson() {
|
|
|
116538
116540
|
const parsed = JSON.parse(raw);
|
|
116539
116541
|
return typeof parsed.version === "string" && parsed.version.length > 0 ? parsed.version : "0.0.0";
|
|
116540
116542
|
}
|
|
116541
|
-
var CLI_VERSION = "0.0.1-alpha.
|
|
116543
|
+
var CLI_VERSION = "0.0.1-alpha.4".length > 0 ? "0.0.1-alpha.4" : readCliVersionFromPackageJson();
|
|
116542
116544
|
|
|
116543
116545
|
// src/push-output.ts
|
|
116544
116546
|
function printPushResult(result, options = {}) {
|