@teambit/bundler 1.0.65 → 1.0.66
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/dist/esm.d.mts +4 -0
- package/dist/esm.mjs +7 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +0 -154
- package/dist/index.js.map +1 -1
- package/dist/{preview-1700997544567.js → preview-1701141530916.js} +2 -2
- package/esm.mjs +7 -0
- package/package.json +10 -10
package/dist/esm.d.mts
ADDED
package/dist/esm.mjs
ADDED
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BundlerAspect } from './bundler.aspect';
|
|
2
|
-
export { DevServer } from './dev-server';
|
|
3
|
-
export { DevServerContext } from './dev-server-context';
|
|
4
|
-
export { BundlerContext, Target, ModuleTarget, HtmlConfig as BundlerHtmlConfig, EntryMap as BundlerEntryMap, Entry as BundlerEntry, MetaData as BundlerContextMetaData, } from './bundler-context';
|
|
5
|
-
export { Bundler, BundlerResult, BundlerMode, Asset, ChunksAssetsMap, EntriesAssetsMap, EntryAssets } from './bundler';
|
|
2
|
+
export type { DevServer } from './dev-server';
|
|
3
|
+
export type { DevServerContext } from './dev-server-context';
|
|
4
|
+
export type { BundlerContext, Target, ModuleTarget, HtmlConfig as BundlerHtmlConfig, EntryMap as BundlerEntryMap, Entry as BundlerEntry, MetaData as BundlerContextMetaData, } from './bundler-context';
|
|
5
|
+
export type { Bundler, BundlerResult, BundlerMode, Asset, ChunksAssetsMap, EntriesAssetsMap, EntryAssets, } from './bundler';
|
|
6
6
|
export type { BundlerMain } from './bundler.main.runtime';
|
|
7
|
-
export { ComponentDir } from './get-entry';
|
|
7
|
+
export type { ComponentDir } from './get-entry';
|
|
8
8
|
export { ComponentServer } from './component-server';
|
|
9
9
|
export * from './events';
|
|
10
10
|
export { BundlerAspect, BundlerAspect as default };
|
package/dist/index.js
CHANGED
|
@@ -5,139 +5,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
7
|
BundlerAspect: true,
|
|
8
|
-
DevServer: true,
|
|
9
|
-
DevServerContext: true,
|
|
10
|
-
BundlerContext: true,
|
|
11
|
-
Target: true,
|
|
12
|
-
ModuleTarget: true,
|
|
13
|
-
BundlerHtmlConfig: true,
|
|
14
|
-
BundlerEntryMap: true,
|
|
15
|
-
BundlerEntry: true,
|
|
16
|
-
BundlerContextMetaData: true,
|
|
17
|
-
Bundler: true,
|
|
18
|
-
BundlerResult: true,
|
|
19
|
-
BundlerMode: true,
|
|
20
|
-
Asset: true,
|
|
21
|
-
ChunksAssetsMap: true,
|
|
22
|
-
EntriesAssetsMap: true,
|
|
23
|
-
EntryAssets: true,
|
|
24
|
-
ComponentDir: true,
|
|
25
8
|
ComponentServer: true
|
|
26
9
|
};
|
|
27
|
-
Object.defineProperty(exports, "Asset", {
|
|
28
|
-
enumerable: true,
|
|
29
|
-
get: function () {
|
|
30
|
-
return _bundler2().Asset;
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
Object.defineProperty(exports, "Bundler", {
|
|
34
|
-
enumerable: true,
|
|
35
|
-
get: function () {
|
|
36
|
-
return _bundler2().Bundler;
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
10
|
Object.defineProperty(exports, "BundlerAspect", {
|
|
40
11
|
enumerable: true,
|
|
41
12
|
get: function () {
|
|
42
13
|
return _bundler().BundlerAspect;
|
|
43
14
|
}
|
|
44
15
|
});
|
|
45
|
-
Object.defineProperty(exports, "BundlerContext", {
|
|
46
|
-
enumerable: true,
|
|
47
|
-
get: function () {
|
|
48
|
-
return _bundlerContext().BundlerContext;
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
Object.defineProperty(exports, "BundlerContextMetaData", {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function () {
|
|
54
|
-
return _bundlerContext().MetaData;
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
Object.defineProperty(exports, "BundlerEntry", {
|
|
58
|
-
enumerable: true,
|
|
59
|
-
get: function () {
|
|
60
|
-
return _bundlerContext().Entry;
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
Object.defineProperty(exports, "BundlerEntryMap", {
|
|
64
|
-
enumerable: true,
|
|
65
|
-
get: function () {
|
|
66
|
-
return _bundlerContext().EntryMap;
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
Object.defineProperty(exports, "BundlerHtmlConfig", {
|
|
70
|
-
enumerable: true,
|
|
71
|
-
get: function () {
|
|
72
|
-
return _bundlerContext().HtmlConfig;
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
Object.defineProperty(exports, "BundlerMode", {
|
|
76
|
-
enumerable: true,
|
|
77
|
-
get: function () {
|
|
78
|
-
return _bundler2().BundlerMode;
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
Object.defineProperty(exports, "BundlerResult", {
|
|
82
|
-
enumerable: true,
|
|
83
|
-
get: function () {
|
|
84
|
-
return _bundler2().BundlerResult;
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
Object.defineProperty(exports, "ChunksAssetsMap", {
|
|
88
|
-
enumerable: true,
|
|
89
|
-
get: function () {
|
|
90
|
-
return _bundler2().ChunksAssetsMap;
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
Object.defineProperty(exports, "ComponentDir", {
|
|
94
|
-
enumerable: true,
|
|
95
|
-
get: function () {
|
|
96
|
-
return _getEntry().ComponentDir;
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
16
|
Object.defineProperty(exports, "ComponentServer", {
|
|
100
17
|
enumerable: true,
|
|
101
18
|
get: function () {
|
|
102
19
|
return _componentServer().ComponentServer;
|
|
103
20
|
}
|
|
104
21
|
});
|
|
105
|
-
Object.defineProperty(exports, "DevServer", {
|
|
106
|
-
enumerable: true,
|
|
107
|
-
get: function () {
|
|
108
|
-
return _devServer().DevServer;
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
Object.defineProperty(exports, "DevServerContext", {
|
|
112
|
-
enumerable: true,
|
|
113
|
-
get: function () {
|
|
114
|
-
return _devServerContext().DevServerContext;
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
Object.defineProperty(exports, "EntriesAssetsMap", {
|
|
118
|
-
enumerable: true,
|
|
119
|
-
get: function () {
|
|
120
|
-
return _bundler2().EntriesAssetsMap;
|
|
121
|
-
}
|
|
122
|
-
});
|
|
123
|
-
Object.defineProperty(exports, "EntryAssets", {
|
|
124
|
-
enumerable: true,
|
|
125
|
-
get: function () {
|
|
126
|
-
return _bundler2().EntryAssets;
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
Object.defineProperty(exports, "ModuleTarget", {
|
|
130
|
-
enumerable: true,
|
|
131
|
-
get: function () {
|
|
132
|
-
return _bundlerContext().ModuleTarget;
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
Object.defineProperty(exports, "Target", {
|
|
136
|
-
enumerable: true,
|
|
137
|
-
get: function () {
|
|
138
|
-
return _bundlerContext().Target;
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
22
|
Object.defineProperty(exports, "default", {
|
|
142
23
|
enumerable: true,
|
|
143
24
|
get: function () {
|
|
@@ -151,41 +32,6 @@ function _bundler() {
|
|
|
151
32
|
};
|
|
152
33
|
return data;
|
|
153
34
|
}
|
|
154
|
-
function _devServer() {
|
|
155
|
-
const data = require("./dev-server");
|
|
156
|
-
_devServer = function () {
|
|
157
|
-
return data;
|
|
158
|
-
};
|
|
159
|
-
return data;
|
|
160
|
-
}
|
|
161
|
-
function _devServerContext() {
|
|
162
|
-
const data = require("./dev-server-context");
|
|
163
|
-
_devServerContext = function () {
|
|
164
|
-
return data;
|
|
165
|
-
};
|
|
166
|
-
return data;
|
|
167
|
-
}
|
|
168
|
-
function _bundlerContext() {
|
|
169
|
-
const data = require("./bundler-context");
|
|
170
|
-
_bundlerContext = function () {
|
|
171
|
-
return data;
|
|
172
|
-
};
|
|
173
|
-
return data;
|
|
174
|
-
}
|
|
175
|
-
function _bundler2() {
|
|
176
|
-
const data = require("./bundler");
|
|
177
|
-
_bundler2 = function () {
|
|
178
|
-
return data;
|
|
179
|
-
};
|
|
180
|
-
return data;
|
|
181
|
-
}
|
|
182
|
-
function _getEntry() {
|
|
183
|
-
const data = require("./get-entry");
|
|
184
|
-
_getEntry = function () {
|
|
185
|
-
return data;
|
|
186
|
-
};
|
|
187
|
-
return data;
|
|
188
|
-
}
|
|
189
35
|
function _componentServer() {
|
|
190
36
|
const data = require("./component-server");
|
|
191
37
|
_componentServer = function () {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_bundler","data","require","
|
|
1
|
+
{"version":3,"names":["_bundler","data","require","_componentServer","_events","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get"],"sources":["index.ts"],"sourcesContent":["import { BundlerAspect } from './bundler.aspect';\n\nexport type { DevServer } from './dev-server';\nexport type { DevServerContext } from './dev-server-context';\nexport type {\n BundlerContext,\n Target,\n ModuleTarget,\n HtmlConfig as BundlerHtmlConfig,\n EntryMap as BundlerEntryMap,\n Entry as BundlerEntry,\n MetaData as BundlerContextMetaData,\n} from './bundler-context';\nexport type {\n Bundler,\n BundlerResult,\n BundlerMode,\n Asset,\n ChunksAssetsMap,\n EntriesAssetsMap,\n EntryAssets,\n} from './bundler';\nexport type { BundlerMain } from './bundler.main.runtime';\nexport type { ComponentDir } from './get-entry';\nexport { ComponentServer } from './component-server';\nexport * from './events';\nexport { BundlerAspect, BundlerAspect as default };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAwBA,SAAAE,iBAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,gBAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,IAAAG,OAAA,GAAAF,OAAA;AAAAG,MAAA,CAAAC,IAAA,CAAAF,OAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,OAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,OAAA,CAAAI,GAAA;IAAA;EAAA;AAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_bundler@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_bundler@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_bundler@1.0.66/dist/bundler.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_bundler@1.0.66/dist/bundler.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/esm.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/bundler",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.66",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/compilation/bundler",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.compilation",
|
|
8
8
|
"name": "bundler",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.66"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"cli-highlight": "2.1.9",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"core-js": "^3.0.0",
|
|
16
16
|
"@babel/runtime": "7.20.0",
|
|
17
17
|
"@teambit/harmony": "0.4.6",
|
|
18
|
-
"@teambit/envs": "1.0.
|
|
19
|
-
"@teambit/builder": "1.0.
|
|
20
|
-
"@teambit/component": "1.0.
|
|
21
|
-
"@teambit/cli": "0.0.
|
|
22
|
-
"@teambit/dependency-resolver": "1.0.
|
|
23
|
-
"@teambit/graphql": "1.0.
|
|
24
|
-
"@teambit/pubsub": "1.0.
|
|
18
|
+
"@teambit/envs": "1.0.66",
|
|
19
|
+
"@teambit/builder": "1.0.66",
|
|
20
|
+
"@teambit/component": "1.0.66",
|
|
21
|
+
"@teambit/cli": "0.0.823",
|
|
22
|
+
"@teambit/dependency-resolver": "1.0.66",
|
|
23
|
+
"@teambit/graphql": "1.0.66",
|
|
24
|
+
"@teambit/pubsub": "1.0.66",
|
|
25
25
|
"@teambit/toolbox.network.get-port": "1.0.4"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@apollo/client": "^3.6.0",
|
|
38
|
-
"@teambit/legacy": "1.0.
|
|
38
|
+
"@teambit/legacy": "1.0.606",
|
|
39
39
|
"react": "^16.8.0 || ^17.0.0",
|
|
40
40
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
41
41
|
},
|