Skip to content

v0.16.0#332

Merged
ruedap merged 13 commits intomainfrom
update-packages
Mar 31, 2026
Merged

v0.16.0#332
ruedap merged 13 commits intomainfrom
update-packages

Conversation

@ruedap
Copy link
Copy Markdown
Owner

@ruedap ruedap commented Mar 31, 2026

Summary

  • Update Node.js to v24.14.0 LTS and require >= 20.0.0 via engines field
  • Update all npm packages to latest versions (TypeScript 6.0, Mocha 11, Prettier 3, Sass 1.98, etc.)
  • Remove unused packages (babel, espower-typescript, postcss-map, minimist) and reduce npm audit vulnerabilities from 28 to 5
  • Migrate generated SCSS from Sass @import to @use in preparation for Dart Sass 3.0 removal
  • Migrate test runner from espower-typescript to tsx
  • Update GitHub Actions to v4 and Node.js 24.x
  • Update tsconfig to TypeScript 6.0 recommended module/moduleResolution: node16
  • Fix bugs URL in package.json (emma.scss → emma.css)

Breaking Changes

  • Sass @import@use migration: Users consuming SCSS files directly will need to update their imports from @import to @use
  • Node.js >= 20.0.0 required: Enforced via engines field in package.json

Test plan

  • npm run build succeeds
  • npm test passes all 32 tests
  • Final CSS output (emma.css) is identical — no functional changes

ruedap added 13 commits March 31, 2026 22:39
asdf用の.tool-versionsファイルを追加し、package-lock.jsonを再生成
TypeScript 6.0, Mocha 11, Prettier 3, Sinon 21等のメジャーアップデートを含む。
espower-typescriptからtsxへのテストランナー移行、TS 6.0対応のtsconfig修正、
ESMインポート構文の修正を実施。
actions/checkout@v2→v4, actions/setup-node@v1→v4に更新。
actions/cacheをsetup-nodeのビルトインキャッシュに置き換え。
CIのNode.jsを16.x→24.xに更新。
babel, babel-preset-es2015, babel-register, espower-typescript,
postcss-map, minimistを削除。未使用の.babelrcも削除。
未使用パッケージ削除によりbabel系の19 critical等を解消。
残り5件はmocha/ajv-cliの間接依存でアップストリーム対応待ち。
生成SCSSの@import@useに移行し、Dart Sass 3.0での廃止に備える。
各ルールファイルに@use "../vars" as *を追加して変数アクセスを確保。
非推奨のmoduleResolution node10とignoreDeprecationsを削除し、
TS 6.0推奨のnode16に移行。
ビルド生成物のSCSSファイルを@import@use移行後の内容に更新
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