@multiplatform.one/cli 1.0.32 → 1.0.33
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.
|
@@ -28,7 +28,7 @@ program.command("init").argument("[remote]", "the remote to use", "https://gitla
|
|
|
28
28
|
}
|
|
29
29
|
]))?.name
|
|
30
30
|
};
|
|
31
|
-
const cookieCutterConfigFile = await fs.mkdtemp(path.join(os.tmpdir(), "multiplatform-"));
|
|
31
|
+
const cookieCutterConfigFile = path.join(await fs.mkdtemp(path.join(os.tmpdir(), "multiplatform-")), "config.json");
|
|
32
32
|
await fs.writeFile(cookieCutterConfigFile, JSON.stringify(cookieCutterConfig, null, 2));
|
|
33
33
|
await execa("sh", [
|
|
34
34
|
path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../scripts/init.sh"),
|
|
@@ -70,7 +70,7 @@ program.command("update").argument("[remote]", "the remote to use", "https://git
|
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
if (!cookieCutterConfig) throw new Error("not a multiplatform.one project");
|
|
73
|
-
const cookieCutterConfigFile = await fs.mkdtemp(path.join(os.tmpdir(), "multiplatform-"));
|
|
73
|
+
const cookieCutterConfigFile = path.join(await fs.mkdtemp(path.join(os.tmpdir(), "multiplatform-")), "config.json");
|
|
74
74
|
await fs.writeFile(cookieCutterConfigFile, JSON.stringify(cookieCutterConfig, null, 2));
|
|
75
75
|
await execa("sh", [
|
|
76
76
|
path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../scripts/update.sh"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.33",
|
|
4
4
|
"author": "BitSpur <support@bitspur.com> (https://bitspur.com)",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@types/node": "~20.12.13",
|
|
53
53
|
"tsup": "^8.1.0",
|
|
54
54
|
"typescript": "~5.3.3",
|
|
55
|
-
"@multiplatform.one/utils": "^0.0.
|
|
55
|
+
"@multiplatform.one/utils": "^0.0.18"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"commander": "^9.5.0",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Created: 22-06-2024 14:17:12
|
|
5
5
|
* Author: Clay Risser
|
|
6
6
|
* -----
|
|
7
|
-
* BitSpur
|
|
7
|
+
* BitSpur Copyright 2021 - 2024
|
|
8
8
|
*
|
|
9
9
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
10
|
* you may not use this file except in compliance with the License.
|
|
@@ -59,7 +59,7 @@ program
|
|
|
59
59
|
])
|
|
60
60
|
)?.name,
|
|
61
61
|
};
|
|
62
|
-
const cookieCutterConfigFile = await fs.mkdtemp(path.join(os.tmpdir(), 'multiplatform-'));
|
|
62
|
+
const cookieCutterConfigFile = path.join(await fs.mkdtemp(path.join(os.tmpdir(), 'multiplatform-')), 'config.json');
|
|
63
63
|
await fs.writeFile(cookieCutterConfigFile, JSON.stringify(cookieCutterConfig, null, 2));
|
|
64
64
|
await execa(
|
|
65
65
|
'sh',
|
|
@@ -106,7 +106,7 @@ program
|
|
|
106
106
|
if (name) cookieCutterConfig = { name };
|
|
107
107
|
}
|
|
108
108
|
if (!cookieCutterConfig) throw new Error('not a multiplatform.one project');
|
|
109
|
-
const cookieCutterConfigFile = await fs.mkdtemp(path.join(os.tmpdir(), 'multiplatform-'));
|
|
109
|
+
const cookieCutterConfigFile = path.join(await fs.mkdtemp(path.join(os.tmpdir(), 'multiplatform-')), 'config.json');
|
|
110
110
|
await fs.writeFile(cookieCutterConfigFile, JSON.stringify(cookieCutterConfig, null, 2));
|
|
111
111
|
await execa(
|
|
112
112
|
'sh',
|