Skip to content

Commit

Permalink
Merge pull request #20352 from bertdeblock/enable-EMBER_TYPESCRIPT_BL…
Browse files Browse the repository at this point in the history
…UEPRINTS-flag

Enable `EMBER_TYPESCRIPT_BLUEPRINTS` flag
  • Loading branch information
chriskrycho committed Jan 20, 2023
2 parents 1118df1 + dcbfde3 commit 2ffa7db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions blueprints/-maybe-polyfill-typescript-blueprints.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const typescriptBlueprintPolyfill = require('ember-cli-typescript-blueprint-polyfill');
const EMBER_TYPESCRIPT_BLUEPRINTS = false;
const EMBER_TYPESCRIPT_BLUEPRINTS = true;

function canEmitTypeScript() {
return 'EMBER_TYPESCRIPT_BLUEPRINTS' in process.env
? process.env.EMBER_TYPESCRIPT_BLUEPRINTS
? process.env.EMBER_TYPESCRIPT_BLUEPRINTS === 'true'
: EMBER_TYPESCRIPT_BLUEPRINTS;
}

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"lint:eslint:fix": "npm-run-all \"lint:eslint --fix\"",
"lint:fix": "npm-run-all lint:*:fix",
"test": "node bin/run-tests.js",
"test:blueprints:js": "mocha node-tests/blueprints/**/*-test.js",
"test:blueprints:ts": "EMBER_TYPESCRIPT_BLUEPRINTS=true yarn test:blueprints:js",
"test:blueprints:js": "EMBER_TYPESCRIPT_BLUEPRINTS=false yarn test:blueprints:ts",
"test:blueprints:ts": "mocha node-tests/blueprints/**/*-test.js",
"test:blueprints": "yarn test:blueprints:js && yarn test:blueprints:ts",
"test:node": "qunit tests/node/**/*-test.js",
"test:browserstack": "node bin/run-browserstack-tests.js",
Expand Down

0 comments on commit 2ffa7db

Please sign in to comment.