@yamato-daiwa/automation 0.8.0 → 0.9.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/EntryPoint.js +35 -29
  2. package/README.md +13 -1
  3. package/package.json +12 -12
package/EntryPoint.js CHANGED
@@ -34,7 +34,7 @@ function revisionHash(data) {
34
34
  \***********************/
35
35
  /***/ ((module) => {
36
36
 
37
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@yamato-daiwa/automation","version":"0.8.0","description":"The project building tool with declarative YAML configuration specializing on Pug, Stylus and TypeScript as source code languages.","keywords":["build","pug","stylus","tool","typescript"],"engines":{"node":">=20.0.0"},"bin":{"yda":"Executable"},"files":["EntryPoint.js"],"dependencies":{"@eslint-community/eslint-plugin-eslint-comments":"4.5.0","@stylistic/eslint-plugin":"5.4.0","@typescript-eslint/eslint-plugin":"8.46.1","@typescript-eslint/parser":"8.46.1","@vue/compiler-sfc":"3.5.18","@webdiscus/pug-loader":"2.11.1","@yamato-daiwa/es-extensions":"1.8.1","@yamato-daiwa/es-extensions-nodejs":"1.8.1","@yamato-daiwa/style_guides":"0.10.1","@yamato-daiwa/universal-reactive-webpack-loader":"0.0.0","autoprefixer":"10.4.21","browser-sync":"3.0.4","css-loader":"7.1.2","cssnano":"7.1.0","dotenv":"17.2.1","eslint":"9.38.0","eslint-plugin-import":"2.32.0","eslint-plugin-n":"17.23.1","eslint-plugin-react":"7.37.5","eslint-plugin-vue":"9.33.0","eslint-plugin-vue-pug":"0.6.2","gulp":"4.0.2","gulp-data":"1.3.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","htmlnano":"2.1.2","imagemin-pngquant":"9.0.2","js-beautify":"1.15.4","json5-loader":"4.0.1","nanoid":"5.1.5","node-html-parser":"7.0.1","node-notifier":"10.0.1","pa11y":"9.0.0","postcss-loader":"8.2.0","postcss-normalize-stylus-compatible-container-query-syntax":"1.0.0","probe-image-size":"7.2.3","pug-lint":"2.7.0","puppeteer":"24.10.0","require-from-string":"2.0.2","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.1","ts-loader":"9.5.2","vinyl":"2.2.1","vnu-jar":"24.10.17","vue-loader":"17.4.2","vue-style-loader":"4.1.3","vue-tsc":"3.0.5","webpack":"5.101.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-if":"3.0.5","@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/js-beautify":"1.14.3","@types/node":"22.15.30","@types/node-notifier":"8.0.5","@types/pa11y":"5.3.7","@types/probe-image-size":"7.2.5","@types/pug":"2.0.10","@types/require-from-string":"1.2.3","@types/vnu-jar":"17.11.2","@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.9.3","webpack-cli":"6.0.1"},"scripts":{"Incremental Development Building":"webpack --mode development","Production Building":"webpack --mode production","Linting":"eslint Source"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/TokugawaTakeshi/Yamato-Daiwa-Automation.git"},"homepage":"https://automation.yamato-daiwa.com/","funding":"https://github.com/TokugawaTakeshi/Yamato-Daiwa-Automation?sponsor=1","bugs":{"url":"https://github.com/TokugawaTakeshi/Yamato-Daiwa-Automation/issues","email":"tokugawa.takesi@gmail.com"}}');
37
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@yamato-daiwa/automation","version":"0.9.0-alpha.0","description":"The project building tool with declarative YAML configuration specializing on Pug, Stylus and TypeScript as source code languages.","keywords":["build","pug","stylus","tool","typescript"],"engines":{"node":">=20.0.0"},"bin":{"yda":"Executable"},"files":["EntryPoint.js"],"dependencies":{"@eslint-community/eslint-plugin-eslint-comments":"4.5.0","@stylistic/eslint-plugin":"5.4.0","@typescript-eslint/eslint-plugin":"8.46.1","@typescript-eslint/parser":"8.46.1","@vue/compiler-sfc":"3.5.22","@webdiscus/pug-loader":"2.11.1","@yamato-daiwa/es-extensions":"1.8.1","@yamato-daiwa/es-extensions-nodejs":"1.8.1","@yamato-daiwa/style_guides":"0.10.1","@yamato-daiwa/universal-reactive-webpack-loader":"0.0.0","autoprefixer":"10.4.21","browser-sync":"3.0.4","css-loader":"7.1.2","cssnano":"7.1.1","dotenv":"17.2.3","eslint":"9.38.0","eslint-plugin-import":"2.32.0","eslint-plugin-n":"17.23.1","eslint-plugin-react":"7.37.5","eslint-plugin-vue":"9.33.0","eslint-plugin-vue-pug":"0.6.2","gulp":"4.0.2","gulp-data":"1.3.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","htmlnano":"2.1.5","imagemin-pngquant":"9.0.2","js-beautify":"1.15.4","json5-loader":"4.0.1","nanoid":"5.1.6","node-html-parser":"7.0.1","node-notifier":"10.0.1","pa11y":"9.0.1","postcss-loader":"8.2.0","postcss-normalize-stylus-compatible-container-query-syntax":"1.1.0","probe-image-size":"7.2.3","pug-lint":"2.7.0","puppeteer":"24.10.0","require-from-string":"2.0.2","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.2","ts-loader":"9.5.4","vinyl":"2.2.1","vnu-jar":"24.10.17","vue-loader":"17.4.2","vue-style-loader":"4.1.3","vue-tsc":"3.1.1","webpack":"5.102.1","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-if":"3.0.5","@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/js-beautify":"1.14.3","@types/node":"22.15.30","@types/node-notifier":"8.0.5","@types/pa11y":"5.3.7","@types/probe-image-size":"7.2.5","@types/pug":"2.0.10","@types/require-from-string":"1.2.3","@types/vnu-jar":"17.11.2","@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.9.3","webpack-cli":"6.0.1"},"scripts":{"Incremental Development Building":"webpack --mode development","Production Building":"webpack --mode production","Linting":"eslint Source"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/TokugawaTakeshi/Yamato-Daiwa-Automation.git"},"homepage":"https://automation.yamato-daiwa.com/","funding":"https://github.com/TokugawaTakeshi/Yamato-Daiwa-Automation?sponsor=1","bugs":{"url":"https://github.com/TokugawaTakeshi/Yamato-Daiwa-Automation/issues","email":"tokugawa.takesi@gmail.com"}}');
38
38
 
39
39
  /***/ }),
40
40
 
@@ -1730,7 +1730,8 @@ class BrowserCoordinatorRelatedFilesWatcher extends FilesPassiveWatcher_1.defaul
1730
1730
  ID: "BROWSER_COORDINATOR_RELATED_FILES_WATCHER",
1731
1731
  targetFilesGlobSelectors: [
1732
1732
  es_extensions_nodejs_1.ImprovedGlob.buildAllFilesInCurrentDirectoryAndBelowGlobSelector({
1733
- basicDirectoryPath: browserLiveReloadingSettingsRepresentative.targetFilesRootDirectoryAbsolutePath
1733
+ basicDirectoryPath: browserLiveReloadingSettingsRepresentative.targetFilesRootDirectoryAbsolutePath,
1734
+ fileNamesExtensions: ["html", "js"]
1734
1735
  })
1735
1736
  ],
1736
1737
  mustLogEvents: browserLiveReloadingSettingsRepresentative.mustLogOutputFileChangeDetection
@@ -1798,36 +1799,44 @@ class BrowserLiveReloader {
1798
1799
  initializeBrowsersync() {
1799
1800
  browser_sync_1.default.init({
1800
1801
  /* [ Browsersync theory ] Either "server" or "proxy" could be specified but not both. */
1801
- ...(0, es_extensions_1.isNull)(this.browserLiveReloadingSettingsRepresentative.proxy) ? {
1802
- server: {
1803
- baseDir: this.browserLiveReloadingSettingsRepresentative.targetFilesRootDirectoryAbsolutePath,
1804
- index: this.browserLiveReloadingSettingsRepresentative.startingFileNameWithExtension
1805
- }
1806
- } : {
1802
+ ...(0, es_extensions_1.isNull)(this.browserLiveReloadingSettingsRepresentative.proxy) ?
1803
+ {
1804
+ server: {
1805
+ baseDir: this.browserLiveReloadingSettingsRepresentative.targetFilesRootDirectoryAbsolutePath,
1806
+ index: this.browserLiveReloadingSettingsRepresentative.startingFileNameWithExtension
1807
+ }
1808
+ } : {
1807
1809
  proxy: this.browserLiveReloadingSettingsRepresentative.proxy
1808
1810
  },
1809
- ...(0, es_extensions_1.isNotNull)(this.browserLiveReloadingSettingsRepresentative.HTTPS) ? {
1810
- https: {
1811
- key: this.browserLiveReloadingSettingsRepresentative.HTTPS.keyAbsolutePath,
1812
- cert: this.browserLiveReloadingSettingsRepresentative.HTTPS.certificateAbsolutePath
1813
- }
1814
- } : null,
1811
+ ...(0, es_extensions_1.isNotNull)(this.browserLiveReloadingSettingsRepresentative.HTTPS) ?
1812
+ {
1813
+ https: {
1814
+ key: this.browserLiveReloadingSettingsRepresentative.HTTPS.keyAbsolutePath,
1815
+ cert: this.browserLiveReloadingSettingsRepresentative.HTTPS.certificateAbsolutePath
1816
+ }
1817
+ } :
1818
+ null,
1815
1819
  cors: this.browserLiveReloadingSettingsRepresentative.mustUseCORS,
1816
1820
  /* [ Browsersync theory ] When port is undefined, it will be assigned automatically. */
1817
- ...(0, es_extensions_1.isNotNull)(this.browserLiveReloadingSettingsRepresentative.localServerCustomPort) ? {
1818
- port: this.browserLiveReloadingSettingsRepresentative.localServerCustomPort
1819
- } : null,
1821
+ ...(0, es_extensions_1.isNotNull)(this.browserLiveReloadingSettingsRepresentative.localServerCustomPort) ?
1822
+ {
1823
+ port: this.browserLiveReloadingSettingsRepresentative.localServerCustomPort
1824
+ } :
1825
+ null,
1820
1826
  ignore: this.browserLiveReloadingSettingsRepresentative.globSelectorsOfFilesAndDirectoriesWhichWillBeIgnored,
1821
1827
  /* [ Browsersync theory ] When value is empty array, no browsers will be opened. */
1822
- ...this.browserLiveReloadingSettingsRepresentative.targetBrowsers.length > 0 ? {
1823
- browser: this.browserLiveReloadingSettingsRepresentative.targetBrowsers
1824
- } : null,
1825
- ui: this.browserLiveReloadingSettingsRepresentative.mustEnableBrowsersyncUserInterface ? {
1826
- /* [ Browsersync theory ] When port is undefined, it will be assigned automatically. */
1827
- ...(0, es_extensions_1.isNotNull)(this.browserLiveReloadingSettingsRepresentative.browsersyncUserInterfaceCustomPort) ? {
1828
- port: this.browserLiveReloadingSettingsRepresentative.browsersyncUserInterfaceCustomPort
1829
- } : null
1830
- } : false,
1828
+ ...this.browserLiveReloadingSettingsRepresentative.targetBrowsers.length > 0 ?
1829
+ {
1830
+ browser: this.browserLiveReloadingSettingsRepresentative.targetBrowsers
1831
+ } :
1832
+ null,
1833
+ ui: this.browserLiveReloadingSettingsRepresentative.mustEnableBrowsersyncUserInterface ?
1834
+ {
1835
+ /* [ Browsersync theory ] When the port is undefined, it will be assigned automatically. */
1836
+ ...(0, es_extensions_1.isNotNull)(this.browserLiveReloadingSettingsRepresentative.browsersyncUserInterfaceCustomPort) ?
1837
+ { port: this.browserLiveReloadingSettingsRepresentative.browsersyncUserInterfaceCustomPort } : null
1838
+ } :
1839
+ false,
1831
1840
  logLevel: "warn",
1832
1841
  notify: this.browserLiveReloadingSettingsRepresentative.mustDisplayBrowsersyncConnectedPopupInBrowser,
1833
1842
  middleware: this.onRequest.bind(this)
@@ -17407,9 +17416,6 @@ module.exports = require("webpack-stream");
17407
17416
  /******/ // Load entry module and return exports
17408
17417
  /******/ // This entry module is referenced by other modules so it can't be inlined
17409
17418
  /******/ var __webpack_exports__ = __webpack_require__("./EntryPoint.ts");
17410
- /******/ var __webpack_export_target__ = exports;
17411
- /******/ for(var __webpack_i__ in __webpack_exports__) __webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
17412
- /******/ if(__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });
17413
17419
  /******/
17414
17420
  /******/ })()
17415
17421
  ;
package/README.md CHANGED
@@ -1,8 +1,20 @@
1
1
  # Yamato Daiwa Automation 〔 YDA 〕
2
2
 
3
+ [![npm](https://img.shields.io/badge/npm-CB3837?style=for-the-badge&logo=npm&logoColor=white)](https://www.npmjs.com/package/@yamato-daiwa/automation)
4
+ [![GitHub](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/TokugawaTakeshi/Yamato-Daiwa-Automation)
5
+ ![MIT](https://img.shields.io/badge/MIT-green?style=for-the-badge)
6
+ ![Node.js](https://img.shields.io/badge/Node%20js-339933?style=for-the-badge&logo=nodedotjs&logoColor=white)
7
+
8
+ [![NPM Version](https://img.shields.io/npm/v/@yamato-daiwa/backend)](https://www.npmjs.com/package/@yamato-daiwa/automation)
9
+ ![Minimal Node Version](https://img.shields.io/badge/Minimal_Node.js_Version-20.0.0-brightgreen.svg?style=flat)
10
+
11
+ [![GitHub Sponsors](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge&logo=GitHub-Sponsors&logoColor=#white)](https://github.com/TokugawaTakeshi/Yamato-Daiwa-Automation?sponsor=1)
12
+ [![PAYPAL](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://www.paypal.com/paypalme/tokugawatakeshi)
13
+ [![LIBERAPAY]( https://img.shields.io/badge/Liberapay-F6C915?style=for-the-badge&logo=liberapay&logoColor=black)](https://liberapay.com/TokugawaT-YD)
14
+
3
15
  The project building tool with declarative YAML configuration based on Gulp and Webpack.
4
16
  Specializing on Pug, Stylus and TypeScript as source code languages; also works with images, fonts, videos and audios.
5
- Could be used for development of websites, web applications, console utilities and libraries.
17
+ Can be used to develop websites, web applications, native application with HTML/CSS frontend, console utilities and libraries.
6
18
 
7
19
  ![Main visual of Yamato-Daiwa Automation tool](https://user-images.githubusercontent.com/41653501/167278259-b2ac61e9-b781-4d0c-93d6-4b9709387974.png)
8
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamato-daiwa/automation",
3
- "version": "0.8.0",
3
+ "version": "0.9.0-alpha.0",
4
4
  "description": "The project building tool with declarative YAML configuration specializing on Pug, Stylus and TypeScript as source code languages.",
5
5
  "keywords": [
6
6
  "build",
@@ -23,7 +23,7 @@
23
23
  "@stylistic/eslint-plugin": "5.4.0",
24
24
  "@typescript-eslint/eslint-plugin": "8.46.1",
25
25
  "@typescript-eslint/parser": "8.46.1",
26
- "@vue/compiler-sfc": "3.5.18",
26
+ "@vue/compiler-sfc": "3.5.22",
27
27
  "@webdiscus/pug-loader": "2.11.1",
28
28
  "@yamato-daiwa/es-extensions": "1.8.1",
29
29
  "@yamato-daiwa/es-extensions-nodejs": "1.8.1",
@@ -32,8 +32,8 @@
32
32
  "autoprefixer": "10.4.21",
33
33
  "browser-sync": "3.0.4",
34
34
  "css-loader": "7.1.2",
35
- "cssnano": "7.1.0",
36
- "dotenv": "17.2.1",
35
+ "cssnano": "7.1.1",
36
+ "dotenv": "17.2.3",
37
37
  "eslint": "9.38.0",
38
38
  "eslint-plugin-import": "2.32.0",
39
39
  "eslint-plugin-n": "17.23.1",
@@ -50,16 +50,16 @@
50
50
  "gulp-pug": "5.0.0",
51
51
  "gulp-sourcemaps": "3.0.0",
52
52
  "gulp-stylus": "3.0.1",
53
- "htmlnano": "2.1.2",
53
+ "htmlnano": "2.1.5",
54
54
  "imagemin-pngquant": "9.0.2",
55
55
  "js-beautify": "1.15.4",
56
56
  "json5-loader": "4.0.1",
57
- "nanoid": "5.1.5",
57
+ "nanoid": "5.1.6",
58
58
  "node-html-parser": "7.0.1",
59
59
  "node-notifier": "10.0.1",
60
- "pa11y": "9.0.0",
60
+ "pa11y": "9.0.1",
61
61
  "postcss-loader": "8.2.0",
62
- "postcss-normalize-stylus-compatible-container-query-syntax": "1.0.0",
62
+ "postcss-normalize-stylus-compatible-container-query-syntax": "1.1.0",
63
63
  "probe-image-size": "7.2.3",
64
64
  "pug-lint": "2.7.0",
65
65
  "puppeteer": "24.10.0",
@@ -69,14 +69,14 @@
69
69
  "stream-combiner2": "1.1.1",
70
70
  "style-loader": "4.0.0",
71
71
  "stylus": "0.63.0",
72
- "stylus-loader": "8.1.1",
73
- "ts-loader": "9.5.2",
72
+ "stylus-loader": "8.1.2",
73
+ "ts-loader": "9.5.4",
74
74
  "vinyl": "2.2.1",
75
75
  "vnu-jar": "24.10.17",
76
76
  "vue-loader": "17.4.2",
77
77
  "vue-style-loader": "4.1.3",
78
- "vue-tsc": "3.0.5",
79
- "webpack": "5.101.0",
78
+ "vue-tsc": "3.1.1",
79
+ "webpack": "5.102.1",
80
80
  "webpack-node-externals": "3.0.0",
81
81
  "webpack-stream": "7.0.0",
82
82
  "worker-loader": "3.0.8",