@ckeditor/ckeditor5-dev-docs 44.0.0-alpha.1 → 44.0.0-alpha.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/lib/build.js +6 -1
- package/package.json +3 -3
package/lib/build.js
CHANGED
|
@@ -20,9 +20,12 @@ export default async function build( config ) {
|
|
|
20
20
|
const sourceFilePatterns = config.sourceFiles.filter( Boolean );
|
|
21
21
|
const strictMode = config.strict || false;
|
|
22
22
|
const extraPlugins = config.extraPlugins || [];
|
|
23
|
+
const ignoreFiles = config.ignoreFiles || [];
|
|
23
24
|
const validatorOptions = config.validatorOptions || {};
|
|
24
25
|
|
|
25
|
-
const files = await glob( sourceFilePatterns
|
|
26
|
+
const files = await glob( sourceFilePatterns, {
|
|
27
|
+
ignore: ignoreFiles
|
|
28
|
+
} );
|
|
26
29
|
const typeDoc = new TypeDoc.Application();
|
|
27
30
|
|
|
28
31
|
typeDoc.options.addReader( new TypeDoc.TSConfigReader() );
|
|
@@ -101,6 +104,8 @@ export default async function build( config ) {
|
|
|
101
104
|
*
|
|
102
105
|
* @property {Array.<String>} sourceFiles Glob pattern with source files.
|
|
103
106
|
*
|
|
107
|
+
* @property {Array.<String>} [ignoreFiles=[]] Glob pattern with files to ignore.
|
|
108
|
+
*
|
|
104
109
|
* @property {Boolean} [strict=false] If `true`, errors found during the validation will finish the process
|
|
105
110
|
* and exit code will be changed to `1`.
|
|
106
111
|
* @property {String} [outputPath] A path to the place where extracted doclets will be saved. Is an optional value due to tests.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-dev-docs",
|
|
3
|
-
"version": "44.0.0-alpha.
|
|
3
|
+
"version": "44.0.0-alpha.2",
|
|
4
4
|
"description": "Tasks used to build and verify the documentation for CKEditor 5.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"lib"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-dev-utils": "^44.0.0-alpha.
|
|
26
|
-
"@ckeditor/typedoc-plugins": "^44.0.0-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-dev-utils": "^44.0.0-alpha.2",
|
|
26
|
+
"@ckeditor/typedoc-plugins": "^44.0.0-alpha.2",
|
|
27
27
|
"glob": "^10.0.0",
|
|
28
28
|
"fs-extra": "^11.0.0",
|
|
29
29
|
"tmp": "^0.2.1",
|