mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-18 01:11:02 +00:00
Rebrand: polkadot → pezkuwi build fixes
- Fixed TypeScript type assertion issues - Updated imports from api-augment/substrate to api-augment/bizinikiwi - Fixed imgConvert.mjs header and imports - Added @ts-expect-error for runtime-converted types - Fixed all @polkadot copyright headers to @pezkuwi
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('node:fs');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('node:fs');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('node:fs');
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
// Copyright 2017-2025 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
|
||||
import { formatNumber, stringCamelCase } from '@polkadot/util';
|
||||
import { formatNumber, stringCamelCase } from '@pezkuwi/util';
|
||||
|
||||
const MAX_SIZE = 48 * 1024;
|
||||
|
||||
// FIXME The sorting here and the sorting from linting seems like a mismatch...
|
||||
const HEADER = '// Copyright 2017-2025 @polkadot/apps authors & contributors\n// SPDX-License-Identifier: Apache-2.0\n\n// Do not edit. Auto-generated via node scripts/imgConvert.mjs\n\n';
|
||||
const HEADER = '// Copyright 2017-2025 @pezkuwi/apps authors & contributors\n// SPDX-License-Identifier: Apache-2.0\n\n// Do not edit. Auto-generated via node scripts/imgConvert.mjs\n\n';
|
||||
|
||||
/** @type {Record<string, string>} */
|
||||
const MIME = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
@@ -11,7 +11,7 @@ import cloudflare from 'dnslink-cloudflare';
|
||||
import fs from 'node:fs';
|
||||
|
||||
// @ts-expect-error No definition file
|
||||
import { execSync } from '@polkadot/dev/scripts/util.mjs';
|
||||
import { execSync } from '@pezkuwi/dev/scripts/util.mjs';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore Using ignore since the file won't be there in dev
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright 2017-2025 @polkadot/react-components authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-components authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
|
||||
const HEADER = `// Copyright 2017-2025 @polkadot/react-components authors & contributors
|
||||
const HEADER = `// Copyright 2017-2025 @pezkuwi/react-components authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Automatically generated, do not edit
|
||||
|
||||
Reference in New Issue
Block a user