mirror of
https://github.com/pezkuwichain/pezkuwi-dev.git
synced 2026-06-13 16:51:01 +00:00
Update domain references to pezkuwichain.app
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { exposeEnv } from './env/index.js';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { browser } from './browser.js';
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { JSDOM } from 'jsdom';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
describe('expect', () => {
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AnyFn, WithMock } from '../types.js';
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { browser } from './browser.js';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
describe('jest', () => {
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AnyFn, WithMock } from '../types.js';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { after, afterEach, before, beforeEach } from 'node:test';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
describe('describe()', () => {
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { describe, it } from 'node:test';
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* eslint-disable no-var */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
throw new Error('Use node --require @polkadot/dev-test/{node, browser} depending on the required environment');
|
||||
throw new Error('Use node --require @pezkuwi/dev-test/{node, browser} depending on the required environment');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { exposeEnv } from './env/index.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/dev-test', path: 'auto', type: 'auto', version: '0.84.2' };
|
||||
export const packageInfo = { name: '@pezkuwi/dev-test', path: 'auto', type: 'auto', version: '0.84.2' };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import { enhanceObj, stubObj, warnObj } from './util.js';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-test authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BaseFn, BaseObj, StubFn } from './types.js';
|
||||
|
||||
@@ -15,10 +15,169 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.84.2",
|
||||
"main": "./index.js",
|
||||
"version": "0.84.3",
|
||||
"main": "./cjs/index.js",
|
||||
"exports": {
|
||||
"./globals.d.ts": "./src/globals.d.ts"
|
||||
"./cjs/package.json": "./cjs/package.json",
|
||||
"./cjs/*": "./cjs/*.js",
|
||||
".": {
|
||||
"module": {
|
||||
"types": "./index.d.ts",
|
||||
"default": "./index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/index.d.ts",
|
||||
"default": "./cjs/index.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./index.d.ts",
|
||||
"default": "./index.js"
|
||||
}
|
||||
},
|
||||
"./cached": {
|
||||
"module": {
|
||||
"types": "./cached.d.ts",
|
||||
"default": "./cached.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/cached.d.ts",
|
||||
"default": "./cjs/cached.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./cached.d.ts",
|
||||
"default": "./cached.js"
|
||||
}
|
||||
},
|
||||
"./common": {
|
||||
"module": {
|
||||
"types": "./common.d.ts",
|
||||
"default": "./common.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/common.d.ts",
|
||||
"default": "./cjs/common.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./common.d.ts",
|
||||
"default": "./common.js"
|
||||
}
|
||||
},
|
||||
"./loader": {
|
||||
"module": {
|
||||
"types": "./loader.d.ts",
|
||||
"default": "./loader.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/loader.d.ts",
|
||||
"default": "./cjs/loader.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./loader.d.ts",
|
||||
"default": "./loader.js"
|
||||
}
|
||||
},
|
||||
"./package.json": {
|
||||
"require": "./cjs/package.json",
|
||||
"default": "./package.json"
|
||||
},
|
||||
"./packageInfo.js": {
|
||||
"module": {
|
||||
"types": "./packageInfo.d.ts",
|
||||
"default": "./packageInfo.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/packageInfo.d.ts",
|
||||
"default": "./cjs/packageInfo.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./packageInfo.d.ts",
|
||||
"default": "./packageInfo.js"
|
||||
}
|
||||
},
|
||||
"./packageInfo": {
|
||||
"module": {
|
||||
"types": "./packageInfo.d.ts",
|
||||
"default": "./packageInfo.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/packageInfo.d.ts",
|
||||
"default": "./cjs/packageInfo.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./packageInfo.d.ts",
|
||||
"default": "./packageInfo.js"
|
||||
}
|
||||
},
|
||||
"./resolver": {
|
||||
"module": {
|
||||
"types": "./resolver.d.ts",
|
||||
"default": "./resolver.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/resolver.d.ts",
|
||||
"default": "./cjs/resolver.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./resolver.d.ts",
|
||||
"default": "./resolver.js"
|
||||
}
|
||||
},
|
||||
"./testCached": {
|
||||
"module": {
|
||||
"types": "./testCached.d.ts",
|
||||
"default": "./testCached.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/testCached.d.ts",
|
||||
"default": "./cjs/testCached.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./testCached.d.ts",
|
||||
"default": "./testCached.js"
|
||||
}
|
||||
},
|
||||
"./testLoader": {
|
||||
"module": {
|
||||
"types": "./testLoader.d.ts",
|
||||
"default": "./testLoader.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/testLoader.d.ts",
|
||||
"default": "./cjs/testLoader.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./testLoader.d.ts",
|
||||
"default": "./testLoader.js"
|
||||
}
|
||||
},
|
||||
"./tsconfig": {
|
||||
"module": {
|
||||
"types": "./tsconfig.d.ts",
|
||||
"default": "./tsconfig.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/tsconfig.d.ts",
|
||||
"default": "./cjs/tsconfig.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./tsconfig.d.ts",
|
||||
"default": "./tsconfig.js"
|
||||
}
|
||||
},
|
||||
"./types": {
|
||||
"module": {
|
||||
"types": "./types.d.ts",
|
||||
"default": "./types.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/types.d.ts",
|
||||
"default": "./cjs/types.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./types.d.ts",
|
||||
"default": "./types.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"json5": "^2.2.3",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/dev-ts authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import path from 'node:path';
|
||||
import { pathToFileURL } from 'node:url';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2017-2025 @polkadot/dev authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export {};
|
||||
|
||||
throw new Error('@polkadot/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 @polkadot/* projects');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2017-2025 @polkadot/dev authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
// Do not edit, auto-generated by @pezkuwi/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/dev', path: 'auto', type: 'auto', version: '0.84.2' };
|
||||
export const packageInfo = { name: '@pezkuwi/dev', path: 'auto', type: 'auto', version: '0.84.2' };
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/dev authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
@@ -74,7 +74,7 @@ describe('as-built output checks', (): void => {
|
||||
idxTypes.forEach((type) =>
|
||||
it(`contains import(...) in ${type}`, (): void => {
|
||||
expect(
|
||||
jsIdx[type].includes("const { sum } = await import('@polkadot/dev/rootJs/dynamic.mjs');")
|
||||
jsIdx[type].includes("const { sum } = await import('@pezkuwi/dev/rootJs/dynamic.mjs');")
|
||||
).toBe(true);
|
||||
})
|
||||
);
|
||||
@@ -86,7 +86,7 @@ describe('as-built output checks', (): void => {
|
||||
expect(
|
||||
jsIdx[type].includes(
|
||||
type === 'cjs'
|
||||
? 'require("@polkadot/dev/rootJs/testJson.json")'
|
||||
? 'require("@pezkuwi/dev/rootJs/testJson.json")'
|
||||
// eslint-disable-next-line no-useless-escape
|
||||
: "import testJson from '@pezkuwi/dev/rootJs/testJson.json' assert { type: \'json\' };"
|
||||
)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import { fireEvent, render, screen } from '@testing-library/react';
|
||||
import { strict as assert } from 'node:assert';
|
||||
|
||||
@@ -8,6 +8,6 @@ export interface Something {
|
||||
foo: string;
|
||||
}
|
||||
|
||||
declare module '@polkadot/dev/types' {
|
||||
declare module '@pezkuwi/dev/types' {
|
||||
const blah: 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
|
||||
|
||||
/** This should appear as-is in the output with: 1. extension added, 2. augmented.d.ts correct */
|
||||
@@ -20,7 +20,7 @@ export function bigIntExp (): bigint {
|
||||
export async function dynamic (a: number, b: number): Promise<number> {
|
||||
// NOTE we go via this path so it points to the same location in both ESM
|
||||
// and CJS output (a './dynamic' import would be different otherwise)
|
||||
const { sum } = await import('@polkadot/dev/rootJs/dynamic.mjs');
|
||||
const { sum } = await import('@pezkuwi/dev/rootJs/dynamic.mjs');
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
||||
return sum(a, b);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
/* global describe, expect, it */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user