@multiplatform.one/cli 1.0.25 → 1.0.26

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.
@@ -6,7 +6,7 @@ import { program } from "commander";
6
6
  program.name("multiplatform.one");
7
7
  program.command("init").argument("[remote]", "the remote to use", "https://gitlab.com/bitspur/multiplatform.one/cookiecutter").description("init multiplatform.one").action(async (remote) => {
8
8
  await execa("sh", [
9
- path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../scripts/init.sh"),
9
+ path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../scripts/init.sh"),
10
10
  remote
11
11
  ], {
12
12
  stdio: "inherit"
@@ -14,7 +14,7 @@ program.command("init").argument("[remote]", "the remote to use", "https://gitla
14
14
  });
15
15
  program.command("update").argument("[remote]", "the remote to use", "https://gitlab.com/bitspur/multiplatform.one/cookiecutter").description("update multiplatform.one").action(async (remote) => {
16
16
  await execa("sh", [
17
- path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../scripts/update.sh"),
17
+ path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../scripts/update.sh"),
18
18
  remote
19
19
  ], {
20
20
  stdio: "inherit"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplatform.one/cli",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "author": "BitSpur <support@bitspur.com> (https://bitspur.com)",
5
5
  "contributors": [
6
6
  {
@@ -51,7 +51,7 @@
51
51
  "@types/node": "~20.12.13",
52
52
  "tsup": "^8.1.0",
53
53
  "typescript": "~5.3.3",
54
- "@multiplatform.one/utils": "^0.0.10"
54
+ "@multiplatform.one/utils": "^0.0.11"
55
55
  },
56
56
  "dependencies": {
57
57
  "commander": "^9.5.0",
@@ -1,5 +1,5 @@
1
1
  /*
2
- * File: /src/multiplatformOne.ts
2
+ * File: /src/bin/multiplatformOne.ts
3
3
  * Project: @multiplatform.one/cli
4
4
  * File Created: 22-06-2024 14:17:12
5
5
  * Author: Clay Risser
@@ -31,7 +31,7 @@ program
31
31
  .argument('[remote]', 'the remote to use', 'https://gitlab.com/bitspur/multiplatform.one/cookiecutter')
32
32
  .description('init multiplatform.one')
33
33
  .action(async (remote) => {
34
- await execa('sh', [path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../scripts/init.sh'), remote], {
34
+ await execa('sh', [path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../scripts/init.sh'), remote], {
35
35
  stdio: 'inherit',
36
36
  });
37
37
  });
@@ -41,7 +41,7 @@ program
41
41
  .argument('[remote]', 'the remote to use', 'https://gitlab.com/bitspur/multiplatform.one/cookiecutter')
42
42
  .description('update multiplatform.one')
43
43
  .action(async (remote) => {
44
- await execa('sh', [path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../scripts/update.sh'), remote], {
44
+ await execa('sh', [path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../scripts/update.sh'), remote], {
45
45
  stdio: 'inherit',
46
46
  });
47
47
  });