ember-cli-typescript
Advanced tools
Comparing version 2.0.0-rc.1 to 2.0.0-rc.2
@@ -6,3 +6,2 @@ { | ||
"moduleResolution": "node", | ||
"isolatedModules": true, | ||
"allowSyntheticDefaultImports": true, | ||
@@ -9,0 +8,0 @@ "noImplicitAny": true, |
@@ -9,2 +9,66 @@ # Changelog | ||
## [2.0.0-rc.1] - 2018-12-13 | ||
## What Changed? | ||
For details on the changes since 1.x, see the [`2.0.0-beta.1` release notes]( | ||
https://github.com/typed-ember/ember-cli-typescript/releases/tag/v2.0.0-beta.1). | ||
### Fixed 🔧 | ||
- Builds no longer hang if a changed TypeScript file did not trigger a TS rebuild (which can happen e.g. if it is not yet imported elsewhere). | ||
- Type-checking information now properly gets injected into the build pipeline for test builds as well as development and production builds. | ||
- Declaration maps now have test coverage to make sure they don't break. | ||
### Changed 💥 | ||
- The build system now uses the `tsconfig.json` file's `paths` key to copy type definitions during precompile, rather than assuming Ember project structure. | ||
### Added ⭐️ | ||
- The addon now checks to confirm you're using Ember CLI 3.5+, since the new approach to builds has serious performance problems with a local `tmp` directory. | ||
### Under the hood 🚗 | ||
- Bumped *many* dependency versions. | ||
- Set up Azure Pipelines configuration. | ||
- Updated internals to use TypeScript themselves. | ||
## Upgrading ⚙️ | ||
``` | ||
ember install ember-cli-typescript@next | ||
``` | ||
## Contributors 🙇 | ||
Thanks to everyone who opened/discovered an issue we fixed or PR we merged in this release! | ||
- @mike-north | ||
- @dfreeman | ||
- @jamescdavis | ||
## [2.0.0-beta.3] - 2018-11-02 | ||
## What Changed? | ||
For details on the changes since 1.x, see the [`2.0.0-beta.1` release notes]( | ||
https://github.com/typed-ember/ember-cli-typescript/releases/tag/v2.0.0-beta.1). | ||
### Fixed 🔧 | ||
- Ensure consistency with `tsc` re: class property initialization order (#365) | ||
## Upgrading ⚙️ | ||
``` | ||
ember install ember-cli-typescript@beta | ||
``` | ||
## Contributors 🙇 | ||
Thanks to everyone who opened/discovered an issue we fixed or PR we merged in this release! | ||
- @runspired | ||
- @dfreeman | ||
## [2.0.0-beta.2] - 2018-10-26 | ||
@@ -393,3 +457,5 @@ | ||
[ember-cli-typify]: https://github.com/winding-lines/ember-cli-typify | ||
[unreleased]: https://github.com/typed-ember/ember-cli-typescript/compare/v1.5.0...HEAD | ||
[unreleased]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.0-rc.1...v2 | ||
[2.0.0-rc.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.0-beta.3...v2.0.0-rc.1 | ||
[2.0.0-beta.3]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.0-beta.2...v2.0.0-beta.3 | ||
[2.0.0-beta.2]: https://github.com/typed-ember/ember-cli-typescript/compare/v2.0.0-beta.1...v2.0.0-beta.2 | ||
@@ -396,0 +462,0 @@ [2.0.0-beta.1]: https://github.com/typed-ember/ember-cli-typescript/compare/HEAD...v2.0.0-beta.1 |
@@ -30,2 +30,3 @@ "use strict"; | ||
this._getTypecheckWorker(); | ||
this._checkInstallationLocation(); | ||
} | ||
@@ -108,2 +109,9 @@ }, | ||
}, | ||
_checkInstallationLocation() { | ||
if (this.project.isEmberCLIAddon() && | ||
this.project.pkg.devDependencies && | ||
this.project.pkg.devDependencies[this.name]) { | ||
this.ui.writeWarnLine('`ember-cli-typescript` should be included in your `dependencies`, not `devDependencies`'); | ||
} | ||
}, | ||
_addPluginIfMissing(name, config, constraints) { | ||
@@ -110,0 +118,0 @@ let target = this._getConfigurationTarget(); |
@@ -39,2 +39,3 @@ "use strict"; | ||
'--rootDir', rootDir || this.project.root, | ||
'--isolatedModules', 'false', | ||
'--declaration', | ||
@@ -41,0 +42,0 @@ '--declarationDir', outDir, |
{ | ||
"name": "ember-cli-typescript", | ||
"version": "2.0.0-rc.1", | ||
"version": "2.0.0-rc.2", | ||
"description": "Allow ember apps to use typescript files.", | ||
@@ -29,7 +29,9 @@ "keywords": [ | ||
"start": "ember serve", | ||
"test": "ember test", | ||
"test:all": "ember try:each", | ||
"test": "yarn test:app && yarn test:node", | ||
"test:app": "ember test", | ||
"test:node": "mocha -r register-ts-node ts/tests/**/*.{ts,js}", | ||
"ci:prepare": "yarn prepublishOnly && rimraf ts", | ||
"ci:test": "ember test && mocha --recursive js/tests", | ||
"test:node": "mocha -r register-ts-node ts/tests/**/*.{ts,js}", | ||
"ci:test": "yarn ci:test:app && yarn ci:test:node", | ||
"ci:test:app": "ember test", | ||
"ci:test:node": "mocha --recursive js/tests", | ||
"prepublishOnly": "yarn tsc --project ts --noEmit false", | ||
@@ -65,3 +67,3 @@ "postpublish": "rimraf js" | ||
"@types/mocha": "5.2.5", | ||
"@types/node": "9.6.40", | ||
"@types/node": "9.6.41", | ||
"@types/qunit": "2.5.3", | ||
@@ -72,7 +74,7 @@ "@types/resolve": "0.0.8", | ||
"co": "4.6.0", | ||
"ember-cli": "3.6.0", | ||
"ember-cli": "3.6.1", | ||
"ember-cli-app-version": "3.2.0", | ||
"ember-cli-babel": "7.2.0", | ||
"ember-cli-blueprint-test-helpers": "0.19.1", | ||
"ember-cli-dependency-checker": "3.0.0", | ||
"ember-cli-blueprint-test-helpers": "0.19.2", | ||
"ember-cli-dependency-checker": "3.1.0", | ||
"ember-cli-eslint": "5.0.0", | ||
@@ -86,3 +88,3 @@ "ember-cli-htmlbars": "3.0.1", | ||
"ember-cli-uglify": "2.1.0", | ||
"ember-cli-update": "0.27.3", | ||
"ember-cli-update": "0.27.18", | ||
"ember-disable-prototype-extensions": "1.1.3", | ||
@@ -92,9 +94,9 @@ "ember-export-application-global": "2.0.0", | ||
"ember-maybe-import-regenerator": "0.1.6", | ||
"ember-qunit": "4.1.2", | ||
"ember-qunit": "4.2.0", | ||
"ember-resolver": "5.0.1", | ||
"ember-source": "3.6.0", | ||
"ember-source": "3.6.1", | ||
"ember-try": "1.1.0", | ||
"eslint": "5.10.0", | ||
"eslint-plugin-ember": "6.0.1", | ||
"eslint-plugin-node": "8.0.0", | ||
"eslint": "5.12.0", | ||
"eslint-plugin-ember": "6.1.0", | ||
"eslint-plugin-node": "8.0.1", | ||
"esprima": "4.0.1", | ||
@@ -108,5 +110,5 @@ "fixturify": "0.3.4", | ||
"mocha": "5.2.0", | ||
"qunit-dom": "0.8.3", | ||
"rimraf": "2.6.2", | ||
"testdouble": "3.9.1", | ||
"qunit-dom": "0.8.4", | ||
"rimraf": "2.6.3", | ||
"testdouble": "3.9.2", | ||
"ts-node": "7.0.1", | ||
@@ -113,0 +115,0 @@ "typescript": "3.2.1", |
@@ -84,3 +84,3 @@ # ember-cli-typescript | ||
``` | ||
ember install ember-cli-typescript@latest | ||
ember install ember-cli-typescript@next | ||
``` | ||
@@ -91,3 +91,3 @@ | ||
``` | ||
ember install ember-cli-typescript@latest --save | ||
ember install ember-cli-typescript@next --save | ||
``` | ||
@@ -94,0 +94,0 @@ |
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
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
691695
1981