@anansi/cli 1.1.57 → 1.1.60

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/package.json +3 -3
  3. package/run.js +11 -7
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ### [1.1.60](https://github.com/ntucker/anansi/compare/@anansi/cli@1.1.59...@anansi/cli@1.1.60) (2022-04-16)
7
+
8
+ **Note:** Version bump only for package @anansi/cli
9
+
10
+
11
+
12
+
13
+
14
+ ### [1.1.59](https://github.com/ntucker/anansi/compare/@anansi/cli@1.1.58...@anansi/cli@1.1.59) (2022-04-16)
15
+
16
+
17
+ ### 💅 Enhancement
18
+
19
+ * Always find yeoman generator package ([f273ce2](https://github.com/ntucker/anansi/commit/f273ce2f54bf07a6665ee149feb76b456ab04f61))
20
+
21
+
22
+ ### 📦 Package
23
+
24
+ * Update all non-major dependencies ([#1471](https://github.com/ntucker/anansi/issues/1471)) ([000d642](https://github.com/ntucker/anansi/commit/000d642055ee042dfb9049dd4cbc07d1fd5f3c9c))
25
+
26
+
27
+
28
+ ### [1.1.58](https://github.com/ntucker/anansi/compare/@anansi/cli@1.1.57...@anansi/cli@1.1.58) (2022-04-08)
29
+
30
+ **Note:** Version bump only for package @anansi/cli
31
+
32
+
33
+
34
+
35
+
6
36
  ### [1.1.57](https://github.com/ntucker/anansi/compare/@anansi/cli@1.1.55...@anansi/cli@1.1.57) (2022-04-02)
7
37
 
8
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anansi/cli",
3
- "version": "1.1.57",
3
+ "version": "1.1.60",
4
4
  "description": "Fast React Web Apps",
5
5
  "homepage": "https://github.com/ntucker/anansi/tree/master/packages/cli#readme",
6
6
  "repository": {
@@ -51,10 +51,10 @@
51
51
  "npm": ">= 6.0.0"
52
52
  },
53
53
  "dependencies": {
54
- "@anansi/generator-js": "^7.3.11",
54
+ "@anansi/generator-js": "^7.3.14",
55
55
  "bin-version-check": "^4.0.0",
56
56
  "chalk": "^4.1.2",
57
- "commander": "^9.1.0",
57
+ "commander": "^9.2.0",
58
58
  "execa": "^5.1.1",
59
59
  "latest-version": "^5.1.0",
60
60
  "mem-fs": "^2.2.1",
package/run.js CHANGED
@@ -28,14 +28,18 @@ program
28
28
  }
29
29
  try {
30
30
  const cwd = options.dir || `./${projectName}`;
31
- const yosub = execa('npx yo', ['@anansi/js', projectName], {
32
- stdio: ['pipe', process.stdout, process.stderr],
33
- shell: true,
34
- cwd,
35
- env: {
36
- PATH: `${process.env.PATH}:${__dirname}/node_modules/.bin`,
31
+ const yosub = execa(
32
+ 'npx yo',
33
+ [require.resolve('@anansi/generator-js'), projectName],
34
+ {
35
+ stdio: ['pipe', process.stdout, process.stderr],
36
+ shell: true,
37
+ cwd,
38
+ env: {
39
+ PATH: `${process.env.PATH}:${__dirname}/node_modules/.bin`,
40
+ },
37
41
  },
38
- });
42
+ );
39
43
  // pipe with raw mode allows us to know when this exits with Ctrl+C (SIGINT)
40
44
  process.stdin.setRawMode(true);
41
45
  process.stdin.pipe(yosub.stdin, { end: false });