Skip to content

Commit

Permalink
Chore: Exclude private/public folders from typecheck (#26399)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevLehman authored and carlosrodrigues94 committed Aug 3, 2022
1 parent 754bcef commit e625d02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/meteor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/tsconfig.typecheck.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/**"]
}

0 comments on commit e625d02

Please sign in to comment.