Skip to content

chore: update project for typescript to v6.0.2 and migrate type tests to tstyche#403

Open
Tony133 wants to merge 5 commits into
pinojs:masterfrom
Tony133:chore/upgrade-typescript-v6
Open

chore: update project for typescript to v6.0.2 and migrate type tests to tstyche#403
Tony133 wants to merge 5 commits into
pinojs:masterfrom
Tony133:chore/upgrade-typescript-v6

Conversation

@Tony133

@Tony133 Tony133 commented Apr 3, 2026

Copy link
Copy Markdown

Proposals:

  • Upgrade typescript to v6.0.2 🔥
  • Migrate type tests from tsd to tstyche 🔥
  • Reorganize project structure 🔥

Changes made:

  • package.json:

    • bumped typescript dev dependency from ~5.9.2 to ~6.0.2
    • update scripts for eslint
  • replaced tsd with tstyche for type testing

  • tsconfig.json: updated compiler options to align with TS6:

    • target: es6es2022
    • lib: ["es2015"]["es2022"]
    • module: commonjsnode16
    • moduleResolution: nodenode16
  • Type tests — restructured under types/:

    • index.d.tstypes/index.d.ts
    • index.test-d.tstypes/index.tst.ts (converted to tstyche)
    • import.test-d.tstypes/import.tst.ts (converted to tstyche)
  • Project structure

    • logger.jsindex.js
    • deprecations.jsexamples/deprecations.js
    • example.jsexamples/example.js
    • example-custom-format.jsexamples/example-custom-format.js
    • test/test.js — updated imports to reflect new paths

Note:

new project structure

@Tony133 Tony133 marked this pull request as ready for review April 3, 2026 08:31
@Tony133 Tony133 force-pushed the chore/upgrade-typescript-v6 branch from 53f6b8c to c30b116 Compare June 22, 2026 16:16
@Tony133 Tony133 changed the title chore: update typescript to v6.0.2 chore: update typescript to v6.0.2 and migrate type tests to tstyche Jun 22, 2026
@Tony133 Tony133 force-pushed the chore/upgrade-typescript-v6 branch from c2f0087 to 7867c91 Compare June 22, 2026 16:23
@Tony133 Tony133 changed the title chore: update typescript to v6.0.2 and migrate type tests to tstyche chore: update project for typescript to v6.0.2 and migrate type tests to tstyche Jun 22, 2026
@Tony133 Tony133 force-pushed the chore/upgrade-typescript-v6 branch from 4decf01 to 83542ad Compare June 22, 2026 16:34
@Tony133

Tony133 commented Jun 22, 2026

Copy link
Copy Markdown
Author

@mcollina As soon as you have a moment, can you do a review? 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant