Commit Graph
20 Commits
Author SHA1 Message Date
SatoshiQaziMuhammed 1914388d2b docs: API reference and getting-started guide for developers.pezkuwichain.io (#21)
* docs: generate the API reference for developers.pezkuwichain.io

Add TypeDoc (0.28.20) and `yarn docs`, which builds the reference for the
nine public API packages from src/ into build-docs/, with a landing page
and a getting-started guide whose examples were run against the live
network. The PR workflow builds it so a broken doc comment or config is
caught before merge.

docs/ held only a redirect to polkadot.js.org; it now holds the guide
sources. The README, packages/api/README.md and three CHANGELOG entries
linked to js.pezkuwichain.app, a domain that is not ours and is listed
for sale; they now point to developers.pezkuwichain.io, the Pezkuwi
Portal, or the upstream polkadot.js.org pages the entries came from.

* ci(docs): deploy the reference to developers.pezkuwichain.io

On every master push that changes the generated reference, build it with
`yarn docs` and publish it to the web host the same way pezkuwi-apps
publishes the portal: an approved production environment holds the deploy
key, the bundle is unpacked into releases/<sha>, and going live is one
rename of the current symlink. The switch is checked through nginx for the
public name (deploy sha, index, main.js, search index) and rolled back if
the new release is not served. workflow_dispatch with rollback_to makes an
earlier release live again.

Release-bot version bumps ([CI Skip]) and changes that cannot affect the
output do not ask for an approval.
2026-11-12 22:32:28 +04:00
Satoshi Qazi Muhammed 5835a5383c Move to @pezkuwi/dev 0.86 (eslint 10 toolchain)
- @pezkuwi/dev, dev-test, dev-ts ^0.86.3; disable directives renamed
  for the new rule names, or removed where the rule no longer reports
- rethrown errors carry the original as `cause` (13 sites)
- optional chains where a guard expression tested the same value
- Init: the registry cache settles with the creator's own promise,
  dropping the entry in finally(), instead of re-wrapping it
- Combinator: a typed call instead of `Function`
- checkTypes.manual: synchronous checks run outside Promise.all
- sortValues, createTypeUnsafe: initial values that were never read
- typegen util: load docs.js for its side effect (it registers the
  `docs` Handlebars partial) now that its types are re-exported
  type-only
- MockProvider keeps its Header assertion: the package's own build
  does not load api-augment, so createType returns a plain Codec there
- Decorate keeps `delete queue[i]`: the hole marks a fired queue and
  later indexes must not shift
2026-10-09 16:32:37 +04:00
Satoshi Qazi Muhammed 00f3f75643 Release 16.5.39
Carries the tx generator fix (struct and enum arguments keep their object
input) on top of 16.5.38. All packages and their exact internal pins move
to 16.5.39.
2026-10-08 23:32:40 +04:00
Satoshi Qazi Muhammed ca7f3bcc2f Release 16.5.38
Carries the typegen fix for types that contain an account (a0b19f4) and the
api-augment regenerated with it; nothing else changed since 16.5.37
(2a35891). All packages and their exact internal pins move to 16.5.38.
2026-10-08 23:10:31 +04:00
Satoshi Qazi Muhammed 55702e7638 Update copyright headers to 2026
Year range only; no code change.
2026-10-08 03:23:10 +04:00
Satoshi Qazi Muhammed 7c6cac97da Fix the lint errors
Most are object keys out of order after the rename (dicle, pezkuwi,
bizinikiwi, teyrchains and zagros sort differently from the names they
replaced); they are sorted, behaviour is unchanged. The rest:

- createClass: header.hash is already the BlockHash type; the
  `as any` cast is removed
- ScProvider: WellKnownChain is a string union in @bizinikiwi/connect,
  so `string | WellKnownChain` was `string`; the spec parameter says so
- ScProvider: the jsonRpcResponses loop is a named async function whose
  rejection (chain removed, client terminated) is caught explicitly
  instead of a floating promise
- the fake chain in the spec no longer needs a non-null assertion
- Extrinsic.hash: redundant non-null assertion removed
- metadata-get.mjs writes the 2026 header
2026-10-08 03:23:10 +04:00
Satoshi Qazi Muhammed 611d410f28 Restore source package manifests and release 16.5.37
The packages/*/package.json files were the manifests the build writes
into build/, committed back over the source ones: exports maps of
thousands of entries pointing at ./cjs/* files, main at ./cjs/index.js,
module and types set. pezkuwi-dev-build-ts generates those fields
itself; in the source they pointed at files that only existed because
build output had been committed too. main, module, types, exports,
browser, react-native and sideEffects are back in the source form of
the upstream manifests; every other field is unchanged.

- @pezkuwi/* common dependencies 14.0.25 -> 14.0.26 (wasm-crypto 7.5.20
  underneath, with working ed25519 and secp256k1)
- the root resolutions forcing common 14.0.25 and wasm 7.5.4 onto the
  whole tree are removed; only the typescript pin remains
- @pezkuwi/dev, dev-test and dev-ts ^0.85.12
- the deno script is removed
- version 16.5.37
2026-10-08 03:23:10 +04:00
Satoshi Qazi Muhammed b925eca088 Remove build output committed into the source tree
Packages had their compiled output checked in next to src/: .js,
.d.ts and cjs/ trees at the package root, 251 symlinks into build/,
root copies of typegen generate/ and templates/ and of types-support
json/, and a LICENSE per package. The build writes all of these into
build/ itself; in the source tree they shadowed src/ for anything
resolving the package root and drifted from it.
2026-10-08 03:23:10 +04:00
Satoshi Qazi Muhammed 6468c53ec8 Drop the Deno target
The mod.ts entry points and import_map.in.json fed a deno.land/x
publication that never existed. pezkuwi-common dropped the same target.
2026-10-08 03:23:10 +04:00
Kurdistan Tech Ministry 25f98dd613 chore: migrate git dependencies to Gitea mirror (git.pezkuwichain.io) 2026-04-21 18:53:13 +03:00
Kurdistan Tech Ministry 24350615c0 fix: upgrade all @pezkuwi/* dependencies to 14.0.25
Root resolutions were pinned to 14.0.11, preventing yarn from
resolving to the latest published versions. Updated resolutions
and all package.json dependencies to 14.0.25 which includes
native bizinikiwi signing context via @pezkuwi/scure-sr25519.
2026-02-25 04:27:14 +03:00
Kurdistan Tech Ministry 1be455e7ad release: v16.5.36 - npm package structure fix
- Published from build/ directories for correct npm structure
- Updated common dependencies to 14.0.25
- Added AuthorizeCall signed extension support
- All packages now have index.js at root level
2026-02-01 21:45:29 +03:00
Kurdistan Tech Ministry 66983cca98 fix: update all packages to 16.5.22 with correct dependencies 2026-01-31 18:12:18 +03:00
Kurdistan Tech Ministry 5a042364e0 fix: update all packages to 16.5.21 2026-01-31 17:51:50 +03:00
Kurdistan Tech Ministry bb61d7a5ca fix: update all packages to 16.5.20 with correct dependency versions 2026-01-31 17:39:10 +03:00
Kurdistan Tech Ministry df8a5095e0 fix: update all packages to 16.5.19 with correct dependencies 2026-01-31 17:25:11 +03:00
Kurdistan Tech Ministry d069be2314 fix: update cross-package dependencies to 16.5.18 2026-01-31 17:15:48 +03:00
Kurdistan Tech Ministry 2db0d19928 fix: update pezkuwi mainnet genesis hash and remove npm token from repo
- Update genesis hash to mainnet value
- Remove npmAuthToken from .yarnrc.yml (use GitHub Secrets instead)
- Add pezsp_* and pezframe_* path support in PortableRegistry
2026-01-31 07:33:44 +03:00
Kurdistan Tech Ministry c2f759f58d chore: update to version 16.5.9, align with pezkuwichain brand and fix tests 2026-01-11 11:32:56 +03:00
Kurdistan Tech Ministry d5f038faea Rebrand: polkadot → pezkuwi, substrate → bizinikiwi, kusama → dicle 2026-01-07 02:29:40 +03:00