@spica/cli 0.18.15 → 0.18.17
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
CHANGED
|
@@ -101,7 +101,7 @@ async function create({ args: cmdArgs, options }) {
|
|
|
101
101
|
tag: options.imageVersion.toString()
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
|
-
image: "spicaengine/
|
|
104
|
+
image: "spicaengine/panel",
|
|
105
105
|
tag: options.imageVersion.toString()
|
|
106
106
|
},
|
|
107
107
|
{
|
|
@@ -272,7 +272,7 @@ async function create({ args: cmdArgs, options }) {
|
|
|
272
272
|
text: `Creating spica containers (0/2)`,
|
|
273
273
|
op: async (spinner) => {
|
|
274
274
|
const client = await machine.createContainer({
|
|
275
|
-
Image: `spicaengine/
|
|
275
|
+
Image: `spicaengine/panel:${options.imageVersion}`,
|
|
276
276
|
name: `${name}-spica`,
|
|
277
277
|
Env: ["BASE_URL=/"],
|
|
278
278
|
Labels: { namespace: name },
|
|
@@ -14,7 +14,7 @@ async function upgrade({ args, options }) {
|
|
|
14
14
|
if (!projectContainers.length) {
|
|
15
15
|
return console.error(`Project '${name}' does not exist.`);
|
|
16
16
|
}
|
|
17
|
-
const oldClient = projectContainers.find(c => c.Image.startsWith("spicaengine/
|
|
17
|
+
const oldClient = projectContainers.find(c => c.Image.startsWith("spicaengine/panel"));
|
|
18
18
|
if (!oldClient) {
|
|
19
19
|
return console.error("Unable to upgrade the version of the project. Make sure that it's running with no issue.");
|
|
20
20
|
}
|
|
@@ -39,7 +39,7 @@ async function upgrade({ args, options }) {
|
|
|
39
39
|
tag: desiredVersion
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
image: "spicaengine/
|
|
42
|
+
image: "spicaengine/panel",
|
|
43
43
|
tag: desiredVersion
|
|
44
44
|
}
|
|
45
45
|
];
|
|
@@ -81,7 +81,7 @@ async function upgrade({ args, options }) {
|
|
|
81
81
|
text: `Creating spica containers (0/2)`,
|
|
82
82
|
op: async (spinner) => {
|
|
83
83
|
const client = await machine.createContainer({
|
|
84
|
-
Image: `spicaengine/
|
|
84
|
+
Image: `spicaengine/panel:${desiredVersion}`,
|
|
85
85
|
name: `${name}-spica`,
|
|
86
86
|
Env: ["BASE_URL=/"],
|
|
87
87
|
Labels: { namespace: name },
|
package/tsconfig.app.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../../../apps/cli/index.ts","../../../apps/cli/src/compile.ts","../../../apps/cli/src/config.ts","../../../apps/cli/src/console.ts","../../../apps/cli/src/context.ts","../../../apps/cli/src/http.ts","../../../apps/cli/src/project.ts","../../../apps/cli/src/range.ts","../../../apps/cli/src/representative.ts","../../../apps/cli/src/status.ts","../../../apps/cli/src/validator.ts","../../../apps/cli/src/commands/asset/apply.ts","../../../apps/cli/src/commands/asset/delete.ts","../../../apps/cli/src/commands/bucket/orm.ts","../../../apps/cli/src/commands/context/ls.ts","../../../apps/cli/src/commands/context/remove.ts","../../../apps/cli/src/commands/context/set.ts","../../../apps/cli/src/commands/context/switch.ts","../../../apps/cli/src/commands/function/orm.ts","../../../apps/cli/src/commands/project/ls.ts","../../../apps/cli/src/commands/project/remove.ts","../../../apps/cli/src/commands/project/start.ts","../../../apps/cli/src/commands/project/sync.ts","../../../apps/cli/src/commands/project/upgrade.ts","../../../apps/cli/src/function/helpers.ts","../../../apps/cli/src/function/index.ts","../../../apps/cli/src/function/interface.ts","../../../apps/cli/src/function/modifier.ts","../../../apps/cli/src/function/triggers/index.ts","../../../apps/cli/src/function/triggers/http/index.ts","../../../apps/cli/src/function/triggers/http/transformer.ts","../../../apps/cli/src/function/triggers/http/services/axios.ts","../../../apps/cli/src/function/triggers/http/services/index.ts","../../../apps/cli/package.json"],"version":"5.
|
|
1
|
+
{"root":["../../../apps/cli/index.ts","../../../apps/cli/src/compile.ts","../../../apps/cli/src/config.ts","../../../apps/cli/src/console.ts","../../../apps/cli/src/context.ts","../../../apps/cli/src/http.ts","../../../apps/cli/src/project.ts","../../../apps/cli/src/range.ts","../../../apps/cli/src/representative.ts","../../../apps/cli/src/status.ts","../../../apps/cli/src/validator.ts","../../../apps/cli/src/commands/asset/apply.ts","../../../apps/cli/src/commands/asset/delete.ts","../../../apps/cli/src/commands/bucket/orm.ts","../../../apps/cli/src/commands/context/ls.ts","../../../apps/cli/src/commands/context/remove.ts","../../../apps/cli/src/commands/context/set.ts","../../../apps/cli/src/commands/context/switch.ts","../../../apps/cli/src/commands/function/orm.ts","../../../apps/cli/src/commands/project/ls.ts","../../../apps/cli/src/commands/project/remove.ts","../../../apps/cli/src/commands/project/start.ts","../../../apps/cli/src/commands/project/sync.ts","../../../apps/cli/src/commands/project/upgrade.ts","../../../apps/cli/src/function/helpers.ts","../../../apps/cli/src/function/index.ts","../../../apps/cli/src/function/interface.ts","../../../apps/cli/src/function/modifier.ts","../../../apps/cli/src/function/triggers/index.ts","../../../apps/cli/src/function/triggers/http/index.ts","../../../apps/cli/src/function/triggers/http/transformer.ts","../../../apps/cli/src/function/triggers/http/services/axios.ts","../../../apps/cli/src/function/triggers/http/services/index.ts","../../../apps/cli/package.json"],"version":"5.9.3"}
|