@stack-dev/cli 0.1.1 → 0.1.3

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/dist/index.d.mts CHANGED
@@ -1,2 +1 @@
1
-
2
1
  export { }
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  "use strict";
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
package/dist/index.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  // src/utils/utils.ts
2
4
  import fs from "node:fs/promises";
3
5
  import path from "node:path";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stack-dev/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "bin": {
5
5
  "stack": "./dist/index.js"
6
6
  },
@@ -8,7 +8,7 @@
8
8
  "commander": "^11.1.0",
9
9
  "enquirer": "^2.4.1",
10
10
  "fast-glob": "^3.3.3",
11
- "glob": "^11.0.3",
11
+ "glob": "^11.1.0",
12
12
  "json5": "^2.2.3",
13
13
  "lodash": "^4.17.21",
14
14
  "yaml": "^2.8.0",
@@ -21,8 +21,8 @@
21
21
  "prettier": "^3.6.2",
22
22
  "prettier-plugin-organize-imports": "^4.2.0",
23
23
  "tsup": "^7.3.0",
24
- "@stack-dev/prettier-config": "0.1.0",
25
24
  "@stack-dev/eslint-config": "0.1.0",
25
+ "@stack-dev/prettier-config": "0.1.0",
26
26
  "@stack-dev/typescript-config": "0.1.0"
27
27
  },
28
28
  "scripts": {
package/src/index.ts CHANGED
@@ -14,6 +14,7 @@ import { pickStyleType, styleTypes } from './utils/style-type';
14
14
 
15
15
  import { Command } from 'commander';
16
16
  import { prompt } from 'enquirer';
17
+ import { version } from '../package.json';
17
18
  import { linkPackages } from './link-packages';
18
19
  import { createViteReactApp } from './packages/vite-react-app/create-vite-react-app';
19
20
  import { unlinkPackages } from './unlink-packages';
@@ -26,7 +27,7 @@ const program = new Command();
26
27
  program
27
28
  .name('stack')
28
29
  .description('Opinionated TypeScript workspace manager')
29
- .version('0.1.0');
30
+ .version(version);
30
31
 
31
32
  program
32
33
  .command('create <name>')