@anansi/cli 2.0.2 → 2.0.4

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/CHANGELOG.md CHANGED
@@ -3,6 +3,19 @@
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
+ ### [2.0.4](https://github.com/ntucker/anansi/compare/@anansi/cli@2.0.3...@anansi/cli@2.0.4) (2022-10-19)
7
+
8
+ ### 📦 Package
9
+
10
+ * Update `bin-version-check` to v5 ([#1702](https://github.com/ntucker/anansi/issues/1702)) ([632a02a](https://github.com/ntucker/anansi/commit/632a02acb58010d48ce0e09198482856187c0525))
11
+ * Update `latest-version` to v7 ([#1704](https://github.com/ntucker/anansi/issues/1704)) ([8b0121d](https://github.com/ntucker/anansi/commit/8b0121d1dcf8273912346282cfc72d2f10a4e76f))
12
+
13
+ ### [2.0.3](https://github.com/ntucker/anansi/compare/@anansi/cli@2.0.2...@anansi/cli@2.0.3) (2022-10-15)
14
+
15
+ ### 💅 Enhancement
16
+
17
+ * Fix compatibility with stackblitz ([afa9653](https://github.com/ntucker/anansi/commit/afa9653681cc3c3fa85b611281deb7b7eb9a8082))
18
+
6
19
  ### [2.0.2](https://github.com/ntucker/anansi/compare/@anansi/cli@2.0.1...@anansi/cli@2.0.2) (2022-10-15)
7
20
 
8
21
  ### 💅 Enhancement
package/check-version.mjs CHANGED
@@ -3,8 +3,12 @@ import path from 'path';
3
3
  import binVersionCheck from 'bin-version-check';
4
4
  import latestVersion from 'latest-version';
5
5
  import chalk from 'chalk';
6
+ import { dirname } from 'path';
7
+ import { fileURLToPath } from 'url';
6
8
 
9
+ // TODO: Use this once stackblitz works with it
7
10
  //import pkg from './package.json' assert { type: 'json' };
11
+ const __dirname = dirname(fileURLToPath(import.meta.url));
8
12
  const pkg = JSON.parse(
9
13
  fs.readFileSync(path.join(__dirname, './package.json'), 'utf8'),
10
14
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anansi/cli",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Fast React Web Apps",
5
5
  "homepage": "https://github.com/ntucker/anansi/tree/master/packages/cli#readme",
6
6
  "repository": {
@@ -51,12 +51,12 @@
51
51
  "npm": ">= 6.0.0"
52
52
  },
53
53
  "dependencies": {
54
- "@anansi/generator-js": "^10.0.2",
55
- "bin-version-check": "^4.0.0",
54
+ "@anansi/generator-js": "^10.0.3",
55
+ "bin-version-check": "^5.0.0",
56
56
  "chalk": "^4.1.2",
57
57
  "commander": "^9.4.1",
58
58
  "execa": "^5.1.1",
59
- "latest-version": "^5.1.0",
59
+ "latest-version": "^7.0.0",
60
60
  "yo": "^4.3.0"
61
61
  },
62
62
  "peerDependencies": {