mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
Disabled TypeScript incremental building
refs https://ghost.slack.com/archives/C02G9E68C/p1691403750186279 - we keep seeing strange things from incremental TS builds, and it's causing random/spurious test failures for developers - this commit disables that - also adds cleaning up of TS incremental build artifacts to the `build:clean` command
This commit is contained in:
parent
e2f58074bd
commit
c032bcebde
@ -6,7 +6,7 @@
|
||||
/* Visit https://aka.ms/tsconfig to read more about this file */
|
||||
|
||||
/* Projects */
|
||||
"incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
|
||||
"incremental": false, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
|
||||
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
|
||||
// "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
|
||||
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
|
||||
|
@ -22,7 +22,7 @@
|
||||
"scripts": {
|
||||
"archive": "nx run ghost:archive",
|
||||
"build": "nx run-many -t build",
|
||||
"build:clean": "nx reset && rimraf -g 'ghost/*/build'",
|
||||
"build:clean": "nx reset && rimraf -g 'ghost/*/build' && rimraf -g 'ghost/*/tsconfig.tsbuildinfo'",
|
||||
"dev:debug": "DEBUG_COLORS=true DEBUG=@tryghost*,ghost:* yarn dev",
|
||||
"dev:admin": "node .github/scripts/dev.js --admin",
|
||||
"dev:ghost": "node .github/scripts/dev.js --ghost",
|
||||
|
Loading…
Reference in New Issue
Block a user