mirror of
https://github.com/pezkuwichain/pezkuwi-api.git
synced 2026-11-06 15:31:12 +00:00
chore(papi): keep the upstream sources in upstream-src/
The pezkuwi-dev build treats any package with a src/ directory as its own: it requires our license header on every file and builds it. These are upstream files that must stay byte-identical to the source embedded in dist/, so they live in upstream-src/ instead, which neither the build nor the root tsconfig picks up.
This commit is contained in:
1 parent
ea8cb96cea
commit
a9d1026736
65 files changed
+15
-18
No files matched your search
@@ -1,9 +1,9 @@
|
||||
# @pezkuwi/papi-utils
|
||||
|
||||
**Source:** `src/` is [`@polkadot-api/utils`](https://www.npmjs.com/package/@polkadot-api/utils/v/0.2.0) 0.2.0 from
|
||||
**Source:** `upstream-src/` is [`@polkadot-api/utils`](https://www.npmjs.com/package/@polkadot-api/utils/v/0.2.0) 0.2.0 from
|
||||
[polkadot-api](https://github.com/polkadot-api/polkadot-api) (MIT), with imports of
|
||||
`@polkadot-api/*` renamed to `@pezkuwi/*`. `dist/` is its build;
|
||||
`scripts/check-papi-sources.mjs` fails CI unless the source embedded in `dist/` equals `src/`.
|
||||
`scripts/check-papi-sources.mjs` fails CI unless the source embedded in `dist/` equals `upstream-src/`.
|
||||
|
||||
The upstream README follows.
|
||||
|
||||
|
||||
Reference in new issue
Block a user