@itee/tasks 1.3.1 → 1.3.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.
- package/CHANGELOG.md +8 -0
- package/docs/cleans_clean.task.mjs.html +10 -11
- package/docs/global.html +14 -170
- package/docs/helps_help.task.mjs.html +24 -22
- package/docs/index.html +4 -4
- package/docs/lints_lint.task.mjs.html +14 -12
- package/docs/patches_patch.task.mjs.html +13 -5
- package/docs/quicksearch.html +1 -1
- package/docs/releases_release.task.mjs.html +5 -5
- package/docs/tests_benchmarks_compute-benchmarks.task.mjs.html +35 -38
- package/docs/tests_benchmarks_run-benchmarks-for-backend.task.mjs.html +20 -18
- package/docs/tests_benchmarks_run-benchmarks-for-frontend.task.mjs.html +10 -14
- package/docs/tests_bundlings_check-bundling-from-esm-files-direct.task.mjs.html +22 -34
- package/docs/tests_bundlings_check-bundling.task.mjs.html +5 -5
- package/docs/tests_run-tests.task.mjs.html +5 -5
- package/docs/tests_units_compute-unit-tests.task.mjs.html +40 -42
- package/docs/tests_units_run-unit-tests-for-backend.task.mjs.html +21 -19
- package/docs/tests_units_run-unit-tests-for-frontend.task.mjs.html +9 -13
- package/package.json +4 -4
- package/{sources → scripts}/refresh.mjs +10 -12
- package/sources/builds/build.conf.mjs +3 -0
- package/sources/builds/build.task.mjs +12 -14
- package/{configs → sources}/cleans/clean.conf.mjs +1 -1
- package/sources/cleans/clean.task.mjs +6 -7
- package/{configs → sources}/docs/doc.conf.mjs +8 -7
- package/sources/docs/doc.task.mjs +7 -8
- package/sources/helps/help.task.mjs +19 -17
- package/{configs → sources}/lints/lint.conf.mjs +18 -18
- package/sources/lints/lint.task.mjs +10 -8
- package/sources/patches/patch.task.mjs +9 -1
- package/sources/releases/release.task.mjs +1 -1
- package/sources/{index.mjs → tasks.js} +7 -2
- package/sources/tests/benchmarks/compute-benchmarks.conf.mjs +5 -0
- package/sources/tests/benchmarks/compute-benchmarks.task.mjs +31 -34
- package/sources/tests/benchmarks/run-benchmarks-for-backend.task.mjs +16 -14
- package/{configs → sources}/tests/benchmarks/run-benchmarks-for-frontend.conf.mjs +6 -6
- package/sources/tests/benchmarks/run-benchmarks-for-frontend.task.mjs +6 -10
- package/{configs → sources}/tests/benchmarks/run-benchmarks.conf.mjs +2 -2
- package/sources/tests/benchmarks/run-benchmarks.task.mjs +3 -3
- package/{configs → sources}/tests/bundlings/check-bundling-from-esm-build-import.conf.mjs +12 -10
- package/sources/tests/bundlings/check-bundling-from-esm-build-import.task.mjs +17 -17
- package/{configs → sources}/tests/bundlings/check-bundling-from-esm-files-direct.conf.mjs +20 -14
- package/sources/tests/bundlings/check-bundling-from-esm-files-direct.task.mjs +17 -29
- package/{configs → sources}/tests/bundlings/check-bundling-from-esm-files-import.conf.mjs +15 -13
- package/sources/tests/bundlings/check-bundling-from-esm-files-import.task.mjs +17 -29
- package/sources/tests/bundlings/check-bundling.task.mjs +1 -1
- package/sources/tests/run-tests.task.mjs +1 -1
- package/sources/tests/units/compute-unit-tests.conf.mjs +5 -0
- package/sources/tests/units/compute-unit-tests.task.mjs +36 -38
- package/sources/tests/units/run-unit-tests-for-backend.task.mjs +17 -15
- package/{configs → sources}/tests/units/run-unit-tests-for-frontend.conf.mjs +1 -1
- package/sources/tests/units/run-unit-tests-for-frontend.task.mjs +5 -9
- package/{configs → sources}/tests/units/run-unit-tests.conf.mjs +2 -2
- package/sources/tests/units/run-unit-tests.task.mjs +3 -3
- package/sources/utils/builds.mjs +238 -0
- package/sources/utils/colors.mjs +19 -0
- package/sources/utils/files.mjs +70 -0
- package/sources/utils/loggings.mjs +33 -0
- package/sources/utils/packages.mjs +172 -0
- package/sources/utils/tasks.mjs +170 -0
- package/sources/utils/texts.mjs +98 -0
- package/configs/builds/build.conf.mjs +0 -3
- package/configs/tests/benchmarks/compute-benchmarks.conf.mjs +0 -5
- package/configs/tests/units/compute-unit-tests.conf.mjs +0 -5
- package/sources/_utils.mjs +0 -692
- /package/{configs → scripts}/refresh.conf.mjs +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# [v1.3.2](https://github.com/Itee/tasks/compare/v1.3.1...v1.3.2) (2026-01-21)
|
|
2
|
+
|
|
3
|
+
## 🐛 Bug Fixes
|
|
4
|
+
- [`f96018d`](https://github.com/Itee/tasks/commit/f96018d) (lint) fix config files lint errors
|
|
5
|
+
- [`0e0fecf`](https://github.com/Itee/tasks/commit/0e0fecf) (patch) add patch against default jsdoc conf to allow mjs and cjs files by default
|
|
6
|
+
- [`c78ba79`](https://github.com/Itee/tasks/commit/c78ba79) (bundling) add some missing imports
|
|
7
|
+
- [`83ec8b2`](https://github.com/Itee/tasks/commit/83ec8b2) (compute) fix unmanaged composed filename to compute benches and units
|
|
8
|
+
|
|
1
9
|
# [v1.3.1](https://github.com/Itee/tasks/compare/v1.3.0...v1.3.1) (2026-01-19)
|
|
2
10
|
|
|
3
11
|
## 🐛 Bug Fixes
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width">
|
|
7
|
-
<title
|
|
7
|
+
<title>Itee Tasks v1.3.1 Source: cleans/clean.task.mjs</title>
|
|
8
8
|
|
|
9
9
|
<!--[if lt IE 9]>
|
|
10
10
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<div class="navbar navbar-default navbar-fixed-top ">
|
|
21
21
|
<div class="container">
|
|
22
22
|
<div class="navbar-header">
|
|
23
|
-
<a class="navbar-brand" href="index.html"
|
|
23
|
+
<a class="navbar-brand" href="index.html">Itee Tasks v1.3.1</a>
|
|
24
24
|
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
|
|
25
25
|
<span class="icon-bar"></span>
|
|
26
26
|
<span class="icon-bar"></span>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<li class="dropdown">
|
|
34
34
|
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
|
|
35
35
|
<ul class="dropdown-menu inline">
|
|
36
|
-
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#
|
|
36
|
+
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#npmrunclean">npm run clean</a></li><li><a href="global.html#npmrunhelpdefault">npm run help ( default )</a></li><li><a href="global.html#npmrunlint">npm run lint</a></li><li><a href="global.html#npmrunpatch">npm run patch</a></li><li><a href="global.html#npmrunrelease">npm run release</a></li><li><a href="global.html#npmruntest">npm run test</a></li><li><a href="global.html#runBenchmarksForBackendTask">runBenchmarksForBackendTask</a></li><li><a href="global.html#runBenchmarksForFrontendTask">runBenchmarksForFrontendTask</a></li><li><a href="global.html#runUnitTestsForBackendTask">runUnitTestsForBackendTask</a></li><li><a href="global.html#runUnitTestsForFrontendTask">runUnitTestsForFrontendTask</a></li>
|
|
37
37
|
</ul>
|
|
38
38
|
</li>
|
|
39
39
|
|
|
@@ -70,18 +70,17 @@
|
|
|
70
70
|
<section>
|
|
71
71
|
<article>
|
|
72
72
|
<pre
|
|
73
|
-
class="sunlight-highlight-javascript linenums">import
|
|
74
|
-
import {
|
|
75
|
-
import
|
|
76
|
-
import { basename } from 'node:path'
|
|
73
|
+
class="sunlight-highlight-javascript linenums">import { deleteAsync } from 'del'
|
|
74
|
+
import { basename } from 'node:path'
|
|
75
|
+
import { red } from '../utils/colors.mjs'
|
|
77
76
|
import {
|
|
78
|
-
|
|
77
|
+
log,
|
|
79
78
|
logLoadingTask
|
|
80
|
-
}
|
|
79
|
+
} from '../utils/loggings.mjs'
|
|
80
|
+
import { getTaskConfigurationFor } from '../utils/tasks.mjs'
|
|
81
81
|
|
|
82
82
|
logLoadingTask( import.meta.filename )
|
|
83
83
|
|
|
84
|
-
const { red } = colors
|
|
85
84
|
const configuration = await getTaskConfigurationFor( import.meta.filename )
|
|
86
85
|
|
|
87
86
|
/**
|
|
@@ -141,7 +140,7 @@ export { cleanTask }
|
|
|
141
140
|
|
|
142
141
|
|
|
143
142
|
<span class="copyright">
|
|
144
|
-
Copyright 2015-Present <a href="https://github.com/Itee">Itee
|
|
143
|
+
Copyright 2015-Present <a href="https://github.com/Itee">Itee (Tristan Valcke)</a>
|
|
145
144
|
</span>
|
|
146
145
|
|
|
147
146
|
<span class="jsdoc-message">
|
package/docs/global.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width">
|
|
7
|
-
<title
|
|
7
|
+
<title>Itee Tasks v1.3.1 Global</title>
|
|
8
8
|
|
|
9
9
|
<!--[if lt IE 9]>
|
|
10
10
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<div class="navbar navbar-default navbar-fixed-top ">
|
|
21
21
|
<div class="container">
|
|
22
22
|
<div class="navbar-header">
|
|
23
|
-
<a class="navbar-brand" href="index.html"
|
|
23
|
+
<a class="navbar-brand" href="index.html">Itee Tasks v1.3.1</a>
|
|
24
24
|
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
|
|
25
25
|
<span class="icon-bar"></span>
|
|
26
26
|
<span class="icon-bar"></span>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<li class="dropdown">
|
|
34
34
|
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
|
|
35
35
|
<ul class="dropdown-menu inline">
|
|
36
|
-
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#
|
|
36
|
+
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#npmrunclean">npm run clean</a></li><li><a href="global.html#npmrunhelpdefault">npm run help ( default )</a></li><li><a href="global.html#npmrunlint">npm run lint</a></li><li><a href="global.html#npmrunpatch">npm run patch</a></li><li><a href="global.html#npmrunrelease">npm run release</a></li><li><a href="global.html#npmruntest">npm run test</a></li><li><a href="global.html#runBenchmarksForBackendTask">runBenchmarksForBackendTask</a></li><li><a href="global.html#runBenchmarksForFrontendTask">runBenchmarksForFrontendTask</a></li><li><a href="global.html#runUnitTestsForBackendTask">runUnitTestsForBackendTask</a></li><li><a href="global.html#runUnitTestsForFrontendTask">runUnitTestsForFrontendTask</a></li>
|
|
37
37
|
</ul>
|
|
38
38
|
</li>
|
|
39
39
|
|
|
@@ -281,7 +281,7 @@ Todo: Check for different target env like next task below this one
|
|
|
281
281
|
<ul class="dummy">
|
|
282
282
|
<li>
|
|
283
283
|
<a href="tests_bundlings_check-bundling-from-esm-files-direct.task.mjs.html">tests/bundlings/check-bundling-from-esm-files-direct.task.mjs</a>,
|
|
284
|
-
<a href="tests_bundlings_check-bundling-from-esm-files-direct.task.mjs.html#sunlight-1-line-
|
|
284
|
+
<a href="tests_bundlings_check-bundling-from-esm-files-direct.task.mjs.html#sunlight-1-line-36">line 36</a>
|
|
285
285
|
</li>
|
|
286
286
|
</ul>
|
|
287
287
|
</dd>
|
|
@@ -369,7 +369,7 @@ Todo: Check for different target env like next task below this one
|
|
|
369
369
|
<ul class="dummy">
|
|
370
370
|
<li>
|
|
371
371
|
<a href="tests_benchmarks_compute-benchmarks.task.mjs.html">tests/benchmarks/compute-benchmarks.task.mjs</a>,
|
|
372
|
-
<a href="tests_benchmarks_compute-benchmarks.task.mjs.html#sunlight-1-line-
|
|
372
|
+
<a href="tests_benchmarks_compute-benchmarks.task.mjs.html#sunlight-1-line-37">line 37</a>
|
|
373
373
|
</li>
|
|
374
374
|
</ul>
|
|
375
375
|
</dd>
|
|
@@ -457,7 +457,7 @@ Todo: Check for different target env like next task below this one
|
|
|
457
457
|
<ul class="dummy">
|
|
458
458
|
<li>
|
|
459
459
|
<a href="tests_units_compute-unit-tests.task.mjs.html">tests/units/compute-unit-tests.task.mjs</a>,
|
|
460
|
-
<a href="tests_units_compute-unit-tests.task.mjs.html#sunlight-1-line-
|
|
460
|
+
<a href="tests_units_compute-unit-tests.task.mjs.html#sunlight-1-line-41">line 41</a>
|
|
461
461
|
</li>
|
|
462
462
|
</ul>
|
|
463
463
|
</dd>
|
|
@@ -484,162 +484,6 @@ Todo: Check for different target env like next task below this one
|
|
|
484
484
|
|
|
485
485
|
|
|
486
486
|
|
|
487
|
-
</dd>
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
<hr>
|
|
492
|
-
<dt>
|
|
493
|
-
<h4 class="name" id="createRollupConfigs"><span class="type-signature"><generator> </span>createRollupConfigs(options)</h4>
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
</dt>
|
|
497
|
-
<dd>
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
<div class="description">
|
|
501
|
-
Will create an appropriate configuration object for rollup, related to the given arguments.
|
|
502
|
-
</div>
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
<h5>Parameters:</h5>
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
<table class="params table table-striped">
|
|
515
|
-
<thead>
|
|
516
|
-
<tr>
|
|
517
|
-
|
|
518
|
-
<th>Name</th>
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
<th>Type</th>
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
<th class="last">Description</th>
|
|
528
|
-
</tr>
|
|
529
|
-
</thead>
|
|
530
|
-
|
|
531
|
-
<tbody>
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
<tr>
|
|
535
|
-
|
|
536
|
-
<td class="name"><code>options</code></td>
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
<td class="type">
|
|
540
|
-
|
|
541
|
-
</td>
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
<td class="description last"></td>
|
|
548
|
-
</tr>
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
</tbody>
|
|
552
|
-
</table>
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
<dl class="details">
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
|
588
|
-
<dd class="tag-source">
|
|
589
|
-
<ul class="dummy">
|
|
590
|
-
<li>
|
|
591
|
-
<a href="-_utils.mjs.html">_utils.mjs</a>,
|
|
592
|
-
<a href="-_utils.mjs.html#sunlight-1-line-432">line 432</a>
|
|
593
|
-
</li>
|
|
594
|
-
</ul>
|
|
595
|
-
</dd>
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
</dl>
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
<h5>Returns:</h5>
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
<div class="param-desc">
|
|
621
|
-
An array of rollup configuration
|
|
622
|
-
</div>
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
<dl>
|
|
627
|
-
<dt>
|
|
628
|
-
Type
|
|
629
|
-
</dt>
|
|
630
|
-
<dd>
|
|
631
|
-
|
|
632
|
-
<span class="param-type">Array.<json></span>
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
</dd>
|
|
637
|
-
</dl>
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
487
|
</dd>
|
|
644
488
|
|
|
645
489
|
|
|
@@ -701,7 +545,7 @@ Todo: Check for different target env like next task below this one
|
|
|
701
545
|
<ul class="dummy">
|
|
702
546
|
<li>
|
|
703
547
|
<a href="cleans_clean.task.mjs.html">cleans/clean.task.mjs</a>,
|
|
704
|
-
<a href="cleans_clean.task.mjs.html#sunlight-1-line-
|
|
548
|
+
<a href="cleans_clean.task.mjs.html#sunlight-1-line-14">line 14</a>
|
|
705
549
|
</li>
|
|
706
550
|
</ul>
|
|
707
551
|
</dd>
|
|
@@ -789,7 +633,7 @@ Todo: Check for different target env like next task below this one
|
|
|
789
633
|
<ul class="dummy">
|
|
790
634
|
<li>
|
|
791
635
|
<a href="helps_help.task.mjs.html">helps/help.task.mjs</a>,
|
|
792
|
-
<a href="helps_help.task.mjs.html#sunlight-1-line-
|
|
636
|
+
<a href="helps_help.task.mjs.html#sunlight-1-line-28">line 28</a>
|
|
793
637
|
</li>
|
|
794
638
|
</ul>
|
|
795
639
|
</dd>
|
|
@@ -877,7 +721,7 @@ Todo: Check for different target env like next task below this one
|
|
|
877
721
|
<ul class="dummy">
|
|
878
722
|
<li>
|
|
879
723
|
<a href="lints_lint.task.mjs.html">lints/lint.task.mjs</a>,
|
|
880
|
-
<a href="lints_lint.task.mjs.html#sunlight-1-line-
|
|
724
|
+
<a href="lints_lint.task.mjs.html#sunlight-1-line-18">line 18</a>
|
|
881
725
|
</li>
|
|
882
726
|
</ul>
|
|
883
727
|
</dd>
|
|
@@ -1229,7 +1073,7 @@ Todo: Check for different target env like next task below this one
|
|
|
1229
1073
|
<ul class="dummy">
|
|
1230
1074
|
<li>
|
|
1231
1075
|
<a href="tests_benchmarks_run-benchmarks-for-backend.task.mjs.html">tests/benchmarks/run-benchmarks-for-backend.task.mjs</a>,
|
|
1232
|
-
<a href="tests_benchmarks_run-benchmarks-for-backend.task.mjs.html#sunlight-1-line-
|
|
1076
|
+
<a href="tests_benchmarks_run-benchmarks-for-backend.task.mjs.html#sunlight-1-line-24">line 24</a>
|
|
1233
1077
|
</li>
|
|
1234
1078
|
</ul>
|
|
1235
1079
|
</dd>
|
|
@@ -1317,7 +1161,7 @@ Todo: Check for different target env like next task below this one
|
|
|
1317
1161
|
<ul class="dummy">
|
|
1318
1162
|
<li>
|
|
1319
1163
|
<a href="tests_benchmarks_run-benchmarks-for-frontend.task.mjs.html">tests/benchmarks/run-benchmarks-for-frontend.task.mjs</a>,
|
|
1320
|
-
<a href="tests_benchmarks_run-benchmarks-for-frontend.task.mjs.html#sunlight-1-line-
|
|
1164
|
+
<a href="tests_benchmarks_run-benchmarks-for-frontend.task.mjs.html#sunlight-1-line-12">line 12</a>
|
|
1321
1165
|
</li>
|
|
1322
1166
|
</ul>
|
|
1323
1167
|
</dd>
|
|
@@ -1405,7 +1249,7 @@ Todo: Check for different target env like next task below this one
|
|
|
1405
1249
|
<ul class="dummy">
|
|
1406
1250
|
<li>
|
|
1407
1251
|
<a href="tests_units_run-unit-tests-for-backend.task.mjs.html">tests/units/run-unit-tests-for-backend.task.mjs</a>,
|
|
1408
|
-
<a href="tests_units_run-unit-tests-for-backend.task.mjs.html#sunlight-1-line-
|
|
1252
|
+
<a href="tests_units_run-unit-tests-for-backend.task.mjs.html#sunlight-1-line-26">line 26</a>
|
|
1409
1253
|
</li>
|
|
1410
1254
|
</ul>
|
|
1411
1255
|
</dd>
|
|
@@ -1493,7 +1337,7 @@ Todo: Check for different target env like next task below this one
|
|
|
1493
1337
|
<ul class="dummy">
|
|
1494
1338
|
<li>
|
|
1495
1339
|
<a href="tests_units_run-unit-tests-for-frontend.task.mjs.html">tests/units/run-unit-tests-for-frontend.task.mjs</a>,
|
|
1496
|
-
<a href="tests_units_run-unit-tests-for-frontend.task.mjs.html#sunlight-1-line-
|
|
1340
|
+
<a href="tests_units_run-unit-tests-for-frontend.task.mjs.html#sunlight-1-line-12">line 12</a>
|
|
1497
1341
|
</li>
|
|
1498
1342
|
</ul>
|
|
1499
1343
|
</dd>
|
|
@@ -1570,7 +1414,7 @@ Todo: Check for different target env like next task below this one
|
|
|
1570
1414
|
|
|
1571
1415
|
|
|
1572
1416
|
<span class="copyright">
|
|
1573
|
-
Copyright 2015-Present <a href="https://github.com/Itee">Itee
|
|
1417
|
+
Copyright 2015-Present <a href="https://github.com/Itee">Itee (Tristan Valcke)</a>
|
|
1574
1418
|
</span>
|
|
1575
1419
|
|
|
1576
1420
|
<span class="jsdoc-message">
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width">
|
|
7
|
-
<title
|
|
7
|
+
<title>Itee Tasks v1.3.1 Source: helps/help.task.mjs</title>
|
|
8
8
|
|
|
9
9
|
<!--[if lt IE 9]>
|
|
10
10
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<div class="navbar navbar-default navbar-fixed-top ">
|
|
21
21
|
<div class="container">
|
|
22
22
|
<div class="navbar-header">
|
|
23
|
-
<a class="navbar-brand" href="index.html"
|
|
23
|
+
<a class="navbar-brand" href="index.html">Itee Tasks v1.3.1</a>
|
|
24
24
|
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
|
|
25
25
|
<span class="icon-bar"></span>
|
|
26
26
|
<span class="icon-bar"></span>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<li class="dropdown">
|
|
34
34
|
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
|
|
35
35
|
<ul class="dropdown-menu inline">
|
|
36
|
-
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#
|
|
36
|
+
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#npmrunclean">npm run clean</a></li><li><a href="global.html#npmrunhelpdefault">npm run help ( default )</a></li><li><a href="global.html#npmrunlint">npm run lint</a></li><li><a href="global.html#npmrunpatch">npm run patch</a></li><li><a href="global.html#npmrunrelease">npm run release</a></li><li><a href="global.html#npmruntest">npm run test</a></li><li><a href="global.html#runBenchmarksForBackendTask">runBenchmarksForBackendTask</a></li><li><a href="global.html#runBenchmarksForFrontendTask">runBenchmarksForFrontendTask</a></li><li><a href="global.html#runUnitTestsForBackendTask">runUnitTestsForBackendTask</a></li><li><a href="global.html#runUnitTestsForFrontendTask">runUnitTestsForFrontendTask</a></li>
|
|
37
37
|
</ul>
|
|
38
38
|
</li>
|
|
39
39
|
|
|
@@ -70,31 +70,33 @@
|
|
|
70
70
|
<section>
|
|
71
71
|
<article>
|
|
72
72
|
<pre
|
|
73
|
-
class="sunlight-highlight-javascript linenums">import
|
|
74
|
-
import
|
|
75
|
-
|
|
73
|
+
class="sunlight-highlight-javascript linenums">import { basename } from 'node:path'
|
|
74
|
+
import {
|
|
75
|
+
blue,
|
|
76
|
+
cyan,
|
|
77
|
+
green,
|
|
78
|
+
magenta,
|
|
79
|
+
red,
|
|
80
|
+
yellow
|
|
81
|
+
} from '../utils/colors.mjs'
|
|
82
|
+
import {
|
|
83
|
+
log,
|
|
84
|
+
logLoadingTask
|
|
85
|
+
} from '../utils/loggings.mjs'
|
|
76
86
|
import {
|
|
77
|
-
Indenter,
|
|
78
|
-
alignTextCenter,
|
|
79
|
-
alignTextLeft,
|
|
80
87
|
getPrettyNodeVersion,
|
|
81
88
|
getPrettyNpmVersion,
|
|
82
89
|
getPrettyPackageName,
|
|
83
|
-
getPrettyPackageVersion
|
|
84
|
-
|
|
85
|
-
|
|
90
|
+
getPrettyPackageVersion
|
|
91
|
+
} from '../utils/packages.mjs'
|
|
92
|
+
import {
|
|
93
|
+
alignTextCenter,
|
|
94
|
+
alignTextLeft,
|
|
95
|
+
Indenter,
|
|
96
|
+
} from '../utils/texts.mjs'
|
|
86
97
|
|
|
87
98
|
logLoadingTask( import.meta.filename )
|
|
88
99
|
|
|
89
|
-
const {
|
|
90
|
-
red,
|
|
91
|
-
green,
|
|
92
|
-
blue,
|
|
93
|
-
cyan,
|
|
94
|
-
yellow,
|
|
95
|
-
magenta
|
|
96
|
-
} = colors
|
|
97
|
-
|
|
98
100
|
/**
|
|
99
101
|
* @method npm run help ( default )
|
|
100
102
|
* @global
|
|
@@ -226,7 +228,7 @@ export { helpTask }
|
|
|
226
228
|
|
|
227
229
|
|
|
228
230
|
<span class="copyright">
|
|
229
|
-
Copyright 2015-Present <a href="https://github.com/Itee">Itee
|
|
231
|
+
Copyright 2015-Present <a href="https://github.com/Itee">Itee (Tristan Valcke)</a>
|
|
230
232
|
</span>
|
|
231
233
|
|
|
232
234
|
<span class="jsdoc-message">
|
package/docs/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width">
|
|
7
|
-
<title
|
|
7
|
+
<title>Itee Tasks v1.3.1 Index</title>
|
|
8
8
|
|
|
9
9
|
<!--[if lt IE 9]>
|
|
10
10
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<div class="navbar navbar-default navbar-fixed-top ">
|
|
21
21
|
<div class="container">
|
|
22
22
|
<div class="navbar-header">
|
|
23
|
-
<a class="navbar-brand" href="index.html"
|
|
23
|
+
<a class="navbar-brand" href="index.html">Itee Tasks v1.3.1</a>
|
|
24
24
|
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
|
|
25
25
|
<span class="icon-bar"></span>
|
|
26
26
|
<span class="icon-bar"></span>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<li class="dropdown">
|
|
34
34
|
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
|
|
35
35
|
<ul class="dropdown-menu inline">
|
|
36
|
-
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#
|
|
36
|
+
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#npmrunclean">npm run clean</a></li><li><a href="global.html#npmrunhelpdefault">npm run help ( default )</a></li><li><a href="global.html#npmrunlint">npm run lint</a></li><li><a href="global.html#npmrunpatch">npm run patch</a></li><li><a href="global.html#npmrunrelease">npm run release</a></li><li><a href="global.html#npmruntest">npm run test</a></li><li><a href="global.html#runBenchmarksForBackendTask">runBenchmarksForBackendTask</a></li><li><a href="global.html#runBenchmarksForFrontendTask">runBenchmarksForFrontendTask</a></li><li><a href="global.html#runUnitTestsForBackendTask">runUnitTestsForBackendTask</a></li><li><a href="global.html#runUnitTestsForFrontendTask">runUnitTestsForFrontendTask</a></li>
|
|
37
37
|
</ul>
|
|
38
38
|
</li>
|
|
39
39
|
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
|
|
131
131
|
|
|
132
132
|
<span class="copyright">
|
|
133
|
-
Copyright 2015-Present <a href="https://github.com/Itee">Itee
|
|
133
|
+
Copyright 2015-Present <a href="https://github.com/Itee">Itee (Tristan Valcke)</a>
|
|
134
134
|
</span>
|
|
135
135
|
|
|
136
136
|
<span class="jsdoc-message">
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width">
|
|
7
|
-
<title
|
|
7
|
+
<title>Itee Tasks v1.3.1 Source: lints/lint.task.mjs</title>
|
|
8
8
|
|
|
9
9
|
<!--[if lt IE 9]>
|
|
10
10
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<div class="navbar navbar-default navbar-fixed-top ">
|
|
21
21
|
<div class="container">
|
|
22
22
|
<div class="navbar-header">
|
|
23
|
-
<a class="navbar-brand" href="index.html"
|
|
23
|
+
<a class="navbar-brand" href="index.html">Itee Tasks v1.3.1</a>
|
|
24
24
|
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
|
|
25
25
|
<span class="icon-bar"></span>
|
|
26
26
|
<span class="icon-bar"></span>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<li class="dropdown">
|
|
34
34
|
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
|
|
35
35
|
<ul class="dropdown-menu inline">
|
|
36
|
-
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#
|
|
36
|
+
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#npmrunclean">npm run clean</a></li><li><a href="global.html#npmrunhelpdefault">npm run help ( default )</a></li><li><a href="global.html#npmrunlint">npm run lint</a></li><li><a href="global.html#npmrunpatch">npm run patch</a></li><li><a href="global.html#npmrunrelease">npm run release</a></li><li><a href="global.html#npmruntest">npm run test</a></li><li><a href="global.html#runBenchmarksForBackendTask">runBenchmarksForBackendTask</a></li><li><a href="global.html#runBenchmarksForFrontendTask">runBenchmarksForFrontendTask</a></li><li><a href="global.html#runUnitTestsForBackendTask">runUnitTestsForBackendTask</a></li><li><a href="global.html#runUnitTestsForFrontendTask">runUnitTestsForFrontendTask</a></li>
|
|
37
37
|
</ul>
|
|
38
38
|
</li>
|
|
39
39
|
|
|
@@ -70,20 +70,22 @@
|
|
|
70
70
|
<section>
|
|
71
71
|
<article>
|
|
72
72
|
<pre
|
|
73
|
-
class="sunlight-highlight-javascript linenums">import
|
|
74
|
-
import
|
|
75
|
-
import
|
|
76
|
-
import { basename } from 'node:path'
|
|
77
|
-
import { promisify } from 'node:util'
|
|
73
|
+
class="sunlight-highlight-javascript linenums">import child_process from 'node:child_process'
|
|
74
|
+
import { basename } from 'node:path'
|
|
75
|
+
import { promisify } from 'node:util'
|
|
78
76
|
import {
|
|
79
|
-
|
|
77
|
+
cyan,
|
|
78
|
+
red
|
|
79
|
+
} from '../utils/colors.mjs'
|
|
80
|
+
import {
|
|
81
|
+
log,
|
|
80
82
|
logLoadingTask
|
|
81
|
-
}
|
|
83
|
+
} from '../utils/loggings.mjs'
|
|
84
|
+
import { getTaskConfigurationPathFor } from '../utils/tasks.mjs'
|
|
82
85
|
|
|
83
86
|
logLoadingTask( import.meta.filename )
|
|
84
87
|
|
|
85
88
|
const execFile = promisify( child_process.execFile )
|
|
86
|
-
const { red, cyan } = colors
|
|
87
89
|
|
|
88
90
|
/**
|
|
89
91
|
* @method npm run lint
|
|
@@ -155,7 +157,7 @@ export { lintTask }</pre>
|
|
|
155
157
|
|
|
156
158
|
|
|
157
159
|
<span class="copyright">
|
|
158
|
-
Copyright 2015-Present <a href="https://github.com/Itee">Itee
|
|
160
|
+
Copyright 2015-Present <a href="https://github.com/Itee">Itee (Tristan Valcke)</a>
|
|
159
161
|
</span>
|
|
160
162
|
|
|
161
163
|
<span class="jsdoc-message">
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width">
|
|
7
|
-
<title
|
|
7
|
+
<title>Itee Tasks v1.3.1 Source: patches/patch.task.mjs</title>
|
|
8
8
|
|
|
9
9
|
<!--[if lt IE 9]>
|
|
10
10
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<div class="navbar navbar-default navbar-fixed-top ">
|
|
21
21
|
<div class="container">
|
|
22
22
|
<div class="navbar-header">
|
|
23
|
-
<a class="navbar-brand" href="index.html"
|
|
23
|
+
<a class="navbar-brand" href="index.html">Itee Tasks v1.3.1</a>
|
|
24
24
|
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
|
|
25
25
|
<span class="icon-bar"></span>
|
|
26
26
|
<span class="icon-bar"></span>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<li class="dropdown">
|
|
34
34
|
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
|
|
35
35
|
<ul class="dropdown-menu inline">
|
|
36
|
-
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#
|
|
36
|
+
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#npmrunclean">npm run clean</a></li><li><a href="global.html#npmrunhelpdefault">npm run help ( default )</a></li><li><a href="global.html#npmrunlint">npm run lint</a></li><li><a href="global.html#npmrunpatch">npm run patch</a></li><li><a href="global.html#npmrunrelease">npm run release</a></li><li><a href="global.html#npmruntest">npm run test</a></li><li><a href="global.html#runBenchmarksForBackendTask">runBenchmarksForBackendTask</a></li><li><a href="global.html#runBenchmarksForFrontendTask">runBenchmarksForFrontendTask</a></li><li><a href="global.html#runUnitTestsForBackendTask">runUnitTestsForBackendTask</a></li><li><a href="global.html#runUnitTestsForFrontendTask">runUnitTestsForFrontendTask</a></li>
|
|
37
37
|
</ul>
|
|
38
38
|
</li>
|
|
39
39
|
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
writeFileSync
|
|
76
76
|
} from 'node:fs'
|
|
77
77
|
import { basename } from 'node:path'
|
|
78
|
-
import { logLoadingTask } from '../
|
|
78
|
+
import { logLoadingTask } from '../utils/loggings.mjs'
|
|
79
79
|
|
|
80
80
|
logLoadingTask( import.meta.filename )
|
|
81
81
|
|
|
@@ -100,6 +100,14 @@ const patchTask = ( done ) => {
|
|
|
100
100
|
const patchedFileContent = fileContent.replace( searchValue, replaceValue )
|
|
101
101
|
writeFileSync( jsdocFilePath, patchedFileContent )
|
|
102
102
|
}
|
|
103
|
+
{
|
|
104
|
+
const jsdocFilePath = 'node_modules/jsdoc/conf.json.EXAMPLE'
|
|
105
|
+
const searchValue = '.js(doc|x)?'
|
|
106
|
+
const replaceValue = '.(js|mjs|cjs|jsdoc|jsx)?'
|
|
107
|
+
const fileContent = readFileSync( jsdocFilePath ).toString()
|
|
108
|
+
const patchedFileContent = fileContent.replace( searchValue, replaceValue )
|
|
109
|
+
writeFileSync( jsdocFilePath, patchedFileContent )
|
|
110
|
+
}
|
|
103
111
|
|
|
104
112
|
done()
|
|
105
113
|
}
|
|
@@ -146,7 +154,7 @@ export { patchTask }</pre>
|
|
|
146
154
|
|
|
147
155
|
|
|
148
156
|
<span class="copyright">
|
|
149
|
-
Copyright 2015-Present <a href="https://github.com/Itee">Itee
|
|
157
|
+
Copyright 2015-Present <a href="https://github.com/Itee">Itee (Tristan Valcke)</a>
|
|
150
158
|
</span>
|
|
151
159
|
|
|
152
160
|
<span class="jsdoc-message">
|