@wixc3/docs
Advanced tools
Comparing version 13.3.2 to 13.4.0
@@ -11,3 +11,3 @@ "use strict"; | ||
function validateExamples(config, apiJsons = '*.api.json') { | ||
const apiJsonPaths = (0, glob_1.globSync)((0, common_1._temp)(config, apiJsons)); | ||
const apiJsonPaths = (0, glob_1.sync)((0, common_1._temp)(config, apiJsons)); | ||
if (!apiJsonPaths.length) { | ||
@@ -65,3 +65,3 @@ throw new Error(`No packages api found, make sure you used "yarn docs build" before validating examples`); | ||
} | ||
const filePaths = (0, glob_1.globSync)((0, common_1._packages)(config, pkg.dir, config.examples, '**', type)); | ||
const filePaths = (0, glob_1.sync)((0, common_1._packages)(config, pkg.dir, config.examples, '**', type)); | ||
for (const file of filePaths) { | ||
@@ -68,0 +68,0 @@ const content = (0, fs_1.readFileSync)(file, 'utf8'); |
import { ApiPackage } from '@microsoft/api-extractor-model'; | ||
import { globSync } from 'glob'; | ||
import { sync as globSync } from 'glob'; | ||
import { getPackageByName, _packages, _temp } from './common'; | ||
@@ -4,0 +4,0 @@ import { readFileSync } from 'fs'; |
{ | ||
"name": "@wixc3/docs", | ||
"version": "13.3.2", | ||
"version": "13.4.0", | ||
"description": "API ", | ||
@@ -25,11 +25,11 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"@microsoft/api-documenter": "^7.22.33", | ||
"@microsoft/api-extractor": "^7.36.4", | ||
"@microsoft/api-extractor-model": "^7.27.6", | ||
"@wixc3/common": "^13.3.2", | ||
"@wixc3/fs-utils": "^13.3.2", | ||
"@wixc3/typescript": "^13.3.2", | ||
"glob": "^10.3.4", | ||
"@microsoft/api-documenter": "^7.23.12", | ||
"@microsoft/api-extractor": "^7.38.3", | ||
"@microsoft/api-extractor-model": "^7.28.2", | ||
"@wixc3/common": "^13.4.0", | ||
"@wixc3/fs-utils": "^13.4.0", | ||
"@wixc3/typescript": "^13.4.0", | ||
"glob": "^10.3.10", | ||
"yargs": "^17.7.2" | ||
} | ||
} |
import { ApiPackage, ApiDeclaredItem, ApiItem } from '@microsoft/api-extractor-model'; | ||
import { globSync } from 'glob'; | ||
import { sync as globSync } from 'glob'; | ||
import { UserConfig, getPackageByName, Package, _packages, _temp, Config } from './common'; | ||
@@ -4,0 +4,0 @@ import { readFileSync } from 'fs'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
323314
Updated@wixc3/common@^13.4.0
Updated@wixc3/fs-utils@^13.4.0
Updated@wixc3/typescript@^13.4.0
Updatedglob@^10.3.10