@yamato-daiwa/automation 0.5.0-alpha.3 → 0.5.0-alpha.5

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.
Files changed (3) hide show
  1. package/EntryPoint.js +143 -97
  2. package/Executable +1 -3
  3. package/package.json +14 -13
package/EntryPoint.js CHANGED
@@ -13,46 +13,54 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
13
13
  return (mod && mod.__esModule) ? mod : { "default": mod };
14
14
  };
15
15
  Object.defineProperty(exports, "__esModule", ({ value: true }));
16
+ /* ─── Defaults ───────────────────────────────────────────────────────────────────────────────────────────────────── */
17
+ const CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/Common/Defaults/CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION */ "./ProjectBuilding/Common/Defaults/CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION.ts"));
18
+ /* ─── Restrictions ───────────────────────────────────────────────────────────────────────────────────────────────── */
16
19
  const ConsumingProjectBuildingModes_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/Common/Restrictions/ConsumingProjectBuildingModes */ "./ProjectBuilding/Common/Restrictions/ConsumingProjectBuildingModes.ts"));
20
+ /* ─── General Utils ──────────────────────────────────────────────────────────────────────────────────────────────── */
17
21
  const es_extensions_nodejs_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions-nodejs */ "@yamato-daiwa/es-extensions-nodejs");
18
22
  var ApplicationConsoleLineInterface;
19
23
  (function (ApplicationConsoleLineInterface) {
20
24
  let CommandPhrases;
21
25
  (function (CommandPhrases) {
22
- CommandPhrases["buildProject"] = "build";
23
- CommandPhrases["deployProject"] = "deployProject";
26
+ CommandPhrases["projectBuilding"] = "build";
27
+ CommandPhrases["referenceGenerating"] = "help";
24
28
  })(CommandPhrases = ApplicationConsoleLineInterface.CommandPhrases || (ApplicationConsoleLineInterface.CommandPhrases = {}));
25
29
  ApplicationConsoleLineInterface.specification = {
26
30
  applicationName: "Yamato Daiwa Automation",
27
- applicationDescription: "The project building tool.",
31
+ applicationDescription: "The high-level project building tool.",
28
32
  commandPhrases: {
29
- [CommandPhrases.buildProject]: {
30
- description: "Builds the projects according to configuration file (\"yda.config.yaml\" as default).",
33
+ [CommandPhrases.projectBuilding]: {
34
+ description: "Builds the projects according to the configuration file " +
35
+ `("${CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION_1.default}" as default).`,
36
+ isDefault: true,
31
37
  options: {
32
38
  mode: {
33
39
  newName: "projectBuildingMode",
34
40
  description: "The project building mode; affects to presence or absence of incremental building, " +
35
- "browser reloading, code minification etc.",
41
+ "browser live reloading, code minification etc.",
36
42
  type: es_extensions_nodejs_1.ConsoleCommandsParser.ParametersTypes.string,
37
43
  required: true,
38
44
  shortcut: "m",
39
45
  allowedAlternatives: Object.values(ConsumingProjectBuildingModes_1.default)
40
46
  },
41
47
  configurationFile: {
42
- description: "Custom name of the configuration file (\"yda.config.yaml\" is the default)",
48
+ description: "Custom name of the configuration file (the default one is " +
49
+ `"${CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION_1.default}")`,
43
50
  newName: "customConfigurationFileName__possiblyWithoutExtension",
44
51
  type: es_extensions_nodejs_1.ConsoleCommandsParser.ParametersTypes.string,
45
52
  required: false
46
53
  },
47
54
  selectiveExecution: {
48
55
  newName: "selectiveExecutionID",
49
- description: "Allows to specify the selection of tasks, entry points groups, etc., herewith the " +
50
- "specified selection execution ID must be preliminarily defined in the configuration file.",
56
+ description: "Allows to specify the selection of tasks, entry points groups, etc. by selective execution ID, " +
57
+ "herewith the desired selective execution must be preliminarily defined in the configuration file.",
51
58
  type: es_extensions_nodejs_1.ConsoleCommandsParser.ParametersTypes.string,
52
59
  required: false
53
60
  }
54
61
  }
55
- }
62
+ },
63
+ [CommandPhrases.referenceGenerating]: {}
56
64
  }
57
65
  };
58
66
  })(ApplicationConsoleLineInterface || (ApplicationConsoleLineInterface = {}));
@@ -72,32 +80,35 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
72
80
  return (mod && mod.__esModule) ? mod : { "default": mod };
73
81
  };
74
82
  Object.defineProperty(exports, "__esModule", ({ value: true }));
75
- /* --- Defaults ----------------------------------------------------------------------------------------------------- */
76
- const CONFIG_FILE_DEFAULT_NAME_WITH_EXTENSION_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/Common/Defaults/CONFIG_FILE_DEFAULT_NAME_WITH_EXTENSION */ "./ProjectBuilding/Common/Defaults/CONFIG_FILE_DEFAULT_NAME_WITH_EXTENSION.ts"));
77
- /* --- Console line interface --------------------------------------------------------------------------------------- */
83
+ /* ─── Restrictions ───────────────────────────────────────────────────────────────────────────────────────────────── */
84
+ const BUG_TRACKER_URI_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/Common/Restrictions/BUG_TRACKER_URI */ "./ProjectBuilding/Common/Restrictions/BUG_TRACKER_URI.ts"));
85
+ /* ─── Defaults ───────────────────────────────────────────────────────────────────────────────────────────────────── */
86
+ const CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/Common/Defaults/CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION */ "./ProjectBuilding/Common/Defaults/CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION.ts"));
87
+ /* ─── Console List Interface ─────────────────────────────────────────────────────────────────────────────────────── */
78
88
  const ApplicationConsoleLineInterface_1 = __importDefault(__webpack_require__(/*! ./ApplicationConsoleLineInterface */ "./ApplicationConsoleLineInterface.ts"));
79
- /* --- Scenarios ---------------------------------------------------------------------------------------------------- */
89
+ /* ─── Scenarios ──────────────────────────────────────────────────────────────────────────────────────────────────── */
80
90
  const ProjectBuilder_1 = __importDefault(__webpack_require__(/*! ./ProjectBuilder */ "./ProjectBuilder.ts"));
81
- /* --- Applied utils ------------------------------------------------------------------------------------------------ */
91
+ /* ─── Applied Utils ──────────────────────────────────────────────────────────────────────────────────────────────── */
82
92
  const DotYDA_DirectoryManager_1 = __importDefault(__webpack_require__(/*! @Utils/DotYDA_DirectoryManager */ "./Utils/DotYDA_DirectoryManager.ts"));
83
- /* --- General utils ------------------------------------------------------------------------------------------------ */
93
+ /* ─── General Utils ──────────────────────────────────────────────────────────────────────────────────────────────── */
84
94
  const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
85
95
  const es_extensions_nodejs_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions-nodejs */ "@yamato-daiwa/es-extensions-nodejs");
86
96
  const path_1 = __importDefault(__webpack_require__(/*! path */ "path"));
87
97
  class EntryPoint {
88
98
  static {
89
99
  es_extensions_1.Logger.setImplementation(es_extensions_nodejs_1.ConsoleApplicationLogger);
90
- es_extensions_1.PoliteErrorsMessagesBuilder.setDefaultBugTrackerURI("https://github.com/TokugawaTakeshi/Yamato-Daiwa-Automation/issues");
100
+ es_extensions_1.PoliteErrorsMessagesBuilder.setDefaultBugTrackerURI(BUG_TRACKER_URI_1.default);
101
+ EntryPoint.interpretAndExecuteConsoleCommand();
91
102
  }
92
- static interpretAndExecuteConsoleCommand(rawConsoleCommand) {
93
- /* [ Theory ] The global constant "__IS_DEVELOPMENT_BUILDING_MODE__" is not available in above static block. */
103
+ static interpretAndExecuteConsoleCommand() {
104
+ /* [ Theory ] The global constant `__IS_DEVELOPMENT_BUILDING_MODE__` is not available in above static block. */
94
105
  es_extensions_1.PoliteErrorsMessagesBuilder.setTechnicalDetailsOnlyModeIf(true);
95
- const parsedConsoleCommand = es_extensions_nodejs_1.ConsoleCommandsParser.parse(ApplicationConsoleLineInterface_1.default.specification, rawConsoleCommand);
106
+ const parsedConsoleCommand = es_extensions_nodejs_1.ConsoleCommandsParser.parse(ApplicationConsoleLineInterface_1.default.specification);
96
107
  const consumingProjectRootDirectoryAbsolutePath = process.cwd();
97
108
  DotYDA_DirectoryManager_1.default.unrollDotYDA_Directory(consumingProjectRootDirectoryAbsolutePath);
98
109
  switch (parsedConsoleCommand.phrase) {
99
- case ApplicationConsoleLineInterface_1.default.CommandPhrases.buildProject: {
100
- const rawConfigFileAbsolutePath = path_1.default.resolve(consumingProjectRootDirectoryAbsolutePath, CONFIG_FILE_DEFAULT_NAME_WITH_EXTENSION_1.default);
110
+ case ApplicationConsoleLineInterface_1.default.CommandPhrases.projectBuilding: {
111
+ const rawConfigFileAbsolutePath = path_1.default.resolve(consumingProjectRootDirectoryAbsolutePath, CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION_1.default);
101
112
  /* [ Approach ] The validation is scenario-dependent thus will be executed later. */
102
113
  let rawConfigFromFile;
103
114
  try {
@@ -107,9 +118,27 @@ class EntryPoint {
107
118
  });
108
119
  }
109
120
  catch (error) {
121
+ if (error instanceof es_extensions_nodejs_1.FileNotFoundError) {
122
+ es_extensions_1.Logger.throwErrorAndLog({
123
+ errorInstance: new es_extensions_nodejs_1.FileNotFoundError({
124
+ customMessage: "The configuration file for \"Yamato Daiwa Automation\" utility not found at path " +
125
+ `"${rawConfigFileAbsolutePath}". ` +
126
+ "The \"Yamato Daiwa Automation\" utility is required the configuration file and will expect the " +
127
+ `file "${CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION_1.default}" at the same directory as CLI has been invoked. ` +
128
+ "You can set custom configuration file name via CLI if you want."
129
+ }),
130
+ title: es_extensions_nodejs_1.FileNotFoundError.localization.defaultTitle,
131
+ occurrenceLocation: "EntryPoint.interpretAndExecuteConsoleCommand()",
132
+ innerError: error
133
+ });
134
+ }
110
135
  es_extensions_1.Logger.throwErrorAndLog({
111
136
  errorInstance: new es_extensions_1.FileReadingFailedError({
112
- customMessage: `Config file not found at: ${rawConfigFileAbsolutePath}`
137
+ customMessage: "The configuration file for \"Yamato Daiwa Automation\" utility not found at path " +
138
+ `"${rawConfigFileAbsolutePath}". ` +
139
+ "The \"Yamato Daiwa Automation\" utility is required the configuration file and will expect the " +
140
+ `file "${CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION_1.default}" at the same directory as CLI has been invoked. ` +
141
+ "You can set custom configuration file name via CLI if you want."
113
142
  }),
114
143
  title: es_extensions_1.FileReadingFailedError.localization.defaultTitle,
115
144
  occurrenceLocation: "EntryPoint.interpretAndExecuteConsoleCommand()",
@@ -126,10 +155,10 @@ class EntryPoint {
126
155
  });
127
156
  break;
128
157
  }
129
- case ApplicationConsoleLineInterface_1.default.CommandPhrases.deployProject: {
130
- es_extensions_1.Logger.logWarning({
131
- title: "Not implemented yet",
132
- description: "This functionality has not been implemented yet."
158
+ case ApplicationConsoleLineInterface_1.default.CommandPhrases.referenceGenerating: {
159
+ es_extensions_1.Logger.logInfo({
160
+ title: "Yamato Daiwa Automation",
161
+ description: es_extensions_nodejs_1.ConsoleCommandsParser.generateFullHelpReference(ApplicationConsoleLineInterface_1.default.specification)
133
162
  });
134
163
  }
135
164
  }
@@ -222,9 +251,6 @@ class ProjectBuilder {
222
251
  ])
223
252
  ])
224
253
  ]));
225
- /* eslint-disable-next-line @typescript-eslint/no-floating-promises --
226
- * This issue is not false positive because gulp chain could collapse on some errors, but working solution has
227
- * not been found yet. https://stackoverflow.com/q/66169978/4818123 */
228
254
  gulp_1.default.task(GULP_TASK_NAME)?.((error) => {
229
255
  if ((0, es_extensions_1.isNeitherUndefinedNorNull)(error)) {
230
256
  es_extensions_1.Logger.logError({
@@ -2183,16 +2209,16 @@ exports["default"] = {
2183
2209
 
2184
2210
  /***/ }),
2185
2211
 
2186
- /***/ "./ProjectBuilding/Common/Defaults/CONFIG_FILE_DEFAULT_NAME_WITH_EXTENSION.ts":
2187
- /*!************************************************************************************!*\
2188
- !*** ./ProjectBuilding/Common/Defaults/CONFIG_FILE_DEFAULT_NAME_WITH_EXTENSION.ts ***!
2189
- \************************************************************************************/
2212
+ /***/ "./ProjectBuilding/Common/Defaults/CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION.ts":
2213
+ /*!*******************************************************************************************!*\
2214
+ !*** ./ProjectBuilding/Common/Defaults/CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION.ts ***!
2215
+ \*******************************************************************************************/
2190
2216
  /***/ ((__unused_webpack_module, exports) => {
2191
2217
 
2192
2218
 
2193
2219
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2194
- const CONFIG_FILE_DEFAULT_NAME_WITH_EXTENSION = "yda.config.yaml";
2195
- exports["default"] = CONFIG_FILE_DEFAULT_NAME_WITH_EXTENSION;
2220
+ const CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION = "yda.config.yaml";
2221
+ exports["default"] = CONFIGURATION_FILE_DEFAULT_NAME_WITH_EXTENSION;
2196
2222
 
2197
2223
 
2198
2224
  /***/ }),
@@ -3115,6 +3141,20 @@ class SourceCodeProcessingRawSettingsNormalizer {
3115
3141
  exports["default"] = SourceCodeProcessingRawSettingsNormalizer;
3116
3142
 
3117
3143
 
3144
+ /***/ }),
3145
+
3146
+ /***/ "./ProjectBuilding/Common/Restrictions/BUG_TRACKER_URI.ts":
3147
+ /*!****************************************************************!*\
3148
+ !*** ./ProjectBuilding/Common/Restrictions/BUG_TRACKER_URI.ts ***!
3149
+ \****************************************************************/
3150
+ /***/ ((__unused_webpack_module, exports) => {
3151
+
3152
+
3153
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
3154
+ const BUG_TRACKER_URI = "https://github.com/TokugawaTakeshi/Yamato-Daiwa-Automation/issues";
3155
+ exports["default"] = BUG_TRACKER_URI;
3156
+
3157
+
3118
3158
  /***/ }),
3119
3159
 
3120
3160
  /***/ "./ProjectBuilding/Common/Restrictions/ConsumingProjectBuildingModes.ts":
@@ -3237,7 +3277,7 @@ class AssetsProcessingSettingsRepresentative {
3237
3277
  if ((0, es_extensions_1.isNonEmptyArray)(relevantAssetsGroupNormalizedSettings.outputPathTransformations.segmentsWhichLastDuplicatesMustBeRemoved)) {
3238
3278
  const outputDirectoryAbsolutePathExplodedToSegmentsForTargetSourceFile = (0, es_extensions_1.explodeURI_PathToSegments)(outputDirectoryAbsolutePathForTargetSourceFile);
3239
3279
  for (const pathSegmentWhichLastDuplicateMustBeRemoved of relevantAssetsGroupNormalizedSettings.outputPathTransformations.segmentsWhichLastDuplicatesMustBeRemoved) {
3240
- const indexesOfDuplicatesOfTargetPathSegment = (0, es_extensions_1.getIndexesOfArrayElementsWhichSatisfiesThePredicate)(outputDirectoryAbsolutePathExplodedToSegmentsForTargetSourceFile, (outputDirectoryAbsolutePathSegment) => outputDirectoryAbsolutePathSegment === pathSegmentWhichLastDuplicateMustBeRemoved);
3280
+ const indexesOfDuplicatesOfTargetPathSegment = (0, es_extensions_1.getIndexesOfSatisfiesThePredicateArrayElements)(outputDirectoryAbsolutePathExplodedToSegmentsForTargetSourceFile, (outputDirectoryAbsolutePathSegment) => outputDirectoryAbsolutePathSegment === pathSegmentWhichLastDuplicateMustBeRemoved);
3241
3281
  (0, es_extensions_1.removeArrayElementsByIndexes)({
3242
3282
  targetArray: outputDirectoryAbsolutePathExplodedToSegmentsForTargetSourceFile,
3243
3283
  indexes: indexesOfDuplicatesOfTargetPathSegment[indexesOfDuplicatesOfTargetPathSegment.length - 1],
@@ -3338,7 +3378,7 @@ class GulpStreamBasedSourceCodeProcessingConfigRepresentative extends SourceCode
3338
3378
  if ((0, es_extensions_1.isNonEmptyArray)(relevantEntryPointsGroupSettings.outputPathTransformations.segmentsWhichLastDuplicatesMustBeRemoved)) {
3339
3379
  const outputDirectoryAbsolutePathExplodedToSegmentsForTargetSourceFile = (0, es_extensions_1.explodeURI_PathToSegments)(outputDirectoryAbsolutePathForTargetSourceFile);
3340
3380
  for (const pathSegmentWhichLastDuplicateMustBeRemoved of relevantEntryPointsGroupSettings.outputPathTransformations.segmentsWhichLastDuplicatesMustBeRemoved) {
3341
- const indexesOfDuplicatesOfTargetPathSegment = (0, es_extensions_1.getIndexesOfArrayElementsWhichSatisfiesThePredicate)(outputDirectoryAbsolutePathExplodedToSegmentsForTargetSourceFile, (outputDirectoryAbsolutePathSegment) => outputDirectoryAbsolutePathSegment === pathSegmentWhichLastDuplicateMustBeRemoved);
3381
+ const indexesOfDuplicatesOfTargetPathSegment = (0, es_extensions_1.getIndexesOfSatisfiesThePredicateArrayElements)(outputDirectoryAbsolutePathExplodedToSegmentsForTargetSourceFile, (outputDirectoryAbsolutePathSegment) => outputDirectoryAbsolutePathSegment === pathSegmentWhichLastDuplicateMustBeRemoved);
3342
3382
  (0, es_extensions_1.removeArrayElementsByIndexes)({
3343
3383
  targetArray: outputDirectoryAbsolutePathExplodedToSegmentsForTargetSourceFile,
3344
3384
  indexes: indexesOfDuplicatesOfTargetPathSegment[indexesOfDuplicatesOfTargetPathSegment.length - 1],
@@ -3415,7 +3455,7 @@ class OutputDirectoryPathTransformationsSettingsRepresentative {
3415
3455
  const outputDirectoryAbsolutePathExplodedToSegmentsForTargetSourceFile = (0, es_extensions_1.explodeURI_PathToSegments)(outputPath);
3416
3456
  for (const pathSegmentWhichLastDuplicateMustBeRemoved of outputDirectoryPathTransformationsSettings.
3417
3457
  segmentsWhichLastDuplicatesMustBeRemoved) {
3418
- const indexesOfDuplicatesOfTargetPathSegment = (0, es_extensions_1.getIndexesOfArrayElementsWhichSatisfiesThePredicate)(outputDirectoryAbsolutePathExplodedToSegmentsForTargetSourceFile, (outputDirectoryAbsolutePathSegment) => outputDirectoryAbsolutePathSegment === pathSegmentWhichLastDuplicateMustBeRemoved);
3458
+ const indexesOfDuplicatesOfTargetPathSegment = (0, es_extensions_1.getIndexesOfSatisfiesThePredicateArrayElements)(outputDirectoryAbsolutePathExplodedToSegmentsForTargetSourceFile, (outputDirectoryAbsolutePathSegment) => outputDirectoryAbsolutePathSegment === pathSegmentWhichLastDuplicateMustBeRemoved);
3419
3459
  (0, es_extensions_1.removeArrayElementsByIndexes)({
3420
3460
  targetArray: outputDirectoryAbsolutePathExplodedToSegmentsForTargetSourceFile,
3421
3461
  indexes: indexesOfDuplicatesOfTargetPathSegment[indexesOfDuplicatesOfTargetPathSegment.length - 1],
@@ -6425,7 +6465,6 @@ class ECMA_ScriptLogicProcessingRawSettingsNormalizer extends SourceCodeProcessi
6425
6465
  } : null
6426
6466
  });
6427
6467
  const relevantEntryPointsGroups = dataHoldingSelfInstance.createNormalizedEntryPointsGroupsSettings(ECMA_ScriptLogicProcessingSettings__fromFile__rawValid.entryPointsGroups, dataHoldingSelfInstance.
6428
- /* eslint-disable-next-line max-len -- Unable to split this line to multiple. */
6429
6468
  completeEntryPointsGroupNormalizedSettingsCommonPropertiesUntilECMA_ScriptLogicEntryPointsGroupNormalizedSettings.
6430
6469
  bind(dataHoldingSelfInstance));
6431
6470
  const lintingSettings__fromFile__rawValid = ECMA_ScriptLogicProcessingSettings__fromFile__rawValid.linting ?? {};
@@ -7030,8 +7069,8 @@ const DotYDA_DirectoryManager_1 = __importDefault(__webpack_require__(/*! @Utils
7030
7069
  const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
7031
7070
  const es_extensions_nodejs_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions-nodejs */ "@yamato-daiwa/es-extensions-nodejs");
7032
7071
  class ECMA_ScriptLogicProcessor {
7072
+ /* ━━━ Private Static Fields ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
7033
7073
  static ENTRY_POINTS_AND_PARTIAL_FILES_MAPPING_CACHE_FILE_NAME_WITH_EXTENSION = "ECMA_ScriptEntryPointsAndAffiliatedFilesMappingCache.json";
7034
- TASK_NAME_FOR_LOGGING = "ECMAScript logic processing";
7035
7074
  projectBuildingMasterConfigRepresentative;
7036
7075
  ECMA_ScriptLogicProcessingConfigRepresentative;
7037
7076
  webpackConfigurationsForExistingEntryPoints;
@@ -7040,6 +7079,7 @@ class ECMA_ScriptLogicProcessor {
7040
7079
  absolutePathOfFilesWaitingForReProcessing = new Set();
7041
7080
  sourceCodeSelectiveReprocessingHelper;
7042
7081
  subsequentFilesStateChangeTimeout = null;
7082
+ /* ━━━ Public Static Methods ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
7043
7083
  static provideLogicProcessingIfMust(projectBuildingMasterConfigRepresentative) {
7044
7084
  const ecmaScriptLogicProcessingSettingsRepresentative = projectBuildingMasterConfigRepresentative.ECMA_ScriptLogicProcessingSettingsRepresentative;
7045
7085
  if ((0, es_extensions_1.isUndefined)(ecmaScriptLogicProcessingSettingsRepresentative)) {
@@ -7052,18 +7092,18 @@ class ECMA_ScriptLogicProcessor {
7052
7092
  }
7053
7093
  catch (error) {
7054
7094
  /* [ Theory ] Once reached here, the Gulp tasks chain will collapse whatever will callback called to no. */
7055
- es_extensions_1.Logger.logError({
7056
- errorType: es_extensions_1.UnexpectedEventError.NAME,
7095
+ gulpCallback(new es_extensions_1.UnexpectedEventError(es_extensions_1.Logger.formatErrorLog({
7057
7096
  title: es_extensions_1.UnexpectedEventError.localization.defaultTitle,
7097
+ errorType: es_extensions_1.UnexpectedEventError.NAME,
7058
7098
  description: "The error emitted by Webpack has been caught while no error catching required according the official" +
7059
7099
  "documentation: https://webpack.js.org/api/node/",
7060
7100
  occurrenceLocation: "ECMA_ScriptLogicProcessor.provideLogicProcessing(projectBuildingMasterConfigRepresentative)",
7061
7101
  caughtError: error
7062
- });
7102
+ })));
7063
7103
  }
7064
- gulpCallback();
7065
7104
  };
7066
7105
  }
7106
+ /* ━━━ Constructor ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
7067
7107
  constructor(ecmaScriptLogicProcessingConfigRepresentative, masterConfigRepresentative) {
7068
7108
  this.ECMA_ScriptLogicProcessingConfigRepresentative = ecmaScriptLogicProcessingConfigRepresentative;
7069
7109
  this.projectBuildingMasterConfigRepresentative = masterConfigRepresentative;
@@ -7129,38 +7169,15 @@ class ECMA_ScriptLogicProcessor {
7129
7169
  addOnAnyEventRelatedWithActualFilesHandler({
7130
7170
  handlerID: "ON_ANY_EVENT_WITH_ECMA_SCRIPT_LOGIC_SOURCE_CODE_FILE--BY_ECMA_SCRIPT_LOGIC_PROCESSOR",
7131
7171
  handler: this.onSourceFilesWatcherEmittedAnyEvent.bind(this)
7172
+ }).
7173
+ addOnEntryPointFileAddedEventHandler({
7174
+ handlerID: "ON_MARKUP_ENTRY_POINT_FILE_ADDED--BY_MARKUP_PROCESSOR",
7175
+ handler: ECMA_ScriptLogicProcessor.onEntryPointFileAdded
7132
7176
  });
7133
- // TODO
7134
- // addOnEntryPointFileAddedEventHandler({
7135
- // handlerID: "ON_MARKUP_ENTRY_POINT_FILE_ADDED--BY_MARKUP_PROCESSOR",
7136
- // handler: dataHoldingSelfInstance.onEntryPointFileAdded.bind(dataHoldingSelfInstance)
7137
- // }).
7138
- // addOnEntryPointFileDeletedEventHandler({
7139
- // handlerID: "ON_MARKUP_ENTRY_POINT_FILE_DELETED--BY_MARKUP_PROCESSOR",
7140
- // handler: MarkupProcessor.onEntryPointFileDeleted
7141
- // });
7142
7177
  }
7143
7178
  }
7144
- /* ━━━ Rebuilding ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
7145
- onSourceFilesWatcherEmittedAnyEvent(targetFileAbsolutePath) {
7146
- this.absolutePathOfFilesWaitingForReProcessing.add(targetFileAbsolutePath);
7147
- if ((0, es_extensions_1.isNotNull)(this.subsequentFilesStateChangeTimeout)) {
7148
- clearTimeout(this.subsequentFilesStateChangeTimeout);
7149
- }
7150
- this.subsequentFilesStateChangeTimeout = setTimeout(() => {
7151
- const absolutePathOfEntryPointsWhichMustBeReprocessed__forwardSlashSeparators = this.sourceCodeSelectiveReprocessingHelper?.getAbsolutePathsOfEntryPointsWhichMustBeProcessed(this.absolutePathOfFilesWaitingForReProcessing) ??
7152
- [];
7153
- const actualConfigurationsNames = Array.from((0, es_extensions_1.filterMap)(this.entryPointsSourceFilesAbsolutePathsAndWebpackConfigurationNamesMap, (targetEntryPointAbsolutePath__forwardSlashSeparators) => absolutePathOfEntryPointsWhichMustBeReprocessed__forwardSlashSeparators.
7154
- includes(targetEntryPointAbsolutePath__forwardSlashSeparators)).values());
7155
- if (actualConfigurationsNames.length === 1) {
7156
- (0, es_extensions_1.getArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne)(this.webpackMultiCompiler.compilers, (webpackCompiler) => webpackCompiler.name === actualConfigurationsNames[0], { mustThrowErrorIfElementNotFoundOrMatchesAreMultiple: true }).run(this.generateWebpackCallback());
7157
- }
7158
- else if (actualConfigurationsNames.length > 1) {
7159
- this.webpackMultiCompiler.run(this.generateWebpackCallback());
7160
- }
7161
- this.absolutePathOfFilesWaitingForReProcessing.clear();
7162
- }, (0, es_extensions_1.secondsToMilliseconds)(1));
7163
- }
7179
+ /* ━━━ Private Methods ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
7180
+ /* ─── Webpack Callback ─────────────────────────────────────────────────────────────────────────────────────────── */
7164
7181
  generateWebpackCallback(gulpCallback) {
7165
7182
  return (hardError, statistics) => {
7166
7183
  if ((0, es_extensions_1.isNotUndefined)(statistics)) {
@@ -7215,9 +7232,41 @@ class ECMA_ScriptLogicProcessor {
7215
7232
  }
7216
7233
  };
7217
7234
  }
7235
+ /* ─── Events Handling ──────────────────────────────────────────────────────────────────────────────────────────── */
7236
+ onSourceFilesWatcherEmittedAnyEvent(targetFileAbsolutePath) {
7237
+ this.absolutePathOfFilesWaitingForReProcessing.add(targetFileAbsolutePath);
7238
+ if ((0, es_extensions_1.isNotNull)(this.subsequentFilesStateChangeTimeout)) {
7239
+ clearTimeout(this.subsequentFilesStateChangeTimeout);
7240
+ }
7241
+ this.subsequentFilesStateChangeTimeout = setTimeout(() => {
7242
+ const absolutePathOfEntryPointsWhichMustBeReprocessed__forwardSlashSeparators = this.sourceCodeSelectiveReprocessingHelper?.getAbsolutePathsOfEntryPointsWhichMustBeProcessed(this.absolutePathOfFilesWaitingForReProcessing) ??
7243
+ [];
7244
+ const actualConfigurationsNames = Array.from((0, es_extensions_1.filterMap)(this.entryPointsSourceFilesAbsolutePathsAndWebpackConfigurationNamesMap, (targetEntryPointAbsolutePath__forwardSlashSeparators) => absolutePathOfEntryPointsWhichMustBeReprocessed__forwardSlashSeparators.
7245
+ includes(targetEntryPointAbsolutePath__forwardSlashSeparators)).values());
7246
+ if (actualConfigurationsNames.length === 1) {
7247
+ (0, es_extensions_1.getArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne)(this.webpackMultiCompiler.compilers, (webpackCompiler) => webpackCompiler.name === actualConfigurationsNames[0], { mustThrowErrorIfElementNotFoundOrMatchesAreMultiple: true }).run(this.generateWebpackCallback());
7248
+ }
7249
+ else if (actualConfigurationsNames.length > 1) {
7250
+ this.webpackMultiCompiler.run(this.generateWebpackCallback());
7251
+ }
7252
+ this.absolutePathOfFilesWaitingForReProcessing.clear();
7253
+ }, (0, es_extensions_1.secondsToMilliseconds)(1));
7254
+ }
7255
+ static onEntryPointFileAdded(targetEntryPointSourceFileAbsolutePath) {
7256
+ es_extensions_1.Logger.logWarning({
7257
+ title: "Restarting is Required",
7258
+ description: [
7259
+ "New ECMAScript logic entry point has been added:",
7260
+ targetEntryPointSourceFileAbsolutePath,
7261
+ "We are sorry, but current YDA version does not support the building of ECMAScript logic entry points added " +
7262
+ "after the starting of YDA. Please restart the YDA."
7263
+ ].join("\n")
7264
+ });
7265
+ }
7266
+ /* ─── Other ────────────────────────────────────────────────────────────────────────────────────────────────────── */
7218
7267
  /* [ Theory ] Although it is a rare case, same directory alias (e.g. "@components") could refer to different
7219
7268
  * directory depending on entry points group. Because the `SourceCodeSelectiveReprocessingHelper` does not
7220
- * respect the specific entry points group, all aliases definition must be merged herewith wihtout overwriting. */
7269
+ * respect the specific entry points group, all aliases definition must be merged herewith without overwriting. */
7221
7270
  static generateUnifiedDirectoriesAliasesAndTheirAbsolutePatsMapForSourceCodeSelectiveReprocessingHelper(ecmaScriptLogicProcessingConfigRepresentative) {
7222
7271
  const unifiedDirectoriesAliasesAndTheirAbsolutePatsMap = new Map();
7223
7272
  for (const entryPointsGroup of ecmaScriptLogicProcessingConfigRepresentative.relevantEntryPointsGroupsSettings.values()) {
@@ -7299,7 +7348,7 @@ const ECMA_ScriptSourceFilesWatcher_1 = __importDefault(__webpack_require__(/*!
7299
7348
  /* ─── Superclass ─────────────────────────────────────────────────────────────────────────────────────────────────── */
7300
7349
  const LinterLikeTaskExecutor_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/Common/TasksExecutors/GulpStreamsBased/LinterLikeTaskExecutor */ "./ProjectBuilding/Common/TasksExecutors/GulpStreamsBased/LinterLikeTaskExecutor.ts"));
7301
7350
  /* ─── Third-party Solutions Specialists ──────────────────────────────────────────────────────────────────────────── */
7302
- const ESLintLinterSpecialist_1 = __importDefault(__webpack_require__(/*! @ThirdPartySolutionsSpecialists/ESLintLinterSpecialist */ "./ThirdPartySolutionsSpecialists/ESLintLinterSpecialist.ts"));
7351
+ const ESLintSpecialist_1 = __importDefault(__webpack_require__(/*! @ThirdPartySolutionsSpecialists/ESLintSpecialist */ "./ThirdPartySolutionsSpecialists/ESLintSpecialist.ts"));
7303
7352
  /* ─── Applied Utils ──────────────────────────────────────────────────────────────────────────────────────────────── */
7304
7353
  const eslint_1 = __webpack_require__(/*! eslint */ "eslint");
7305
7354
  const GulpStreamModifier_1 = __importDefault(__webpack_require__(/*! @Utils/GulpStreamModifier */ "./Utils/GulpStreamModifier.ts"));
@@ -7444,7 +7493,7 @@ class ECMA_ScriptSourceCodeLinter extends LinterLikeTaskExecutor_1.default {
7444
7493
  /* [ ESLint theory ]
7445
7494
  * In there are files and/or directories ignored in ESLint configuration they also must be excluded from
7446
7495
  * the Gulp pipelines otherwise ESLint will emit the warning for ignored files. */
7447
- ...ESLintLinterSpecialist_1.default.generateExcludingGlobSelectorsOfIgnoredFiles(projectBuildingMasterConfigRepresentative.consumingProjectRootDirectoryAbsolutePath)
7496
+ ...ESLintSpecialist_1.default.generateExcludingGlobSelectorsOfIgnoredFiles(projectBuildingMasterConfigRepresentative.consumingProjectRootDirectoryAbsolutePath)
7448
7497
  ],
7449
7498
  logging: {
7450
7499
  pathsOfFilesWillBeProcessed: ecmaScriptLogicProcessingSettingsRepresentative.loggingSettings.filesPaths,
@@ -7850,11 +7899,11 @@ class WebpackConfigGenerator {
7850
7899
  const willPugLibraryBeBuilt = entryPointsGroupSettings.distributing?.exposingOfExportsFromEntryPoints.mustExpose === true &&
7851
7900
  entryPointsGroupSettings.targetRuntime.type === SupportedECMA_ScriptRuntimesTypes.pug;
7852
7901
  const distributingSettings = entryPointsGroupSettings.distributing;
7853
- // entryPointsGroupSettings.directoriesAliasesAndCorrespondingAbsolutePathsMap
7902
+ // TODO Is entryPointsGroupSettings.directoriesAliasesAndCorrespondingAbsolutePathsMap related
7854
7903
  return {
7855
7904
  name: entryPointsGroupSettings.ID,
7856
7905
  /* [ Webpack theory ] In this case, path separators must be operating system dependent, otherwise following error
7857
- * will be thrown: "configuration[0].context: The provided value "D:/OSPanel/../01_Open" is not an absolute path!" */
7906
+ * will be thrown: `configuration[0].context: The provided value "D:/OSPanel/../01_Open" is not an absolute path!` */
7858
7907
  context: path_1.default.normalize(sourceFilesTopDirectoryAbsolutePath),
7859
7908
  /* [ Reference ] https://webpack.js.org/configuration/target/ */
7860
7909
  target: (() => {
@@ -11528,7 +11577,10 @@ class SpacesNormalizerForCJK_Text {
11528
11577
  /* [ Regular expression fiddle ] https://regex101.com/r/tPn28I/1 */
11529
11578
  static ANY_CJK_CHARACTER_INCLUDING_PUNCTUATION_ONES = "[\\u3000-\\u303f\\u3040-\\u309f\\u30a0-\\u30ff\\uff00-\\uffef\\u4e00-\\u9fff\\uac00-\\ud7af]";
11530
11579
  static extraSpaceSurroundedByCharactersDetectingPatterns = [
11531
- new RegExp(`(${SpacesNormalizerForCJK_Text.ANY_CJK_CHARACTER_INCLUDING_PUNCTUATION_ONES}) ` +
11580
+ /* [ Regular Expressions Tester ] https://regex101.com/r/oTsJps/2 */
11581
+ new RegExp(`(${SpacesNormalizerForCJK_Text.ANY_CJK_CHARACTER_INCLUDING_PUNCTUATION_ONES})\\x20+` +
11582
+ `(${SpacesNormalizerForCJK_Text.ANY_CJK_CHARACTER_INCLUDING_PUNCTUATION_ONES})`, "gmu"),
11583
+ new RegExp(`(${SpacesNormalizerForCJK_Text.ANY_CJK_CHARACTER_INCLUDING_PUNCTUATION_ONES})\\r?\\n\\x20+` +
11532
11584
  `(${SpacesNormalizerForCJK_Text.ANY_CJK_CHARACTER_INCLUDING_PUNCTUATION_ONES})`, "gmu")
11533
11585
  ];
11534
11586
  static ATTRIBUTE_NAME_OF_TARGET_HTML_ELEMENTS = "data-yda-normalize_spaces_in_cjk";
@@ -13701,10 +13753,10 @@ exports["default"] = ECMA_ScriptSpecialist;
13701
13753
 
13702
13754
  /***/ }),
13703
13755
 
13704
- /***/ "./ThirdPartySolutionsSpecialists/ESLintLinterSpecialist.ts":
13705
- /*!******************************************************************!*\
13706
- !*** ./ThirdPartySolutionsSpecialists/ESLintLinterSpecialist.ts ***!
13707
- \******************************************************************/
13756
+ /***/ "./ThirdPartySolutionsSpecialists/ESLintSpecialist.ts":
13757
+ /*!************************************************************!*\
13758
+ !*** ./ThirdPartySolutionsSpecialists/ESLintSpecialist.ts ***!
13759
+ \************************************************************/
13708
13760
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
13709
13761
 
13710
13762
 
@@ -13716,7 +13768,7 @@ const path_1 = __importDefault(__webpack_require__(/*! path */ "path"));
13716
13768
  const fs_1 = __importDefault(__webpack_require__(/*! fs */ "fs"));
13717
13769
  const es_extensions_nodejs_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions-nodejs */ "@yamato-daiwa/es-extensions-nodejs");
13718
13770
  const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
13719
- class ESLintLinterSpecialist {
13771
+ class ESLintSpecialist {
13720
13772
  static SUPPORTED_CONFIGURATION_FILES_NAMES_WITH_EXTENSIONS = [
13721
13773
  "eslint.config.js",
13722
13774
  "eslint.config.mjs",
@@ -13727,7 +13779,7 @@ class ESLintLinterSpecialist {
13727
13779
  ];
13728
13780
  static generateExcludingGlobSelectorsOfIgnoredFiles(consumingProjectRootDirectoryAbsolutePath) {
13729
13781
  let configurationFileContent;
13730
- for (const potentialConfigurationFileNameWithExtension of ESLintLinterSpecialist.SUPPORTED_CONFIGURATION_FILES_NAMES_WITH_EXTENSIONS) {
13782
+ for (const potentialConfigurationFileNameWithExtension of ESLintSpecialist.SUPPORTED_CONFIGURATION_FILES_NAMES_WITH_EXTENSIONS) {
13731
13783
  try {
13732
13784
  configurationFileContent = fs_1.default.readFileSync(es_extensions_nodejs_1.ImprovedPath.joinPathSegments([
13733
13785
  consumingProjectRootDirectoryAbsolutePath,
@@ -13757,10 +13809,7 @@ class ESLintLinterSpecialist {
13757
13809
  });
13758
13810
  return [];
13759
13811
  }
13760
- const filesIgnoringPatternsRawExpression = (0, es_extensions_1.getMatchingWithFirstRegularExpressionCapturingGroup)({
13761
- targetString: configurationFileContent,
13762
- regularExpression: /ignores:\s*(?<array>\[(?:.|\s)+?\])/gu
13763
- });
13812
+ const filesIgnoringPatternsRawExpression = (0, es_extensions_1.getMatchingWithFirstRegularExpressionCapturingGroup)(configurationFileContent, /ignores:\s*(?<array>\[(?:.|\s)+?\])/gu);
13764
13813
  if ((0, es_extensions_1.isNull)(filesIgnoringPatternsRawExpression)) {
13765
13814
  return [];
13766
13815
  }
@@ -13816,7 +13865,7 @@ class ESLintLinterSpecialist {
13816
13865
  });
13817
13866
  }
13818
13867
  }
13819
- exports["default"] = ESLintLinterSpecialist;
13868
+ exports["default"] = ESLintSpecialist;
13820
13869
 
13821
13870
 
13822
13871
  /***/ }),
@@ -13845,10 +13894,7 @@ class PugPreProcessorSpecialist {
13845
13894
  static defineIndentString(sourceCode) {
13846
13895
  for (const sourceCodeLine of (0, es_extensions_1.explodeStringToLines)({ targetString: sourceCode, mustIgnoreCarriageReturn: true })) {
13847
13896
  /* [ Fiddle ] https://regex101.com/r/yV0TNG/1 */
13848
- const indentString = (0, es_extensions_1.getMatchingWithFirstRegularExpressionCapturingGroup)({
13849
- targetString: sourceCodeLine,
13850
- regularExpression: /^(?<indent> +|\t)\S/gmu
13851
- });
13897
+ const indentString = (0, es_extensions_1.getMatchingWithFirstRegularExpressionCapturingGroup)(sourceCodeLine, /^(?<indent> +|\t)\S/gmu);
13852
13898
  if ((0, es_extensions_1.isNotNull)(indentString)) {
13853
13899
  return indentString;
13854
13900
  }
@@ -15092,7 +15138,7 @@ class VinylFileClass extends vinyl_1.default {
15092
15138
  * `this.contents` is either `null` or `never` and even `isArbitraryObject` type guard does not assure TypeScript. */
15093
15139
  /* @ts-ignore: TS2358 (See above) */
15094
15140
  return (0, es_extensions_1.isNull)(this.contents) || ((0, es_extensions_1.isArbitraryObject)(this.contents) && !(this.contents instanceof Buffer)) ?
15095
- /* eslint-disable @typescript-eslint/no-unsafe-call */
15141
+ /* eslint-disable @typescript-eslint/no-unsafe-call */
15096
15142
  /* @ts-ignore: TS2339 (See ※ explanation) */
15097
15143
  "" : this.contents.toString();
15098
15144
  /* eslint-enable @typescript-eslint/no-unsafe-call */
@@ -15574,7 +15620,7 @@ function revisionHash(data) {
15574
15620
  \***********************/
15575
15621
  /***/ ((module) => {
15576
15622
 
15577
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@yamato-daiwa/automation","version":"0.5.0-alpha.3","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":"2.8.0","@typescript-eslint/eslint-plugin":"8.8.0","@typescript-eslint/parser":"8.8.0","@vue/compiler-sfc":"3.4.27","@webdiscus/pug-loader":"2.11.0","@yamato-daiwa/es-extensions":"1.8.0-alpha.2","@yamato-daiwa/es-extensions-nodejs":"1.8.0-alpha.1","@yamato-daiwa/style_guides":"0.3.0-alpha.8","autoprefixer":"10.4.19","browser-sync":"3.0.2","css-loader":"7.1.2","cssnano":"7.0.2","eslint":"9.12.0","eslint-plugin-import":"2.31.0","eslint-plugin-n":"17.10.3","eslint-plugin-react":"7.37.1","eslint-plugin-vue":"9.28.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":"7.0.3","@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.5.4","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"}}');
15623
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@yamato-daiwa/automation","version":"0.5.0-alpha.5","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.0.0"},"bin":{"yda":"Executable"},"files":["EntryPoint.js"],"dependencies":{"@eslint-community/eslint-plugin-eslint-comments":"4.4.0","@stylistic/eslint-plugin":"2.9.0","@typescript-eslint/eslint-plugin":"8.10.0","@typescript-eslint/parser":"8.10.0","@vue/compiler-sfc":"3.4.27","@webdiscus/pug-loader":"2.11.0","@yamato-daiwa/es-extensions":"1.8.0-alpha.6","@yamato-daiwa/es-extensions-nodejs":"1.8.0-alpha.5","@yamato-daiwa/style_guides":"0.3.0-alpha.12","autoprefixer":"10.4.19","browser-sync":"3.0.2","css-loader":"7.1.2","cssnano":"7.0.2","eslint":"9.13.0","eslint-plugin-import":"2.31.0","eslint-plugin-n":"17.11.1","eslint-plugin-react":"7.37.1","eslint-plugin-vue":"9.29.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.95.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":"7.0.3","@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.6.3","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"}}');
15578
15624
 
15579
15625
  /***/ })
15580
15626
 
package/Executable CHANGED
@@ -1,5 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- require("./EntryPoint").
4
- default.
5
- interpretAndExecuteConsoleCommand(process.argv);
3
+ require("./EntryPoint");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamato-daiwa/automation",
3
- "version": "0.5.0-alpha.3",
3
+ "version": "0.5.0-alpha.5",
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",
@@ -10,7 +10,7 @@
10
10
  "typescript"
11
11
  ],
12
12
  "engines": {
13
- "node": ">=18.18.0"
13
+ "node": ">=18.0.0"
14
14
  },
15
15
  "bin": {
16
16
  "yda": "Executable"
@@ -19,23 +19,24 @@
19
19
  "EntryPoint.js"
20
20
  ],
21
21
  "dependencies": {
22
- "@stylistic/eslint-plugin": "2.8.0",
23
- "@typescript-eslint/eslint-plugin": "8.8.0",
24
- "@typescript-eslint/parser": "8.8.0",
22
+ "@eslint-community/eslint-plugin-eslint-comments": "4.4.0",
23
+ "@stylistic/eslint-plugin": "2.9.0",
24
+ "@typescript-eslint/eslint-plugin": "8.10.0",
25
+ "@typescript-eslint/parser": "8.10.0",
25
26
  "@vue/compiler-sfc": "3.4.27",
26
27
  "@webdiscus/pug-loader": "2.11.0",
27
- "@yamato-daiwa/es-extensions": "1.8.0-alpha.2",
28
- "@yamato-daiwa/es-extensions-nodejs": "1.8.0-alpha.1",
29
- "@yamato-daiwa/style_guides": "0.3.0-alpha.8",
28
+ "@yamato-daiwa/es-extensions": "1.8.0-alpha.6",
29
+ "@yamato-daiwa/es-extensions-nodejs": "1.8.0-alpha.5",
30
+ "@yamato-daiwa/style_guides": "0.3.0-alpha.12",
30
31
  "autoprefixer": "10.4.19",
31
32
  "browser-sync": "3.0.2",
32
33
  "css-loader": "7.1.2",
33
34
  "cssnano": "7.0.2",
34
- "eslint": "9.12.0",
35
+ "eslint": "9.13.0",
35
36
  "eslint-plugin-import": "2.31.0",
36
- "eslint-plugin-n": "17.10.3",
37
+ "eslint-plugin-n": "17.11.1",
37
38
  "eslint-plugin-react": "7.37.1",
38
- "eslint-plugin-vue": "9.28.0",
39
+ "eslint-plugin-vue": "9.29.0",
39
40
  "eslint-plugin-vue-pug": "0.6.2",
40
41
  "fork-ts-checker-webpack-plugin": "7.3.0",
41
42
  "gulp": "4.0.2",
@@ -69,7 +70,7 @@
69
70
  "vue-loader": "17.4.2",
70
71
  "vue-style-loader": "4.1.3",
71
72
  "w3c-html-validator": "0.8.1",
72
- "webpack": "5.91.0",
73
+ "webpack": "5.95.0",
73
74
  "webpack-node-externals": "3.0.0",
74
75
  "webpack-stream": "7.0.0",
75
76
  "worker-loader": "3.0.8",
@@ -96,7 +97,7 @@
96
97
  "@types/webpack-stream": "3.2.15",
97
98
  "eslint-webpack-plugin": "4.2.0",
98
99
  "ts-node": "10.9.2",
99
- "typescript": "5.5.4",
100
+ "typescript": "5.6.3",
100
101
  "webpack-cli": "5.1.4"
101
102
  },
102
103
  "scripts": {