diff --git a/package.json b/package.json index 56235a24f..76d20afeb 100644 --- a/package.json +++ b/package.json @@ -33,19 +33,19 @@ "build:all": "yarn build && yarn build:examples", "start:cli-examples:all": "yarn start:cli-examples:gjs", "start:cli-examples:gjs": "yarn workspace ts-for-gir-glib-2-spawn-command-example run start && yarn workspace ts-for-gir-gio-2-cat-promisify-packages run start", - "build:types:packages": "NODE_OPTIONS=--max-old-space-size=25600 yarn ts-for-gir generate --configName='.ts-for-gir.packages-all.rc.js' && yarn install", - "build:types:packages:gtk4": "NODE_OPTIONS=--max-old-space-size=25600 yarn ts-for-gir generate --configName='.ts-for-gir.packages-gtk4.rc.js' && yarn install", + "build:types:packages": "yarn ts-for-gir generate --configName='.ts-for-gir.packages-all.rc.js' && yarn install", + "build:types:packages:gtk4": "yarn ts-for-gir generate --configName='.ts-for-gir.packages-gtk4.rc.js' && yarn install", "build:types:local": "yarn ts-for-gir generate --configName='.ts-for-gir.all.rc.js'", "build:types:local:gtk4": "yarn ts-for-gir generate --configName='.ts-for-gir.gtk4.rc.js'", "build:types": "yarn build:types:local", "validate": "yarn workspaces foreach -v --all --parallel run validate", "validate:types": "yarn workspaces foreach -v --all --parallel run validate:types", "validate:examples": "yarn workspaces foreach -v --all --parallel run validate:app", - "validate:types:local": "NODE_OPTIONS=--max_old_space_size=9216 tsc --project tsconfig.json", + "validate:types:local": "tsc --project tsconfig.json", "clear": "yarn clear:build && yarn clear:types", "clear:build": "yarn workspaces foreach -v --include '@ts-for-gir/*' run clear:build", "clear:types": "rimraf ./@types", - "clear:types:gjs": "rimraf ./@types", + "clear:types:local": "rimraf ./@types", "clear:examples": "yarn workspaces foreach -v --all --exclude @ts-for-gir/cli,@ts-for-gir/lib,@ts-for-gir/generator-base,@ts-for-gir/generator-typescript,@ts-for-gir/generator-html-doc --parallel run clear", "clear:all": "yarn build && yarn clear:examples", "watch": "concurrently 'yarn:watch:*'", diff --git a/tsconfig.json b/tsconfig.json index 82a7417d7..365d95db7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,6 @@ "noImplicitThis": true, "alwaysStrict": true }, - "include": ["@types/*.ts"], - "exclude": ["@types/node-*.ts"] + "include": ["@types/**/*.ts"], + "exclude": [] } diff --git a/tsconfig.node.json b/tsconfig.node.json deleted file mode 100644 index 131a6cb98..000000000 --- a/tsconfig.node.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "types": ["node"], - }, - "include": ["@types/node-*.ts"], - "exclude": [] -}