Commit Graph
19 Commits
Author SHA1 Message Date
dependabot[bot] cc374166ea Bump source-map-js from 1.2.1 to 1.2.2
Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/7rulnik/source-map-js/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-07 04:15:57 +00:00
Satoshi Qazi MuhammedandClaude Opus 5.5 e73c5c953c Release the three packages together as 0.85.12
npm holds dev-test and dev-ts at 0.85.7 while this tree said 0.85.4 (the
published files match main's sources; the versions were bumped only where
they were published). All three move to 0.85.12, as upstream releases them
in step, and dev depends on ^0.85.12 of the other two, so the CJS import()
fix reaches all of them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 08:14:02 +04:00
Satoshi Qazi MuhammedandClaude Opus 5.5 513e863916 Let the PR checks fail
continue-on-error came with the upstream template: lint, test and build had
been red here since January while every pull request read as passing.
fail-fast: false keeps each step running to the end when another fails.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 08:14:02 +04:00
Satoshi Qazi MuhammedandClaude Opus 5.5 a4ab0148a3 Keep import() of an ES module in the CommonJS output
The CJS build transpiled with module CommonJS and NodeNext resolution. On
TypeScript 5.5 that kept import() of an ES module; from 5.6 it becomes
require(), which an ES module cannot answer on Node before 22. CJS is now
emitted with module NodeNext, under which TypeScript must keep import() for
an ES module. Across this repository's output the only change is that line,
plus a strict-mode header on one file with no imports.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 08:14:02 +04:00
Satoshi Qazi MuhammedandClaude Opus 5.5 1050f8cc20 Type-check JavaScript explicitly in the shared tsconfig
@tsconfig/strictest dropped checkJs in 2.0.8, so every .js and .mjs file
fell out of the program: lint could not parse them with type information,
and JavaScript in every repository built with this config went unchecked.
allowJs and checkJs are now set here, independent of the base.

Two @ts-expect-error lines in config/eslint.js no longer had an error to
expect: eslint-plugin-import 2.32 and eslint-plugin-react 7.37 ship types.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 08:14:02 +04:00
Satoshi Qazi MuhammedandClaude Opus 5.5 8e81c9041e Undo the test-suite workarounds for the broken manifests
With the manifests broken, b65f265 and 4539abb worked around the symptoms:
rootJs imported itself by relative path instead of as @pezkuwi/dev, a
hand-written dynamic.d.mts stood in for the .mjs, and suite.spec.ts declared
its own describe/it/expect and imported a .d.ts at run time, which failed
the file. All three are reverted to upstream's form.

The import-attribute check now expects `with`: Node 22 removed `assert`.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 08:14:02 +04:00
Satoshi Qazi MuhammedandClaude Opus 5.5 f60cdd90c1 Restore the source package manifests
Commit cb6801a replaced packages/{dev,dev-test,dev-ts}/package.json with the
build's rewritten copies: exports pointing at ./index.d.ts, ./cjs/* and
other files that exist only under build/, and main/module/types to match.
In the workspace that made @pezkuwi/dev-test/globals.d.ts unresolvable, so
tsc failed on every describe/it/expect (build and test red since January),
and packages/dev lost its devDependencies.

The four fields are back to the source form (identical to upstream's),
packages/dev's devDependencies are restored with React aligned to dev-test's
19, dev-test's @types/jsdom returns, and the generated globals.d.cts that was
committed beside the sources is removed. packageInfo follows the version.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 08:14:02 +04:00
Kurdistan Tech Ministry e419fceaa9 Take the repository address from package.json instead of assuming GitHub
build-ts split repository.url on 'https://github.com/'. Since the April
move of repository URLs to git.pezkuwichain.io that split returns
undefined and the build stops with "Cannot read properties of undefined
(reading 'split')" in every repo on the new host (pezkuwi-wasm, and this
one). Where it did not throw, orderPackageJson rebuilt bugs, homepage and
repository.url as github.com, silently reverting the declared host in
every package it built.

repoBaseFromUrl now parses the declared URL (accepting a git+ prefix and
a trailing .git) and the published metadata is derived from it.

Checked end to end on pezkuwi-wasm: the build completes and leaves every
package.json unchanged; the built package keeps its git.pezkuwichain.io
repository URL.
2026-10-07 08:14:02 +04:00
Kurdistan Tech Ministry 4db0839e91 chore: migrate git dependencies to Gitea mirror (git.pezkuwichain.io) 2026-04-21 18:53:18 +03:00
Kurdistan Tech Ministry 4539abb66e Fix: prevent double ./cjs/ prefix in main field + fix imports
- Build script was adding ./cjs/ prefix even when main already had it
- Fixed @testing-library/react dependency for tests
- Changed package-style imports to relative imports in rootJs/index.ts
- Bump version to 0.85.5
2026-01-18 07:15:18 +03:00
Kurdistan Tech MinistryandClaude Opus 4.5 4fbef2fcd2 Fix: prevent double ./cjs/ prefix in main field
When package.json already has main: './cjs/index.js', the build script
was incorrectly adding another ./cjs/ prefix resulting in './cjs/cjs/index.js'

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 07:07:02 +03:00
Kurdistan Tech Ministry 5822ced63c Fix Lock Threads workflow token configuration 2026-01-18 00:51:53 +03:00
Kurdistan Tech Ministry b65f265e87 Fix TypeScript type definitions for test suite
- Add explicit Describe and It interfaces with todo support
- Fix mock type compatibility in jest.ts
- Update import assertions to import attributes (assert -> with)
- Add dynamic.d.mts declaration file
- Fix spec files to use explicit type declarations
2026-01-17 21:02:45 +03:00
Kurdistan Tech Ministry cb6801a3cc Fix lint errors: Update copyright years to 2026 and ignore build outputs
- Updated all copyright headers from 2025 to 2026 (system date shows 2026)
- Added build output files to eslint ignore list in packages/dev/config/eslint.js
- Added build output patterns to .gitignore
- Ignored: packages/*/*.{d.ts,js,mjs,cjs}, packages/*/cjs/**, packages/*/env/**,
  packages/*/rootJs/**, packages/*/rootStatic/**
- Successfully resolved 521 lint errors by properly ignoring generated files
- Build outputs should not be linted (source files are linted instead)
- Lint and build now pass successfully
2026-01-17 21:02:45 +03:00
SatoshiQaziMuhammed cf3e088118 Add CodeQL analysis workflow configuration
This workflow file sets up CodeQL analysis for the repository, specifying languages and build modes.
2026-01-08 02:13:58 +03:00
Kurdistan Tech Ministry 8c5c20d970 chore: bump versions to 0.85.3 2026-01-08 01:47:30 +03:00
Kurdistan Tech Ministry 60f7beb120 fix: update header pattern to allow 'authors & contributors' suffix 2026-01-08 01:35:27 +03:00
Kurdistan Tech Ministry 49a6fd372f Update domain references to pezkuwichain.app 2026-01-06 12:20:56 +03:00
Kurdistan Tech Ministry 8d28b36f9c Initial rebrand: @polkadot -> @pezkuwi (3 packages)
- Package namespace: @polkadot/dev -> @pezkuwi/dev
- Repository: polkadot-js/dev -> pezkuwichain/pezkuwi-dev
- Author: Pezkuwi Team <team@pezkuwichain.io>

Packages:
- @pezkuwi/dev (build tools, linting, CI scripts)
- @pezkuwi/dev-test (test runner)
- @pezkuwi/dev-ts (TypeScript build)

Upstream: polkadot-js/dev v0.83.3
2026-01-05 14:22:47 +03:00