mirror of
https://github.com/hanzoai/brand.git
synced 2026-10-23 03:05:28 +00:00
Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so tsup's --dts build and eslint cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. 8 diagnostics before and after (pre-existing @types/node gaps in src/cli.ts). Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
+2
-1
@@ -86,7 +86,7 @@
|
||||
"build": "pnpm gen && tsup src/index.ts src/loader.ts src/hero.ts src/cli.ts src/brand-id.ts src/registry.ts src/marks.ts --format cjs,esm --dts --clean",
|
||||
"dev": "tsup src/index.ts src/loader.ts src/hero.ts src/cli.ts src/brand-id.ts src/registry.ts src/marks.ts --format cjs,esm --dts --watch",
|
||||
"lint": "eslint src",
|
||||
"type-check": "tsc --noEmit",
|
||||
"type-check": "node_modules/tsgo/bin/tsc --noEmit --incremental false",
|
||||
"test": "pnpm build && node --test test/*.test.mjs"
|
||||
},
|
||||
"keywords": [
|
||||
@@ -111,6 +111,7 @@
|
||||
"@types/react": "catalog:",
|
||||
"eslint": "catalog:",
|
||||
"react": "catalog:",
|
||||
"tsgo": "npm:[email protected]",
|
||||
"tsup": "catalog:",
|
||||
"typescript": "catalog:"
|
||||
},
|
||||
|
||||
Generated
+16
-6
@@ -25,8 +25,8 @@ catalogs:
|
||||
specifier: ^8.5.1
|
||||
version: 8.5.1
|
||||
typescript:
|
||||
specifier: 7.0.2
|
||||
version: 7.0.2
|
||||
specifier: 6.0.3
|
||||
version: 6.0.3
|
||||
|
||||
overrides:
|
||||
'@noble/hashes': 1.8.0
|
||||
@@ -142,12 +142,15 @@ importers:
|
||||
react:
|
||||
specifier: 'catalog:'
|
||||
version: 19.2.8
|
||||
tsgo:
|
||||
specifier: npm:[email protected]
|
||||
version: [email protected]
|
||||
tsup:
|
||||
specifier: 'catalog:'
|
||||
version: 8.5.1([email protected])(typescript@7.0.2)
|
||||
version: 8.5.1([email protected])(typescript@6.0.3)
|
||||
typescript:
|
||||
specifier: 'catalog:'
|
||||
version: 7.0.2
|
||||
version: 6.0.3
|
||||
|
||||
packages:
|
||||
|
||||
@@ -1041,6 +1044,11 @@ packages:
|
||||
resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
|
||||
engines: {node: '>= 0.8.0'}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==}
|
||||
engines: {node: '>=14.17'}
|
||||
hasBin: true
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==}
|
||||
engines: {node: '>=16.20.0'}
|
||||
@@ -1740,7 +1748,7 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]([email protected])(typescript@7.0.2):
|
||||
[email protected]([email protected])(typescript@6.0.3):
|
||||
dependencies:
|
||||
bundle-require: 5.1.0([email protected])
|
||||
cac: 6.7.14
|
||||
@@ -1760,7 +1768,7 @@ snapshots:
|
||||
tinyglobby: 0.2.17
|
||||
tree-kill: 1.2.2
|
||||
optionalDependencies:
|
||||
typescript: 7.0.2
|
||||
typescript: 6.0.3
|
||||
transitivePeerDependencies:
|
||||
- jiti
|
||||
- supports-color
|
||||
@@ -1771,6 +1779,8 @@ snapshots:
|
||||
dependencies:
|
||||
prelude-ls: 1.2.1
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]:
|
||||
optionalDependencies:
|
||||
'@typescript/typescript-aix-ppc64': 7.0.2
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ catalog:
|
||||
'eslint': '^10.9.1'
|
||||
'react': '19.2.8'
|
||||
'tsup': '^8.5.1'
|
||||
'typescript': '7.0.2'
|
||||
'typescript': '6.0.3'
|
||||
overrides:
|
||||
'@noble/hashes': '1.8.0'
|
||||
'zod': '^4.5.2'
|
||||
|
||||
Reference in New Issue
Block a user