@teambit/compiler 1.0.65 → 1.0.67
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 +8 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1 -50
- package/dist/index.js.map +1 -1
- package/dist/{preview-1700997544567.js → preview-1701228028835.js} +2 -2
- package/esm.mjs +8 -0
- package/package.json +20 -20
package/dist/esm.d.mts
ADDED
package/dist/esm.mjs
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-unresolved
|
|
2
|
+
import cjsModule from './index.js';
|
|
3
|
+
|
|
4
|
+
export const CompilerAspect = cjsModule.CompilerAspect;
|
|
5
|
+
export const CompilerTask = cjsModule.CompilerTask;
|
|
6
|
+
export const CompilationInitiator = cjsModule.CompilationInitiator;
|
|
7
|
+
|
|
8
|
+
export default cjsModule;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export type { CompilerMain } from './compiler.main.runtime';
|
|
2
|
-
export {
|
|
2
|
+
export type { CompilerTaskOptions } from './compiler.task';
|
|
3
|
+
export { CompilerTask } from './compiler.task';
|
|
3
4
|
export type { CompilerEnv } from './compiler-env-type';
|
|
4
5
|
export { CompilerAspect } from './compiler.aspect';
|
|
5
|
-
export {
|
|
6
|
+
export { CompilationInitiator } from './types';
|
|
7
|
+
export type { Compiler, CompilerOptions, TranspileFileOutput, TranspileFileParams, TranspileComponentParams, TranspileFileOutputOneFile, } from './types';
|
|
6
8
|
export * from './events';
|
package/dist/index.js
CHANGED
|
@@ -5,15 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
7
|
CompilerTask: true,
|
|
8
|
-
CompilerTaskOptions: true,
|
|
9
8
|
CompilerAspect: true,
|
|
10
|
-
|
|
11
|
-
CompilerOptions: true,
|
|
12
|
-
CompilationInitiator: true,
|
|
13
|
-
TranspileFileOutput: true,
|
|
14
|
-
TranspileFileParams: true,
|
|
15
|
-
TranspileComponentParams: true,
|
|
16
|
-
TranspileFileOutputOneFile: true
|
|
9
|
+
CompilationInitiator: true
|
|
17
10
|
};
|
|
18
11
|
Object.defineProperty(exports, "CompilationInitiator", {
|
|
19
12
|
enumerable: true,
|
|
@@ -21,60 +14,18 @@ Object.defineProperty(exports, "CompilationInitiator", {
|
|
|
21
14
|
return _types().CompilationInitiator;
|
|
22
15
|
}
|
|
23
16
|
});
|
|
24
|
-
Object.defineProperty(exports, "Compiler", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _types().Compiler;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
17
|
Object.defineProperty(exports, "CompilerAspect", {
|
|
31
18
|
enumerable: true,
|
|
32
19
|
get: function () {
|
|
33
20
|
return _compiler2().CompilerAspect;
|
|
34
21
|
}
|
|
35
22
|
});
|
|
36
|
-
Object.defineProperty(exports, "CompilerOptions", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _types().CompilerOptions;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
23
|
Object.defineProperty(exports, "CompilerTask", {
|
|
43
24
|
enumerable: true,
|
|
44
25
|
get: function () {
|
|
45
26
|
return _compiler().CompilerTask;
|
|
46
27
|
}
|
|
47
28
|
});
|
|
48
|
-
Object.defineProperty(exports, "CompilerTaskOptions", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _compiler().CompilerTaskOptions;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "TranspileComponentParams", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _types().TranspileComponentParams;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "TranspileFileOutput", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () {
|
|
63
|
-
return _types().TranspileFileOutput;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "TranspileFileOutputOneFile", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () {
|
|
69
|
-
return _types().TranspileFileOutputOneFile;
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(exports, "TranspileFileParams", {
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () {
|
|
75
|
-
return _types().TranspileFileParams;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
29
|
function _compiler() {
|
|
79
30
|
const data = require("./compiler.task");
|
|
80
31
|
_compiler = function () {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_compiler","data","require","_compiler2","_types","_events","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get"],"sources":["index.ts"],"sourcesContent":["export type { CompilerMain } from './compiler.main.runtime';\nexport {
|
|
1
|
+
{"version":3,"names":["_compiler","data","require","_compiler2","_types","_events","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get"],"sources":["index.ts"],"sourcesContent":["export type { CompilerMain } from './compiler.main.runtime';\nexport type { CompilerTaskOptions } from './compiler.task';\nexport { CompilerTask } from './compiler.task';\nexport type { CompilerEnv } from './compiler-env-type';\nexport { CompilerAspect } from './compiler.aspect';\nexport { CompilationInitiator } from './types';\nexport type {\n Compiler,\n CompilerOptions,\n TranspileFileOutput,\n TranspileFileParams,\n TranspileComponentParams,\n TranspileFileOutputOneFile,\n} from './types';\nexport * from './events';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAE,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,OAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,MAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AASA,IAAAI,OAAA,GAAAH,OAAA;AAAAI,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_compiler@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_compiler@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_compiler@1.0.67/dist/compiler.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_compiler@1.0.67/dist/compiler.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/esm.mjs
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-unresolved
|
|
2
|
+
import cjsModule from './index.js';
|
|
3
|
+
|
|
4
|
+
export const CompilerAspect = cjsModule.CompilerAspect;
|
|
5
|
+
export const CompilerTask = cjsModule.CompilerTask;
|
|
6
|
+
export const CompilationInitiator = cjsModule.CompilationInitiator;
|
|
7
|
+
|
|
8
|
+
export default cjsModule;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/compiler",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.67",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/compilation/compiler",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.compilation",
|
|
8
8
|
"name": "compiler",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.67"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -22,24 +22,24 @@
|
|
|
22
22
|
"@teambit/component-id": "1.2.0",
|
|
23
23
|
"@teambit/bit-roots": "0.0.133",
|
|
24
24
|
"@teambit/bit-error": "0.0.404",
|
|
25
|
-
"@teambit/envs": "1.0.
|
|
26
|
-
"@teambit/cli": "0.0.
|
|
27
|
-
"@teambit/component": "1.0.
|
|
28
|
-
"@teambit/logger": "0.0.
|
|
29
|
-
"@teambit/pubsub": "1.0.
|
|
30
|
-
"@teambit/aspect-loader": "1.0.
|
|
31
|
-
"@teambit/builder": "1.0.
|
|
32
|
-
"@teambit/component-issues": "0.0.
|
|
33
|
-
"@teambit/dependency-resolver": "1.0.
|
|
34
|
-
"@teambit/generator": "1.0.
|
|
35
|
-
"@teambit/issues": "1.0.
|
|
36
|
-
"@teambit/ui": "1.0.
|
|
37
|
-
"@teambit/watcher": "1.0.
|
|
38
|
-
"@teambit/workspace": "1.0.
|
|
39
|
-
"@teambit/isolator": "1.0.
|
|
25
|
+
"@teambit/envs": "1.0.67",
|
|
26
|
+
"@teambit/cli": "0.0.824",
|
|
27
|
+
"@teambit/component": "1.0.67",
|
|
28
|
+
"@teambit/logger": "0.0.917",
|
|
29
|
+
"@teambit/pubsub": "1.0.67",
|
|
30
|
+
"@teambit/aspect-loader": "1.0.67",
|
|
31
|
+
"@teambit/builder": "1.0.67",
|
|
32
|
+
"@teambit/component-issues": "0.0.120",
|
|
33
|
+
"@teambit/dependency-resolver": "1.0.67",
|
|
34
|
+
"@teambit/generator": "1.0.68",
|
|
35
|
+
"@teambit/issues": "1.0.67",
|
|
36
|
+
"@teambit/ui": "1.0.67",
|
|
37
|
+
"@teambit/watcher": "1.0.67",
|
|
38
|
+
"@teambit/workspace": "1.0.67",
|
|
39
|
+
"@teambit/isolator": "1.0.67",
|
|
40
40
|
"@teambit/toolbox.fs.hard-link-directory": "0.0.19",
|
|
41
|
-
"@teambit/multi-compiler": "1.0.
|
|
42
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.
|
|
41
|
+
"@teambit/multi-compiler": "1.0.67",
|
|
42
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.155"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/react": "^17.0.8",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@teambit/compilation.content.compiler-overview": "1.95.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@teambit/legacy": "1.0.
|
|
56
|
+
"@teambit/legacy": "1.0.607",
|
|
57
57
|
"react": "^16.8.0 || ^17.0.0",
|
|
58
58
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
59
59
|
},
|