ember-cli-typescript
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -9,2 +9,25 @@ # Changelog | ||
## [3.1.2] - 2019-12-14 | ||
### Fixed 🔧 | ||
- Ensure we register Babel plugins with their full path ([#946]) | ||
- Ensure errors are emitted when `ts:precompile` fails ([#984]) | ||
[#946]: https://github.com/typed-ember/ember-cli-typescript/pull/946 | ||
[#984]: https://github.com/typed-ember/ember-cli-typescript/pull/984 | ||
### Under the hood 🚗 | ||
- Switch from Azure Pipelines to GitHub Actions. Hopefully our Windows builds will be much more stable now! 🤞 ([#955], [#959]) | ||
- Ensure commitlint uses the correct config in CI ([#985]) | ||
- Move docs to a [custom domain](https://ember-cli-typescript.com) ([#993]) | ||
- Bumped [49 dependency versions][3.1.2-deps-bumps] | ||
[#955]: https://github.com/typed-ember/ember-cli-typescript/pull/955 | ||
[#959]: https://github.com/typed-ember/ember-cli-typescript/pull/959 | ||
[#985]: https://github.com/typed-ember/ember-cli-typescript/pull/985 | ||
[#993]: https://github.com/typed-ember/ember-cli-typescript/pull/993 | ||
[3.1.2-deps-bumps]: https://github.com/typed-ember/ember-cli-typescript/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Amerged+merged%3A2019-11-06T16%3A26%3A25%2B0100..2019-12-14T10%3A00%3A00%2B0600+chore%28deps%29+in%3Atitle | ||
## [3.1.1] - 2019-11-06 | ||
@@ -22,2 +45,8 @@ | ||
## 3.1.0 - 2019-11-06 | ||
3.1.0 was a bad release on npm, and was yanked accordingly. See **3.1.1**! | ||
## [3.0.0] - 2019-08-30 | ||
### Added ⭐️ | ||
@@ -578,3 +607,8 @@ | ||
[ember-cli-typify]: https://github.com/winding-lines/ember-cli-typify | ||
[unreleased]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.1...HEAD | ||
[unreleased]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.2...HEAD | ||
[3.1.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.1...v3.1.2 | ||
<!-- | ||
Note that 3.1.1 *intentionally* includes all the changes between 3.0.0 and | ||
3.1.1 and there is no entry for 3.1.0. This is because 3.1.0 was yanked. | ||
--> | ||
[3.1.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.0.0...v3.1.1 | ||
@@ -581,0 +615,0 @@ [3.0.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.2...v3.0.0 |
@@ -148,3 +148,3 @@ "use strict"; | ||
if (!ember_cli_babel_plugin_helpers_1.hasPlugin(target, pluginName)) { | ||
ember_cli_babel_plugin_helpers_1.addPlugin(target, pluginName, pluginOptions); | ||
ember_cli_babel_plugin_helpers_1.addPlugin(target, require.resolve(pluginName), pluginOptions); | ||
} | ||
@@ -151,0 +151,0 @@ }, |
@@ -26,8 +26,8 @@ 'use strict'; | ||
return `${comment} | ||
declare module '${projectName}/templates/*' { ${moduleBody}}`; | ||
declare module '${projectName}/templates/*' {${moduleBody}}`; | ||
case 'pods': | ||
return `${comment} | ||
declare module '${projectName}/*/template' { ${moduleBody}}`; | ||
declare module '${projectName}/*/template' {${moduleBody}}`; | ||
default: | ||
throw new Error(`Unexpecte project layout type: "${layout}"`); | ||
throw new Error(`Unexpected project layout type: "${layout}"`); | ||
} | ||
@@ -34,0 +34,0 @@ } |
@@ -25,14 +25,23 @@ "use strict"; | ||
} | ||
// prettier-ignore | ||
await execa_1.default('tsc', [ | ||
'--allowJs', 'false', | ||
'--noEmit', 'false', | ||
'--rootDir', rootDir || this.project.root, | ||
'--isolatedModules', 'false', | ||
'--declaration', | ||
'--declarationDir', outDir, | ||
'--emitDeclarationOnly', | ||
], { | ||
preferLocal: true | ||
}); | ||
try { | ||
// prettier-ignore | ||
await execa_1.default('tsc', [ | ||
'--allowJs', 'false', | ||
'--noEmit', 'false', | ||
'--rootDir', rootDir || this.project.root, | ||
'--isolatedModules', 'false', | ||
'--declaration', | ||
'--declarationDir', outDir, | ||
'--emitDeclarationOnly', | ||
'--pretty', 'true', | ||
], { | ||
preferLocal: true, | ||
// Capture a string with stdout and stderr interleaved for error reporting | ||
all: true, | ||
}); | ||
} | ||
catch (e) { | ||
console.error(`\n${e.all}\n`); | ||
throw e; | ||
} | ||
let manifestPath = options.manifestPath; | ||
@@ -39,0 +48,0 @@ let packageName = this.project.pkg.name; |
{ | ||
"name": "ember-cli-typescript", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Allow ember apps to use typescript files.", | ||
@@ -61,3 +61,4 @@ "keywords": [ | ||
"@typed-ember/renovate-config": "1.2.1", | ||
"@types/chai": "4.2.4", | ||
"@types/capture-console": "1.0.0", | ||
"@types/chai": "4.2.7", | ||
"@types/chai-as-promised": "7.1.2", | ||
@@ -79,13 +80,14 @@ "@types/console-ui": "2.2.3", | ||
"@types/tmp": "0.1.0", | ||
"@typescript-eslint/eslint-plugin": "2.6.1", | ||
"@typescript-eslint/parser": "2.6.1", | ||
"@typescript-eslint/eslint-plugin": "2.11.0", | ||
"@typescript-eslint/parser": "2.11.0", | ||
"broccoli-asset-rev": "3.0.0", | ||
"capture-console": "1.0.1", | ||
"co": "4.6.0", | ||
"commitlint-azure-pipelines-cli": "1.0.2", | ||
"conventional-changelog-cli": "2.0.25", | ||
"ember-cli": "3.13.1", | ||
"ember-cli-addon-docs": "0.6.15", | ||
"conventional-changelog-cli": "2.0.28", | ||
"ember-cli": "3.14.0", | ||
"ember-cli-addon-docs": "ember-learn/ember-cli-addon-docs#4f5bfd11", | ||
"ember-cli-addon-docs-esdoc": "0.2.3", | ||
"ember-cli-app-version": "3.2.0", | ||
"ember-cli-babel": "7.12.0", | ||
"ember-cli-babel": "7.13.2", | ||
"ember-cli-blueprint-test-helpers": "0.19.2", | ||
@@ -97,4 +99,3 @@ "ember-cli-dependency-checker": "3.2.0", | ||
"ember-cli-deploy-git-ci": "1.0.1", | ||
"ember-cli-htmlbars": "4.0.8", | ||
"ember-cli-htmlbars-inline-precompile": "3.0.1", | ||
"ember-cli-htmlbars": "4.2.0", | ||
"ember-cli-inject-live-reload": "2.0.2", | ||
@@ -105,13 +106,13 @@ "ember-cli-release": "0.2.9", | ||
"ember-cli-uglify": "3.0.0", | ||
"ember-cli-update": "0.43.8", | ||
"ember-cli-update": "0.47.1", | ||
"ember-disable-prototype-extensions": "1.1.3", | ||
"ember-export-application-global": "2.0.0", | ||
"ember-export-application-global": "2.0.1", | ||
"ember-load-initializers": "2.1.1", | ||
"ember-maybe-import-regenerator": "0.1.6", | ||
"ember-qunit": "4.6.0", | ||
"ember-resolver": "5.3.0", | ||
"ember-source": "3.14.1", | ||
"ember-try": "1.2.1", | ||
"eslint": "6.6.0", | ||
"eslint-plugin-ember": "7.3.0", | ||
"ember-resolver": "6.0.0", | ||
"ember-source": "3.15.0", | ||
"ember-try": "1.4.0", | ||
"eslint": "6.7.2", | ||
"eslint-plugin-ember": "7.7.2", | ||
"eslint-plugin-node": "10.0.0", | ||
@@ -122,4 +123,4 @@ "eslint-plugin-prettier": "3.1.1", | ||
"got": "8.3.2", | ||
"handlebars": "4.5.1", | ||
"husky": "3.0.9", | ||
"handlebars": "4.5.3", | ||
"husky": "3.1.0", | ||
"in-repo-a": "link:tests/dummy/lib/in-repo-a", | ||
@@ -130,7 +131,7 @@ "in-repo-b": "link:tests/dummy/lib/in-repo-b", | ||
"prettier": "1.18.2", | ||
"qunit-dom": "0.9.1", | ||
"qunit-dom": "0.9.2", | ||
"testdouble": "3.12.4", | ||
"tmp": "0.1.0", | ||
"ts-node": "8.4.1", | ||
"typescript": "3.7.2" | ||
"ts-node": "8.5.4", | ||
"typescript": "3.7.3" | ||
}, | ||
@@ -157,14 +158,2 @@ "resolutions": { | ||
}, | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
], | ||
"rules": { | ||
"header-max-length": [ | ||
0, | ||
"always", | ||
288 | ||
] | ||
} | ||
}, | ||
"prettier": { | ||
@@ -180,4 +169,4 @@ "printWidth": 100, | ||
"node": "10.17.0", | ||
"yarn": "1.19.1" | ||
"yarn": "1.21.1" | ||
} | ||
} |
@@ -7,3 +7,3 @@ <center><h1>ember-cli-typescript</h1></center> | ||
[![Build Status](https://dev.azure.com/typed-ember/ember-cli-typescript/_apis/build/status/typed-ember.ember-cli-typescript)](https://dev.azure.com/typed-ember/ember-cli-typescript/_build/latest?definitionId=2) [![Ember Observer Score](https://emberobserver.com/badges/ember-cli-typescript.svg)](https://emberobserver.com/addons/ember-cli-typescript) | ||
[![Actions Status](https://github.com/typed-ember/ember-cli-typescript/workflows/CI/badge.svg)](https://github.com/typed-ember/ember-cli-typescript/actions) [![Ember Observer Score](https://emberobserver.com/badges/ember-cli-typescript.svg)](https://emberobserver.com/addons/ember-cli-typescript) | ||
@@ -10,0 +10,0 @@ </center> |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
185718
2074
74
11