diff --git a/apps/meteor/package.json b/apps/meteor/package.json index d41ec6c6f629..b0bbd29d78c2 100644 --- a/apps/meteor/package.json +++ b/apps/meteor/package.json @@ -29,7 +29,7 @@ "obj:dev": "TEST_MODE=true yarn dev", "stylelint": "stylelint \"app/**/*.css\" \"client/**/*.css\" \"app/**/*.less\" \"client/**/*.less\" \"ee/**/*.less\"", "stylelint:fix": "stylelint --fix \"app/**/*.css\" \"client/**/*.css\" \"app/**/*.less\" \"client/**/*.less\" \"ee/**/*.less\"", - "typecheck": "cross-env NODE_OPTIONS=\"--max-old-space-size=6144\" tsc -p tsconfig.typecheck.json", + "typecheck": "cross-env NODE_OPTIONS=\"--max-old-space-size=4098\" tsc -p tsconfig.typecheck.json", "deploy": "npm run build && pm2 startOrRestart pm2.json", "coverage": "nyc -r html mocha --config ./.mocharc.js", "test:e2e": "playwright test", diff --git a/apps/meteor/tsconfig.typecheck.json b/apps/meteor/tsconfig.typecheck.json index 92b74648a1ce..4a178f624436 100644 --- a/apps/meteor/tsconfig.typecheck.json +++ b/apps/meteor/tsconfig.typecheck.json @@ -4,5 +4,5 @@ "skipLibCheck": true, "noEmit": true }, - "exclude": ["./.meteor/**", "./packages/**", "./imports/client/**", "**/dist/**", "./ee/server/services/**", "node_modules"] + "exclude": ["./.meteor/**", "./packages/**", "./imports/client/**", "**/dist/**", "./ee/server/services/**", "**/node_modules/**", "./public/**", "*./private/**"] }