fix: update header pattern to allow 'authors & contributors' suffix

This commit is contained in:
2026-01-08 01:35:27 +03:00
parent 49a6fd372f
commit 60f7beb120
70 changed files with 246 additions and 246 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env node
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
import fs from 'node:fs';
import path from 'node:path';
import { copyDirSync, logBin, rimrafSync } from './util.mjs';
logBin('pezkuwi-dev-build-docs');
let docRoot = path.join(process.cwd(), 'docs');
if (fs.existsSync(docRoot)) {
docRoot = path.join(process.cwd(), 'build-docs');
rimrafSync(docRoot);
copyDirSync(path.join(process.cwd(), 'docs'), docRoot);
}