Skip to content

Commit 64dd82a

Browse files
committed
I need to be able to debug
1 parent 06a644e commit 64dd82a

File tree

4 files changed

+24
-1
lines changed

4 files changed

+24
-1
lines changed

test-app/app/app.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import 'decorator-transforms/globals';
2+
13
import Application from '@ember/application';
24

35
// CI isn't finding the types for this

test-app/ember-cli-build.js

+7
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ module.exports = function (defaults) {
1717
},
1818
'ember-cli-babel': {
1919
enableTypeScriptTransform: true,
20+
disableDecoratorTransforms: true,
21+
},
22+
babel: {
23+
plugins: [
24+
// add the new transform.
25+
require.resolve('decorator-transforms'),
26+
],
2027
},
2128
name: 'test-app',
2229
});

test-app/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"@embroider/macros": "^1.16.10",
3030
"@glimmer/component": "^1.1.2",
3131
"@glimmer/tracking": "^1.1.2",
32+
"decorator-transforms": "^2.3.0",
3233
"ember-functions-as-helper-polyfill": "^2.0.1",
3334
"ember-resources": "workspace:*",
3435
"tracked-built-ins": "^3.1.0"
@@ -50,7 +51,6 @@
5051
"@embroider/test-setup": "^4.0.0",
5152
"@embroider/webpack": "^4.0.9",
5253
"@glint/core": "^1.5.0",
53-
"babel-plugin-ember-template-compilation": "^2.3.0",
5454
"@glint/environment-ember-loose": "^1.5.0",
5555
"@glint/environment-ember-template-imports": "^1.0.2",
5656
"@glint/template": "^1.0.2",
@@ -61,6 +61,7 @@
6161
"@types/rsvp": "^4.0.4",
6262
"@typescript-eslint/eslint-plugin": "^5.54.0",
6363
"@typescript-eslint/parser": "^5.54.0",
64+
"babel-plugin-ember-template-compilation": "^2.3.0",
6465
"broccoli-asset-rev": "^3.0.0",
6566
"concurrently": "^7.6.0",
6667
"ember-auto-import": "2.6.1",

test-app/pnpm-lock.yaml

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)