@yamato-daiwa/automation 0.0.8 → 0.0.9

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 (2) hide show
  1. package/EntryPoint.js +7 -22
  2. package/package.json +1 -2
package/EntryPoint.js CHANGED
@@ -4156,7 +4156,6 @@ const webpack_1 = __importDefault(__webpack_require__(/*! webpack */ "webpack"))
4156
4156
  const vue_loader_1 = __webpack_require__(/*! vue-loader */ "vue-loader");
4157
4157
  const fork_ts_checker_webpack_plugin_1 = __importDefault(__webpack_require__(/*! fork-ts-checker-webpack-plugin */ "fork-ts-checker-webpack-plugin"));
4158
4158
  const eslint_webpack_plugin_1 = __importDefault(__webpack_require__(/*! eslint-webpack-plugin */ "eslint-webpack-plugin"));
4159
- const typescript_declaration_webpack_plugin_1 = __importDefault(__webpack_require__(/*! typescript-declaration-webpack-plugin */ "typescript-declaration-webpack-plugin"));
4160
4159
  const webpack_node_externals_1 = __importDefault(__webpack_require__(/*! webpack-node-externals */ "webpack-node-externals"));
4161
4160
  /* --- General utils ------------------------------------------------------------------------------------------------ */
4162
4161
  const path_1 = __importDefault(__webpack_require__(/*! path */ "path"));
@@ -4207,11 +4206,11 @@ class WebpackConfigGenerator {
4207
4206
  return null;
4208
4207
  }
4209
4208
  const webpackPublicPath = this.computePublicPathIfPossible(entryPointsGroupSettings);
4210
- const isBrowserJS_LibraryWillBeBuilt = entryPointsGroupSettings.distributing?.exposingOfExportsFromEntryPoints.mustExpose === true &&
4209
+ const willBrowserJS_LibraryBeBuilt = entryPointsGroupSettings.distributing?.exposingOfExportsFromEntryPoints.mustExpose === true &&
4211
4210
  entryPointsGroupSettings.targetRuntime.type === SupportedECMA_ScriptRuntimesTypes.browser;
4212
- const isNodeJS_LibraryWillBeBuilt = entryPointsGroupSettings.distributing?.exposingOfExportsFromEntryPoints.mustExpose === true &&
4211
+ const willNodeJS_LibraryBeBuilt = entryPointsGroupSettings.distributing?.exposingOfExportsFromEntryPoints.mustExpose === true &&
4213
4212
  entryPointsGroupSettings.targetRuntime.type === SupportedECMA_ScriptRuntimesTypes.nodeJS;
4214
- const isPugLibraryWillBeBuilt = entryPointsGroupSettings.distributing?.exposingOfExportsFromEntryPoints.mustExpose === true &&
4213
+ const willPugLibraryBeBuilt = entryPointsGroupSettings.distributing?.exposingOfExportsFromEntryPoints.mustExpose === true &&
4215
4214
  entryPointsGroupSettings.targetRuntime.type === SupportedECMA_ScriptRuntimesTypes.pug;
4216
4215
  return {
4217
4216
  name: entryPointsGroupSettings.ID,
@@ -4256,14 +4255,14 @@ class WebpackConfigGenerator {
4256
4255
  case SupportedECMA_ScriptRuntimesTypes.pug: return "umd";
4257
4256
  }
4258
4257
  })(),
4259
- ...isNodeJS_LibraryWillBeBuilt || isPugLibraryWillBeBuilt ? {
4258
+ ...willNodeJS_LibraryBeBuilt || willPugLibraryBeBuilt ? {
4260
4259
  name: entryPointsGroupSettings.distributing.exposingOfExportsFromEntryPoints.namespace
4261
4260
  } : null
4262
4261
  }
4263
4262
  } : null,
4264
- ...isPugLibraryWillBeBuilt ? { globalObject: "globalThis" } : null
4263
+ ...willPugLibraryBeBuilt ? { globalObject: "globalThis" } : null
4265
4264
  },
4266
- ...isBrowserJS_LibraryWillBeBuilt ? { experiments: { outputModule: true } } : null,
4265
+ ...willBrowserJS_LibraryBeBuilt ? { experiments: { outputModule: true } } : null,
4267
4266
  mode: this.masterConfigRepresentative.isDevelopmentBuildingMode ? "development" : "production",
4268
4267
  watch: this.masterConfigRepresentative.isDevelopmentBuildingMode,
4269
4268
  devtool: this.masterConfigRepresentative.isDevelopmentBuildingMode ? "eval" : false,
@@ -4424,10 +4423,7 @@ class WebpackConfigGenerator {
4424
4423
  extensions: ["js", "ts", "vue"],
4425
4424
  failOnError: this.masterConfigRepresentative.isProductionBuildingMode,
4426
4425
  failOnWarning: this.masterConfigRepresentative.isProductionBuildingMode
4427
- }),
4428
- ...(0, es_extensions_1.isNotUndefined)(entryPointsGroupSettings.distributing) &&
4429
- entryPointsGroupSettings.distributing.typeScriptTypesDeclarations.mustGenerate ?
4430
- [new typescript_declaration_webpack_plugin_1.default({})] : []
4426
+ })
4431
4427
  ],
4432
4428
  optimization: {
4433
4429
  minimize: this.masterConfigRepresentative.isProductionBuildingMode,
@@ -4458,7 +4454,6 @@ class WebpackConfigGenerator {
4458
4454
  return "/";
4459
4455
  }
4460
4456
  return ECMA_ScriptLogicEntryPointsGroupSettings__normalized.ID.replace(ECMA_ScriptLogicEntryPointsGroupSettings__normalized.ID, "/");
4461
- // Return "/";
4462
4457
  }
4463
4458
  static getWebpackEntryObjectRespectiveToSpecifiedEntryPointsGroupSettings({ ECMA_ScriptLogicEntryPointsGroupSettings__normalized, webpackContext }) {
4464
4459
  /* [ Reference ] https://webpack.js.org/configuration/entry-context/#entry */
@@ -7371,16 +7366,6 @@ module.exports = require("node-notifier");
7371
7366
 
7372
7367
  /***/ }),
7373
7368
 
7374
- /***/ "typescript-declaration-webpack-plugin":
7375
- /*!********************************************************!*\
7376
- !*** external "typescript-declaration-webpack-plugin" ***!
7377
- \********************************************************/
7378
- /***/ ((module) => {
7379
-
7380
- module.exports = require("typescript-declaration-webpack-plugin");
7381
-
7382
- /***/ }),
7383
-
7384
7369
  /***/ "vue-loader":
7385
7370
  /*!*****************************!*\
7386
7371
  !*** external "vue-loader" ***!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamato-daiwa/automation",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
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",
@@ -61,7 +61,6 @@
61
61
  "style-loader": "3.3.1",
62
62
  "stylus-loader": "6.2.0",
63
63
  "ts-loader": "9.3.0",
64
- "typescript-declaration-webpack-plugin": "0.2.2",
65
64
  "vinyl": "2.2.1",
66
65
  "vue": "3.2.37",
67
66
  "vue-loader": "17.0.0",