diff --git a/package.json b/package.json index d23a06d76..eca4e7033 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "scripts": { "start": "cross-env LOCAL_SSCCE=true DIALECT=sqlite node setup/runner.js", "ts-prep": "del-cli ts-dist && tsc && node setup/ts-setup.js", - "ts": "npm run ts-prep && cross-env USE_TS=true npm start", + "ts": "npm run ts-prep && cross-env LOCAL_TS_RUN=true npm start", "do-replace": "node setup/lib-replacements.js --do", "undo-replace": "node setup/lib-replacements.js --undo", "ci": "node setup/runner.js", diff --git a/setup/runner.js b/setup/runner.js index 95ff9c60b..c1afc2797 100644 --- a/setup/runner.js +++ b/setup/runner.js @@ -4,7 +4,7 @@ require('./global-adjusts'); const sequelizeVersion = require('./sequelize-version'); -const USE_TS = process.env.CI_COMBINATION === 'v6 with TS'; +const USE_TS = process.env.LOCAL_TS_RUN || process.env.CI_COMBINATION === 'v6 with TS'; async function run() { let heading = `Running SSCCE for ${process.env.DIALECT.toUpperCase()} with Sequelize ${sequelizeVersion}`;