@apps-in-toss/cli 2.0.6 → 2.0.8
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/index.cjs +8 -2
- package/dist/index.js +8 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1714,7 +1714,10 @@ var DeployCommand = class extends import_clipanion2.Command {
|
|
|
1714
1714
|
(0, import_assert.default)(typeof appName2 === "string", "ait \uD30C\uC77C\uC5D0 appName\uC774 \uC5C6\uC2B5\uB2C8\uB2E4");
|
|
1715
1715
|
(0, import_assert.default)(typeof deploymentId2 === "string", "ait \uD30C\uC77C\uC5D0 deploymentId\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4");
|
|
1716
1716
|
const runtimeVersion = reader.metadata?.runtimeVersion;
|
|
1717
|
-
(0, import_assert.default)(
|
|
1717
|
+
(0, import_assert.default)(
|
|
1718
|
+
typeof runtimeVersion === "string" && runtimeVersion.length > 0,
|
|
1719
|
+
"ait \uD30C\uC77C\uC5D0 runtimeVersion\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. \uBC88\uB4E4\uC744 \uB2E4\uC2DC \uBE4C\uB4DC\uD574\uC8FC\uC138\uC694."
|
|
1720
|
+
);
|
|
1718
1721
|
return { appName: appName2, deploymentId: deploymentId2 };
|
|
1719
1722
|
} else if (format === import_ait_format.AppsInTossBundle.Format.ZIP) {
|
|
1720
1723
|
const rawAppManifest = await (0, import_utils5.readZipContent)(resolvedArtifactPath, APP_MANIFEST_NAME);
|
|
@@ -1724,7 +1727,10 @@ var DeployCommand = class extends import_clipanion2.Command {
|
|
|
1724
1727
|
(0, import_assert.default)(typeof appName2 === "string", "app.json \uD30C\uC77C\uC5D0 appName\uC774 \uC5C6\uC2B5\uB2C8\uB2E4");
|
|
1725
1728
|
(0, import_assert.default)(typeof deploymentId2 === "string", "app.json \uD30C\uC77C\uC5D0 deploymentId\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4");
|
|
1726
1729
|
const runtimeVersion = appManifest._metadata?.runtimeVersion;
|
|
1727
|
-
(0, import_assert.default)(
|
|
1730
|
+
(0, import_assert.default)(
|
|
1731
|
+
typeof runtimeVersion === "string" && runtimeVersion.length > 0,
|
|
1732
|
+
"app.json \uD30C\uC77C\uC5D0 runtimeVersion\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. \uBC88\uB4E4\uC744 \uB2E4\uC2DC \uBE4C\uB4DC\uD574\uC8FC\uC138\uC694."
|
|
1733
|
+
);
|
|
1728
1734
|
return { appName: appName2, deploymentId: deploymentId2 };
|
|
1729
1735
|
} else {
|
|
1730
1736
|
throw new Error("\uC9C0\uC6D0\uD558\uC9C0 \uC54A\uB294 \uD30C\uC77C \uD615\uC2DD\uC785\uB2C8\uB2E4");
|
package/dist/index.js
CHANGED
|
@@ -1706,7 +1706,10 @@ var DeployCommand = class extends Command2 {
|
|
|
1706
1706
|
assert(typeof appName2 === "string", "ait \uD30C\uC77C\uC5D0 appName\uC774 \uC5C6\uC2B5\uB2C8\uB2E4");
|
|
1707
1707
|
assert(typeof deploymentId2 === "string", "ait \uD30C\uC77C\uC5D0 deploymentId\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4");
|
|
1708
1708
|
const runtimeVersion = reader.metadata?.runtimeVersion;
|
|
1709
|
-
assert(
|
|
1709
|
+
assert(
|
|
1710
|
+
typeof runtimeVersion === "string" && runtimeVersion.length > 0,
|
|
1711
|
+
"ait \uD30C\uC77C\uC5D0 runtimeVersion\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. \uBC88\uB4E4\uC744 \uB2E4\uC2DC \uBE4C\uB4DC\uD574\uC8FC\uC138\uC694."
|
|
1712
|
+
);
|
|
1710
1713
|
return { appName: appName2, deploymentId: deploymentId2 };
|
|
1711
1714
|
} else if (format === AppsInTossBundle.Format.ZIP) {
|
|
1712
1715
|
const rawAppManifest = await readZipContent(resolvedArtifactPath, APP_MANIFEST_NAME);
|
|
@@ -1716,7 +1719,10 @@ var DeployCommand = class extends Command2 {
|
|
|
1716
1719
|
assert(typeof appName2 === "string", "app.json \uD30C\uC77C\uC5D0 appName\uC774 \uC5C6\uC2B5\uB2C8\uB2E4");
|
|
1717
1720
|
assert(typeof deploymentId2 === "string", "app.json \uD30C\uC77C\uC5D0 deploymentId\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4");
|
|
1718
1721
|
const runtimeVersion = appManifest._metadata?.runtimeVersion;
|
|
1719
|
-
assert(
|
|
1722
|
+
assert(
|
|
1723
|
+
typeof runtimeVersion === "string" && runtimeVersion.length > 0,
|
|
1724
|
+
"app.json \uD30C\uC77C\uC5D0 runtimeVersion\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. \uBC88\uB4E4\uC744 \uB2E4\uC2DC \uBE4C\uB4DC\uD574\uC8FC\uC138\uC694."
|
|
1725
|
+
);
|
|
1720
1726
|
return { appName: appName2, deploymentId: deploymentId2 };
|
|
1721
1727
|
} else {
|
|
1722
1728
|
throw new Error("\uC9C0\uC6D0\uD558\uC9C0 \uC54A\uB294 \uD30C\uC77C \uD615\uC2DD\uC785\uB2C8\uB2E4");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apps-in-toss/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.8",
|
|
5
5
|
"description": "CLI for Apps In Toss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"typecheck": "tsc --noEmit",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@apps-in-toss/ait-format": "1.0.0",
|
|
46
|
-
"@apps-in-toss/plugins": "2.0.
|
|
47
|
-
"@apps-in-toss/web-config": "2.0.
|
|
46
|
+
"@apps-in-toss/plugins": "2.0.8",
|
|
47
|
+
"@apps-in-toss/web-config": "2.0.8",
|
|
48
48
|
"@clack/prompts": "^0.10.0",
|
|
49
49
|
"@granite-js/utils": "1.0.4",
|
|
50
50
|
"@sentry/cli": "^2.46.0",
|