@yamato-daiwa/automation 0.0.9 → 0.0.10

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 +9 -1
  2. package/package.json +6 -6
package/EntryPoint.js CHANGED
@@ -4250,9 +4250,17 @@ class WebpackConfigGenerator {
4250
4250
  type: (() => {
4251
4251
  switch (entryPointsGroupSettings.targetRuntime.type) {
4252
4252
  case SupportedECMA_ScriptRuntimesTypes.browser: return "module";
4253
- case SupportedECMA_ScriptRuntimesTypes.webWorker: return "module";
4254
4253
  case SupportedECMA_ScriptRuntimesTypes.nodeJS: return "commonjs";
4255
4254
  case SupportedECMA_ScriptRuntimesTypes.pug: return "umd";
4255
+ default: {
4256
+ es_extensions_1.Logger.throwErrorAndLog({
4257
+ errorInstance: new es_extensions_1.UnexpectedEventError("The web worker could not be the library, while the computing of 'output.library.type' has been " +
4258
+ "requested"),
4259
+ title: es_extensions_1.UnexpectedEventError.localization.defaultTitle,
4260
+ occurrenceLocation: "webpackConfigGenerator." +
4261
+ "generateSingleWebpackConfigurationIfAtLeastOneTargetEntryPointFileExists(entryPointsGroupSettings)"
4262
+ });
4263
+ }
4256
4264
  }
4257
4265
  })(),
4258
4266
  ...willNodeJS_LibraryBeBuilt || willPugLibraryBeBuilt ? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamato-daiwa/automation",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
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",
@@ -22,20 +22,20 @@
22
22
  "@typescript-eslint/eslint-plugin": "5.30.5",
23
23
  "@typescript-eslint/parser": "5.30.5",
24
24
  "@vue/compiler-sfc": "3.2.37",
25
- "@yamato-daiwa/es-extensions": "1.5.1",
26
- "@yamato-daiwa/es-extensions-nodejs": "1.5.0",
27
- "@yamato-daiwa/style_guides": "0.0.16",
25
+ "@yamato-daiwa/es-extensions": "1.5.2",
26
+ "@yamato-daiwa/es-extensions-nodejs": "1.5.1",
27
+ "@yamato-daiwa/style_guides": "0.0.17",
28
28
  "access-sniff": "3.2.0",
29
29
  "autoprefixer": "10.4.7",
30
30
  "browser-sync": "2.27.10",
31
31
  "cheerio": "1.0.0-rc.1",
32
32
  "css-loader": "6.7.1",
33
- "cssnano": "5.1.10",
33
+ "cssnano": "5.1.12",
34
34
  "eslint": "8.19.0",
35
35
  "eslint-plugin-import": "2.26.0",
36
36
  "eslint-plugin-node": "11.1.0",
37
37
  "eslint-webpack-plugin": "3.1.1",
38
- "fork-ts-checker-webpack-plugin": "7.2.11",
38
+ "fork-ts-checker-webpack-plugin": "7.2.13",
39
39
  "glob": "7.2.0",
40
40
  "gulp": "4.0.2",
41
41
  "gulp-debug": "4.0.0",