Skip to content

Commit d95313c

Browse files
authored
Merge pull request #1252 from jser/jser-week-721
2025-01-09のJS: pnpm 10、Node v23.6.0(` --experimental-strip-types`をデフォルトで有効化)、e18e
2 parents f5f7a9c + ff8a316 commit d95313c

File tree

1 file changed

+204
-0
lines changed

1 file changed

+204
-0
lines changed
Lines changed: 204 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,204 @@
1+
---
2+
title: "2025-01-09のJS: pnpm 10、Node v23.6.0(` --experimental-strip-types`をデフォルトで有効化)、e18e"
3+
author: "azu"
4+
layout: post
5+
date: 2025-01-09T11:30:40.138Z
6+
category: JSer
7+
tags:
8+
- nodejs
9+
- React
10+
- Tools
11+
- performance
12+
- pnpm
13+
14+
---
15+
16+
JSer.info #721 - pnpm 10がリリースされました。
17+
18+
- [Release pnpm 10 · pnpm/pnpm](https://github.com/pnpm/pnpm/releases/tag/v10.0.0)
19+
20+
pnpm v10.0.0では、インストールするパッケージのlifecycle scriptをデフォルトで実行しないように変更されています。
21+
`pnpm.onlyBuiltDependencies`の許可リストで定義したパッケージのみ`postinstall`などのlifecycle scriptが実行されるようになっています。
22+
23+
また、`pnpm link`の挙動の変更、`packageManager`を参照してpnpmのバージョンを確認するように、ハッシュアルゴリズムをSHA256に変更、storeバージョンの更新など行われています。
24+
そのほかには、pnpmに関する設定を共有できる`configDependencies`を追加。 `verifyDepsBeforeRun`オプションでlockと`node_modules/`の状態を比較して自動インストールなどの挙動を選択できるようになっています。
25+
26+
---
27+
28+
Node.js v23.6.0がリリースされました。
29+
30+
- [Node.js — Node v23.6.0 (Current)](https://nodejs.org/en/blog/release/v23.6.0)
31+
32+
Node.js v23.6.0では、`--experimental-strip-types`フラグがデフォルトで有効になっています。
33+
これによって、TypeScriptファイルから型情報を削除したものを実行できるようになっています。
34+
35+
```sh
36+
$ echo "const add = (a: number, b: number) => a + b; console.log(add(1, 2));" > index.ts
37+
$ node index.ts
38+
3
39+
```
40+
41+
ただし、`enum``namespace`などの変換が必要なTypeScriptの機能は引き続き[--experimental-transform-types](https://nodejs.org/docs/latest/api/cli.html#--experimental-transform-types)フラグが必要です。
42+
43+
---
44+
45+
[The journey so far | e18e](https://e18e.dev/blog/journey-so-far.html)という記事では、e18e (Ecosystem Performance)というイニシアチブでのJavaScriptのエコシステムのクリーンアップの取り組みについてまとめられています。
46+
47+
色々なツールやライブラリの不要な依存を取り除く活動などについてまとめられています
48+
49+
----
50+
51+
{% include inline-support.html %}
52+
53+
----
54+
55+
<h1 class="site-genre">ヘッドライン</h1>
56+
57+
----
58+
59+
## Release v12.3.0 · vueuse/vueuse
60+
[github.com/vueuse/vueuse/releases/tag/v12.3.0](https://github.com/vueuse/vueuse/releases/tag/v12.3.0 "Release v12.3.0 · vueuse/vueuse")
61+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">Vue</span> <span class="jser-tag">library</span> <span class="jser-tag">ReleaseNote</span></p>
62+
63+
vueuse v12.3.0リリース。
64+
65+
66+
----
67+
68+
## Release @pandacss/dev@0.50.0 · chakra-ui/panda
69+
[github.com/chakra-ui/panda/releases/tag/%40pandacss%2Fdev%400.50.0](https://github.com/chakra-ui/panda/releases/tag/%40pandacss%2Fdev%400.50.0 "Release @pandacss/[email protected] · chakra-ui/panda")
70+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">pandacs</span> <span class="jser-tag">library</span> <span class="jser-tag">ReleaseNote</span></p>
71+
72+
Panda CSS 0.50.0リリース。
73+
`panda analyze`でDesign Tokenやハードコードされている値の割合を表示できるように
74+
75+
76+
----
77+
78+
## Release 0.10.0 | StyleX
79+
[stylexjs.com/blog/v0.10.0](https://stylexjs.com/blog/v0.10.0 "Release 0.10.0 | StyleX")
80+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">React</span> <span class="jser-tag">css </span> <span class="jser-tag">PostCSS</span> <span class="jser-tag">library</span> <span class="jser-tag">ReleaseNote</span></p>
81+
82+
StyleX v0.10.0リリース。
83+
PostCSSプラグインを刷新し、`@stylexjs/nextjs-plugin`を非推奨に変更。
84+
`debug`オプションの追加、`inherit: false``@property`を使って動的なCSS Custom Propertyを管理することでパフォーマンスの改善など
85+
86+
87+
----
88+
89+
## Release v3.11.0 · lerna-lite/lerna-lite
90+
[github.com/lerna-lite/lerna-lite/releases/tag/v3.11.0](https://github.com/lerna-lite/lerna-lite/releases/tag/v3.11.0 "Release v3.11.0 · lerna-lite/lerna-lite")
91+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">npm</span> <span class="jser-tag">monorepo</span> <span class="jser-tag">Tools</span> <span class="jser-tag">ReleaseNote</span></p>
92+
93+
lerna-lite v3.11.0リリース。
94+
pnpmの`catalog:` protocolの限定的なサポートを追加
95+
96+
97+
----
98+
99+
## facebookexperimental/Recoil: Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
100+
[github.com/facebookexperimental/Recoil](https://github.com/facebookexperimental/Recoil "facebookexperimental/Recoil: Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.")
101+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">React</span> <span class="jser-tag">library</span> <span class="jser-tag">news</span></p>
102+
103+
Recoilのリポジトリがアーカイブ化された
104+
105+
----
106+
107+
## Release pnpm 10 · pnpm/pnpm
108+
[github.com/pnpm/pnpm/releases/tag/v10.0.0](https://github.com/pnpm/pnpm/releases/tag/v10.0.0 "Release pnpm 10 · pnpm/pnpm")
109+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">pnpm</span> <span class="jser-tag">ReleaseNote</span></p>
110+
111+
pnpm v10.0.0リリース。
112+
インストールするパッケージのlifecycle scriptをデフォルトで実行しないように変更。
113+
`pnpm link`の挙動の変更、`packageManager`を参照してpnpmのバージョンを確認するように、ハッシュアルゴリズムをSHA256に変更、storeバージョンの更新。
114+
pnpmに関する設定を共有できる`configDependencies`を追加。 `verifyDepsBeforeRun`オプションが追加され、lockと`node_modules/`の状態を比較して自動インストールなどの挙動を選択できるようになるなど。
115+
116+
117+
----
118+
119+
## Firefox 134.0, See All New Features, Updates and Fixes
120+
[www.mozilla.org/en-US/firefox/134.0/releasenotes/](https://www.mozilla.org/en-US/firefox/134.0/releasenotes/ "Firefox 134.0, See All New Features, Updates and Fixes")
121+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">Firefox</span> <span class="jser-tag">ReleaseNote</span></p>
122+
123+
Firefox 134リリース。
124+
Stage 3の`RegExp.escape()`、Stage 4の`Promise.try()`をサポートなど
125+
126+
- [Firefox 134 for developers - Mozilla | MDN](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/134 "Firefox 134 for developers - Mozilla | MDN")
127+
128+
----
129+
130+
## Release v26.0 Reactime · open-source-labs/Reactime
131+
[github.com/open-source-labs/Reactime/releases/tag/v26.0](https://github.com/open-source-labs/Reactime/releases/tag/v26.0 "Release v26.0 Reactime · open-source-labs/Reactime")
132+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">React</span> <span class="jser-tag">performance</span> <span class="jser-tag">Tools</span> <span class="jser-tag">ReleaseNote</span></p>
133+
134+
Reactのデバッグ拡張ツールであるReactime 26.0リリース。
135+
UIの刷新、useContextの状態の視覚化、タイムトラベルデバッグ機能の改善など
136+
137+
138+
----
139+
140+
## Node.js — Node v22.13.0 (LTS)
141+
[nodejs.org/en/blog/release/v22.13.0](https://nodejs.org/en/blog/release/v22.13.0 "Node.js — Node v22.13.0 (LTS)")
142+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">ReleaseNote</span></p>
143+
144+
Node.js v22.13.0リリース。
145+
Permission ModelをStableに変更、
146+
147+
148+
----
149+
150+
## Node.js — Node v23.6.0 (Current)
151+
[nodejs.org/en/blog/release/v23.6.0](https://nodejs.org/en/blog/release/v23.6.0 "Node.js — Node v23.6.0 (Current)")
152+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">TypeScript</span> <span class="jser-tag">ReleaseNote</span></p>
153+
154+
Node.js v23.6.0リリース。
155+
`--experimental-strip-types`をデフォルトで有効にして、TypeScriptファイルをフラグなしで実行できるように変更。
156+
157+
158+
----
159+
<h1 class="site-genre">アーティクル</h1>
160+
161+
----
162+
163+
## Composable Caching with Next.js | Next.js
164+
[nextjs.org/blog/composable-caching](https://nextjs.org/blog/composable-caching "Composable Caching with Next.js | Next.js")
165+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">Next.js</span> <span class="jser-tag">article</span></p>
166+
167+
Next.jsの"use cache" directiveについて。
168+
"use cache"をつけた関数はserver functionに変換されメモ化された結果を返すようになる。
169+
クロージャーの場合のキャッシュの動作や`cache()`関数について
170+
171+
172+
----
173+
174+
## The journey so far | e18e
175+
[e18e.dev/blog/journey-so-far.html](https://e18e.dev/blog/journey-so-far.html "The journey so far | e18e")
176+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">performance</span> <span class="jser-tag">nodejs</span> <span class="jser-tag">JavaScript</span> <span class="jser-tag">article</span></p>
177+
178+
e18eでのJavaScriptのエコシステムのクリーンアップの取り組みについて。
179+
180+
181+
----
182+
183+
## 1人 Intl Advent Calendar 2024 - Adventar
184+
[adventar.org/calendars/10555](https://adventar.org/calendars/10555 "1人 Intl Advent Calendar 2024 - Adventar")
185+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">i18n</span> <span class="jser-tag">article</span></p>
186+
187+
Intl APIについての連載記事
188+
189+
- [1人Intl Advent Calendar を完走しました](https://zenn.dev/cybozu_frontend/articles/intl-advent-calendar-24-recap "1人Intl Advent Calendar を完走しました")
190+
191+
----
192+
<h1 class="site-genre">サイト、サービス、ドキュメント</h1>
193+
194+
----
195+
196+
## CodSpeed: Optimize Performance, Eliminate Regressions
197+
[codspeed.io/](https://codspeed.io/ "CodSpeed: Optimize Performance, Eliminate Regressions")
198+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">webservice</span> <span class="jser-tag">benchmark</span> <span class="jser-tag">python</span> <span class="jser-tag">Rust</span> <span class="jser-tag">nodejs</span></p>
199+
200+
CIでベンチマークを取得してリグレッションを検知するサービス。
201+
Python/Rust/Node.jsに対応している
202+
203+
204+
----

0 commit comments

Comments
 (0)