@jakubmazanec/cli 0.3.0-next.f9ef3d7 → 0.3.0-unstable.3667788

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.
@@ -1,4 +1,4 @@
1
- /// <reference types="react" resolution-mode="require"/>
1
+ /// <reference types="react" />
2
2
  import { type BoxProps } from 'ink';
3
3
  import { type SelectInputItem } from './SelectInputItem.js';
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jakubmazanec/cli",
3
- "version": "0.3.0-next.f9ef3d7",
3
+ "version": "0.3.0-unstable.3667788",
4
4
  "description": "TypeScript-first library for building CLIs.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,20 +17,20 @@
17
17
  "src"
18
18
  ],
19
19
  "scripts": {
20
- "build": "swc src -d dist && tsc",
20
+ "build": "del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc",
21
21
  "clean": "del-cli coverage dist *.tsbuildinfo",
22
22
  "develop": "concurrently \"swc src -d dist --watch\" \"tsc --watch\"",
23
- "document": "typedoc --options typedoc.config.cjs",
23
+ "document": "del-cli docs && typedoc --options typedoc.config.cjs",
24
24
  "format": "prettier . --write --ignore-unknown --ignore-path ../../.prettierignore",
25
25
  "lint": "eslint .",
26
26
  "test": "cross-env FORCE_COLOR=1 NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
27
27
  "typecheck": "tsc --project tsconfig.typecheck.json"
28
28
  },
29
29
  "dependencies": {
30
- "@jakubmazanec/args": "2.0.0-next.f9ef3d7",
31
- "@jakubmazanec/error": "3.0.0-next.f9ef3d7",
32
- "@jakubmazanec/ts-utils": "3.0.0-next.f9ef3d7",
33
- "@jakubmazanec/zod-utils": "2.0.0-next.f9ef3d7",
30
+ "@jakubmazanec/args": "2.0.0-unstable.3667788",
31
+ "@jakubmazanec/error": "3.0.0-unstable.3667788",
32
+ "@jakubmazanec/ts-utils": "3.0.0-unstable.3667788",
33
+ "@jakubmazanec/zod-utils": "2.0.0-unstable.3667788",
34
34
  "chalk": "^5.2.0",
35
35
  "fs-extra": "^10.0.1",
36
36
  "latest-version": "^7.0.0",
@@ -44,19 +44,13 @@
44
44
  "@types/lodash": "^4.14.195",
45
45
  "@types/node": "^20.8.5",
46
46
  "@types/react": "^18.0.26",
47
- "ink": "^3.2.0",
47
+ "ink": "^4.4.1",
48
48
  "ink-testing-library": "^3.0.0",
49
49
  "react": "^18.2.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@types/react": "17.x || 18.x",
53
- "ink": "^3.0.0",
54
- "react": "17.x || 18.x"
55
- },
56
- "peerDependenciesMeta": {
57
- "@types/react": {
58
- "optional": true
59
- }
52
+ "ink": "4.x",
53
+ "react": "18.x"
60
54
  },
61
55
  "packageManager": "npm@10.1.0",
62
56
  "engines": {