keycloakify 11.7.4 → 11.8.1
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/bin/{33.index.js → 226.index.js} +2 -19
- package/bin/{911.index.js → 297.index.js} +18918 -11359
- package/bin/355.index.js +41 -703
- package/bin/363.index.js +115 -93
- package/bin/369.index.js +968 -0
- package/bin/{288.index.js → 502.index.js} +123 -227
- package/bin/656.index.js +111 -0
- package/bin/{880.index.js → 712.index.js} +227 -216
- package/bin/780.index.js +9 -7
- package/bin/932.index.js +965 -0
- package/bin/97.index.js +2099 -769
- package/bin/main.js +66 -49
- package/bin/shared/buildContext.d.ts +11 -3
- package/bin/start-keycloak/realmConfig/prepareRealmConfig.d.ts +5 -6
- package/bin/start-keycloak/realmConfig/realmConfig.d.ts +6 -2
- package/package.json +12 -17
- package/src/bin/initialize-account-theme/initialize-account-theme.ts +29 -27
- package/src/bin/initialize-email-theme.ts +103 -53
- package/src/bin/keycloakify/buildJars/buildJar.ts +45 -20
- package/src/bin/keycloakify/generateResources/generateResources.ts +263 -217
- package/src/bin/shared/{initializeSpa/addSyncExtensionsToPostinstallScript.ts → addSyncExtensionsToPostinstallScript.ts} +1 -1
- package/src/bin/shared/buildContext.ts +69 -24
- package/src/bin/shared/{initializeSpa/initializeSpa.ts → initializeSpa.ts} +3 -3
- package/src/bin/start-keycloak/realmConfig/prepareRealmConfig.ts +12 -23
- package/src/bin/start-keycloak/realmConfig/realmConfig.ts +14 -12
- package/src/bin/start-keycloak/start-keycloak.ts +55 -28
- package/src/bin/sync-extensions/getExtensionModuleFileSourceCodeReadyToBeCopied.ts +6 -0
- package/vite-plugin/index.js +48 -20
- package/bin/313.index.js +0 -377
- package/bin/678.index.js +0 -7565
- package/bin/9.index.js +0 -850
- package/bin/947.index.js +0 -1565
- package/bin/shared/initializeSpa/index.d.ts +0 -1
- package/bin/shared/metaInfKeycloakThemes.d.ts +0 -13
- package/src/bin/shared/initializeSpa/index.ts +0 -1
- package/src/bin/shared/metaInfKeycloakThemes.ts +0 -40
- /package/bin/shared/{initializeSpa/addSyncExtensionsToPostinstallScript.d.ts → addSyncExtensionsToPostinstallScript.d.ts} +0 -0
- /package/bin/shared/{initializeSpa/initializeSpa.d.ts → initializeSpa.d.ts} +0 -0
package/bin/363.index.js
CHANGED
@@ -351,6 +351,9 @@ function addCommentToSourceCode(params) {
|
|
351
351
|
if (fileRelativePath.endsWith(".properties")) {
|
352
352
|
return toResult(commentLines.map(line => `# ${line}`).join("\n"));
|
353
353
|
}
|
354
|
+
if (fileRelativePath.endsWith(".ftl")) {
|
355
|
+
return toResult([`<#--`, ...commentLines.map(line => ` ${line}`), `-->`].join("\n"));
|
356
|
+
}
|
354
357
|
if (fileRelativePath.endsWith(".html") || fileRelativePath.endsWith(".svg")) {
|
355
358
|
const comment = [
|
356
359
|
`<!--`,
|
@@ -503,8 +506,8 @@ var SemVer = __webpack_require__(12171);
|
|
503
506
|
var same = __webpack_require__(33805);
|
504
507
|
// EXTERNAL MODULE: ./dist/bin/tools/runPrettier.js
|
505
508
|
var runPrettier = __webpack_require__(48433);
|
506
|
-
// EXTERNAL MODULE: ./dist/bin/tools/npmInstall.js
|
507
|
-
var npmInstall = __webpack_require__(
|
509
|
+
// EXTERNAL MODULE: ./dist/bin/tools/npmInstall.js + 1 modules
|
510
|
+
var npmInstall = __webpack_require__(63046);
|
508
511
|
// EXTERNAL MODULE: external "path"
|
509
512
|
var external_path_ = __webpack_require__(71017);
|
510
513
|
;// CONCATENATED MODULE: ./dist/bin/sync-extensions/installExtensionModulesPeerDependencies.js
|
@@ -1081,29 +1084,48 @@ function getNodeModulesBinDirPath() {
|
|
1081
1084
|
|
1082
1085
|
/***/ }),
|
1083
1086
|
|
1084
|
-
/***/
|
1087
|
+
/***/ 63046:
|
1085
1088
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
1086
1089
|
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1090
|
+
|
1091
|
+
// EXPORTS
|
1092
|
+
__webpack_require__.d(__webpack_exports__, {
|
1093
|
+
"c": () => (/* binding */ npmInstall)
|
1094
|
+
});
|
1095
|
+
|
1096
|
+
// EXTERNAL MODULE: external "fs"
|
1097
|
+
var external_fs_ = __webpack_require__(57147);
|
1098
|
+
// EXTERNAL MODULE: external "path"
|
1099
|
+
var external_path_ = __webpack_require__(71017);
|
1100
|
+
// EXTERNAL MODULE: external "child_process"
|
1101
|
+
var external_child_process_ = __webpack_require__(32081);
|
1102
|
+
// EXTERNAL MODULE: ./node_modules/chalk/source/index.js
|
1103
|
+
var source = __webpack_require__(78818);
|
1104
|
+
var source_default = /*#__PURE__*/__webpack_require__.n(source);
|
1105
|
+
// EXTERNAL MODULE: ./node_modules/zod/lib/index.mjs
|
1106
|
+
var lib = __webpack_require__(52300);
|
1107
|
+
// EXTERNAL MODULE: ./node_modules/tsafe/esm/assert.mjs + 1 modules
|
1108
|
+
var assert = __webpack_require__(29041);
|
1109
|
+
// EXTERNAL MODULE: ./node_modules/tsafe/esm/id.mjs
|
1110
|
+
var id = __webpack_require__(38469);
|
1111
|
+
;// CONCATENATED MODULE: ./node_modules/tsafe/esm/objectKeys.mjs
|
1112
|
+
/** https://docs.tsafe.dev/objectKeys */
|
1113
|
+
function objectKeys(o) {
|
1114
|
+
return Object.keys(o);
|
1115
|
+
}
|
1116
|
+
|
1117
|
+
|
1118
|
+
//# sourceMappingURL=objectKeys.mjs.map
|
1119
|
+
|
1120
|
+
// EXTERNAL MODULE: ./dist/bin/tools/getAbsoluteAndInOsFormatPath.js
|
1121
|
+
var getAbsoluteAndInOsFormatPath = __webpack_require__(84794);
|
1122
|
+
// EXTERNAL MODULE: ./node_modules/tsafe/esm/exclude.mjs
|
1123
|
+
var exclude = __webpack_require__(83101);
|
1124
|
+
// EXTERNAL MODULE: ./dist/bin/tools/fs.rmSync.js
|
1125
|
+
var fs_rmSync = __webpack_require__(89693);
|
1126
|
+
// EXTERNAL MODULE: ./node_modules/evt/tools/Deferred.js
|
1127
|
+
var Deferred = __webpack_require__(50689);
|
1128
|
+
;// CONCATENATED MODULE: ./dist/bin/tools/npmInstall.js
|
1107
1129
|
|
1108
1130
|
|
1109
1131
|
|
@@ -1142,8 +1164,8 @@ async function npmInstall(params) {
|
|
1142
1164
|
}
|
1143
1165
|
];
|
1144
1166
|
for (const packageManager of packageMangers) {
|
1145
|
-
if (
|
1146
|
-
|
1167
|
+
if (external_fs_.existsSync((0,external_path_.join)(packageJsonDirPath, packageManager.lockFileBasename)) ||
|
1168
|
+
external_fs_.existsSync((0,external_path_.join)(process.cwd(), packageManager.lockFileBasename))) {
|
1147
1169
|
return packageManager.binName;
|
1148
1170
|
}
|
1149
1171
|
}
|
@@ -1158,7 +1180,7 @@ async function npmInstall(params) {
|
|
1158
1180
|
if (garronejLinkInfos === undefined) {
|
1159
1181
|
break install_without_breaking_links;
|
1160
1182
|
}
|
1161
|
-
console.log(
|
1183
|
+
console.log(source_default().green("Installing in a way that won't break the links..."));
|
1162
1184
|
await installWithoutBreakingLinks({
|
1163
1185
|
packageJsonDirPath,
|
1164
1186
|
garronejLinkInfos
|
@@ -1172,13 +1194,13 @@ async function npmInstall(params) {
|
|
1172
1194
|
});
|
1173
1195
|
}
|
1174
1196
|
catch (_a) {
|
1175
|
-
console.log(
|
1197
|
+
console.log(source_default().yellow(`\`${packageManagerBinName} install\` failed, continuing anyway...`));
|
1176
1198
|
}
|
1177
1199
|
}
|
1178
1200
|
async function runPackageManagerInstall(params) {
|
1179
1201
|
const { packageManagerBinName, cwd } = params;
|
1180
|
-
const dCompleted = new
|
1181
|
-
const child =
|
1202
|
+
const dCompleted = new Deferred.Deferred();
|
1203
|
+
const child = external_child_process_.spawn(packageManagerBinName, ["install"], {
|
1182
1204
|
cwd,
|
1183
1205
|
env: process.env,
|
1184
1206
|
shell: true
|
@@ -1201,8 +1223,8 @@ async function runPackageManagerInstall(params) {
|
|
1201
1223
|
}
|
1202
1224
|
function getGarronejLinkInfos(params) {
|
1203
1225
|
const { packageJsonDirPath } = params;
|
1204
|
-
const nodeModuleDirPath = (0,
|
1205
|
-
if (!
|
1226
|
+
const nodeModuleDirPath = (0,external_path_.join)(packageJsonDirPath, "node_modules");
|
1227
|
+
if (!external_fs_.existsSync(nodeModuleDirPath)) {
|
1206
1228
|
return undefined;
|
1207
1229
|
}
|
1208
1230
|
const linkedModuleNames = [];
|
@@ -1210,7 +1232,7 @@ function getGarronejLinkInfos(params) {
|
|
1210
1232
|
const getIsLinkedByGarronejScript = (path) => {
|
1211
1233
|
let realPath;
|
1212
1234
|
try {
|
1213
|
-
realPath =
|
1235
|
+
realPath = external_fs_.readlinkSync(path);
|
1214
1236
|
}
|
1215
1237
|
catch (_a) {
|
1216
1238
|
return false;
|
@@ -1223,17 +1245,17 @@ function getGarronejLinkInfos(params) {
|
|
1223
1245
|
if (yarnHomeDirPath !== undefined) {
|
1224
1246
|
break set_yarnHomeDirPath;
|
1225
1247
|
}
|
1226
|
-
const [firstElement] = (0,
|
1248
|
+
const [firstElement] = (0,getAbsoluteAndInOsFormatPath/* getAbsoluteAndInOsFormatPath */.c)({
|
1227
1249
|
pathIsh: realPath,
|
1228
|
-
cwd: (0,
|
1250
|
+
cwd: (0,external_path_.dirname)(path)
|
1229
1251
|
}).split(".yarn_home");
|
1230
|
-
yarnHomeDirPath = (0,
|
1252
|
+
yarnHomeDirPath = (0,external_path_.join)(firstElement, ".yarn_home");
|
1231
1253
|
}
|
1232
1254
|
return true;
|
1233
1255
|
};
|
1234
|
-
for (const basename of
|
1235
|
-
const path = (0,
|
1236
|
-
if (
|
1256
|
+
for (const basename of external_fs_.readdirSync(nodeModuleDirPath)) {
|
1257
|
+
const path = (0,external_path_.join)(nodeModuleDirPath, basename);
|
1258
|
+
if (external_fs_.lstatSync(path).isSymbolicLink()) {
|
1237
1259
|
if (basename.startsWith("@")) {
|
1238
1260
|
return undefined;
|
1239
1261
|
}
|
@@ -1243,13 +1265,13 @@ function getGarronejLinkInfos(params) {
|
|
1243
1265
|
linkedModuleNames.push(basename);
|
1244
1266
|
continue;
|
1245
1267
|
}
|
1246
|
-
if (!
|
1268
|
+
if (!external_fs_.lstatSync(path).isDirectory()) {
|
1247
1269
|
continue;
|
1248
1270
|
}
|
1249
1271
|
if (basename.startsWith("@")) {
|
1250
|
-
for (const subBasename of
|
1251
|
-
const subPath = (0,
|
1252
|
-
if (!
|
1272
|
+
for (const subBasename of external_fs_.readdirSync(path)) {
|
1273
|
+
const subPath = (0,external_path_.join)(path, subBasename);
|
1274
|
+
if (!external_fs_.lstatSync(subPath).isSymbolicLink()) {
|
1253
1275
|
continue;
|
1254
1276
|
}
|
1255
1277
|
if (!getIsLinkedByGarronejScript(subPath)) {
|
@@ -1267,17 +1289,17 @@ function getGarronejLinkInfos(params) {
|
|
1267
1289
|
async function installWithoutBreakingLinks(params) {
|
1268
1290
|
const { packageJsonDirPath, garronejLinkInfos: { linkedModuleNames, yarnHomeDirPath } } = params;
|
1269
1291
|
const parsedPackageJson = (() => {
|
1270
|
-
const packageJsonFilePath = (0,
|
1292
|
+
const packageJsonFilePath = (0,external_path_.join)(packageJsonDirPath, "package.json");
|
1271
1293
|
const zParsedPackageJson = (() => {
|
1272
|
-
const zTargetType =
|
1273
|
-
scripts:
|
1294
|
+
const zTargetType = lib.z.object({
|
1295
|
+
scripts: lib.z.record(lib.z.string()).optional()
|
1274
1296
|
});
|
1275
|
-
|
1276
|
-
return (0,
|
1297
|
+
assert/* assert */.h;
|
1298
|
+
return (0,id.id)(zTargetType);
|
1277
1299
|
})();
|
1278
|
-
const parsedPackageJson = JSON.parse(
|
1300
|
+
const parsedPackageJson = JSON.parse(external_fs_.readFileSync(packageJsonFilePath).toString("utf8"));
|
1279
1301
|
zParsedPackageJson.parse(parsedPackageJson);
|
1280
|
-
(0,
|
1302
|
+
(0,assert/* assert */.h)((0,assert.is)(parsedPackageJson));
|
1281
1303
|
return parsedPackageJson;
|
1282
1304
|
})();
|
1283
1305
|
const isImplementedScriptByName = {
|
@@ -1288,7 +1310,7 @@ async function installWithoutBreakingLinks(params) {
|
|
1288
1310
|
if (parsedPackageJson.scripts === undefined) {
|
1289
1311
|
break delete_postinstall_script;
|
1290
1312
|
}
|
1291
|
-
for (const scriptName of
|
1313
|
+
for (const scriptName of objectKeys(isImplementedScriptByName)) {
|
1292
1314
|
if (parsedPackageJson.scripts[scriptName] === undefined) {
|
1293
1315
|
continue;
|
1294
1316
|
}
|
@@ -1296,14 +1318,14 @@ async function installWithoutBreakingLinks(params) {
|
|
1296
1318
|
delete parsedPackageJson.scripts[scriptName];
|
1297
1319
|
}
|
1298
1320
|
}
|
1299
|
-
const tmpProjectDirPath = (0,
|
1300
|
-
if (
|
1301
|
-
(0,
|
1321
|
+
const tmpProjectDirPath = (0,external_path_.join)(yarnHomeDirPath, "tmpProject");
|
1322
|
+
if (external_fs_.existsSync(tmpProjectDirPath)) {
|
1323
|
+
(0,fs_rmSync/* rmSync */.a)(tmpProjectDirPath, { recursive: true });
|
1302
1324
|
}
|
1303
|
-
|
1304
|
-
|
1325
|
+
external_fs_.mkdirSync(tmpProjectDirPath, { recursive: true });
|
1326
|
+
external_fs_.writeFileSync((0,external_path_.join)(tmpProjectDirPath, "package.json"), JSON.stringify(parsedPackageJson, undefined, 4));
|
1305
1327
|
const YARN_LOCK = "yarn.lock";
|
1306
|
-
|
1328
|
+
external_fs_.copyFileSync((0,external_path_.join)(packageJsonDirPath, YARN_LOCK), (0,external_path_.join)(tmpProjectDirPath, YARN_LOCK));
|
1307
1329
|
await runPackageManagerInstall({
|
1308
1330
|
packageManagerBinName: "yarn",
|
1309
1331
|
cwd: tmpProjectDirPath
|
@@ -1313,18 +1335,18 @@ async function installWithoutBreakingLinks(params) {
|
|
1313
1335
|
{
|
1314
1336
|
const { getAreSameVersions } = (() => {
|
1315
1337
|
const zParsedPackageJson = (() => {
|
1316
|
-
const zTargetType =
|
1317
|
-
version:
|
1338
|
+
const zTargetType = lib.z.object({
|
1339
|
+
version: lib.z.string()
|
1318
1340
|
});
|
1319
|
-
|
1320
|
-
return (0,
|
1341
|
+
assert/* assert */.h;
|
1342
|
+
return (0,id.id)(zTargetType);
|
1321
1343
|
})();
|
1322
1344
|
function readVersion(params) {
|
1323
1345
|
const { moduleDirPath } = params;
|
1324
|
-
const packageJsonFilePath = (0,
|
1325
|
-
const packageJson = JSON.parse(
|
1346
|
+
const packageJsonFilePath = (0,external_path_.join)(moduleDirPath, "package.json");
|
1347
|
+
const packageJson = JSON.parse(external_fs_.readFileSync(packageJsonFilePath).toString("utf8"));
|
1326
1348
|
zParsedPackageJson.parse(packageJson);
|
1327
|
-
(0,
|
1349
|
+
(0,assert/* assert */.h)((0,assert.is)(packageJson));
|
1328
1350
|
return packageJson.version;
|
1329
1351
|
}
|
1330
1352
|
function getAreSameVersions(params) {
|
@@ -1334,44 +1356,44 @@ async function installWithoutBreakingLinks(params) {
|
|
1334
1356
|
}
|
1335
1357
|
return { getAreSameVersions };
|
1336
1358
|
})();
|
1337
|
-
const nodeModulesDirPath_tmpProject = (0,
|
1338
|
-
const nodeModulesDirPath = (0,
|
1339
|
-
const modulePaths =
|
1359
|
+
const nodeModulesDirPath_tmpProject = (0,external_path_.join)(tmpProjectDirPath, "node_modules");
|
1360
|
+
const nodeModulesDirPath = (0,external_path_.join)(packageJsonDirPath, "node_modules");
|
1361
|
+
const modulePaths = external_fs_.readdirSync(nodeModulesDirPath_tmpProject)
|
1340
1362
|
.map(basename => {
|
1341
1363
|
if (basename.startsWith(".")) {
|
1342
1364
|
return undefined;
|
1343
1365
|
}
|
1344
|
-
const path = (0,
|
1366
|
+
const path = (0,external_path_.join)(nodeModulesDirPath_tmpProject, basename);
|
1345
1367
|
if (basename.startsWith("@")) {
|
1346
|
-
return
|
1368
|
+
return external_fs_.readdirSync(path)
|
1347
1369
|
.map(subBasename => {
|
1348
1370
|
if (subBasename.startsWith(".")) {
|
1349
1371
|
return undefined;
|
1350
1372
|
}
|
1351
|
-
const subPath = (0,
|
1352
|
-
if (!
|
1373
|
+
const subPath = (0,external_path_.join)(path, subBasename);
|
1374
|
+
if (!external_fs_.lstatSync(subPath).isDirectory()) {
|
1353
1375
|
return undefined;
|
1354
1376
|
}
|
1355
1377
|
return {
|
1356
1378
|
moduleName: `${basename}/${subBasename}`,
|
1357
1379
|
moduleDirPath_tmpProject: subPath,
|
1358
|
-
moduleDirPath: (0,
|
1380
|
+
moduleDirPath: (0,external_path_.join)(nodeModulesDirPath, basename, subBasename)
|
1359
1381
|
};
|
1360
1382
|
})
|
1361
|
-
.filter((0,
|
1383
|
+
.filter((0,exclude/* exclude */.D)(undefined));
|
1362
1384
|
}
|
1363
|
-
if (!
|
1385
|
+
if (!external_fs_.lstatSync(path).isDirectory()) {
|
1364
1386
|
return undefined;
|
1365
1387
|
}
|
1366
1388
|
return [
|
1367
1389
|
{
|
1368
1390
|
moduleName: basename,
|
1369
1391
|
moduleDirPath_tmpProject: path,
|
1370
|
-
moduleDirPath: (0,
|
1392
|
+
moduleDirPath: (0,external_path_.join)(nodeModulesDirPath, basename)
|
1371
1393
|
}
|
1372
1394
|
];
|
1373
1395
|
})
|
1374
|
-
.filter((0,
|
1396
|
+
.filter((0,exclude/* exclude */.D)(undefined))
|
1375
1397
|
.flat();
|
1376
1398
|
for (const { moduleName, moduleDirPath, moduleDirPath_tmpProject } of modulePaths) {
|
1377
1399
|
if (linkedModuleNames.includes(moduleName)) {
|
@@ -1379,7 +1401,7 @@ async function installWithoutBreakingLinks(params) {
|
|
1379
1401
|
}
|
1380
1402
|
let doesTargetModuleExist = false;
|
1381
1403
|
skip_condition: {
|
1382
|
-
if (!
|
1404
|
+
if (!external_fs_.existsSync(moduleDirPath)) {
|
1383
1405
|
break skip_condition;
|
1384
1406
|
}
|
1385
1407
|
doesTargetModuleExist = true;
|
@@ -1393,39 +1415,39 @@ async function installWithoutBreakingLinks(params) {
|
|
1393
1415
|
continue;
|
1394
1416
|
}
|
1395
1417
|
if (doesTargetModuleExist) {
|
1396
|
-
(0,
|
1418
|
+
(0,fs_rmSync/* rmSync */.a)(moduleDirPath, { recursive: true });
|
1397
1419
|
}
|
1398
1420
|
{
|
1399
|
-
const dirPath = (0,
|
1400
|
-
if (!
|
1401
|
-
|
1421
|
+
const dirPath = (0,external_path_.dirname)(moduleDirPath);
|
1422
|
+
if (!external_fs_.existsSync(dirPath)) {
|
1423
|
+
external_fs_.mkdirSync(dirPath, { recursive: true });
|
1402
1424
|
}
|
1403
1425
|
}
|
1404
|
-
|
1426
|
+
external_fs_.renameSync(moduleDirPath_tmpProject, moduleDirPath);
|
1405
1427
|
}
|
1406
1428
|
move_bin: {
|
1407
|
-
const binDirPath_tmpProject = (0,
|
1408
|
-
const binDirPath = (0,
|
1409
|
-
if (!
|
1429
|
+
const binDirPath_tmpProject = (0,external_path_.join)(nodeModulesDirPath_tmpProject, ".bin");
|
1430
|
+
const binDirPath = (0,external_path_.join)(nodeModulesDirPath, ".bin");
|
1431
|
+
if (!external_fs_.existsSync(binDirPath_tmpProject)) {
|
1410
1432
|
break move_bin;
|
1411
1433
|
}
|
1412
|
-
for (const basename of
|
1413
|
-
const path_tmpProject = (0,
|
1414
|
-
const path = (0,
|
1415
|
-
if (
|
1434
|
+
for (const basename of external_fs_.readdirSync(binDirPath_tmpProject)) {
|
1435
|
+
const path_tmpProject = (0,external_path_.join)(binDirPath_tmpProject, basename);
|
1436
|
+
const path = (0,external_path_.join)(binDirPath, basename);
|
1437
|
+
if (external_fs_.existsSync(path)) {
|
1416
1438
|
continue;
|
1417
1439
|
}
|
1418
|
-
|
1440
|
+
external_fs_.renameSync(path_tmpProject, path);
|
1419
1441
|
}
|
1420
1442
|
}
|
1421
1443
|
}
|
1422
|
-
|
1423
|
-
(0,
|
1424
|
-
for (const scriptName of
|
1444
|
+
external_fs_.cpSync((0,external_path_.join)(tmpProjectDirPath, YARN_LOCK), (0,external_path_.join)(packageJsonDirPath, YARN_LOCK));
|
1445
|
+
(0,fs_rmSync/* rmSync */.a)(tmpProjectDirPath, { recursive: true });
|
1446
|
+
for (const scriptName of objectKeys(isImplementedScriptByName)) {
|
1425
1447
|
if (!isImplementedScriptByName[scriptName]) {
|
1426
1448
|
continue;
|
1427
1449
|
}
|
1428
|
-
|
1450
|
+
external_child_process_.execSync(`yarn run ${scriptName}`, {
|
1429
1451
|
cwd: packageJsonDirPath,
|
1430
1452
|
stdio: "inherit"
|
1431
1453
|
});
|