Skip to content

Commit 5c29df0

Browse files
authored
chore: bump node to v22 (#1278)
* chore: bump node to v22 * CI test. To revert * change cli nvm in ci * bump vite * Revert "CI test. To revert" This reverts commit a847a63.
1 parent c6bc614 commit 5c29df0

File tree

6 files changed

+21
-306
lines changed

6 files changed

+21
-306
lines changed

.github/workflows/cli-continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Use Node.js
3131
uses: actions/setup-node@v4
3232
with:
33-
node-version-file: ".nvmrc"
33+
node-version-file: "packages/cli/.nvmrc"
3434
cache: "pnpm"
3535

3636
- name: Install npm dependencies

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
22

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"tailwindcss": "^3.4.3",
3434
"ts-node": "^10.9.2",
3535
"typescript": "^5.4.4",
36-
"vite": "^4.5.2",
36+
"vite": "^5.2.10",
3737
"vitest": "^1.4.0"
3838
},
3939
"pnpm": {

patches/@[email protected]

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ index 3db72c864241a438a9ed3ea2860c311edcc2c410..1f8db9d86cf6e80d0c19312d145da847
77

88
// src/utils/EmojiLibrary/EmojiFloatingLibrary.ts
99
-import emojiMartData2 from "@emoji-mart/data";
10-
+import emojiMartData2 from "@emoji-mart/data" assert { type: "json" };
10+
+import emojiMartData2 from "@emoji-mart/data" with { type: "json" };
1111

1212
// src/utils/EmojiLibrary/EmojiInlineLibrary.ts
1313
-import emojiMartData from "@emoji-mart/data";
14-
+import emojiMartData from "@emoji-mart/data" assert { type: "json" };
14+
+import emojiMartData from "@emoji-mart/data" with { type: "json" };
1515
var EmojiInlineLibrary = class {
1616
constructor(library = emojiMartData) {
1717
this._hash = {};

0 commit comments

Comments
 (0)