@herodevs/cli 2.0.0-beta.5 → 2.0.0-beta.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 CHANGED
@@ -33,11 +33,11 @@ The CLI is designed to be non-invasive:
33
33
  ## Usage
34
34
  <!-- usage -->
35
35
  ```sh-session
36
- $ npm install -g @herodevs/cli
36
+ $ npm install -g @herodevs/cli@beta
37
37
  $ hd COMMAND
38
38
  running command...
39
39
  $ hd (--version)
40
- @herodevs/cli/2.0.0-beta.5 linux-x64 node-v22.18.0
40
+ @herodevs/cli/2.0.0-beta.7 darwin-arm64 node-v22.18.0
41
41
  $ hd --help [COMMAND]
42
42
  USAGE
43
43
  $ hd COMMAND
@@ -112,7 +112,7 @@ EXAMPLES
112
112
  $ hd scan eol --json
113
113
  ```
114
114
 
115
- _See code: [src/commands/scan/eol.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.5/src/commands/scan/eol.ts)_
115
+ _See code: [src/commands/scan/eol.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.7/src/commands/scan/eol.ts)_
116
116
 
117
117
  ## `hd update [CHANNEL]`
118
118
 
@@ -3,7 +3,7 @@ import { config } from "../config/constants.js";
3
3
  import { debugLogger } from "../service/log.svc.js";
4
4
  import { createReportMutation, getEolReportQuery } from "./gql-operations.js";
5
5
  export const createApollo = (uri) => new ApolloClient({
6
- cache: new InMemoryCache({ addTypename: false }),
6
+ cache: new InMemoryCache(),
7
7
  defaultOptions: {
8
8
  query: { fetchPolicy: 'no-cache' },
9
9
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herodevs/cli",
3
- "version": "2.0.0-beta.5",
3
+ "version": "2.0.0-beta.7",
4
4
  "author": "HeroDevs, Inc",
5
5
  "bin": {
6
6
  "hd": "./bin/run.js"
@@ -23,8 +23,8 @@
23
23
  "format": "biome format --write",
24
24
  "lint": "biome lint --write",
25
25
  "postpack": "shx rm -f oclif.manifest.json",
26
- "prepare": "npm run build",
27
- "prepack": "oclif manifest && oclif readme",
26
+ "prepare": "shx test -d dist || npm run build",
27
+ "prepack": "oclif manifest",
28
28
  "pretest": "npm run lint && npm run typecheck",
29
29
  "readme": "npm run ci:fix && npm run build && npm exec oclif readme",
30
30
  "test": "globstar -- node --import tsx --test --experimental-test-module-mocks \"test/**/*.test.ts\"",
@@ -41,7 +41,7 @@
41
41
  "@amplitude/analytics-node": "^1.5.5",
42
42
  "@apollo/client": "^3.13.8",
43
43
  "@cyclonedx/cdxgen": "~11.4.4",
44
- "@herodevs/eol-shared": "github:herodevs/eol-shared#v0.1.10",
44
+ "@herodevs/eol-shared": "github:herodevs/eol-shared#v0.1.11",
45
45
  "@oclif/core": "^4.5.2",
46
46
  "@oclif/plugin-help": "^6.2.32",
47
47
  "@oclif/plugin-update": "^4.7.4",