mirror of
https://github.com/Septh/libwin32
synced 2026-08-09 12:19:58 +00:00
refactor(repo): use project references
This commit is contained in:
Vendored
+5
-6
@@ -5,7 +5,6 @@
|
||||
"label": "clean",
|
||||
"type": "npm",
|
||||
"script": "clean",
|
||||
"detail": "npm run clean",
|
||||
"presentation": {
|
||||
"reveal": "silent",
|
||||
"clear": false
|
||||
@@ -17,17 +16,17 @@
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
"reveal": "silent",
|
||||
"clear": false
|
||||
},
|
||||
"type": "typescript",
|
||||
"tsconfig": "tsconfig.build.json",
|
||||
"option": "watch",
|
||||
"problemMatcher": [
|
||||
"$tsc-watch"
|
||||
],
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
"reveal": "silent",
|
||||
"clear": false
|
||||
},
|
||||
"dependsOn": [ "clean" ],
|
||||
"dependsOrder": "sequence",
|
||||
"runOptions": {
|
||||
|
||||
+3
-2
@@ -66,12 +66,13 @@
|
||||
"lib",
|
||||
"!lib/demos",
|
||||
"!*.map",
|
||||
"!*.tsbuildinfo",
|
||||
"!zz_*"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "rimraf lib && tsc -p tsconfig.build.json",
|
||||
"build": "tsc --build tsconfig.build.json",
|
||||
"build:demos": "rimraf demos && rollup -c rollup.demos.js",
|
||||
"clean": "rimraf lib demos",
|
||||
"clean": "tsc --build tsconfig.build.json --clean",
|
||||
"test": "echo No test yet",
|
||||
"prepublishOnly": "npm run clean && npm run build && npm run build:demos"
|
||||
},
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"include": [ "." ],
|
||||
"compilerOptions": {
|
||||
"outDir": "../../lib/demos",
|
||||
"composite": true,
|
||||
"noEmit": false
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../win32"},
|
||||
{ "path": "../rollup"},
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"include": [ "." ],
|
||||
"compilerOptions": {
|
||||
"outDir": "../../lib/rollup",
|
||||
"composite": true,
|
||||
"noEmit": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"include": [ "." ],
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"outDir": "../../lib/win32",
|
||||
"noEmit": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
|
||||
// Input
|
||||
"resolveJsonModule": true,
|
||||
|
||||
// Output
|
||||
"module": "Node18",
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
|
||||
// Libs
|
||||
"target": "ES2024",
|
||||
"lib": [ "ES2024" ],
|
||||
"skipLibCheck": false,
|
||||
"skipDefaultLibCheck": true,
|
||||
|
||||
// Type checking
|
||||
"strict": true,
|
||||
"exactOptionalPropertyTypes": false,
|
||||
"noImplicitOverride": true,
|
||||
"noImplicitReturns": true,
|
||||
"noPropertyAccessFromIndexSignature": false,
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"noFallthroughCasesInSwitch": false,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
}
|
||||
}
|
||||
+6
-16
@@ -1,18 +1,8 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [ "source" ],
|
||||
"exclude": [ "**/zz*" ],
|
||||
"compilerOptions": {
|
||||
"rootDir": "source",
|
||||
"outDir": "lib",
|
||||
"removeComments": false,
|
||||
"preserveConstEnums": false,
|
||||
"sourceMap": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"importHelpers": true,
|
||||
"noEmitOnError": true,
|
||||
"noEmit": false,
|
||||
"stripInternal": true
|
||||
}
|
||||
"files": [],
|
||||
"references": [
|
||||
{ "path": "./source/win32"},
|
||||
{ "path": "./source/rollup"},
|
||||
{ "path": "./source/demos"},
|
||||
]
|
||||
}
|
||||
|
||||
+2
-24
@@ -1,33 +1,11 @@
|
||||
{
|
||||
"extends": "./tsconfig.base.json",
|
||||
"include": [
|
||||
"source",
|
||||
"rollup.demos.js"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"checkJs": true,
|
||||
"resolveJsonModule": true,
|
||||
"noEmit": true,
|
||||
|
||||
// Module
|
||||
"module": "Node18",
|
||||
|
||||
// Libs
|
||||
"target": "ES2023",
|
||||
"lib": [ "ES2023" ],
|
||||
"skipLibCheck": false,
|
||||
"skipDefaultLibCheck": true,
|
||||
|
||||
// Type checking
|
||||
"strict": true,
|
||||
"exactOptionalPropertyTypes": false,
|
||||
"noImplicitOverride": true,
|
||||
"noImplicitReturns": true,
|
||||
"noPropertyAccessFromIndexSignature": false,
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"noFallthroughCasesInSwitch": false,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
// "isolatedModules": true,
|
||||
"noEmit": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user