@yamato-daiwa/automation 0.5.0-alpha.2 → 0.5.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/EntryPoint.js +192 -79
  2. package/Executable +2 -4
  3. package/package.json +16 -15
package/EntryPoint.js CHANGED
@@ -13,33 +13,40 @@ 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
@@ -52,7 +59,8 @@ var ApplicationConsoleLineInterface;
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":
@@ -3177,12 +3217,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3177
3217
  return (mod && mod.__esModule) ? mod : { "default": mod };
3178
3218
  };
3179
3219
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3220
+ exports["default"] = mustProvideIncrementalProjectBuilding;
3180
3221
  const ConsumingProjectBuildingModes_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/Common/Restrictions/ConsumingProjectBuildingModes */ "./ProjectBuilding/Common/Restrictions/ConsumingProjectBuildingModes.ts"));
3181
3222
  function mustProvideIncrementalProjectBuilding(consumingProjectBuildingModes) {
3182
3223
  return consumingProjectBuildingModes === ConsumingProjectBuildingModes_1.default.staticPreview ||
3183
3224
  consumingProjectBuildingModes === ConsumingProjectBuildingModes_1.default.localDevelopment;
3184
3225
  }
3185
- exports["default"] = mustProvideIncrementalProjectBuilding;
3186
3226
 
3187
3227
 
3188
3228
  /***/ }),
@@ -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],
@@ -7299,7 +7339,7 @@ const ECMA_ScriptSourceFilesWatcher_1 = __importDefault(__webpack_require__(/*!
7299
7339
  /* ─── Superclass ─────────────────────────────────────────────────────────────────────────────────────────────────── */
7300
7340
  const LinterLikeTaskExecutor_1 = __importDefault(__webpack_require__(/*! @ProjectBuilding/Common/TasksExecutors/GulpStreamsBased/LinterLikeTaskExecutor */ "./ProjectBuilding/Common/TasksExecutors/GulpStreamsBased/LinterLikeTaskExecutor.ts"));
7301
7341
  /* ─── Third-party Solutions Specialists ──────────────────────────────────────────────────────────────────────────── */
7302
- const ESLintLinterSpecialist_1 = __importDefault(__webpack_require__(/*! @ThirdPartySolutionsSpecialists/ESLintLinterSpecialist */ "./ThirdPartySolutionsSpecialists/ESLintLinterSpecialist.ts"));
7342
+ const ESLintSpecialist_1 = __importDefault(__webpack_require__(/*! @ThirdPartySolutionsSpecialists/ESLintSpecialist */ "./ThirdPartySolutionsSpecialists/ESLintSpecialist.ts"));
7303
7343
  /* ─── Applied Utils ──────────────────────────────────────────────────────────────────────────────────────────────── */
7304
7344
  const eslint_1 = __webpack_require__(/*! eslint */ "eslint");
7305
7345
  const GulpStreamModifier_1 = __importDefault(__webpack_require__(/*! @Utils/GulpStreamModifier */ "./Utils/GulpStreamModifier.ts"));
@@ -7442,13 +7482,9 @@ class ECMA_ScriptSourceCodeLinter extends LinterLikeTaskExecutor_1.default {
7442
7482
  }),
7443
7483
  es_extensions_nodejs_1.ImprovedGlob.buildExcludingOfDirectoryWithSubdirectoriesGlobSelector(es_extensions_nodejs_1.ImprovedPath.joinPathSegments([projectBuildingMasterConfigRepresentative.consumingProjectRootDirectoryAbsolutePath, "node_modules"])),
7444
7484
  /* [ ESLint theory ]
7445
- * As default, ESLint finds the configuration file at `process.cwd()` and detects the `.eslintignore` file there.
7446
- * However, because of the integration with Gulp, the files specified in `.eslintignore` must be additionally
7447
- * excluded from `targetFilesGlobSelectors`. */
7448
- ...ESLintLinterSpecialist_1.default.getGlobSelectorsOfExcludedFiles({
7449
- consumingProjectRootDirectoryAbsolutePath: projectBuildingMasterConfigRepresentative.consumingProjectRootDirectoryAbsolutePath,
7450
- mustSkipNodeModulesDirectory: true
7451
- })
7485
+ * In there are files and/or directories ignored in ESLint configuration they also must be excluded from
7486
+ * the Gulp pipelines otherwise ESLint will emit the warning for ignored files. */
7487
+ ...ESLintSpecialist_1.default.generateExcludingGlobSelectorsOfIgnoredFiles(projectBuildingMasterConfigRepresentative.consumingProjectRootDirectoryAbsolutePath)
7452
7488
  ],
7453
7489
  logging: {
7454
7490
  pathsOfFilesWillBeProcessed: ecmaScriptLogicProcessingSettingsRepresentative.loggingSettings.filesPaths,
@@ -7854,7 +7890,7 @@ class WebpackConfigGenerator {
7854
7890
  const willPugLibraryBeBuilt = entryPointsGroupSettings.distributing?.exposingOfExportsFromEntryPoints.mustExpose === true &&
7855
7891
  entryPointsGroupSettings.targetRuntime.type === SupportedECMA_ScriptRuntimesTypes.pug;
7856
7892
  const distributingSettings = entryPointsGroupSettings.distributing;
7857
- // entryPointsGroupSettings.directoriesAliasesAndCorrespondingAbsolutePathsMap
7893
+ // TODO Is entryPointsGroupSettings.directoriesAliasesAndCorrespondingAbsolutePathsMap related
7858
7894
  return {
7859
7895
  name: entryPointsGroupSettings.ID,
7860
7896
  /* [ Webpack theory ] In this case, path separators must be operating system dependent, otherwise following error
@@ -11532,7 +11568,7 @@ class SpacesNormalizerForCJK_Text {
11532
11568
  /* [ Regular expression fiddle ] https://regex101.com/r/tPn28I/1 */
11533
11569
  static ANY_CJK_CHARACTER_INCLUDING_PUNCTUATION_ONES = "[\\u3000-\\u303f\\u3040-\\u309f\\u30a0-\\u30ff\\uff00-\\uffef\\u4e00-\\u9fff\\uac00-\\ud7af]";
11534
11570
  static extraSpaceSurroundedByCharactersDetectingPatterns = [
11535
- new RegExp(`(${SpacesNormalizerForCJK_Text.ANY_CJK_CHARACTER_INCLUDING_PUNCTUATION_ONES}) ` +
11571
+ new RegExp(`(${SpacesNormalizerForCJK_Text.ANY_CJK_CHARACTER_INCLUDING_PUNCTUATION_ONES})\\r?\\n\\x20+` +
11536
11572
  `(${SpacesNormalizerForCJK_Text.ANY_CJK_CHARACTER_INCLUDING_PUNCTUATION_ONES})`, "gmu")
11537
11573
  ];
11538
11574
  static ATTRIBUTE_NAME_OF_TARGET_HTML_ELEMENTS = "data-yda-normalize_spaces_in_cjk";
@@ -13705,10 +13741,10 @@ exports["default"] = ECMA_ScriptSpecialist;
13705
13741
 
13706
13742
  /***/ }),
13707
13743
 
13708
- /***/ "./ThirdPartySolutionsSpecialists/ESLintLinterSpecialist.ts":
13709
- /*!******************************************************************!*\
13710
- !*** ./ThirdPartySolutionsSpecialists/ESLintLinterSpecialist.ts ***!
13711
- \******************************************************************/
13744
+ /***/ "./ThirdPartySolutionsSpecialists/ESLintSpecialist.ts":
13745
+ /*!************************************************************!*\
13746
+ !*** ./ThirdPartySolutionsSpecialists/ESLintSpecialist.ts ***!
13747
+ \************************************************************/
13712
13748
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
13713
13749
 
13714
13750
 
@@ -13716,28 +13752,108 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
13716
13752
  return (mod && mod.__esModule) ? mod : { "default": mod };
13717
13753
  };
13718
13754
  Object.defineProperty(exports, "__esModule", ({ value: true }));
13719
- const fs_1 = __importDefault(__webpack_require__(/*! fs */ "fs"));
13720
13755
  const path_1 = __importDefault(__webpack_require__(/*! path */ "path"));
13756
+ const fs_1 = __importDefault(__webpack_require__(/*! fs */ "fs"));
13721
13757
  const es_extensions_nodejs_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions-nodejs */ "@yamato-daiwa/es-extensions-nodejs");
13722
- class ESLintLinterSpecialist {
13723
- static IGNORING_DIRECTIVES_DEFAULT_FILE_NAME_WITH_EXTENSION = ".eslintignore";
13724
- static getGlobSelectorsOfExcludedFiles(compoundParameter) {
13725
- return [
13726
- ...ESLintLinterSpecialist.getGlobSelectorsOfExcludedFilesFromIgnoringDirectiveFile(compoundParameter)
13727
- ];
13728
- }
13729
- static getGlobSelectorsOfExcludedFilesFromIgnoringDirectiveFile({ consumingProjectRootDirectoryAbsolutePath, mustSkipNodeModulesDirectory }) {
13730
- return fs_1.default.
13731
- readFileSync(path_1.default.join(process.cwd(), ESLintLinterSpecialist.IGNORING_DIRECTIVES_DEFAULT_FILE_NAME_WITH_EXTENSION), "utf8").
13732
- split(/\r?\n/u).
13733
- filter((line) => (/\w/u).test(line)).
13734
- filter((line) => !(mustSkipNodeModulesDirectory && line.includes("node_modules"))).
13735
- map((relativePathBasedGlob) => (path_1.default.parse(relativePathBasedGlob).ext.length === 0 ?
13736
- es_extensions_nodejs_1.ImprovedGlob.buildExcludingOfDirectoryWithSubdirectoriesGlobSelector(es_extensions_nodejs_1.ImprovedPath.joinPathSegments([consumingProjectRootDirectoryAbsolutePath, relativePathBasedGlob], { alwaysForwardSlashSeparators: true })) :
13737
- es_extensions_nodejs_1.ImprovedGlob.includingGlobSelectorToExcludingOne(es_extensions_nodejs_1.ImprovedPath.joinPathSegments([consumingProjectRootDirectoryAbsolutePath, relativePathBasedGlob], { alwaysForwardSlashSeparators: true }))));
13758
+ const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
13759
+ class ESLintSpecialist {
13760
+ static SUPPORTED_CONFIGURATION_FILES_NAMES_WITH_EXTENSIONS = [
13761
+ "eslint.config.js",
13762
+ "eslint.config.mjs",
13763
+ "eslint.config.cjs",
13764
+ "eslint.config.ts",
13765
+ "eslint.config.mts",
13766
+ "eslint.config.cts"
13767
+ ];
13768
+ static generateExcludingGlobSelectorsOfIgnoredFiles(consumingProjectRootDirectoryAbsolutePath) {
13769
+ let configurationFileContent;
13770
+ for (const potentialConfigurationFileNameWithExtension of ESLintSpecialist.SUPPORTED_CONFIGURATION_FILES_NAMES_WITH_EXTENSIONS) {
13771
+ try {
13772
+ configurationFileContent = fs_1.default.readFileSync(es_extensions_nodejs_1.ImprovedPath.joinPathSegments([
13773
+ consumingProjectRootDirectoryAbsolutePath,
13774
+ potentialConfigurationFileNameWithExtension
13775
+ ], { alwaysForwardSlashSeparators: true }), "utf-8");
13776
+ break;
13777
+ }
13778
+ catch (error) {
13779
+ if ((0, es_extensions_nodejs_1.isErrnoException)(error) && error.code === "ENOENT") {
13780
+ continue;
13781
+ }
13782
+ es_extensions_1.Logger.logError({
13783
+ mustOutputIf: true,
13784
+ errorType: "FileReadingFailedError",
13785
+ title: "File Reading Failed",
13786
+ description: `Unable to read the file ${potentialConfigurationFileNameWithExtension} while this file seems to be exist`,
13787
+ occurrenceLocation: "ESLintLinterSpecialist.getGlobSelectorsOfExcludedFiles(compoundParameter)",
13788
+ caughtError: error
13789
+ });
13790
+ }
13791
+ }
13792
+ if ((0, es_extensions_1.isUndefined)(configurationFileContent)) {
13793
+ es_extensions_1.Logger.logWarning({
13794
+ title: "No Files Will be Ignored by ESLint",
13795
+ description: "ESLint configuration file not found thus unable to decide which files must be ignored.",
13796
+ occurrenceLocation: "className.methodName(compoundParameter)"
13797
+ });
13798
+ return [];
13799
+ }
13800
+ const filesIgnoringPatternsRawExpression = (0, es_extensions_1.getMatchingWithFirstRegularExpressionCapturingGroup)(configurationFileContent, /ignores:\s*(?<array>\[(?:.|\s)+?\])/gu);
13801
+ if ((0, es_extensions_1.isNull)(filesIgnoringPatternsRawExpression)) {
13802
+ return [];
13803
+ }
13804
+ let filesIgnoringPatterns;
13805
+ try {
13806
+ filesIgnoringPatterns = JSON.parse(filesIgnoringPatternsRawExpression.replace("'", "\""));
13807
+ }
13808
+ catch (error) {
13809
+ es_extensions_1.Logger.logError({
13810
+ errorType: es_extensions_1.InvalidExternalDataError.NAME,
13811
+ title: es_extensions_1.InvalidExternalDataError.localization.defaultTitle,
13812
+ description: "Invalid ignoring patters in ESLint configuration.",
13813
+ occurrenceLocation: "ESLintLinterSpecialist.getGlobSelectorsOfExcludedFiles(compoundParameter)",
13814
+ caughtError: error
13815
+ });
13816
+ return [];
13817
+ }
13818
+ const processingResult = es_extensions_1.RawObjectDataProcessor.process(filesIgnoringPatterns, {
13819
+ subtype: es_extensions_1.RawObjectDataProcessor.ObjectSubtypes.indexedArray,
13820
+ nameForLogging: "ESLint ignoring patterns",
13821
+ element: {
13822
+ type: String
13823
+ }
13824
+ });
13825
+ if (processingResult.rawDataIsInvalid) {
13826
+ es_extensions_1.Logger.logError({
13827
+ errorType: es_extensions_1.InvalidExternalDataError.NAME,
13828
+ title: es_extensions_1.InvalidExternalDataError.localization.defaultTitle,
13829
+ description: "Invalid ignoring patters in ESLint configuration.\n" +
13830
+ es_extensions_1.RawObjectDataProcessor.formatValidationErrorsList(processingResult.validationErrorsMessages),
13831
+ occurrenceLocation: "ESLintLinterSpecialist.getGlobSelectorsOfExcludedFiles(compoundParameter)"
13832
+ });
13833
+ return [];
13834
+ }
13835
+ /* [ Theory ] Known Patterns from ESLint Documentation & Experiments
13836
+ * 1. ".config/*": ignore subdirectory ".config" in directory below root, but not ".config" recursively
13837
+ * 2. ".config/": equivalent of 1
13838
+ * 2. ".config": equivalent of 1
13839
+ * 3. "**/.config/": recursive ignoring of ".config"
13840
+ * 4. config.js - ignoring of specific file
13841
+ * See https://eslint.org/docs/latest/use/configure/ignore#ignoring-files
13842
+ * */
13843
+ return processingResult.processedData.
13844
+ /* [ Theory ]
13845
+ * ESLint ignores "node_modules" as default, so it must be ignored whatever it has been specified in ESLint
13846
+ * configuration file or no. */
13847
+ filter((ignoredFilesPattern) => !ignoredFilesPattern.includes("node_module")).
13848
+ map((ignoredFilesPattern) => {
13849
+ if (ignoredFilesPattern.startsWith("**/")) {
13850
+ return es_extensions_nodejs_1.ImprovedGlob.buildExcludingOfDirectoryWithSubdirectoriesGlobSelector(path_1.default.join(consumingProjectRootDirectoryAbsolutePath, ignoredFilesPattern.replace(/^\*\*\//gu, "")));
13851
+ }
13852
+ return es_extensions_nodejs_1.ImprovedGlob.buildExcludingOfDirectoryWithSubdirectoriesGlobSelector(path_1.default.join(consumingProjectRootDirectoryAbsolutePath, ignoredFilesPattern.replace(/\*/gu, "")));
13853
+ });
13738
13854
  }
13739
13855
  }
13740
- exports["default"] = ESLintLinterSpecialist;
13856
+ exports["default"] = ESLintSpecialist;
13741
13857
 
13742
13858
 
13743
13859
  /***/ }),
@@ -13766,10 +13882,7 @@ class PugPreProcessorSpecialist {
13766
13882
  static defineIndentString(sourceCode) {
13767
13883
  for (const sourceCodeLine of (0, es_extensions_1.explodeStringToLines)({ targetString: sourceCode, mustIgnoreCarriageReturn: true })) {
13768
13884
  /* [ Fiddle ] https://regex101.com/r/yV0TNG/1 */
13769
- const indentString = (0, es_extensions_1.getMatchingWithFirstRegularExpressionCapturingGroup)({
13770
- targetString: sourceCodeLine,
13771
- regularExpression: /^(?<indent> +|\t)\S/gmu
13772
- });
13885
+ const indentString = (0, es_extensions_1.getMatchingWithFirstRegularExpressionCapturingGroup)(sourceCodeLine, /^(?<indent> +|\t)\S/gmu);
13773
13886
  if ((0, es_extensions_1.isNotNull)(indentString)) {
13774
13887
  return indentString;
13775
13888
  }
@@ -14034,6 +14147,7 @@ exports["default"] = WebpackSpecialist;
14034
14147
 
14035
14148
 
14036
14149
  Object.defineProperty(exports, "__esModule", ({ value: true }));
14150
+ exports["default"] = getExpectedToBeExistingMapValue;
14037
14151
  const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
14038
14152
  function getExpectedToBeExistingMapValue(targetMap, targetKey) {
14039
14153
  const targetValue = targetMap.get(targetKey);
@@ -14046,7 +14160,6 @@ function getExpectedToBeExistingMapValue(targetMap, targetKey) {
14046
14160
  }
14047
14161
  return targetValue;
14048
14162
  }
14049
- exports["default"] = getExpectedToBeExistingMapValue;
14050
14163
 
14051
14164
 
14052
14165
  /***/ }),
@@ -14095,11 +14208,11 @@ exports["default"] = Stopwatch;
14095
14208
 
14096
14209
 
14097
14210
  Object.defineProperty(exports, "__esModule", ({ value: true }));
14211
+ exports["default"] = replaceLinesSeparators;
14098
14212
  const es_extensions_1 = __webpack_require__(/*! @yamato-daiwa/es-extensions */ "@yamato-daiwa/es-extensions");
14099
14213
  function replaceLinesSeparators(targetString, lineSeparators) {
14100
14214
  return (0, es_extensions_1.explodeStringToLines)({ targetString, mustIgnoreCarriageReturn: false }).join(lineSeparators);
14101
14215
  }
14102
- exports["default"] = replaceLinesSeparators;
14103
14216
 
14104
14217
 
14105
14218
  /***/ }),
@@ -15032,11 +15145,11 @@ exports["default"] = VinylFileClass;
15032
15145
 
15033
15146
 
15034
15147
  Object.defineProperty(exports, "__esModule", ({ value: true }));
15148
+ exports["default"] = createImmediatelyEndingEmptyStream;
15035
15149
  const stream_1 = __webpack_require__(/*! stream */ "stream");
15036
15150
  function createImmediatelyEndingEmptyStream() {
15037
15151
  return () => new stream_1.PassThrough().end();
15038
15152
  }
15039
- exports["default"] = createImmediatelyEndingEmptyStream;
15040
15153
 
15041
15154
 
15042
15155
  /***/ }),
@@ -15049,6 +15162,7 @@ exports["default"] = createImmediatelyEndingEmptyStream;
15049
15162
 
15050
15163
 
15051
15164
  Object.defineProperty(exports, "__esModule", ({ value: true }));
15165
+ exports["default"] = extractStringifiedContentFromVinylFile;
15052
15166
  function extractStringifiedContentFromVinylFile(targetFile) {
15053
15167
  if (targetFile.contents === null) {
15054
15168
  return "";
@@ -15058,7 +15172,6 @@ function extractStringifiedContentFromVinylFile(targetFile) {
15058
15172
  }
15059
15173
  return targetFile.contents.toString();
15060
15174
  }
15061
- exports["default"] = extractStringifiedContentFromVinylFile;
15062
15175
 
15063
15176
 
15064
15177
  /***/ }),
@@ -15495,7 +15608,7 @@ function revisionHash(data) {
15495
15608
  \***********************/
15496
15609
  /***/ ((module) => {
15497
15610
 
15498
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@yamato-daiwa/automation","version":"0.5.0-alpha.2","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.8.0-alpha.2","@yamato-daiwa/es-extensions-nodejs":"1.8.0-alpha.1","@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"}}');
15611
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@yamato-daiwa/automation","version":"0.5.0-alpha.4","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":"../../YamatoDaiwaES_Extensions/CoreLibrary/Package","@yamato-daiwa/es-extensions-nodejs":"../../YamatoDaiwaES_Extensions/NodeJS/Package","@yamato-daiwa/style_guides":"0.3.0-alpha.9","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.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.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"}}');
15499
15612
 
15500
15613
  /***/ })
15501
15614
 
package/Executable CHANGED
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env node
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.2",
3
+ "version": "0.5.0-alpha.4",
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": "1.7.2",
23
- "@typescript-eslint/eslint-plugin": "7.12.0",
24
- "@typescript-eslint/parser": "7.12.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.2.7",
28
+ "@yamato-daiwa/es-extensions": "../../YamatoDaiwaES_Extensions/CoreLibrary/Package",
29
+ "@yamato-daiwa/es-extensions-nodejs": "../../YamatoDaiwaES_Extensions/NodeJS/Package",
30
+ "@yamato-daiwa/style_guides": "0.3.0-alpha.10",
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": "8.57.0",
35
- "eslint-plugin-import": "2.29.1",
36
- "eslint-plugin-node": "11.1.0",
37
- "eslint-plugin-react": "7.34.2",
38
- "eslint-plugin-vue": "9.26.0",
35
+ "eslint": "9.13.0",
36
+ "eslint-plugin-import": "2.31.0",
37
+ "eslint-plugin-n": "17.11.1",
38
+ "eslint-plugin-react": "7.37.1",
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",
@@ -81,7 +82,7 @@
81
82
  "@types/gulp": "4.0.17",
82
83
  "@types/gulp-html-prettify": "0.0.5",
83
84
  "@types/gulp-if": "3.0.4",
84
- "@types/gulp-imagemin": "8.0.6",
85
+ "@types/gulp-imagemin": "7.0.3",
85
86
  "@types/gulp-nodemon": "0.0.37",
86
87
  "@types/gulp-plumber": "0.0.37",
87
88
  "@types/gulp-postcss": "8.0.6",
@@ -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.4.5",
100
+ "typescript": "5.6.3",
100
101
  "webpack-cli": "5.1.4"
101
102
  },
102
103
  "scripts": {