@genesislcap/ts-builder 14.407.0-FUI-2491.1 → 14.407.0-workspaces.4
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/index.d.ts.map +1 -1
- package/dist/index.js +3 -7
- package/package.json +3 -3
- package/src/index.ts +2 -7
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;yBAGrC,KAAK,YAAY;AAAvC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;yBAGrC,KAAK,YAAY;AAAvC,wBA6CE"}
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const build_kit_1 = require("@genesislcap/build-kit");
|
|
5
5
|
const consola_1 = tslib_1.__importDefault(require("consola"));
|
|
6
6
|
exports.default = (ctx) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
7
|
-
const { dirs: { cwd }, cli: { isDev, isBuild, options }, config: { clean, copyAssets }, enable: { apiExtractor, cemAnalyzer },
|
|
7
|
+
const { dirs: { cwd }, cli: { isDev, isBuild, options }, config: { clean, copyAssets }, enable: { apiExtractor, cemAnalyzer }, } = ctx;
|
|
8
8
|
if (clean) {
|
|
9
9
|
yield (0, build_kit_1.rm)(['dist', 'tsconfig.tsbuildinfo']);
|
|
10
10
|
}
|
|
@@ -27,12 +27,8 @@ exports.default = (ctx) => tslib_1.__awaiter(void 0, void 0, void 0, function* (
|
|
|
27
27
|
consola_1.default.log('\n@microsoft/api-extractor configuration detected');
|
|
28
28
|
const extractor = yield (0, build_kit_1.resolveBin)('api-extractor', '@microsoft/api-extractor');
|
|
29
29
|
(0, build_kit_1.run)(cwd, `${extractor} run --local`);
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
if (!apiDocsPublishJsonOnly.includes(pkg.name)) {
|
|
33
|
-
const documenter = yield (0, build_kit_1.resolveBin)('api-documenter', '@microsoft/api-documenter');
|
|
34
|
-
(0, build_kit_1.run)(cwd, `${documenter} markdown -i dist -o docs/api`);
|
|
35
|
-
}
|
|
30
|
+
const documenter = yield (0, build_kit_1.resolveBin)('api-documenter', '@microsoft/api-documenter');
|
|
31
|
+
(0, build_kit_1.run)(cwd, `${documenter} markdown -i dist -o docs/api`);
|
|
36
32
|
}
|
|
37
33
|
if (cemAnalyzer) {
|
|
38
34
|
consola_1.default.log('\n@custom-elements-manifest/analyzer configuration detected');
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/ts-builder",
|
|
3
3
|
"description": "Typescript builder",
|
|
4
|
-
"version": "14.407.0-
|
|
4
|
+
"version": "14.407.0-workspaces.4",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@custom-elements-manifest/analyzer": "^0.8.2",
|
|
20
|
-
"@genesislcap/build-kit": "14.407.0-
|
|
20
|
+
"@genesislcap/build-kit": "14.407.0-workspaces.4",
|
|
21
21
|
"consola": "^3.0.2",
|
|
22
22
|
"copyfiles": "^2.4.1",
|
|
23
23
|
"pkg-types": "^1.0.2"
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "923fa7c52904cc262f94b21f8c0b025986bfdf41"
|
|
34
34
|
}
|
package/src/index.ts
CHANGED
|
@@ -8,7 +8,6 @@ export default async (ctx: BuildContext) => {
|
|
|
8
8
|
cli: { isDev, isBuild, options },
|
|
9
9
|
config: { clean, copyAssets },
|
|
10
10
|
enable: { apiExtractor, cemAnalyzer },
|
|
11
|
-
pkg,
|
|
12
11
|
} = ctx;
|
|
13
12
|
|
|
14
13
|
if (clean) {
|
|
@@ -36,12 +35,8 @@ export default async (ctx: BuildContext) => {
|
|
|
36
35
|
const extractor = await resolveBin('api-extractor', '@microsoft/api-extractor');
|
|
37
36
|
run(cwd, `${extractor} run --local`);
|
|
38
37
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
if (!apiDocsPublishJsonOnly.includes(pkg.name as string)) {
|
|
42
|
-
const documenter = await resolveBin('api-documenter', '@microsoft/api-documenter');
|
|
43
|
-
run(cwd, `${documenter} markdown -i dist -o docs/api`);
|
|
44
|
-
}
|
|
38
|
+
const documenter = await resolveBin('api-documenter', '@microsoft/api-documenter');
|
|
39
|
+
run(cwd, `${documenter} markdown -i dist -o docs/api`);
|
|
45
40
|
}
|
|
46
41
|
|
|
47
42
|
if (cemAnalyzer) {
|