Skip to content

docs: correct terminology spelling#13964

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-term-spelling
May 9, 2026
Merged

docs: correct terminology spelling#13964
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-term-spelling

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

This PR corrects terminology spelling across comments, diagnostics, type descriptions, and documentation so terms like ECMAScript, TypeScript, and webpack are written consistently.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings May 9, 2026 03:20
@chenjiahan chenjiahan requested a review from hardfist as a code owner May 9, 2026 03:20
@github-actions github-actions Bot added the release: bug fix release: bug related release(mr only) label May 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes the spelling/casing of common ecosystem terminology across Rspack’s docs, type docs, diagnostics, and test fixtures to keep wording consistent (e.g., “ECMAScript”, “TypeScript”, “webpack”).

Changes:

  • Normalize “EcmaScript” → “ECMAScript” in docs, config type comments, resolver hints, and parser diagnostics.
  • Normalize “Typescript” → “TypeScript” in resolver/tsconfig option documentation across Rust, binding types, and generated d.ts.
  • Normalize some “Webpack” mentions in comments/docs → “webpack”, and update related test fixtures/snapshots accordingly.

Reviewed changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
website/docs/zh/config/output.mdx Doc comment casing fix for “ECMAScript” in output.environment.
website/docs/zh/blog/announcing-1-5.mdx Fix “TypeScript” casing in Chinese blog post.
website/docs/zh/api/javascript-api/resolver.mdx Use “webpack” casing in resolver API doc description text.
website/docs/en/config/output.mdx Doc comment casing fix for “ECMAScript” in output.environment.
tests/rspack-test/normalCases/parsing/typeof-api/index.js Comment terminology casing tweak (“webpack”).
tests/rspack-test/diagnosticsCases/module-parse-failed/tla_esm_error/stats.err Update expected diagnostic text to “ECMAScript Modules”.
tests/rspack-test/diagnosticsCases/factorize/fully-specified-resolve-suggestions/stats.err Update expected resolver hint text to “ECMAScript Module”.
tests/rspack-test/configCases/web/fetch-priority/index.js Comment terminology casing tweak (“webpack”).
tests/rspack-test/configCases/resolver-factory/with-query/rspack.config.js Comment terminology casing tweak (“webpack”).
tests/rspack-test/configCases/resolver-factory/with-fragment/rspack.config.js Comment terminology casing tweak (“webpack”).
tests/rspack-test/configCases/resolver-factory/resolve/rspack.config.js Comment terminology casing tweak (“webpack”).
packages/rspack/src/config/types.ts Update public type docstrings to “ECMAScript Modules”.
packages/rspack/src/config/target.ts Update target option description string to “ECMAScript”.
crates/rspack_plugin_javascript/src/parser_plugin/esm_detection_parser_plugin.rs Update top-level-await error text to “ECMAScript Modules”.
crates/rspack_plugin_devtool/src/module_filename_helpers.rs Comment terminology casing tweak (“webpack”).
crates/rspack_core/src/resolver/mod.rs Update resolver hint text to “ECMAScript Module”.
crates/rspack_core/src/options/resolve/mod.rs Update tsconfig option doc comment to “TypeScript”.
crates/rspack_binding_api/src/rspack_resolver/options.rs Update binding option doc comment to “TypeScript”.
crates/node_binding/napi-binding.d.ts Update generated TypeScript declaration doc comment to “TypeScript”.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chenjiahan chenjiahan changed the title fix: correct terminology spelling docs: correct terminology spelling May 9, 2026
@github-actions github-actions Bot added release: document release: document related release(mr only) and removed release: bug fix release: bug related release(mr only) labels May 9, 2026
@chenjiahan chenjiahan enabled auto-merge (squash) May 9, 2026 03:28
@github-actions

github-actions Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor

📦 Binary Size-limit

Comparing 8497fa6 to chore(deps): update pnpm to v10.33.4 (#13960) by renovate[bot]

🙈 Size remains the same at 61.92MB

@github-actions

github-actions Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor

Rsdoctor Bundle Diff Analysis

Found 6 projects in monorepo, 0 projects with changes.

📊 Quick Summary
Project Total Size Change
popular-libs 1.7 MB 0
react-10k 5.7 MB 0
react-1k 826.3 KB 0
react-5k 2.7 MB 0
rome 1.6 MB 0
ui-components 4.8 MB 0

Generated by Rsdoctor GitHub Action

@codspeed-hq

codspeed-hq Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 34 untouched benchmarks


Comparing chenjiahan/fix-term-spelling (8497fa6) with main (ed2742a)

Open in CodSpeed

@chenjiahan chenjiahan merged commit 828e249 into main May 9, 2026
43 of 44 checks passed
@chenjiahan chenjiahan deleted the chenjiahan/fix-term-spelling branch May 9, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: document release: document related release(mr only)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants