@embroider/compat 4.1.25 → 4.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/package.json +5 -5
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @embroider/compat
|
|
2
|
+
|
|
3
|
+
Backward compatibility layer for the Embroider build system.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```js
|
|
8
|
+
// ember-cli-build.js
|
|
9
|
+
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
|
10
|
+
const { compatBuild } = require('@embroider/compat');
|
|
11
|
+
|
|
12
|
+
module.exports = async function (defaults) {
|
|
13
|
+
const { buildOnce } = await import('@embroider/vite');
|
|
14
|
+
let app = new EmberApp(defaults, {});
|
|
15
|
+
|
|
16
|
+
return compatBuild(app, buildOnce);
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`compatBuild` takes options as its third argument. They are documented in [Compat Options](https://github.com/embroider-build/embroider/blob/main/packages/compat/src/options.ts) and [Core Options](https://github.com/embroider-build/embroider/blob/main/packages/core/src/options.ts).
|
|
21
|
+
|
|
22
|
+
See the [top-level README](https://github.com/embroider-build/embroider#readme) for the status of the project.
|
|
23
|
+
|
|
24
|
+
## Contributing
|
|
25
|
+
|
|
26
|
+
See the top-level CONTRIBUTING.md in this monorepo.
|
|
27
|
+
|
|
28
|
+
## License
|
|
29
|
+
|
|
30
|
+
This project is licensed under the MIT License.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embroider/compat",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.27",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Backward compatibility layer for the Embroider build system.",
|
|
6
6
|
"repository": {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"tree-sync": "^2.1.0",
|
|
64
64
|
"typescript-memoize": "^1.0.1",
|
|
65
65
|
"walk-sync": "^3.0.0",
|
|
66
|
-
"@embroider/macros": "1.21.
|
|
66
|
+
"@embroider/macros": "1.21.3"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@glimmer/syntax": "^0.94.9",
|
|
@@ -88,12 +88,12 @@
|
|
|
88
88
|
"scenario-tester": "^4.0.0",
|
|
89
89
|
"typescript": "^5.4.5",
|
|
90
90
|
"vitest": "^3.2.4",
|
|
91
|
+
"@embroider/core": "^4.6.9",
|
|
91
92
|
"@embroider/test-support": "0.36.0",
|
|
92
|
-
"embroider-sample-transforms": "0.0.0"
|
|
93
|
-
"@embroider/core": "^4.6.7"
|
|
93
|
+
"embroider-sample-transforms": "0.0.0"
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
96
|
-
"@embroider/core": "^4.6.
|
|
96
|
+
"@embroider/core": "^4.6.9"
|
|
97
97
|
},
|
|
98
98
|
"engines": {
|
|
99
99
|
"node": ">= 20.19.*"
|