Skip to content

Commit

Permalink
Add support for @tsconfig/ember 3.0.0
Browse files Browse the repository at this point in the history
- Addresses #613
- Update `ember-try` with new scenario to cover latest TypeScript 5 and `@tsconfig/ember` configuration
  • Loading branch information
Jeremy Matthews Taylor committed Jul 26, 2023
1 parent 4b3ff92 commit 8498471
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
18 changes: 15 additions & 3 deletions addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,21 @@
"license": "MIT",
"author": "Santiago Ferreira",
"exports": {
".": "./dist/index.js",
"./*": "./dist/*",
"./addon-main.js": "./addon-main.js"
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./types.d.ts"
},
"./*": {
"import": "./dist/*",
"require": "./dist/*",
"types": "./types.d.ts"
},
"./addon-main.js": {
"import": "./addon-main.js",
"require": "./addon-main.js",
"types": "./types.d.ts"
}
},
"types": "types.d.ts",
"files": [
Expand Down
18 changes: 18 additions & 0 deletions test-app/config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,24 @@ module.exports = async function () {
}),
},
},
{
name: 'ember-release-typescript-5',
npm: {
devDependencies: {
'@ember/string': '^3.1.1',
'@tsconfig/ember': '^3.0.0',
'ember-cli-typescript': '^5.2.1',
'ember-resolver': '^10.1.1',
'ember-source': await getChannelURL('release'),
typescript: '^5.1.6',
},
},
env: {
EMBER_OPTIONAL_FEATURES: JSON.stringify({
'jquery-integration': false,
}),
},
},
{
name: 'ember-beta',
npm: {
Expand Down

0 comments on commit 8498471

Please sign in to comment.