Skip to content

Commit

Permalink
tweak dependencies, use blueprint babel
Browse files Browse the repository at this point in the history
  • Loading branch information
machty committed Feb 4, 2024
1 parent affe853 commit 97eda92
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 60 deletions.
18 changes: 13 additions & 5 deletions packages/ember-concurrency/babel.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@
// template colocation.
{
"plugins": [
// https://github.com/embroider-build/embroider/issues/1014
["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/plugin-proposal-class-properties",
"@embroider/addon-dev/template-colocation-plugin"
"@embroider/addon-dev/template-colocation-plugin",
[
"babel-plugin-ember-template-compilation",
{
"targetFormat": "hbs",
"transforms": []
}
],
[
"module:decorator-transforms",
{ "runtime": { "import": "decorator-transforms/runtime" } }
]
]
}
}
10 changes: 6 additions & 4 deletions packages/ember-concurrency/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"prepare": "pnpm build"
},
"peerDependencies": {
"ember-source": "^3.28.0 || ^4.0.0 || >=5.0.0"
"ember-source": "^3.28.0 || ^4.0.0 || >=5.0.0",
"@glimmer/tracking": "^1.1.2",
"@glint/template": ">= 1.0.0"
},
"engines": {
"node": "16.* || >= 18"
Expand All @@ -37,6 +39,7 @@
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-qunit": "^7.3.4",
"prettier": "^2.8.4",
"rollup": "^4.9.6",
"typescript": "^5.3.3"
},
Expand Down Expand Up @@ -69,9 +72,8 @@
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13",
"@babel/types": "^7.12.13",
"@embroider/addon-shim": "^1.8.7",
"@glimmer/tracking": "^1.1.2",
"prettier": "^2.8.4"
"decorator-transforms": "^1.0.1",
"@embroider/addon-shim": "^1.8.7"
},
"ember": {
"version": 2,
Expand Down
Loading

0 comments on commit 97eda92

Please sign in to comment.