Files
oxc/oxfmtrc.jsonc
T
Boshen f585cb42cd feat(napi): add threadless WASI builds (#26898)
## Summary

- add threadless `wasm32-wasip1` builds and generated loaders for parser, minify, transform, transform-react, and transform-relay
- use the threadless bindings for browser and Cloudflare Workers while preserving threaded WASI and WebContainer fallbacks
- build and publish the new target in CI and release workflows

Closes #25271

## Testing

- native NAPI builds and package tests: 1,091 passed
- parser Chromium browser tests passed
- local workerd smoke tests passed for all five packages
- deployed Workers using local package tarballs passed for all five packages and reported `wasm32-wasip1`
- packed main-package file lists match the published `0.150.0` packages
- `just fmt`, `just check`, `just lint`, `just doc`, `just ast`, targeted Oxlint, typos, and `git diff --check` passed
- `just ready` reaches three unrelated Oxlint ANSI-color snapshot mismatches in this non-interactive environment; no pending snapshots remain

## AI assistance

Codex was used to help implement and test this change. The contributor remains responsible for reviewing and understanding the changes before merge.
2026-09-23 06:54:41 +00:00

53 lines
2.5 KiB
JSON

{
"$schema": "./npm/oxfmt/configuration_schema.json",
"experimentalOperatorPosition": "start",
"ignorePatterns": [
"**/tests/**",
// Ignore `fixtures` directories except for `apps/oxlint/test/fixtures`
"**/fixtures/**",
"!apps/oxlint/test/fixtures/**",
"apps/oxlint/test/fixtures/bom/files/**",
"apps/oxlint/test/fixtures/fixes/files/**",
"apps/oxlint/test/fixtures/plugin_eslint/files/**",
"apps/oxlint/test/fixtures/suggestions/files/**",
"apps/oxlint/test/fixtures/sourceCode_token_methods/files/**",
"apps/oxlint/test/fixtures/tokens/files/**",
"apps/oxlint/test/fixtures/tokens_unambiguous_await/files/**",
"**/dist/**",
"**/generated/**",
"**/CHANGELOG.md",
"**/*.snap.md",
"**/DIVERGENCES.md",
"apps/oxfmt/conformance/snapshots/**",
"apps/oxlint/conformance/snapshots/**",
"tasks/coverage/node-compat-table",
"tasks/coverage/misc",
"tasks/coverage/src/runtime/babelHelpers.js",
"tasks/transform_conformance/tests",
"apps/{oxlint,oxfmt}/src-js/bindings.js",
"apps/{oxlint,oxfmt}/src-js/bindings.d.ts",
"apps/oxlint/src-js/generated/",
"apps/oxlint/src-js/package/config.generated.ts",
"apps/oxfmt/src-js/config.generated.ts",
"apps/oxlint/conformance/submodules/**",
"napi/parser/src-js/bindings.js",
"tasks/codegen_conformance/index.js",
"tasks/codegen_conformance/index.d.ts",
"napi/playground/playground.wasi-browser.js",
"napi/{transform,transform-react,transform-relay,minify,playground}/index.js",
"napi/{transform,transform-react,transform-relay,minify,playground}/index.d.ts",
"napi/{parser,transform,transform-react,transform-relay,minify,playground}/**/index.d.ts",
"napi/{parser,transform,transform-react,transform-relay,minify,playground}/**/*.wasi.d.cts",
"napi/{parser,transform,transform-react,transform-relay,minify,playground}/**/*.wasi-browser.js",
"napi/{parser,transform,transform-react,transform-relay,minify,playground}/**/*.wasi.cjs",
"napi/{parser,transform,transform-react,transform-relay,minify}/**/*.wasip1*",
"napi/{parser,transform,transform-react,transform-relay,minify,playground}/**/wasi-worker-browser.mjs",
"napi/{parser,transform,transform-react,transform-relay,minify,playground}/**/wasi-worker.mjs",
"napi/{parser,transform,transform-react,transform-relay,minify,playground}/**/browser.js",
"npm/runtime/src",
"npm/oxc-types/types.d.ts",
"npm/oxfmt/configuration_schema.json",
"npm/oxlint/configuration_schema.json",
],
}