@springmicro/cli 0.1.6 → 0.1.7
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/README.md +3 -3
- package/dist/commands/init/astro.js +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ $ npm install -g @springmicro/cli
|
|
|
26
26
|
$ springmicro COMMAND
|
|
27
27
|
running command...
|
|
28
28
|
$ springmicro (--version)
|
|
29
|
-
@springmicro/cli/0.1.
|
|
29
|
+
@springmicro/cli/0.1.7 win32-x64 node-v18.17.1
|
|
30
30
|
$ springmicro --help [COMMAND]
|
|
31
31
|
USAGE
|
|
32
32
|
$ springmicro COMMAND
|
|
@@ -106,7 +106,7 @@ EXAMPLES
|
|
|
106
106
|
$ springmicro init astro -n example
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
_See code: [src/commands/init/index.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.1.
|
|
109
|
+
_See code: [src/commands/init/index.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.1.7/src/commands/init/index.ts)_
|
|
110
110
|
|
|
111
111
|
## `springmicro init astro`
|
|
112
112
|
|
|
@@ -126,7 +126,7 @@ EXAMPLES
|
|
|
126
126
|
$ springmicro init astro -n <project-name>
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
-
_See code: [src/commands/init/astro.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.1.
|
|
129
|
+
_See code: [src/commands/init/astro.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.1.7/src/commands/init/astro.ts)_
|
|
130
130
|
|
|
131
131
|
## `springmicro plugins`
|
|
132
132
|
|
|
@@ -26,7 +26,7 @@ export default class Astro extends Command {
|
|
|
26
26
|
this.exit(1);
|
|
27
27
|
}
|
|
28
28
|
Astro.step = logStep('Initializing Astro project...', Astro.step, Astro.totalSteps);
|
|
29
|
-
await checkUnixShellAndSpawn('sh', [path.posix.join('dist', 'scripts', 'astro.sh'), name], path.join('dist', 'scripts', 'astro.bat'), [name], () => this.astroFileManip(args, flags));
|
|
29
|
+
await checkUnixShellAndSpawn('sh', [path.posix.join(this.config.root, 'dist', 'scripts', 'astro.sh'), name], path.join(this.config.root, 'dist', 'scripts', 'astro.bat'), [name], () => this.astroFileManip(args, flags));
|
|
30
30
|
}
|
|
31
31
|
astroFileManip(args, flags) {
|
|
32
32
|
const { name } = flags;
|
|
@@ -67,6 +67,7 @@ export default class Astro extends Command {
|
|
|
67
67
|
force: true,
|
|
68
68
|
recursive: true,
|
|
69
69
|
});
|
|
70
|
+
this.finished(args, flags);
|
|
70
71
|
}
|
|
71
72
|
finished(args, flags) {
|
|
72
73
|
const { name } = flags;
|
|
@@ -80,6 +81,5 @@ export default class Astro extends Command {
|
|
|
80
81
|
const { args, flags } = await this.parse(Astro);
|
|
81
82
|
// const {name} = flags;
|
|
82
83
|
await this.astroCreate(args, flags);
|
|
83
|
-
this.finished(args, flags);
|
|
84
84
|
}
|
|
85
85
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@springmicro/cli",
|
|
3
3
|
"description": "A new CLI generated with oclif",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.7",
|
|
5
5
|
"author": "David Buckley",
|
|
6
6
|
"private": false,
|
|
7
7
|
"publishConfig": {
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"version": "oclif readme && git add README.md"
|
|
77
77
|
},
|
|
78
78
|
"types": "dist/index.d.ts",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "aa6817163ba8ebcd819ad72277c321c6cc30d269"
|
|
80
80
|
}
|