Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

de-mystify resource internals #1166

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
I need to be able to debug
  • Loading branch information
NullVoxPopuli committed Jan 26, 2025
commit 64dd82a8dd12915873f35c202a2dbc81c367fb8b
2 changes: 2 additions & 0 deletions test-app/app/app.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'decorator-transforms/globals';

import Application from '@ember/application';

// CI isn't finding the types for this
7 changes: 7 additions & 0 deletions test-app/ember-cli-build.js
Original file line number Diff line number Diff line change
@@ -17,6 +17,13 @@ module.exports = function (defaults) {
},
'ember-cli-babel': {
enableTypeScriptTransform: true,
disableDecoratorTransforms: true,
},
babel: {
plugins: [
// add the new transform.
require.resolve('decorator-transforms'),
],
},
name: 'test-app',
});
3 changes: 2 additions & 1 deletion test-app/package.json
Original file line number Diff line number Diff line change
@@ -29,6 +29,7 @@
"@embroider/macros": "^1.16.10",
"@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2",
"decorator-transforms": "^2.3.0",
"ember-functions-as-helper-polyfill": "^2.0.1",
"ember-resources": "workspace:*",
"tracked-built-ins": "^3.1.0"
@@ -50,7 +51,6 @@
"@embroider/test-setup": "^4.0.0",
"@embroider/webpack": "^4.0.9",
"@glint/core": "^1.5.0",
"babel-plugin-ember-template-compilation": "^2.3.0",
"@glint/environment-ember-loose": "^1.5.0",
"@glint/environment-ember-template-imports": "^1.0.2",
"@glint/template": "^1.0.2",
@@ -61,6 +61,7 @@
"@types/rsvp": "^4.0.4",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"babel-plugin-ember-template-compilation": "^2.3.0",
"broccoli-asset-rev": "^3.0.0",
"concurrently": "^7.6.0",
"ember-auto-import": "2.6.1",
13 changes: 13 additions & 0 deletions test-app/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Oops, something went wrong.