@vlandoss/starter 0.0.2 → 0.0.3-git-8d13199.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vlandoss/starter",
3
- "version": "0.0.2",
3
+ "version": "0.0.3-git-8d13199.0",
4
4
  "description": "The CLI to init a new project in Variable Land",
5
5
  "homepage": "https://github.com/variableland/dx/tree/main/packages/starter#readme",
6
6
  "bugs": {
@@ -26,8 +26,8 @@
26
26
  "dependencies": {
27
27
  "commander": "13.1.0",
28
28
  "node-plop": "0.32.0",
29
- "@vlandoss/clibuddy": "0.0.1",
30
- "@vlandoss/loggy": "0.0.1"
29
+ "@vlandoss/clibuddy": "0.0.2-git-8d13199.0",
30
+ "@vlandoss/loggy": "0.0.2-git-8d13199.0"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
@@ -1,3 +1,4 @@
1
1
  {
2
+ "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2
3
  "extends": ["@vlandoss/biome-config"]
3
4
  }
@@ -41,15 +41,14 @@ export class InitAction implements AnyAction<ExecuteOptions> {
41
41
 
42
42
  logger.success("Project generated 🎉");
43
43
 
44
- const $ = this.#shellService.$;
45
- const $$ = $.quiet({ cwd: destBasePath });
44
+ const shell = this.#shellService.at(destBasePath).quiet();
46
45
 
47
46
  if (git) {
48
47
  logger.start("Creating git repository");
49
48
 
50
- await $$`git init`;
49
+ await shell.$`git init`;
51
50
  // NOTE: git commit -am failed, not sure why
52
- await $$`git add . && git commit -m "initial commit"`;
51
+ await shell.$`git add . && git commit -m "initial commit"`;
53
52
 
54
53
  logger.success("Git repository created");
55
54
  }