Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable EMBER_TYPESCRIPT_BLUEPRINTS flag #20352

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions blueprints/-maybe-polyfill-typescript-blueprints.js
@@ -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
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