@yamato-daiwa/automation 0.4.2 → 0.5.0-alpha.0
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/EntryPoint.js +390 -21
- package/package.json +1 -1
package/EntryPoint.js
CHANGED
|
@@ -170,6 +170,7 @@ const AudiosProcessor_1 = __importDefault(__webpack_require__(/*! @AudiosProcess
|
|
|
170
170
|
const PlainCopier_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/PlainCopying/PlainCopier */ "./ProjectBuilding/PlainCopying/PlainCopier.ts"));
|
|
171
171
|
const LocalDevelopmentServerOrchestrator_1 = __importDefault(__webpack_require__(/*! @ECMA_ScriptProcessing/Subtasks/LocalDevelopmentServerOrchestration/LocalDevelopmentServerOrchestrator */ "./ProjectBuilding/SourceCodeProcessing/ECMA_Script/Subtasks/LocalDevelopmentServerOrchestration/LocalDevelopmentServerOrchestrator.ts"));
|
|
172
172
|
const BrowserLiveReloader_1 = __importDefault(__webpack_require__(/*! @BrowserLiveReloading/BrowserLiveReloader */ "./ProjectBuilding/BrowserLiveReloading/BrowserLiveReloader.ts"));
|
|
173
|
+
const OutputPackageJSON_Generator_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_Generator */ "./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_Generator.ts"));
|
|
173
174
|
/* --- Applied utils ------------------------------------------------------------------------------------------------ */
|
|
174
175
|
const gulp_1 = __importDefault(__webpack_require__(/*! gulp */ "gulp"));
|
|
175
176
|
const FilesMasterWatcher_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/FilesWatching/Watchers/FilesMasterWatcher */ "./ProjectBuilding/FilesWatching/Watchers/FilesMasterWatcher.ts"));
|
|
@@ -214,6 +215,7 @@ class ProjectBuilder {
|
|
|
214
215
|
VideosProcessor_1.default.provideVideosProcessingIfMust(masterConfigRepresentative),
|
|
215
216
|
MarkupProcessor_1.default.provideMarkupProcessingIfMust(masterConfigRepresentative),
|
|
216
217
|
BrowserLiveReloader_1.default.provideBrowserLiveReloadingIfMust(masterConfigRepresentative),
|
|
218
|
+
OutputPackageJSON_Generator_1.default.generateIfMust(masterConfigRepresentative),
|
|
217
219
|
gulp_1.default.parallel([
|
|
218
220
|
FilesMasterWatcher_1.default.watchIfMust(masterConfigRepresentative),
|
|
219
221
|
LocalDevelopmentServerOrchestrator_1.default.orchestrateIfMust(masterConfigRepresentative)
|
|
@@ -2206,12 +2208,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
2206
2208
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
2207
2209
|
};
|
|
2208
2210
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2209
|
-
|
|
2211
|
+
const mustProvideIncrementalProjectBuilding_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/Common/Restrictions/mustProvideIncrementalProjectBuilding */ "./ProjectBuilding/Common/Restrictions/mustProvideIncrementalProjectBuilding.ts"));
|
|
2212
|
+
/* ─── Raw Valid Settings ─────────────────────────────────────────────────────────────────────────────────────────── */
|
|
2210
2213
|
const ProjectBuildingTasksIDsForConfigFile_1 = __webpack_require__(/*! @ProjectBuilding:Common/RawConfig/Enumerations/ProjectBuildingTasksIDsForConfigFile */ "./ProjectBuilding/Common/RawConfig/Enumerations/ProjectBuildingTasksIDsForConfigFile.ts");
|
|
2211
|
-
/*
|
|
2214
|
+
/* ─── General Utils ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
2212
2215
|
const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
|
|
2213
2216
|
const es_extensions_nodejs_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions-nodejs */ "@yamato-daiwa/es-extensions-nodejs");
|
|
2214
|
-
const mustProvideIncrementalProjectBuilding_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/Common/Restrictions/mustProvideIncrementalProjectBuilding */ "./ProjectBuilding/Common/Restrictions/mustProvideIncrementalProjectBuilding.ts"));
|
|
2215
2217
|
class ProjectBuildingCommonSettingsNormalizer {
|
|
2216
2218
|
static normalize({ commonSettings__fromFile__rawValid, consumingProjectRootDirectoryAbsolutePath, projectBuildingMode, actualSelectiveExecutionID, actualSelectiveExecution }) {
|
|
2217
2219
|
const consumingProjectRootDirectoryAbsolutePath__forwardSlashes = es_extensions_nodejs_1.ImprovedPath.
|
|
@@ -2247,6 +2249,7 @@ class ProjectBuildingCommonSettingsNormalizer {
|
|
|
2247
2249
|
}
|
|
2248
2250
|
} : null,
|
|
2249
2251
|
browserLiveReloadingSetupID: actualSelectiveExecution?.browserLiveReloadingSetupID,
|
|
2252
|
+
mustGenerateOutputPackageJSON: actualSelectiveExecution?.outputPackageJSON_Generating === true,
|
|
2250
2253
|
actualPublicDirectoryAbsolutePath
|
|
2251
2254
|
};
|
|
2252
2255
|
}
|
|
@@ -2392,6 +2395,7 @@ var ProjectBuildingTasksIDsForConfigFile;
|
|
|
2392
2395
|
ProjectBuildingTasksIDsForConfigFile["browserLiveReloading"] = "browserLiveReloading";
|
|
2393
2396
|
ProjectBuildingTasksIDsForConfigFile["plainCopying"] = "plainCopying";
|
|
2394
2397
|
ProjectBuildingTasksIDsForConfigFile["filesWatching"] = "filesWatching";
|
|
2398
|
+
ProjectBuildingTasksIDsForConfigFile["outputPackageJSON_Generating"] = "outputPackageJSON_Generating";
|
|
2395
2399
|
})(ProjectBuildingTasksIDsForConfigFile || (exports.ProjectBuildingTasksIDsForConfigFile = ProjectBuildingTasksIDsForConfigFile = {}));
|
|
2396
2400
|
|
|
2397
2401
|
|
|
@@ -2408,10 +2412,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
2408
2412
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
2409
2413
|
};
|
|
2410
2414
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2411
|
-
/*
|
|
2415
|
+
/* ─── Restrictions ───────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
2412
2416
|
const ConsumingProjectBuildingModes_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/Common/Restrictions/ConsumingProjectBuildingModes */ "./ProjectBuilding/Common/Restrictions/ConsumingProjectBuildingModes.ts"));
|
|
2413
2417
|
const ProjectBuildingTasksIDsForConfigFile_1 = __webpack_require__(/*! @ProjectBuilding:Common/RawConfig/Enumerations/ProjectBuildingTasksIDsForConfigFile */ "./ProjectBuilding/Common/RawConfig/Enumerations/ProjectBuildingTasksIDsForConfigFile.ts");
|
|
2414
|
-
/*
|
|
2418
|
+
/* ─── General Utils ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
2415
2419
|
const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
|
|
2416
2420
|
var ProjectBuildingCommonSettings__FromFile__RawValid;
|
|
2417
2421
|
(function (ProjectBuildingCommonSettings__FromFile__RawValid) {
|
|
@@ -2455,6 +2459,11 @@ var ProjectBuildingCommonSettings__FromFile__RawValid;
|
|
|
2455
2459
|
newName: "browserLiveReloadingSetupID",
|
|
2456
2460
|
type: String,
|
|
2457
2461
|
required: false
|
|
2462
|
+
},
|
|
2463
|
+
[projectBuildingCommonSettingsLocalization.selectiveExecutions.outputPackageJSON_Generating.KEY]: {
|
|
2464
|
+
newName: "outputPackageJSON_Generating",
|
|
2465
|
+
type: Boolean,
|
|
2466
|
+
required: false
|
|
2458
2467
|
}
|
|
2459
2468
|
}
|
|
2460
2469
|
}
|
|
@@ -4406,11 +4415,12 @@ const ChokidarSpecialist_1 = __importDefault(__webpack_require__(/*! @ThirdParty
|
|
|
4406
4415
|
/* ─── General Utils ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
4407
4416
|
const gulp_1 = __importDefault(__webpack_require__(/*! gulp */ "gulp"));
|
|
4408
4417
|
const es_extensions_nodejs_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions-nodejs */ "@yamato-daiwa/es-extensions-nodejs");
|
|
4418
|
+
const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
|
|
4409
4419
|
class FilesMasterWatcher {
|
|
4410
4420
|
static passiveWatchers = new Set();
|
|
4411
4421
|
static watchIfMust(projectBuildingMasterConfigRepresentative) {
|
|
4412
4422
|
const filesWatchingSettingsRepresentative = projectBuildingMasterConfigRepresentative.filesWatchingSettingsRepresentative;
|
|
4413
|
-
if (!filesWatchingSettingsRepresentative.mustProvideFilesWatching) {
|
|
4423
|
+
if ((0, es_extensions_1.isUndefined)(filesWatchingSettingsRepresentative) || !filesWatchingSettingsRepresentative.mustProvideFilesWatching) {
|
|
4414
4424
|
return (callback) => { callback(); };
|
|
4415
4425
|
}
|
|
4416
4426
|
return (callback) => {
|
|
@@ -4497,6 +4507,304 @@ class FilesPassiveWatcher {
|
|
|
4497
4507
|
exports["default"] = FilesPassiveWatcher;
|
|
4498
4508
|
|
|
4499
4509
|
|
|
4510
|
+
/***/ }),
|
|
4511
|
+
|
|
4512
|
+
/***/ "./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettingsNormalizer.ts":
|
|
4513
|
+
/*!********************************************************************************************************!*\
|
|
4514
|
+
!*** ./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettingsNormalizer.ts ***!
|
|
4515
|
+
\********************************************************************************************************/
|
|
4516
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4517
|
+
|
|
4518
|
+
|
|
4519
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4520
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4521
|
+
};
|
|
4522
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4523
|
+
/* ─── Default Settings ───────────────────────────────────────────────────────────────────────────────────────────── */
|
|
4524
|
+
const OutputPackageJSON_GeneratingSettings__Default_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettings__Default */ "./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettings__Default.ts"));
|
|
4525
|
+
/* ─── General Utils ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
4526
|
+
const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
|
|
4527
|
+
const es_extensions_nodejs_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions-nodejs */ "@yamato-daiwa/es-extensions-nodejs");
|
|
4528
|
+
class OutputPackageJSON_GeneratingSettingsNormalizer {
|
|
4529
|
+
static normalizeIfThereAreActualOnes({ outputPackageJSON_GeneratingSettings__fromFile__rawValid, commonSettings__normalized }) {
|
|
4530
|
+
if ((0, es_extensions_1.isUndefined)(outputPackageJSON_GeneratingSettings__fromFile__rawValid)) {
|
|
4531
|
+
return null;
|
|
4532
|
+
}
|
|
4533
|
+
if ((0, es_extensions_1.isNotUndefined)(commonSettings__normalized.tasksAndSourceFilesSelection) &&
|
|
4534
|
+
!commonSettings__normalized.mustGenerateOutputPackageJSON) {
|
|
4535
|
+
return null;
|
|
4536
|
+
}
|
|
4537
|
+
const outputPackageJSON_GeneratingSettingsActualForCurrentProjectBuildingMode__fromFile__rawValid = outputPackageJSON_GeneratingSettings__fromFile__rawValid.
|
|
4538
|
+
buildingModeDependent[commonSettings__normalized.projectBuildingMode];
|
|
4539
|
+
if ((0, es_extensions_1.isUndefined)(outputPackageJSON_GeneratingSettingsActualForCurrentProjectBuildingMode__fromFile__rawValid)) {
|
|
4540
|
+
return null;
|
|
4541
|
+
}
|
|
4542
|
+
const extractionFromPackageJSON_OfConsumingProject = es_extensions_nodejs_1.ObjectDataFilesProcessor.processFile({
|
|
4543
|
+
filePath: es_extensions_nodejs_1.ImprovedPath.joinPathSegments([commonSettings__normalized.projectRootDirectoryAbsolutePath, "package.json"], { alwaysForwardSlashSeparators: true }),
|
|
4544
|
+
validDataSpecification: {
|
|
4545
|
+
subtype: es_extensions_1.RawObjectDataProcessor.ObjectSubtypes.fixedKeyAndValuePairsObject,
|
|
4546
|
+
nameForLogging: "PackageJSON_OfConsumingProject",
|
|
4547
|
+
properties: {
|
|
4548
|
+
scripts: {
|
|
4549
|
+
type: es_extensions_1.RawObjectDataProcessor.ValuesTypesIDs.associativeArrayOfUniformTypeValues,
|
|
4550
|
+
defaultValue: {},
|
|
4551
|
+
value: {
|
|
4552
|
+
type: String
|
|
4553
|
+
}
|
|
4554
|
+
},
|
|
4555
|
+
dependencies: {
|
|
4556
|
+
type: es_extensions_1.RawObjectDataProcessor.ValuesTypesIDs.associativeArrayOfUniformTypeValues,
|
|
4557
|
+
defaultValue: {},
|
|
4558
|
+
value: {
|
|
4559
|
+
type: String
|
|
4560
|
+
}
|
|
4561
|
+
},
|
|
4562
|
+
devDependencies: {
|
|
4563
|
+
type: es_extensions_1.RawObjectDataProcessor.ValuesTypesIDs.associativeArrayOfUniformTypeValues,
|
|
4564
|
+
defaultValue: {},
|
|
4565
|
+
value: {
|
|
4566
|
+
type: String
|
|
4567
|
+
}
|
|
4568
|
+
}
|
|
4569
|
+
}
|
|
4570
|
+
},
|
|
4571
|
+
synchronously: true
|
|
4572
|
+
});
|
|
4573
|
+
return {
|
|
4574
|
+
dependencies: Object.entries(extractionFromPackageJSON_OfConsumingProject.dependencies).reduce((packagesIDsAndVersionsCorrespondence, [packageID, packageVersion]) => {
|
|
4575
|
+
if (outputPackageJSON_GeneratingSettings__fromFile__rawValid.inheritedDependencies?.
|
|
4576
|
+
includes(packageID) === true) {
|
|
4577
|
+
packagesIDsAndVersionsCorrespondence[packageID] = packageVersion;
|
|
4578
|
+
}
|
|
4579
|
+
return packagesIDsAndVersionsCorrespondence;
|
|
4580
|
+
}, {}),
|
|
4581
|
+
developmentDependencies: Object.entries(extractionFromPackageJSON_OfConsumingProject.devDependencies).reduce((packagesIDsAndVersionsCorrespondence, [packageID, packageVersion]) => {
|
|
4582
|
+
if (outputPackageJSON_GeneratingSettings__fromFile__rawValid.inheritedDevelopmentDependencies?.
|
|
4583
|
+
includes(packageID) === true) {
|
|
4584
|
+
packagesIDsAndVersionsCorrespondence[packageID] = packageVersion;
|
|
4585
|
+
}
|
|
4586
|
+
return packagesIDsAndVersionsCorrespondence;
|
|
4587
|
+
}, {}),
|
|
4588
|
+
scripts: Object.entries(extractionFromPackageJSON_OfConsumingProject.devDependencies).reduce((npmScript, [command, script]) => {
|
|
4589
|
+
if (outputPackageJSON_GeneratingSettings__fromFile__rawValid.inheritedNPM_Scripts?.
|
|
4590
|
+
includes(command) === true) {
|
|
4591
|
+
npmScript[command] = script;
|
|
4592
|
+
}
|
|
4593
|
+
return npmScript;
|
|
4594
|
+
}, outputPackageJSON_GeneratingSettings__fromFile__rawValid.newNPM_Scripts ?? {}),
|
|
4595
|
+
indentString: outputPackageJSON_GeneratingSettingsActualForCurrentProjectBuildingMode__fromFile__rawValid.indentString ??
|
|
4596
|
+
outputPackageJSON_GeneratingSettings__fromFile__rawValid.indentString ??
|
|
4597
|
+
OutputPackageJSON_GeneratingSettings__Default_1.default.indentString,
|
|
4598
|
+
linesSeparator: outputPackageJSON_GeneratingSettingsActualForCurrentProjectBuildingMode__fromFile__rawValid.linesSeparator ??
|
|
4599
|
+
outputPackageJSON_GeneratingSettings__fromFile__rawValid.linesSeparator ??
|
|
4600
|
+
OutputPackageJSON_GeneratingSettings__Default_1.default.linesSeparator,
|
|
4601
|
+
outputFileAbsolutePath: es_extensions_nodejs_1.ImprovedPath.joinPathSegments([
|
|
4602
|
+
commonSettings__normalized.projectRootDirectoryAbsolutePath,
|
|
4603
|
+
outputPackageJSON_GeneratingSettingsActualForCurrentProjectBuildingMode__fromFile__rawValid.
|
|
4604
|
+
outputDirectoryRelativePath,
|
|
4605
|
+
"package.json"
|
|
4606
|
+
], { alwaysForwardSlashSeparators: true })
|
|
4607
|
+
};
|
|
4608
|
+
}
|
|
4609
|
+
}
|
|
4610
|
+
exports["default"] = OutputPackageJSON_GeneratingSettingsNormalizer;
|
|
4611
|
+
|
|
4612
|
+
|
|
4613
|
+
/***/ }),
|
|
4614
|
+
|
|
4615
|
+
/***/ "./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettingsRepresentative.ts":
|
|
4616
|
+
/*!************************************************************************************************************!*\
|
|
4617
|
+
!*** ./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettingsRepresentative.ts ***!
|
|
4618
|
+
\************************************************************************************************************/
|
|
4619
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
4620
|
+
|
|
4621
|
+
|
|
4622
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4623
|
+
class OutputPackageJSON_GeneratingSettingsRepresentative {
|
|
4624
|
+
outputPackageJSON_GeneratingSettings;
|
|
4625
|
+
constructor(outputPackageJSON_GeneratingSettings) {
|
|
4626
|
+
this.outputPackageJSON_GeneratingSettings = outputPackageJSON_GeneratingSettings;
|
|
4627
|
+
}
|
|
4628
|
+
}
|
|
4629
|
+
exports["default"] = OutputPackageJSON_GeneratingSettingsRepresentative;
|
|
4630
|
+
|
|
4631
|
+
|
|
4632
|
+
/***/ }),
|
|
4633
|
+
|
|
4634
|
+
/***/ "./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettings__Default.ts":
|
|
4635
|
+
/*!*******************************************************************************************************!*\
|
|
4636
|
+
!*** ./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettings__Default.ts ***!
|
|
4637
|
+
\*******************************************************************************************************/
|
|
4638
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4639
|
+
|
|
4640
|
+
|
|
4641
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4642
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4643
|
+
};
|
|
4644
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4645
|
+
const os_1 = __importDefault(__webpack_require__(/*! os */ "os"));
|
|
4646
|
+
const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
|
|
4647
|
+
const OutputPackageJSON_GeneratingSettings__Normalized = {
|
|
4648
|
+
indentString: " ",
|
|
4649
|
+
linesSeparator: os_1.default.EOL === "\n" ? es_extensions_1.LineSeparators.lineFeed : es_extensions_1.LineSeparators.carriageReturnAndLineFeed
|
|
4650
|
+
};
|
|
4651
|
+
exports["default"] = OutputPackageJSON_GeneratingSettings__Normalized;
|
|
4652
|
+
|
|
4653
|
+
|
|
4654
|
+
/***/ }),
|
|
4655
|
+
|
|
4656
|
+
/***/ "./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettings__FromFile__RawValid.ts":
|
|
4657
|
+
/*!******************************************************************************************************************!*\
|
|
4658
|
+
!*** ./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettings__FromFile__RawValid.ts ***!
|
|
4659
|
+
\******************************************************************************************************************/
|
|
4660
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4661
|
+
|
|
4662
|
+
|
|
4663
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4664
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4665
|
+
};
|
|
4666
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4667
|
+
const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
|
|
4668
|
+
const ConsumingProjectBuildingModes_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/Common/Restrictions/ConsumingProjectBuildingModes */ "./ProjectBuilding/Common/Restrictions/ConsumingProjectBuildingModes.ts"));
|
|
4669
|
+
var OutputPackageJSON_GeneratingSettings__FromFile__RawValid;
|
|
4670
|
+
(function (OutputPackageJSON_GeneratingSettings__FromFile__RawValid) {
|
|
4671
|
+
function getLocalizedPropertiesSpecification({ outputPackageJSON_GeneratingSettingsLocalization, consumingProjectLocalizedPreDefinedBuildingModes }) {
|
|
4672
|
+
return {
|
|
4673
|
+
[outputPackageJSON_GeneratingSettingsLocalization.inheritedDependencies.KEY]: {
|
|
4674
|
+
newName: "inheritedDependencies",
|
|
4675
|
+
type: Array,
|
|
4676
|
+
required: false,
|
|
4677
|
+
minimalElementsCount: 1,
|
|
4678
|
+
element: {
|
|
4679
|
+
type: String,
|
|
4680
|
+
minimalCharactersCount: 1
|
|
4681
|
+
}
|
|
4682
|
+
},
|
|
4683
|
+
[outputPackageJSON_GeneratingSettingsLocalization.inheritedDevelopmentDependencies.KEY]: {
|
|
4684
|
+
newName: "inheritedDevelopmentDependencies",
|
|
4685
|
+
type: Array,
|
|
4686
|
+
required: false,
|
|
4687
|
+
minimalElementsCount: 1,
|
|
4688
|
+
element: {
|
|
4689
|
+
type: String,
|
|
4690
|
+
minimalCharactersCount: 1
|
|
4691
|
+
}
|
|
4692
|
+
},
|
|
4693
|
+
[outputPackageJSON_GeneratingSettingsLocalization.inheritedNPM_Scripts.KEY]: {
|
|
4694
|
+
newName: "inheritedNPM_Scripts",
|
|
4695
|
+
type: Array,
|
|
4696
|
+
required: false,
|
|
4697
|
+
minimalElementsCount: 1,
|
|
4698
|
+
element: {
|
|
4699
|
+
type: String,
|
|
4700
|
+
minimalCharactersCount: 1
|
|
4701
|
+
}
|
|
4702
|
+
},
|
|
4703
|
+
[outputPackageJSON_GeneratingSettingsLocalization.newNPM_Scripts.KEY]: {
|
|
4704
|
+
newName: "newNPM_Scripts",
|
|
4705
|
+
type: es_extensions_1.RawObjectDataProcessor.ValuesTypesIDs.associativeArrayOfUniformTypeValues,
|
|
4706
|
+
required: false,
|
|
4707
|
+
preValidationModifications: es_extensions_1.nullToUndefined,
|
|
4708
|
+
minimalEntriesCount: 1,
|
|
4709
|
+
value: {
|
|
4710
|
+
type: String,
|
|
4711
|
+
minimalCharactersCount: 1
|
|
4712
|
+
}
|
|
4713
|
+
},
|
|
4714
|
+
[outputPackageJSON_GeneratingSettingsLocalization.indentString.KEY]: {
|
|
4715
|
+
newName: "indentString",
|
|
4716
|
+
type: String,
|
|
4717
|
+
required: false,
|
|
4718
|
+
minimalCharactersCount: 1
|
|
4719
|
+
},
|
|
4720
|
+
[outputPackageJSON_GeneratingSettingsLocalization.linesSeparator.KEY]: {
|
|
4721
|
+
newName: "linesSeparator",
|
|
4722
|
+
type: String,
|
|
4723
|
+
required: false,
|
|
4724
|
+
allowedAlternatives: Object.values(es_extensions_1.LineSeparators.lineFeed)
|
|
4725
|
+
},
|
|
4726
|
+
[outputPackageJSON_GeneratingSettingsLocalization.buildingModeDependent.KEY]: {
|
|
4727
|
+
newName: "buildingModeDependent",
|
|
4728
|
+
type: es_extensions_1.RawObjectDataProcessor.ValuesTypesIDs.associativeArrayOfUniformTypeValues,
|
|
4729
|
+
required: true,
|
|
4730
|
+
allowedKeys: Object.values(ConsumingProjectBuildingModes_1.default),
|
|
4731
|
+
minimalEntriesCount: 1,
|
|
4732
|
+
keysRenamings: {
|
|
4733
|
+
[consumingProjectLocalizedPreDefinedBuildingModes.staticPreview]: ConsumingProjectBuildingModes_1.default.staticPreview,
|
|
4734
|
+
[consumingProjectLocalizedPreDefinedBuildingModes.localDevelopment]: ConsumingProjectBuildingModes_1.default.localDevelopment,
|
|
4735
|
+
[consumingProjectLocalizedPreDefinedBuildingModes.testing]: ConsumingProjectBuildingModes_1.default.testing,
|
|
4736
|
+
[consumingProjectLocalizedPreDefinedBuildingModes.staging]: ConsumingProjectBuildingModes_1.default.staging,
|
|
4737
|
+
[consumingProjectLocalizedPreDefinedBuildingModes.production]: ConsumingProjectBuildingModes_1.default.production
|
|
4738
|
+
},
|
|
4739
|
+
value: {
|
|
4740
|
+
type: Object,
|
|
4741
|
+
properties: {
|
|
4742
|
+
[outputPackageJSON_GeneratingSettingsLocalization.buildingModeDependent.outputDirectoryRelativePath.KEY]: {
|
|
4743
|
+
newName: "outputDirectoryRelativePath",
|
|
4744
|
+
type: String,
|
|
4745
|
+
required: true,
|
|
4746
|
+
minimalCharactersCount: 1
|
|
4747
|
+
},
|
|
4748
|
+
[outputPackageJSON_GeneratingSettingsLocalization.buildingModeDependent.indentString.KEY]: {
|
|
4749
|
+
newName: "indentString",
|
|
4750
|
+
type: String,
|
|
4751
|
+
required: false,
|
|
4752
|
+
minimalCharactersCount: 1
|
|
4753
|
+
},
|
|
4754
|
+
[outputPackageJSON_GeneratingSettingsLocalization.buildingModeDependent.linesSeparator.KEY]: {
|
|
4755
|
+
newName: "linesSeparator",
|
|
4756
|
+
type: String,
|
|
4757
|
+
required: false,
|
|
4758
|
+
allowedAlternatives: Object.values(es_extensions_1.LineSeparators.lineFeed)
|
|
4759
|
+
}
|
|
4760
|
+
}
|
|
4761
|
+
}
|
|
4762
|
+
}
|
|
4763
|
+
};
|
|
4764
|
+
}
|
|
4765
|
+
OutputPackageJSON_GeneratingSettings__FromFile__RawValid.getLocalizedPropertiesSpecification = getLocalizedPropertiesSpecification;
|
|
4766
|
+
})(OutputPackageJSON_GeneratingSettings__FromFile__RawValid || (OutputPackageJSON_GeneratingSettings__FromFile__RawValid = {}));
|
|
4767
|
+
exports["default"] = OutputPackageJSON_GeneratingSettings__FromFile__RawValid;
|
|
4768
|
+
|
|
4769
|
+
|
|
4770
|
+
/***/ }),
|
|
4771
|
+
|
|
4772
|
+
/***/ "./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_Generator.ts":
|
|
4773
|
+
/*!*************************************************************************************!*\
|
|
4774
|
+
!*** ./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_Generator.ts ***!
|
|
4775
|
+
\*************************************************************************************/
|
|
4776
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4777
|
+
|
|
4778
|
+
|
|
4779
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4780
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4781
|
+
};
|
|
4782
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4783
|
+
/* ─── General Utils ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
4784
|
+
const fs_1 = __importDefault(__webpack_require__(/*! fs */ "fs"));
|
|
4785
|
+
const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
|
|
4786
|
+
const replaceLinesSeparators_1 = __importDefault(__webpack_require__(/*! @UtilsIncubator/Strings/replaceLinesSeparators */ "./UtilsIncubator/Strings/replaceLinesSeparators.ts"));
|
|
4787
|
+
class OutputPackageJSON_Generator {
|
|
4788
|
+
static generateIfMust(projectBuildingMasterConfigRepresentative) {
|
|
4789
|
+
if ((0, es_extensions_1.isUndefined)(projectBuildingMasterConfigRepresentative.outputPackageJSON_GeneratingSettingsRepresentative)) {
|
|
4790
|
+
return async () => Promise.resolve();
|
|
4791
|
+
}
|
|
4792
|
+
const { outputPackageJSON_GeneratingSettingsRepresentative } = projectBuildingMasterConfigRepresentative;
|
|
4793
|
+
return async () => OutputPackageJSON_Generator.generate(outputPackageJSON_GeneratingSettingsRepresentative.outputPackageJSON_GeneratingSettings);
|
|
4794
|
+
}
|
|
4795
|
+
static async generate({ outputFileAbsolutePath, dependencies, developmentDependencies, scripts, indentString, linesSeparator }) {
|
|
4796
|
+
fs_1.default.writeFileSync(outputFileAbsolutePath, (0, replaceLinesSeparators_1.default)(JSON.stringify({
|
|
4797
|
+
private: true,
|
|
4798
|
+
dependencies,
|
|
4799
|
+
devDependencies: developmentDependencies,
|
|
4800
|
+
scripts
|
|
4801
|
+
}, null, indentString), linesSeparator));
|
|
4802
|
+
return Promise.resolve();
|
|
4803
|
+
}
|
|
4804
|
+
}
|
|
4805
|
+
exports["default"] = OutputPackageJSON_Generator;
|
|
4806
|
+
|
|
4807
|
+
|
|
4500
4808
|
/***/ }),
|
|
4501
4809
|
|
|
4502
4810
|
/***/ "./ProjectBuilding/PlainCopying/PlainCopier.ts":
|
|
@@ -5001,7 +5309,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5001
5309
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5002
5310
|
};
|
|
5003
5311
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5004
|
-
/*
|
|
5312
|
+
/* ─── Raw Valid Settings ─────────────────────────────────────────────────────────────────────────────────────────── */
|
|
5005
5313
|
const ProjectBuildingTasksIDsForConfigFile_1 = __webpack_require__(/*! @ProjectBuilding:Common/RawConfig/Enumerations/ProjectBuildingTasksIDsForConfigFile */ "./ProjectBuilding/Common/RawConfig/Enumerations/ProjectBuildingTasksIDsForConfigFile.ts");
|
|
5006
5314
|
const ProjectBuildingCommonSettingsNormalizer_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding:Common/NormalizedConfig/ProjectBuildingCommonSettingsNormalizer */ "./ProjectBuilding/Common/NormalizedConfig/ProjectBuildingCommonSettingsNormalizer.ts"));
|
|
5007
5315
|
const MarkupProcessingRawSettingsNormalizer_1 = __importDefault(__webpack_require__(/*! @MarkupProcessing/RawSettingsNormalizer/MarkupProcessingRawSettingsNormalizer */ "./ProjectBuilding/SourceCodeProcessing/Markup/RawSettingsNormalizer/MarkupProcessingRawSettingsNormalizer.ts"));
|
|
@@ -5014,7 +5322,8 @@ const AudiosProcessingRawSettingsNormalizer_1 = __importDefault(__webpack_requir
|
|
|
5014
5322
|
const PlainCopyingRawSettingsNormalizer_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/PlainCopying/PlainCopyingRawSettingsNormalizer */ "./ProjectBuilding/PlainCopying/PlainCopyingRawSettingsNormalizer.ts"));
|
|
5015
5323
|
const FilesWatchingSettingsNormalizer_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/FilesWatching/FilesWatchingSettingsNormalizer */ "./ProjectBuilding/FilesWatching/FilesWatchingSettingsNormalizer.ts"));
|
|
5016
5324
|
const BrowserLiveReloadingSettingsNormalizer_1 = __importDefault(__webpack_require__(/*! @BrowserLiveReloading/RawSettingsNormalizer/BrowserLiveReloadingSettingsNormalizer */ "./ProjectBuilding/BrowserLiveReloading/RawSettingsNormalizer/BrowserLiveReloadingSettingsNormalizer.ts"));
|
|
5017
|
-
|
|
5325
|
+
const OutputPackageJSON_GeneratingSettingsNormalizer_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettingsNormalizer */ "./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettingsNormalizer.ts"));
|
|
5326
|
+
/* ─── General Utils ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
5018
5327
|
const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
|
|
5019
5328
|
const es_extensions_nodejs_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions-nodejs */ "@yamato-daiwa/es-extensions-nodejs");
|
|
5020
5329
|
class ProjectBuilderRawConfigNormalizer {
|
|
@@ -5188,6 +5497,13 @@ class ProjectBuilderRawConfigNormalizer {
|
|
|
5188
5497
|
...(0, es_extensions_1.isNotUndefined)(selectedBrowserLiveReloadingSetupID) ? { selectedBrowserLiveReloadingSetupID } : {}
|
|
5189
5498
|
})
|
|
5190
5499
|
};
|
|
5500
|
+
})(),
|
|
5501
|
+
...(() => {
|
|
5502
|
+
const outputPackageJSON_Generating = OutputPackageJSON_GeneratingSettingsNormalizer_1.default.normalizeIfThereAreActualOnes({
|
|
5503
|
+
outputPackageJSON_GeneratingSettings__fromFile__rawValid: projectBuildingConfig__fromFile__rawValid[ProjectBuildingTasksIDsForConfigFile_1.ProjectBuildingTasksIDsForConfigFile.outputPackageJSON_Generating],
|
|
5504
|
+
commonSettings__normalized
|
|
5505
|
+
});
|
|
5506
|
+
return (0, es_extensions_1.isNotNull)(outputPackageJSON_Generating) ? { outputPackageJSON_Generating } : {};
|
|
5191
5507
|
})()
|
|
5192
5508
|
};
|
|
5193
5509
|
}
|
|
@@ -5261,7 +5577,8 @@ const ProjectBuildingConfigFromFileDefaultLocalization = {
|
|
|
5261
5577
|
videosProcessing: "videosProcessing",
|
|
5262
5578
|
plainCopying: "plainCopying",
|
|
5263
5579
|
browserLiveReloading: "browserLiveReloading",
|
|
5264
|
-
filesWatching: "filesWatching"
|
|
5580
|
+
filesWatching: "filesWatching",
|
|
5581
|
+
outputPackageJSON_Generating: "outputPackageJSON_Generating"
|
|
5265
5582
|
},
|
|
5266
5583
|
consumingProjectPreDefinedBuildingModes: {
|
|
5267
5584
|
staticPreview: "STATIC_PREVIEW",
|
|
@@ -5324,7 +5641,8 @@ const ProjectBuildingConfigFromFileDefaultLocalization = {
|
|
|
5324
5641
|
selectiveExecutions: {
|
|
5325
5642
|
KEY: "selectiveExecutions",
|
|
5326
5643
|
tasksAndSourceFilesSelection: { KEY: "tasksAndSourceFilesSelection" },
|
|
5327
|
-
browserLiveReloadingSetupID: { KEY: "browserLiveReloadingSetupID" }
|
|
5644
|
+
browserLiveReloadingSetupID: { KEY: "browserLiveReloadingSetupID" },
|
|
5645
|
+
outputPackageJSON_Generating: { KEY: "outputPackageJSON_Generating" }
|
|
5328
5646
|
},
|
|
5329
5647
|
publicDirectoriesRelativePaths: { KEY: "publicDirectoriesRelativePaths" }
|
|
5330
5648
|
}
|
|
@@ -5676,6 +5994,20 @@ const ProjectBuildingConfigFromFileDefaultLocalization = {
|
|
|
5676
5994
|
browserTabWillBeReloadedSoon: { KEY: "browserTabWillBeReloadedSoon" },
|
|
5677
5995
|
browsersyncConnection: { KEY: "browsersyncConnection" }
|
|
5678
5996
|
}
|
|
5997
|
+
},
|
|
5998
|
+
outputPackageJSON_Generating: {
|
|
5999
|
+
inheritedDependencies: { KEY: "inheritedDependencies" },
|
|
6000
|
+
inheritedDevelopmentDependencies: { KEY: "inheritedDevelopmentDependencies" },
|
|
6001
|
+
inheritedNPM_Scripts: { KEY: "inheritedNPM_Scripts" },
|
|
6002
|
+
newNPM_Scripts: { KEY: "newNPM_Scripts" },
|
|
6003
|
+
indentString: { KEY: "indentString" },
|
|
6004
|
+
linesSeparator: { KEY: "linesSeparator" },
|
|
6005
|
+
buildingModeDependent: {
|
|
6006
|
+
KEY: "buildingModeDependent",
|
|
6007
|
+
outputDirectoryRelativePath: { KEY: "outputDirectoryRelativePath" },
|
|
6008
|
+
indentString: { KEY: "indentString" },
|
|
6009
|
+
linesSeparator: { KEY: "linesSeparator" }
|
|
6010
|
+
}
|
|
5679
6011
|
}
|
|
5680
6012
|
}
|
|
5681
6013
|
};
|
|
@@ -5710,6 +6042,7 @@ const AudiosProcessingSettings__FromFile__RawValid_1 = __importDefault(__webpack
|
|
|
5710
6042
|
const PlainCopyingSettings__FromFile__RawValid_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/PlainCopying/PlainCopyingSettings__FromFile__RawValid */ "./ProjectBuilding/PlainCopying/PlainCopyingSettings__FromFile__RawValid.ts"));
|
|
5711
6043
|
const FilesWatchingSettings__FromFile__RawValid_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/FilesWatching/FilesWatchingSettings__FromFile__RawValid */ "./ProjectBuilding/FilesWatching/FilesWatchingSettings__FromFile__RawValid.ts"));
|
|
5712
6044
|
const BrowserLiveReloadingSettings__FromFile__RawValid_1 = __importDefault(__webpack_require__(/*! @BrowserLiveReloading/BrowserLiveReloadingSettings__FromFile__RawValid */ "./ProjectBuilding/BrowserLiveReloading/BrowserLiveReloadingSettings__FromFile__RawValid.ts"));
|
|
6045
|
+
const OutputPackageJSON_GeneratingSettings__FromFile__RawValid_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettings__FromFile__RawValid */ "./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettings__FromFile__RawValid.ts"));
|
|
5713
6046
|
/* ─── Utils ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
5714
6047
|
const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
|
|
5715
6048
|
var ProjectBuildingConfig__FromFile__RawValid;
|
|
@@ -5863,6 +6196,16 @@ var ProjectBuildingConfig__FromFile__RawValid;
|
|
|
5863
6196
|
preValidationModifications: es_extensions_1.nullToUndefined,
|
|
5864
6197
|
properties: BrowserLiveReloadingSettings__FromFile__RawValid_1.default.
|
|
5865
6198
|
getLocalizedPropertiesSpecification(localization.tasks.browserLiveReloading)
|
|
6199
|
+
},
|
|
6200
|
+
[localization.enumerations.tasksIDs.outputPackageJSON_Generating]: {
|
|
6201
|
+
newName: "outputPackageJSON_Generating",
|
|
6202
|
+
type: Object,
|
|
6203
|
+
required: false,
|
|
6204
|
+
preValidationModifications: es_extensions_1.nullToUndefined,
|
|
6205
|
+
properties: OutputPackageJSON_GeneratingSettings__FromFile__RawValid_1.default.getLocalizedPropertiesSpecification({
|
|
6206
|
+
outputPackageJSON_GeneratingSettingsLocalization: localization.tasks.outputPackageJSON_Generating,
|
|
6207
|
+
consumingProjectLocalizedPreDefinedBuildingModes
|
|
6208
|
+
})
|
|
5866
6209
|
}
|
|
5867
6210
|
}
|
|
5868
6211
|
}
|
|
@@ -5900,6 +6243,7 @@ const VideosProcessingSettingsRepresentative_1 = __importDefault(__webpack_requi
|
|
|
5900
6243
|
const PlainCopyingSettingsRepresentative_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/PlainCopying/PlainCopyingSettingsRepresentative */ "./ProjectBuilding/PlainCopying/PlainCopyingSettingsRepresentative.ts"));
|
|
5901
6244
|
const FilesWatchingSettingsRepresentative_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/FilesWatching/FilesWatchingSettingsRepresentative */ "./ProjectBuilding/FilesWatching/FilesWatchingSettingsRepresentative.ts"));
|
|
5902
6245
|
const BrowserLiveReloadingSettingsRepresentative_1 = __importDefault(__webpack_require__(/*! @BrowserLiveReloading/BrowserLiveReloadingSettingsRepresentative */ "./ProjectBuilding/BrowserLiveReloading/BrowserLiveReloadingSettingsRepresentative.ts"));
|
|
6246
|
+
const OutputPackageJSON_GeneratingSettingsRepresentative_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettingsRepresentative */ "./ProjectBuilding/OutputPackageJSON_Generating/OutputPackageJSON_GeneratingSettingsRepresentative.ts"));
|
|
5903
6247
|
/* --- General auxiliaries ------------------------------------------------------------------------------------------ */
|
|
5904
6248
|
const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
|
|
5905
6249
|
class ProjectBuildingMasterConfigRepresentative {
|
|
@@ -5914,6 +6258,7 @@ class ProjectBuildingMasterConfigRepresentative {
|
|
|
5914
6258
|
plainCopyingSettingsRepresentative;
|
|
5915
6259
|
filesWatchingSettingsRepresentative;
|
|
5916
6260
|
browserLiveReloadingSettingsRepresentative;
|
|
6261
|
+
outputPackageJSON_GeneratingSettingsRepresentative;
|
|
5917
6262
|
commonSettings;
|
|
5918
6263
|
static initializeAndGetInstance(projectBuilderConfig__normalized) {
|
|
5919
6264
|
if ((0, es_extensions_1.isNotNull)(ProjectBuildingMasterConfigRepresentative.selfSoleInstance)) {
|
|
@@ -5960,6 +6305,9 @@ class ProjectBuildingMasterConfigRepresentative {
|
|
|
5960
6305
|
if ((0, es_extensions_1.isNotUndefined)(projectBuilderNormalizedConfig.browserLiveReloading)) {
|
|
5961
6306
|
this.browserLiveReloadingSettingsRepresentative = new BrowserLiveReloadingSettingsRepresentative_1.default(projectBuilderNormalizedConfig.browserLiveReloading);
|
|
5962
6307
|
}
|
|
6308
|
+
if ((0, es_extensions_1.isNotUndefined)(projectBuilderNormalizedConfig.outputPackageJSON_Generating)) {
|
|
6309
|
+
this.outputPackageJSON_GeneratingSettingsRepresentative = new OutputPackageJSON_GeneratingSettingsRepresentative_1.default(projectBuilderNormalizedConfig.outputPackageJSON_Generating);
|
|
6310
|
+
}
|
|
5963
6311
|
}
|
|
5964
6312
|
/* === Common settings ============================================================================================ */
|
|
5965
6313
|
get consumingProjectRootDirectoryAbsolutePath() {
|
|
@@ -9513,12 +9861,9 @@ const accessibilityInspectorLocalization__english = {
|
|
|
9513
9861
|
generateInspectionOfSingleFilesHasFinishedWithNoIssuesFoundSuccessLog: ({ targetFileRelativePath, secondsElapsed }) => ({
|
|
9514
9862
|
title: "HTML code accessibility cheking of single file has finished with no issues found",
|
|
9515
9863
|
description: `The HTML code in file "${targetFileRelativePath}" has no the accessibility issues.\n` +
|
|
9516
|
-
`${
|
|
9517
|
-
/* eslint-disable-next-line @typescript-eslint/no-useless-template-literals --
|
|
9518
|
-
* テンプレートリテラルを無くすと、「+」の前の部分が無くなっていまう。 */
|
|
9519
9864
|
(0, es_extensions_1.isUndefined)(secondsElapsed) ?
|
|
9520
|
-
|
|
9521
|
-
|
|
9865
|
+
"(Cached result, no changes in output HTML code since last building)" :
|
|
9866
|
+
`${secondsElapsed} seconds taken.`
|
|
9522
9867
|
}),
|
|
9523
9868
|
generateIssuesFoundInSingleFileErrorLog: ({ targetFileRelativePath, formattedErrorsAndWarnings }) => ({
|
|
9524
9869
|
title: "HTML accessibility inspection, issue(s) found",
|
|
@@ -10170,12 +10515,9 @@ const HTML_ValidatorLocalization__english = {
|
|
|
10170
10515
|
generateValidationOfSingleFilesHasFinishedWithNoIssuesFoundSuccessLog: ({ targetFileRelativePath, secondsElapsed }) => ({
|
|
10171
10516
|
title: "HTML validation of single file has finished with no issues found",
|
|
10172
10517
|
description: `File "${targetFileRelativePath}" is fully obeying to W3C rules and recommendations.\n` +
|
|
10173
|
-
`${
|
|
10174
|
-
/* eslint-disable-next-line @typescript-eslint/no-useless-template-literals --
|
|
10175
|
-
* テンプレートリテラルを無くすと、「+」の前の部分が無くなっていまう。 */
|
|
10176
10518
|
(0, es_extensions_1.isUndefined)(secondsElapsed) ?
|
|
10177
|
-
|
|
10178
|
-
|
|
10519
|
+
"(Cached result, no changes in output HTML code since last building)" :
|
|
10520
|
+
`${secondsElapsed} seconds taken.`
|
|
10179
10521
|
}),
|
|
10180
10522
|
generateIssuesFoundInSingleFileErrorLog: ({ targetFileRelativePath, formattedErrorsAndWarnings }) => ({
|
|
10181
10523
|
title: "HTML validation, issue(s) found",
|
|
@@ -13124,6 +13466,23 @@ class Stopwatch {
|
|
|
13124
13466
|
exports["default"] = Stopwatch;
|
|
13125
13467
|
|
|
13126
13468
|
|
|
13469
|
+
/***/ }),
|
|
13470
|
+
|
|
13471
|
+
/***/ "./UtilsIncubator/Strings/replaceLinesSeparators.ts":
|
|
13472
|
+
/*!**********************************************************!*\
|
|
13473
|
+
!*** ./UtilsIncubator/Strings/replaceLinesSeparators.ts ***!
|
|
13474
|
+
\**********************************************************/
|
|
13475
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13476
|
+
|
|
13477
|
+
|
|
13478
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
13479
|
+
const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
|
|
13480
|
+
function replaceLinesSeparators(targetString, lineSeparators) {
|
|
13481
|
+
return (0, es_extensions_1.explodeStringToLines)({ targetString, mustIgnoreCarriageReturn: false }).join(lineSeparators);
|
|
13482
|
+
}
|
|
13483
|
+
exports["default"] = replaceLinesSeparators;
|
|
13484
|
+
|
|
13485
|
+
|
|
13127
13486
|
/***/ }),
|
|
13128
13487
|
|
|
13129
13488
|
/***/ "./Utils/DotYDA_DirectoryManager.ts":
|
|
@@ -14375,6 +14734,16 @@ module.exports = require("node:util");
|
|
|
14375
14734
|
|
|
14376
14735
|
/***/ }),
|
|
14377
14736
|
|
|
14737
|
+
/***/ "os":
|
|
14738
|
+
/*!*********************!*\
|
|
14739
|
+
!*** external "os" ***!
|
|
14740
|
+
\*********************/
|
|
14741
|
+
/***/ ((module) => {
|
|
14742
|
+
|
|
14743
|
+
module.exports = require("os");
|
|
14744
|
+
|
|
14745
|
+
/***/ }),
|
|
14746
|
+
|
|
14378
14747
|
/***/ "path":
|
|
14379
14748
|
/*!***********************!*\
|
|
14380
14749
|
!*** external "path" ***!
|
|
@@ -14427,7 +14796,7 @@ function revisionHash(data) {
|
|
|
14427
14796
|
\***********************/
|
|
14428
14797
|
/***/ ((module) => {
|
|
14429
14798
|
|
|
14430
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@yamato-daiwa/automation","version":"0.
|
|
14799
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@yamato-daiwa/automation","version":"0.5.0-alpha.0","description":"The project building tool with declarative YAML configuration specializing on Pug, Stylus and TypeScript as source code languages.","keywords":["build","pug","stylus","tool","typescript"],"engines":{"node":">=18.18.0"},"bin":{"yda":"Executable"},"files":["EntryPoint.js"],"dependencies":{"@stylistic/eslint-plugin":"1.7.2","@typescript-eslint/eslint-plugin":"7.12.0","@typescript-eslint/parser":"7.12.0","@vue/compiler-sfc":"3.4.27","@webdiscus/pug-loader":"2.11.0","@yamato-daiwa/es-extensions":"1.7.0-rc.2","@yamato-daiwa/es-extensions-nodejs":"1.7.0-alpha.10","@yamato-daiwa/style_guides":"0.2.7","autoprefixer":"10.4.19","browser-sync":"3.0.2","css-loader":"7.1.2","cssnano":"7.0.2","eslint":"8.57.0","eslint-plugin-import":"2.29.1","eslint-plugin-node":"11.1.0","eslint-plugin-react":"7.34.2","eslint-plugin-vue":"9.26.0","eslint-plugin-vue-pug":"0.6.2","fork-ts-checker-webpack-plugin":"7.3.0","gulp":"4.0.2","gulp-data":"1.3.1","gulp-html-prettify":"0.0.1","gulp-if":"3.0.0","gulp-imagemin":"7.1.0","gulp-nodemon":"2.5.0","gulp-plumber":"1.2.1","gulp-postcss":"10.0.0","gulp-pug":"5.0.0","gulp-sourcemaps":"3.0.0","gulp-stylus":"3.0.1","imagemin-pngquant":"9.0.2","json5-loader":"4.0.1","node-html-parser":"6.1.13","node-notifier":"10.0.1","pa11y":"8.0.0","probe-image-size":"7.2.3","pug3-ast-loader":"0.0.0","pug-lint":"2.7.0","puppeteer":"22.10.0","rev-hash":"4.1.0","stlint":"1.0.65","stream-combiner2":"1.1.1","style-loader":"4.0.0","stylus":"0.63.0","stylus-loader":"8.1.0","ts-loader":"9.5.1","vinyl":"2.2.1","vue-loader":"17.4.2","vue-style-loader":"4.1.3","w3c-html-validator":"0.8.1","webpack":"5.91.0","webpack-node-externals":"3.0.0","webpack-stream":"7.0.0","worker-loader":"3.0.8","yaml-loader":"0.8.1"},"devDependencies":{"@types/browser-sync":"2.29.0","@types/cssnano":"5.0.0","@types/gulp":"4.0.17","@types/gulp-html-prettify":"0.0.5","@types/gulp-if":"3.0.4","@types/gulp-imagemin":"8.0.6","@types/gulp-nodemon":"0.0.37","@types/gulp-plumber":"0.0.37","@types/gulp-postcss":"8.0.6","@types/gulp-sourcemaps":"0.0.38","@types/gulp-stylus":"2.7.8","@types/node":"20.14.2","@types/node-notifier":"8.0.5","@types/pa11y":"5.3.7","@types/probe-image-size":"7.2.4","@types/pug":"2.0.10","@types/webpack-node-externals":"3.0.4","@types/webpack-stream":"3.2.15","eslint-webpack-plugin":"4.2.0","ts-node":"10.9.2","typescript":"5.4.5","webpack-cli":"5.1.4"},"scripts":{"Incremental development building":"webpack --mode development","Production building":"webpack --mode production","Linting":"eslint Source","Tree diagram of source files generating":"tree Source /f"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/TokugawaTakeshi/Yamato-Daiwa-Automation.git"},"bugs":{"url":"https://github.com/TokugawaTakeshi/Yamato-Daiwa-Automation/issues","email":"tokugawa.takesi@gmail.com"}}');
|
|
14431
14800
|
|
|
14432
14801
|
/***/ })
|
|
14433
14802
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamato-daiwa/automation",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0-alpha.0",
|
|
4
4
|
"description": "The project building tool with declarative YAML configuration specializing on Pug, Stylus and TypeScript as source code languages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"build",
|