@embroider/compat 3.5.1-unstable.bdf4aae → 3.5.1-unstable.ccbb0a6
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/package.json +4 -4
- package/src/compat-app-builder.d.ts +3 -26
- package/src/compat-app-builder.js +21 -719
- package/src/compat-app-builder.js.map +1 -1
- package/src/compat-app.d.ts +0 -7
- package/src/compat-app.js +22 -41
- package/src/compat-app.js.map +1 -1
- package/src/http-audit.js +4 -1
- package/src/http-audit.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embroider/compat",
|
|
3
|
-
"version": "3.5.1-unstable.
|
|
3
|
+
"version": "3.5.1-unstable.ccbb0a6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Backward compatibility layer for the Embroider build system.",
|
|
6
6
|
"repository": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@babel/preset-env": "^7.14.5",
|
|
31
31
|
"@babel/runtime": "^7.18.6",
|
|
32
32
|
"@babel/traverse": "^7.14.5",
|
|
33
|
-
"@embroider/macros": "1.16.2-unstable.
|
|
33
|
+
"@embroider/macros": "1.16.2-unstable.ccbb0a6",
|
|
34
34
|
"@types/babel__code-frame": "^7.0.2",
|
|
35
35
|
"@types/yargs": "^17.0.3",
|
|
36
36
|
"assert-never": "^1.1.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"yargs": "^17.0.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@embroider/core": "3.4.10-unstable.
|
|
69
|
+
"@embroider/core": "3.4.10-unstable.ccbb0a6",
|
|
70
70
|
"@embroider/sample-transforms": "workspace:*",
|
|
71
71
|
"@embroider/test-support": "workspace:*",
|
|
72
72
|
"@glimmer/syntax": "^0.84.3",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"typescript": "^5.4.5"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
|
-
"@embroider/core": "3.4.10-unstable.
|
|
94
|
+
"@embroider/core": "3.4.10-unstable.ccbb0a6"
|
|
95
95
|
},
|
|
96
96
|
"engines": {
|
|
97
97
|
"node": "12.* || 14.* || >= 16"
|
|
@@ -15,43 +15,28 @@ export declare class CompatAppBuilder {
|
|
|
15
15
|
private contentForTree;
|
|
16
16
|
private synthVendor;
|
|
17
17
|
private synthStyles;
|
|
18
|
-
private assets;
|
|
19
18
|
constructor(root: string, origAppPackage: Package, appPackageWithMovedDeps: Package, options: Required<Options>, compatApp: CompatApp, configTree: V1Config, contentForTree: ContentForConfig, synthVendor: Package, synthStyles: Package);
|
|
20
19
|
private fastbootJSSrcDir;
|
|
21
|
-
private extractAssets;
|
|
22
|
-
private findTestemAsset;
|
|
23
20
|
private activeAddonChildren;
|
|
24
21
|
private get allActiveAddons();
|
|
25
22
|
private isActiveAddon;
|
|
26
23
|
private orderAddons;
|
|
27
24
|
private resolvableExtensions;
|
|
28
|
-
private
|
|
25
|
+
private addEmberEntrypoints;
|
|
29
26
|
private modulePrefix;
|
|
30
27
|
private podModulePrefix;
|
|
31
28
|
private rootURL;
|
|
32
29
|
private activeRules;
|
|
33
30
|
private resolverConfig;
|
|
34
|
-
private scriptPriority;
|
|
35
31
|
private get resolvableExtensionsPattern();
|
|
36
|
-
private impliedAssets;
|
|
37
|
-
private impliedAddonAssets;
|
|
38
32
|
private babelConfig;
|
|
39
|
-
private insertEmberApp;
|
|
40
33
|
private findActiveAddons;
|
|
41
34
|
private partitionEngines;
|
|
42
35
|
private get activeFastboot();
|
|
43
36
|
private get fastbootConfig();
|
|
44
37
|
private engines;
|
|
45
38
|
private updateAppJS;
|
|
46
|
-
private
|
|
47
|
-
private prepareAssets;
|
|
48
|
-
private assetIsValid;
|
|
49
|
-
private updateOnDiskAsset;
|
|
50
|
-
private updateInMemoryAsset;
|
|
51
|
-
private updateBuiltEmberAsset;
|
|
52
|
-
private updateConcatenatedAsset;
|
|
53
|
-
private updateAssets;
|
|
54
|
-
private gatherAssets;
|
|
39
|
+
private get staticAppPathsPattern();
|
|
55
40
|
private firstBuild;
|
|
56
41
|
build(inputPaths: OutputPaths<TreeNames>): Promise<void>;
|
|
57
42
|
private combinePackageJSON;
|
|
@@ -61,15 +46,7 @@ export declare class CompatAppBuilder {
|
|
|
61
46
|
private addResolverConfig;
|
|
62
47
|
private addContentForConfig;
|
|
63
48
|
private addEmberEnvConfig;
|
|
64
|
-
private
|
|
65
|
-
private splitRoute;
|
|
66
|
-
private topAppJSAsset;
|
|
67
|
-
private get staticAppPathsPattern();
|
|
68
|
-
private requiredOtherFiles;
|
|
69
|
-
private appJSAsset;
|
|
70
|
-
private importPaths;
|
|
71
|
-
private routeEntrypoint;
|
|
72
|
-
private testJSEntrypoint;
|
|
49
|
+
private addAppBoot;
|
|
73
50
|
}
|
|
74
51
|
interface TreeNames {
|
|
75
52
|
appJS: BroccoliNode;
|