mirror of
https://github.com/pezkuwichain/pezkuwi-dev.git
synced 2026-04-22 11:17:59 +00:00
fix: update header pattern to allow 'authors & contributors' suffix
This commit is contained in:
@@ -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,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 [];
|
||||
|
||||
@@ -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,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,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,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';
|
||||
|
||||
@@ -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,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 {
|
||||
|
||||
@@ -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,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
@@ -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,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,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,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;
|
||||
|
||||
Reference in New Issue
Block a user