@itee/tasks 1.4.4 → 1.4.6

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 (61) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +5 -5
  3. package/sources/utils/testing.js +1 -1
  4. package/docs/-_utils.mjs.html +0 -898
  5. package/docs/cleans_clean.task.mjs.html +0 -238
  6. package/docs/fonts/glyphicons-halflings-regular.eot +0 -0
  7. package/docs/fonts/glyphicons-halflings-regular.svg +0 -288
  8. package/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
  9. package/docs/fonts/glyphicons-halflings-regular.woff +0 -0
  10. package/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
  11. package/docs/global.html +0 -2200
  12. package/docs/helps_help.task.mjs.html +0 -326
  13. package/docs/img/glyphicons-halflings-white.png +0 -0
  14. package/docs/img/glyphicons-halflings.png +0 -0
  15. package/docs/index.html +0 -228
  16. package/docs/lints_lint.task.mjs.html +0 -255
  17. package/docs/patches_patch.task.mjs.html +0 -252
  18. package/docs/quicksearch.html +0 -31
  19. package/docs/releases_release.task.mjs.html +0 -238
  20. package/docs/scripts/docstrap.lib.js +0 -11
  21. package/docs/scripts/fulltext-search-ui.js +0 -89
  22. package/docs/scripts/fulltext-search.js +0 -36
  23. package/docs/scripts/lunr.min.js +0 -6
  24. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
  25. package/docs/scripts/prettify/jquery.min.js +0 -6
  26. package/docs/scripts/prettify/lang-css.js +0 -21
  27. package/docs/scripts/prettify/prettify.js +0 -496
  28. package/docs/scripts/sunlight.js +0 -1157
  29. package/docs/scripts/toc.js +0 -203
  30. package/docs/styles/darkstrap.css +0 -960
  31. package/docs/styles/prettify-tomorrow.css +0 -132
  32. package/docs/styles/site.cerulean.css +0 -7008
  33. package/docs/styles/site.cosmo.css +0 -7061
  34. package/docs/styles/site.cyborg.css +0 -7048
  35. package/docs/styles/site.darkly.css +0 -7171
  36. package/docs/styles/site.darkstrap.css +0 -5638
  37. package/docs/styles/site.dibs-bootstrap.css +0 -5899
  38. package/docs/styles/site.flatly.css +0 -7147
  39. package/docs/styles/site.journal.css +0 -6973
  40. package/docs/styles/site.lumen.css +0 -7298
  41. package/docs/styles/site.paper.css +0 -7623
  42. package/docs/styles/site.readable.css +0 -6997
  43. package/docs/styles/site.sandstone.css +0 -7035
  44. package/docs/styles/site.simplex.css +0 -7023
  45. package/docs/styles/site.slate.css +0 -7343
  46. package/docs/styles/site.spacelab.css +0 -7055
  47. package/docs/styles/site.superhero.css +0 -7131
  48. package/docs/styles/site.united.css +0 -6895
  49. package/docs/styles/site.yeti.css +0 -7195
  50. package/docs/styles/sunlight.dark.css +0 -345
  51. package/docs/styles/sunlight.default.css +0 -344
  52. package/docs/tests_benchmarks_compute-benchmarks.task.mjs.html +0 -438
  53. package/docs/tests_benchmarks_run-benchmarks-for-backend.task.mjs.html +0 -251
  54. package/docs/tests_benchmarks_run-benchmarks-for-frontend.task.mjs.html +0 -252
  55. package/docs/tests_bundlings_check-bundling-from-esm-files-direct.task.mjs.html +0 -288
  56. package/docs/tests_bundlings_check-bundling.task.mjs.html +0 -231
  57. package/docs/tests_run-tests.task.mjs.html +0 -228
  58. package/docs/tests_units_compute-unit-tests.task.mjs.html +0 -758
  59. package/docs/tests_units_run-unit-tests-for-backend.task.mjs.html +0 -256
  60. package/docs/tests_units_run-unit-tests-for-frontend.task.mjs.html +0 -252
  61. package/docs/utils_texts.mjs.html +0 -328
@@ -1,238 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html lang="en">
4
- <head>
5
- <meta charset="utf-8">
6
- <meta name="viewport" content="width=device-width">
7
- <title>Itee Tasks v1.4.3 Source: cleans/clean.task.mjs</title>
8
-
9
- <!--[if lt IE 9]>
10
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
- <![endif]-->
12
- <link type="text/css" rel="stylesheet" href="styles/sunlight.dark.css">
13
-
14
- <link type="text/css" rel="stylesheet" href="styles/site.cyborg.css">
15
-
16
- </head>
17
-
18
- <body>
19
-
20
- <div class="navbar navbar-default navbar-fixed-top ">
21
- <div class="container">
22
- <div class="navbar-header">
23
- <a class="navbar-brand" href="index.html">Itee Tasks v1.4.3</a>
24
- <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
25
- <span class="icon-bar"></span>
26
- <span class="icon-bar"></span>
27
- <span class="icon-bar"></span>
28
- </button>
29
- </div>
30
- <div class="navbar-collapse collapse" id="topNavigation">
31
- <ul class="nav navbar-nav">
32
-
33
- <li class="dropdown">
34
- <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
35
- <ul class="dropdown-menu inline">
36
- <li><a href="global.html#alignTextCenter">alignTextCenter</a></li><li><a href="global.html#alignTextLeft">alignTextLeft</a></li><li><a href="global.html#alignTextRight">alignTextRight</a></li><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><li><a href="global.html#toCamelCase">toCamelCase</a></li>
37
- </ul>
38
- </li>
39
-
40
- </ul>
41
-
42
- <div class="col-sm-3 col-md-3">
43
- <form class="navbar-form" role="search">
44
- <div class="input-group">
45
- <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
46
- <div class="input-group-btn">
47
- <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
48
- </div>
49
- </div>
50
- </form>
51
- </div>
52
-
53
- </div>
54
-
55
- </div>
56
- </div>
57
-
58
-
59
- <div class="container" id="toc-content">
60
- <div class="row">
61
-
62
-
63
- <div class="col-md-12">
64
-
65
- <div id="main">
66
-
67
-
68
- <h1 class="page-title">Source: cleans/clean.task.mjs</h1>
69
-
70
- <section>
71
- <article>
72
- <pre
73
- class="sunlight-highlight-javascript linenums">import { deleteAsync } from 'del'
74
- import { basename } from 'node:path'
75
- import { red } from '../utils/colors.mjs'
76
- import {
77
- log,
78
- logLoadingTask
79
- } from '../utils/loggings.mjs'
80
- import { getTaskConfigurationFor } from '../utils/tasks.mjs'
81
-
82
- logLoadingTask( import.meta.filename )
83
-
84
- const configuration = await getTaskConfigurationFor( import.meta.filename )
85
-
86
- /**
87
- * @method npm run clean
88
- * @global
89
- * @description Will delete builds and temporary folders
90
- */
91
- const cleanTask = () => deleteAsync( configuration, {
92
- onProgress: progress => {
93
- const path = progress.path || 'Nothing to clean...'
94
- const percent = Math.round( progress.percent * 100 )
95
- const spacer = percent === 100 ? '' : ' '
96
- log( `Deleting [${ progress.deletedCount }/${ progress.totalCount }]&lt;${ percent }%>${ spacer }:`, red( path ) )
97
- }
98
- } )
99
- cleanTask.displayName = basename( import.meta.filename, '.task.mjs' )
100
- cleanTask.description = 'Will delete builds and temporary folders'
101
- cleanTask.flags = null
102
-
103
- export { cleanTask }
104
- </pre>
105
- </article>
106
- </section>
107
-
108
-
109
-
110
-
111
-
112
- </div>
113
- </div>
114
-
115
- <div class="clearfix"></div>
116
-
117
-
118
-
119
- </div>
120
- </div>
121
-
122
-
123
- <div class="modal fade" id="searchResults">
124
- <div class="modal-dialog">
125
- <div class="modal-content">
126
- <div class="modal-header">
127
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
128
- <h4 class="modal-title">Search results</h4>
129
- </div>
130
- <div class="modal-body"></div>
131
- <div class="modal-footer">
132
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
133
- </div>
134
- </div><!-- /.modal-content -->
135
- </div><!-- /.modal-dialog -->
136
- </div>
137
-
138
-
139
- <footer>
140
-
141
-
142
- <span class="copyright">
143
- Copyright 2015-Present <a href="https://github.com/Itee">Itee (Tristan Valcke)</a>
144
- </span>
145
-
146
- <span class="jsdoc-message">
147
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a>
148
-
149
- using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
150
- </span>
151
- </footer>
152
-
153
- <script src="scripts/docstrap.lib.js"></script>
154
- <script src="scripts/toc.js"></script>
155
-
156
- <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
157
-
158
-
159
- <script>
160
- $( function () {
161
- $( "[id*='$']" ).each( function () {
162
- var $this = $( this );
163
-
164
- $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
165
- } );
166
-
167
- $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
168
- var $this = $( this );
169
-
170
- var example = $this.find( "code" );
171
- exampleText = example.html();
172
- var lang = /{@lang (.*?)}/.exec( exampleText );
173
- if ( lang && lang[1] ) {
174
- exampleText = exampleText.replace( lang[0], "" );
175
- example.html( exampleText );
176
- lang = lang[1];
177
- } else {
178
- var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
179
- lang = langClassMatch ? langClassMatch[1] : "javascript";
180
- }
181
-
182
- if ( lang ) {
183
-
184
- $this
185
- .addClass( "sunlight-highlight-" + lang )
186
- .addClass( "linenums" )
187
- .html( example.html() );
188
-
189
- }
190
- } );
191
-
192
- Sunlight.highlightAll( {
193
- lineNumbers : true,
194
- showMenu : true,
195
- enableDoclinks : true
196
- } );
197
-
198
- $.catchAnchorLinks( {
199
- navbarOffset: 10
200
- } );
201
- $( "#toc" ).toc( {
202
- anchorName : function ( i, heading, prefix ) {
203
- return $( heading ).attr( "id" ) || ( prefix + i );
204
- },
205
- selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
206
- showAndHide : false,
207
- smoothScrolling: true
208
- } );
209
-
210
- $( "#main span[id^='toc']" ).addClass( "toc-shim" );
211
- $( '.dropdown-toggle' ).dropdown();
212
-
213
- $( "table" ).each( function () {
214
- var $this = $( this );
215
- $this.addClass('table');
216
- } );
217
-
218
- } );
219
- </script>
220
-
221
-
222
-
223
- <!--Navigation and Symbol Display-->
224
-
225
-
226
- <!--Google Analytics-->
227
-
228
-
229
-
230
- <script type="text/javascript">
231
- $(document).ready(function() {
232
- SearcherDisplay.init();
233
- });
234
- </script>
235
-
236
-
237
- </body>
238
- </html>