Skip to content

Chore/examples latest overrides - #175

Merged
JOU-amjs merged 12 commits into
mainfrom
chore/examples-latest-overrides
Jul 26, 2026
Merged

Chore/examples latest overrides#175
JOU-amjs merged 12 commits into
mainfrom
chore/examples-latest-overrides

Conversation

@JOU-amjs

Copy link
Copy Markdown
Contributor

No description provided.

JOU-amjs added 4 commits July 24, 2026 22:02
- Replace Object.prototype.hasOwnProperty.call with native Object.hasOwn in worma OpenAPI utils

- Fix VS Code extension id generation to use Date.now()

- Fix import ordering and adjust publish script order

- Add changeset for wormajs and worma-vscode patch releases
- Update docs home components (Cta, Hero)

- Sync pnpm workspace and lockfile

- Adjust base tsconfig

- Remove worm-guidelines directory
@changeset-bot

changeset-bot Bot commented Jul 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 247cb81

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
wormajs Patch
worma-vscode Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

JOU-amjs added 2 commits July 25, 2026 16:59
- Add *.tsbuildinfo and tsc_out.txt to .gitignore
eslint-plugin-unicorn@72 relies on Set.prototype.union (Node 22+), so the Node 20
runners crash with 'mapTypes.union is not a function' during lint.

Bump the pr and release workflows to Node 22, and tighten engines.node to
>=22.0.0 to match the toolchain requirement.
JOU-amjs added 6 commits July 25, 2026 19:08
Vitest 4 forwards `new` to a vi.fn()'s implementation, and arrow
functions are not constructable. Use `function` expressions for the
MultiGeneratorRenderer/MultiProjectRenderer mocks so they can be
instantiated with `new` in actions.ts.
The build script used `nr --filter=./packages/* build`, where the
unquoted glob was expanded by the CI shell (zsh/bash) instead of being
passed literally to pnpm, causing "No matches found" and a broken
command. Quote the pattern so pnpm interprets the filter itself.
The e2e job runs under zsh (via xvfb-action), which errors on
unmatched globs, unlike bash. Quote the `build:*`/`test:*` patterns in
the run-s scripts so the CI shell passes them literally to npm-run-all
instead of trying to expand them as file globs.
Use module/moduleResolution=nodenext instead of the deprecated baseUrl and

moduleResolution=node, and add explicit .js extensions to all relative e2e imports.

This drops the ignoreDeprecations workaround and makes tsc -p e2e compatible

with TypeScript 7.0.
Under module=nodeNext the e2e is still compiled to CommonJS, so Node's native

import() of the fixtures.js CJS module exposes module.exports as default, which

itself carries the real default export. Unwrap one extra level so export default X

resolves to X for both scalar and array fixture declarations.
@JOU-amjs
JOU-amjs merged commit 47b9962 into main Jul 26, 2026
6 checks passed
@JOU-amjs JOU-amjs mentioned this pull request Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant