ic-mops 0.20.0 → 0.20.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/commands/docs.ts +1 -0
- package/commands/publish.ts +1 -1
- package/dist/commands/docs.js +1 -0
- package/dist/commands/publish.js +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/commands/docs.ts
CHANGED
package/commands/publish.ts
CHANGED
|
@@ -216,7 +216,7 @@ export async function publish({noDocs = false} = {}) {
|
|
|
216
216
|
|
|
217
217
|
// check allowed exts
|
|
218
218
|
for (let file of files) {
|
|
219
|
-
if (!minimatch(file, '**/*.{mo,did,md,toml}') && !file.toLowerCase().endsWith('license') && file !== docsFile) {
|
|
219
|
+
if (!minimatch(file, '**/*.{mo,did,md,toml}') && !file.toLowerCase().endsWith('license') && !file.toLowerCase().endsWith('notice') && file !== docsFile) {
|
|
220
220
|
console.log(chalk.red('Error: ') + `file ${file} has unsupported extension. Allowed: .mo, .did, .md, .toml`);
|
|
221
221
|
return;
|
|
222
222
|
}
|
package/dist/commands/docs.js
CHANGED
|
@@ -66,6 +66,7 @@ export async function docs({ silent = false } = {}) {
|
|
|
66
66
|
`${docsDir}/test/**/*`,
|
|
67
67
|
];
|
|
68
68
|
let files = globSync(`${docsDir}/**/*.adoc`, { ignore }).map(f => path.relative(docsDir, f));
|
|
69
|
+
files.sort();
|
|
69
70
|
if (files.length) {
|
|
70
71
|
let stream = tar.create({
|
|
71
72
|
cwd: docsDir,
|
package/dist/commands/publish.js
CHANGED
|
@@ -194,7 +194,7 @@ export async function publish({ noDocs = false } = {}) {
|
|
|
194
194
|
}
|
|
195
195
|
// check allowed exts
|
|
196
196
|
for (let file of files) {
|
|
197
|
-
if (!minimatch(file, '**/*.{mo,did,md,toml}') && !file.toLowerCase().endsWith('license') && file !== docsFile) {
|
|
197
|
+
if (!minimatch(file, '**/*.{mo,did,md,toml}') && !file.toLowerCase().endsWith('license') && !file.toLowerCase().endsWith('notice') && file !== docsFile) {
|
|
198
198
|
console.log(chalk.red('Error: ') + `file ${file} has unsupported extension. Allowed: .mo, .did, .md, .toml`);
|
|
199
199
|
return;
|
|
200
200
|
}
|
package/dist/package.json
CHANGED