Skip to content

Commit 2ffa7db

Browse files
authored
Merge pull request #20352 from bertdeblock/enable-EMBER_TYPESCRIPT_BLUEPRINTS-flag
Enable `EMBER_TYPESCRIPT_BLUEPRINTS` flag
2 parents 1118df1 + dcbfde3 commit 2ffa7db

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

blueprints/-maybe-polyfill-typescript-blueprints.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
const typescriptBlueprintPolyfill = require('ember-cli-typescript-blueprint-polyfill');
2-
const EMBER_TYPESCRIPT_BLUEPRINTS = false;
2+
const EMBER_TYPESCRIPT_BLUEPRINTS = true;
33

44
function canEmitTypeScript() {
55
return 'EMBER_TYPESCRIPT_BLUEPRINTS' in process.env
6-
? process.env.EMBER_TYPESCRIPT_BLUEPRINTS
6+
? process.env.EMBER_TYPESCRIPT_BLUEPRINTS === 'true'
77
: EMBER_TYPESCRIPT_BLUEPRINTS;
88
}
99

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
"lint:eslint:fix": "npm-run-all \"lint:eslint --fix\"",
4646
"lint:fix": "npm-run-all lint:*:fix",
4747
"test": "node bin/run-tests.js",
48-
"test:blueprints:js": "mocha node-tests/blueprints/**/*-test.js",
49-
"test:blueprints:ts": "EMBER_TYPESCRIPT_BLUEPRINTS=true yarn test:blueprints:js",
48+
"test:blueprints:js": "EMBER_TYPESCRIPT_BLUEPRINTS=false yarn test:blueprints:ts",
49+
"test:blueprints:ts": "mocha node-tests/blueprints/**/*-test.js",
5050
"test:blueprints": "yarn test:blueprints:js && yarn test:blueprints:ts",
5151
"test:node": "qunit tests/node/**/*-test.js",
5252
"test:browserstack": "node bin/run-browserstack-tests.js",

0 commit comments

Comments
 (0)