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
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/dev authors & contributors
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
module.exports = { foo: 'bar' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/dev authors & contributors
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
export default [];
+1 -1
View File
@@ -3,4 +3,4 @@
export {};
throw new Error('@pezkuwi/dev is not meant to be imported via root. Rather if provides a set of shared dependencies, a collection of scripts, base configs and some loaders accessed via the scripts. It is only meant to be used as a shared resource by all @polkadot/* projects');
throw new Error('@pezkuwi/dev is not meant to be imported via root. Rather if provides a set of shared dependencies, a collection of scripts, base configs and some loaders accessed via the scripts. It is only meant to be used as a shared resource by all @pezkuwi/* projects');
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/dev authors & contributors
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
import './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/dev authors & contributors
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './rootJs/index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/dev authors & contributors
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type * as testRoot from './root.js';
+3 -3
View File
@@ -30,10 +30,10 @@ describe('as-built output checks', (): void => {
it('has the static files copied (non-duplicated)', (): void => {
expect(
fs.existsSync(path.join(buildRoot, 'rootStatic/kusama.svg'))
fs.existsSync(path.join(buildRoot, 'rootStatic/zagros.svg'))
).toBe(true);
expect(
fs.existsSync(path.join(buildRoot, 'cjs/rootStatic/kusama.svg'))
fs.existsSync(path.join(buildRoot, 'cjs/rootStatic/zagros.svg'))
).toBe(false);
});
@@ -136,7 +136,7 @@ describe('as-built output checks', (): void => {
expect(
fs
.readFileSync(path.join(denoRoot, 'rootJs/augmented.ts'))
.includes("declare module 'https://deno.land/x/polkadot/dev/types.ts' {")
.includes("declare module 'https://deno.land/x/pezkuwi/dev/types.ts' {")
).toBe(true);
});
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/dev authors & contributors
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
export class Clazz {
+2 -2
View File
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
// Auto-generated via `yarn pezkuwi-types-from-chain`, do not edit
/* eslint-disable */
/** This tests augmentation outputs, e.g. as used in the polkadot-js/api */
/** This tests augmentation outputs, e.g. as used in the pezkuwi-js/api */
export interface Something {
bar: string;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/dev authors & contributors
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
/**
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/dev authors & contributors
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
/** This file should not be in the compiled output */
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/dev authors & contributors
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
import * as testRoot from './root.js';

Before

Width:  |  Height:  |  Size: 912 B

After

Width:  |  Height:  |  Size: 912 B

+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/dev authors & contributors
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/dev authors & contributors
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
export type EchoString = string;