mirror of
https://github.com/pezkuwichain/pezkuwi-wasm.git
synced 2026-11-02 16:11:06 +00:00
The package shipped only compiled output, and no repository held its source. lib/ is @scure/sr25519 0.2.0 with three edits made directly in the compiled files: signing context 'substrate' -> 'bizinikiwi' and the two header comment lines. index.ts is upstream's 0.2.0 source with the same edits; compiled with its own tsconfig it reproduces lib/*.js and lib/*.d.ts byte for byte. Only the source maps change, since the hand-edited ones still described upstream's file. - index.ts, tsconfig.json, tsconfig.cjs.json, upstream MIT LICENSE - yarn build:scure-sr25519 rebuilds lib/ - scripts/check-scure-sr25519.sh, run in CI, fails when lib/ is not a build of index.ts - README: what differs from upstream, how to build; it said the context was 'bizinikiwi' instead of 'bizinikiwi'
21 lines
537 B
JavaScript
21 lines
537 B
JavaScript
// Copyright 2017-2026 @pezkuwi/wasm-crypto authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import baseConfig from '@pezkuwi/dev/config/eslint';
|
|
|
|
export default [
|
|
...baseConfig,
|
|
{
|
|
ignores: [
|
|
'mod.ts',
|
|
'**/bytes.js',
|
|
'**/build/**',
|
|
'**/build-*/**',
|
|
// compiled from index.ts; there is nothing here to lint
|
|
'packages/scure-sr25519/lib/**',
|
|
// upstream @scure/sr25519 source, kept in its own style; see the package README
|
|
'packages/scure-sr25519/index.ts'
|
|
]
|
|
}
|
|
];
|