js-build-tools 6.1.0 → 6.2.2

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 (58) hide show
  1. package/README.md +89 -25
  2. package/dist/build.js +5 -2
  3. package/dist/build.min.js +1 -1
  4. package/dist/bundle.js +40 -40
  5. package/dist/bundleMinify.js +18 -18
  6. package/dist/copyFiles.js +47 -0
  7. package/dist/copyFiles.min.js +1 -0
  8. package/dist/copyFonts.js +13 -13
  9. package/dist/default.js +15 -15
  10. package/dist/distMinify.js +13 -13
  11. package/dist/docs.js +19 -0
  12. package/dist/docs.min.js +1 -0
  13. package/dist/jsdocDocs.js +15 -0
  14. package/dist/jsdocDocs.min.js +1 -0
  15. package/dist/partials/addToReadme.js +25 -25
  16. package/dist/partials/beginWatcher.js +13 -13
  17. package/dist/partials/clean.js +15 -15
  18. package/dist/partials/copyFor.js +10 -2
  19. package/dist/partials/distFor.js +22 -22
  20. package/dist/partials/distForSrc.js +12 -12
  21. package/dist/partials/distSeries.js +20 -20
  22. package/dist/partials/imagesFor.js +43 -43
  23. package/dist/partials/jsdocDocsFor.js +155 -0
  24. package/dist/partials/neostandardLint.js +121 -121
  25. package/dist/partials/readmeTemplate.js +15 -15
  26. package/dist/partials/resolveDocsMethod.js +19 -0
  27. package/dist/partials/runOnChange.js +29 -29
  28. package/dist/partials/sassFor.js +29 -29
  29. package/dist/partials/tsFor.js +71 -71
  30. package/dist/partials/typeDocsFor.js +203 -203
  31. package/dist/partials.js +149 -135
  32. package/dist/partials.min.js +1 -1
  33. package/dist/sourceLint.js +26 -26
  34. package/dist/test-helpers/neostandardLintWithRealNeostandard.js +49 -49
  35. package/dist/test-helpers/setUp.js +95 -95
  36. package/dist/testFull.js +20 -20
  37. package/dist/testHelpers.js +10 -10
  38. package/dist/testQuick.js +22 -22
  39. package/dist/utilities/dotNotate.js +48 -48
  40. package/dist/utilities/getBundleConfigs.js +28 -28
  41. package/dist/watchTest.js +16 -16
  42. package/functions/build.mjs +5 -2
  43. package/functions/build.test.mjs +50 -1
  44. package/functions/copyFiles.mjs +32 -0
  45. package/functions/copyFiles.test.mjs +78 -0
  46. package/functions/docs.mjs +13 -0
  47. package/functions/docs.test.mjs +45 -0
  48. package/functions/jsdocDocs.mjs +10 -0
  49. package/functions/partials/copyFor.mjs +4 -1
  50. package/functions/partials/jsdocDocsFor.mjs +132 -0
  51. package/functions/partials/jsdocDocsFor.test.mjs +101 -0
  52. package/functions/partials/resolveDocsMethod.mjs +10 -0
  53. package/functions/partials/resolveDocsMethod.test.mjs +33 -0
  54. package/functions/partials.mjs +2 -0
  55. package/functions/partials.test.mjs +1 -1
  56. package/gulp.config.mjs +28 -5
  57. package/gulpfile.base.mjs +4 -1
  58. package/package.json +14 -1
package/gulpfile.base.mjs CHANGED
@@ -9,19 +9,22 @@ export { build } from './functions/build.mjs'
9
9
  export { bundle } from './functions/bundle.mjs'
10
10
  export { bundleMinify } from './functions/bundleMinify.mjs'
11
11
  export { compileReadme as readme } from './functions/compileReadme.mjs'
12
+ export { copyFiles } from './functions/copyFiles.mjs'
12
13
  export { copyFonts } from './functions/copyFonts.mjs'
13
14
  export { defaultCmd } from './functions/default.mjs'
14
15
  export { dist } from './functions/dist.mjs'
16
+ export { docs } from './functions/docs.mjs'
15
17
  export { distMinify } from './functions/distMinify.mjs'
16
18
  export * as gulpConfig from './gulp.config.mjs'
17
19
  export { images } from './functions/images.mjs'
20
+ export { jsdocDocs } from './functions/jsdocDocs.mjs'
18
21
  export * as partials from './functions/partials.mjs'
19
22
  export { sass } from './functions/sass.mjs'
20
23
  export { sourceLint } from './functions/sourceLint.mjs'
21
24
  export { testFull } from './functions/testFull.mjs'
22
25
  export * as testHelpers from './functions/testHelpers.mjs'
23
26
  export { testQuick } from './functions/testQuick.mjs'
24
- export { typeDocs as docs } from './functions/typeDocs.mjs'
27
+ export { typeDocs } from './functions/typeDocs.mjs'
25
28
  export { typeScript as typescript } from './functions/typeScript.mjs'
26
29
  export { watchFull } from './functions/watchFull.mjs'
27
30
  export { watchTest } from './functions/watchTest.mjs'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-build-tools",
3
- "version": "6.1.0",
3
+ "version": "6.2.2",
4
4
  "description": "Standardised build process with gulp.",
5
5
  "main": "gulpfile.base.js",
6
6
  "exports": {
@@ -22,6 +22,8 @@
22
22
  "dev": "gulp",
23
23
  "htmldocs": "jsdoc -R MAIN.md -c ./.jsdoc.conf.js -d docs",
24
24
  "readme": "gulp readme",
25
+ "release": "release-it",
26
+ "release:dry-run": "release-it --dry-run",
25
27
  "test": "gulp testFull",
26
28
  "test:quick": "gulp testQuick",
27
29
  "watch": "gulp watchFull",
@@ -79,14 +81,22 @@
79
81
  "vinyl-source-stream": "^2.0.0"
80
82
  },
81
83
  "peerDependencies": {
84
+ "clean-jsdoc-theme": ">=4.0.0",
82
85
  "gulp-imagemin": ">=9.0.0",
86
+ "jsdoc": ">=4.0.0",
83
87
  "typedoc": ">=0.28.0",
84
88
  "typescript": ">=5.0.0 <7.0.0"
85
89
  },
86
90
  "peerDependenciesMeta": {
91
+ "clean-jsdoc-theme": {
92
+ "optional": true
93
+ },
87
94
  "gulp-imagemin": {
88
95
  "optional": true
89
96
  },
97
+ "jsdoc": {
98
+ "optional": true
99
+ },
90
100
  "typedoc": {
91
101
  "optional": true
92
102
  },
@@ -106,7 +116,10 @@
106
116
  ],
107
117
  "funding": "https://www.paypal.com/donate/?business=LRYR6SZRWKXVY&no_recurring=0&item_name=Let%27s+build+together+today+to+simplify+our+jobs+tomorrow.&currency_code=CAD",
108
118
  "devDependencies": {
119
+ "clean-jsdoc-theme": "^5.2.0",
109
120
  "gulp-imagemin": "github:jheagle/gulp-imagemin#common-js-compatibility",
121
+ "jsdoc": "^4.0.5",
122
+ "release-it": "^21.1.1",
110
123
  "typedoc": "^0.28.20",
111
124
  "typescript": "^6.0.3"
112
125
  },