build: integrate Rolldown (#216)

* build: integrate Rolldown

Signed-off-by: Ardalan Amini <[email protected]>

* ci: enhance test workflow and update metadata

- Added environment variables for Node & PNPM versions in the test workflow.
- Updated homepage URL in package metadata.

Signed-off-by: Ardalan Amini <[email protected]>

* build: define Node.js version requirement (>= 20) in package.json

Signed-off-by: Ardalan Amini <[email protected]>

---------

Signed-off-by: Ardalan Amini <[email protected]>
This commit is contained in:
Ardalan Amini authored and GitHub committed 2025-06-07 21:51:25 +03:30
1 parent 3666d4965e
commit c6140da009
11 files changed
+432 -715

No files matched your search

+147 -9
View File
@@ -45,9 +45,6 @@ importers:
'@types/semver':
specifier: ^7.7.0
version: 7.7.0
'@vercel/ncc':
specifier: ^0.38.3
version: 0.38.3
eslint:
specifier: ^9.28.0
version: 9.28.0([email protected])
@@ -72,6 +69,9 @@ importers:
jiti:
specifier: ^2.4.2
version: 2.4.2
rolldown:
specifier: 1.0.0-beta.13
version: 1.0.0-beta.13
ts-node:
specifier: ^10.9.2
version: 10.9.2(@swc/[email protected])(@types/[email protected])([email protected])
@@ -642,6 +642,76 @@ packages:
'@octokit/[email protected]':
resolution: {integrity: sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA==}
'@oxc-project/[email protected]':
resolution: {integrity: sha512-FtOS+0v7rZcnjXzYTTqv1vu/KDptD1UztFgoZkYBGe/6TcNFm+SP/jQoLvzau1SPir95WgDOBOUm2Gmsm+bQag==}
engines: {node: '>=6.9.0'}
'@oxc-project/[email protected]':
resolution: {integrity: sha512-CfAC4wrmMkUoISpQkFAIfMVvlPfQV3xg7ZlcqPXPOIMQhdKIId44G8W0mCPgtpWdFFAyJ+SFtiM+9vbyCkoVng==}
'@rolldown/[email protected]':
resolution: {integrity: sha512-9ue15ZCtNrQvLUWuLOY3GX7sSjzO0QIwiL5MWod3TVjhPLAjVWs0qmslTYhHqZAxdPfo14vbsr8QzHcHA0156A==}
cpu: [arm64]
os: [darwin]
'@rolldown/[email protected]':
resolution: {integrity: sha512-9ZiAYibiaUKeXKlmyY6b5d20ULNk0iW22+SKk4rP+2nlwfoe8Nf0f2zxSbMGkRvVEnusf9oI/cjnkdYKEZlieQ==}
cpu: [x64]
os: [darwin]
'@rolldown/[email protected]':
resolution: {integrity: sha512-EFobmGUu3q9oqGB2vpySFKRfCtvWwXIyhziANXBTMHfW5UOjjB1XGbKIQ8TZNAgmQUIkbn3gOS7MV+DGW3SDoQ==}
cpu: [x64]
os: [freebsd]
'@rolldown/[email protected]':
resolution: {integrity: sha512-QrlnQpuNXQvX7hjb0RQD9xfSGQFxdYPOYJEx7NEodDywNuDaHtZR54KfhRchavdDKzfFO4ik2xKGavTFmHfyFQ==}
cpu: [arm]
os: [linux]
'@rolldown/[email protected]':
resolution: {integrity: sha512-YoLZtCwImcumyFZUsSpSoH3wW7IJp++e3rNZGvM/adsBig2JHOOuXLlTx7kS3bgsZtpGhQviVj4f+CsX9FQRjg==}
cpu: [arm64]
os: [linux]
'@rolldown/[email protected]':
resolution: {integrity: sha512-vGCXCmThqGpDEbPWHzeg2RRBFvlHu58ro4Muu2knb2x8cz0Bz/7/+0rMEDw2+9/8yWLMGbm3XoFZ+ca513j24A==}
cpu: [arm64]
os: [linux]
'@rolldown/[email protected]':
resolution: {integrity: sha512-waMlBb3dALvafIzuoTodDLHyiVWfqk1qwRMtzb6XOmBhbH8no4ge1/zdPd0zyqmqCwR40MRJ0QACdxZdNSt5pQ==}
cpu: [x64]
os: [linux]
'@rolldown/[email protected]':
resolution: {integrity: sha512-OgggZ5n5aIOPwGxgaarEaJXGxkPXBPk6+m884Eg8gDtca6+lmlGUpVexLLUwqrZj9uMokZiBD930drvgZkz0LQ==}
cpu: [x64]
os: [linux]
'@rolldown/[email protected]':
resolution: {integrity: sha512-G2C0yK3nW74J/ItO3KL/dYKDlcjOA//q6MLYXeiTKxAU58nvuS5rU9tYN55HhbZpcl75mv7peO+9SBRS4HqCiA==}
engines: {node: '>=14.21.3'}
cpu: [wasm32]
'@rolldown/[email protected]':
resolution: {integrity: sha512-ZhIfmL1dlFA2l4HE83ybH1kqaJjetxnVH8qrefUowyBAiW3wM6p3B7GRPXiwjNNiGetsTP+lQQtGN5U4qhwKYg==}
cpu: [arm64]
os: [win32]
'@rolldown/[email protected]':
resolution: {integrity: sha512-ROtiorksHQC37/jVvyHX5J8fqUGHKE/ZVI2uY/rSW859g7H2YDUCMAhD+B7Z1r32U2wx+MYUtBXKbTloR45Ymw==}
cpu: [ia32]
os: [win32]
'@rolldown/[email protected]':
resolution: {integrity: sha512-QQsOUGYTk4YnJndZujTqKpIdVRUzEgoFMHRfCBVXZ74oveqb9hNc9YTpWL2/VBoneHdbS02EW2a1NrZjpJevwQ==}
cpu: [x64]
os: [win32]
'@rolldown/[email protected]':
resolution: {integrity: sha512-/9TBv7Ir9ojO1mDlTy35X0GSGqvP+aRa44i2fciAK/EEJeimvJyL6eN2Ug2RwXEGFVumgZh231PeykYjo2WBtw==}
'@rtsao/[email protected]':
resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==}
@@ -988,10 +1058,6 @@ packages:
cpu: [x64]
os: [win32]
'@vercel/[email protected]':
resolution: {integrity: sha512-rnK6hJBS6mwc+Bkab+PGPs9OiS0i/3kdTO+CkI8V0/VrW3vmz7O2Pxjw/owOlmo6PKEIxRSeZKv/kuL9itnpYA==}
hasBin: true
[email protected]:
resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==}
hasBin: true
@@ -1041,6 +1107,10 @@ packages:
resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==}
engines: {node: '>=10'}
[email protected]:
resolution: {integrity: sha512-BGcItUBWSMRgOCe+SVZJ+S7yTRG0eGt9cXAHev72yuGcY23hnLA7Bky5L/xLyPINoSN95geovfBkqoTlNZYa7w==}
engines: {node: '>=14'}
[email protected]:
resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
engines: {node: '>= 8'}
@@ -2464,6 +2534,10 @@ packages:
resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==}
engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
[email protected]:
resolution: {integrity: sha512-Px1lfjC9EnB5hJt+tbp4IORGNB6d3wrSEkxNta7QQc6qhG3ofD5d/yjhqsedK7S5QA0zH+vhPFLN7TyMwRk5xw==}
hasBin: true
[email protected]:
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
@@ -3538,6 +3612,50 @@ snapshots:
dependencies:
'@octokit/openapi-types': 24.2.0
'@oxc-project/[email protected]': {}
'@oxc-project/[email protected]': {}
'@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
dependencies:
'@napi-rs/wasm-runtime': 0.2.10
optional: true
'@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]': {}
'@rtsao/[email protected]': {}
'@sinclair/[email protected]': {}
@@ -3888,8 +4006,6 @@ snapshots:
'@unrs/[email protected]':
optional: true
'@vercel/[email protected]': {}
[email protected]:
dependencies:
jsonparse: 1.3.1
@@ -3937,6 +4053,8 @@ snapshots:
[email protected]: {}
[email protected]: {}
[email protected]:
dependencies:
normalize-path: 3.0.0
@@ -5598,6 +5716,26 @@ snapshots:
[email protected]: {}
[email protected]:
dependencies:
'@oxc-project/runtime': 0.72.3
'@oxc-project/types': 0.72.3
'@rolldown/pluginutils': 1.0.0-beta.13
ansis: 4.1.0
optionalDependencies:
'@rolldown/binding-darwin-arm64': 1.0.0-beta.13
'@rolldown/binding-darwin-x64': 1.0.0-beta.13
'@rolldown/binding-freebsd-x64': 1.0.0-beta.13
'@rolldown/binding-linux-arm-gnueabihf': 1.0.0-beta.13
'@rolldown/binding-linux-arm64-gnu': 1.0.0-beta.13
'@rolldown/binding-linux-arm64-musl': 1.0.0-beta.13
'@rolldown/binding-linux-x64-gnu': 1.0.0-beta.13
'@rolldown/binding-linux-x64-musl': 1.0.0-beta.13
'@rolldown/binding-wasm32-wasi': 1.0.0-beta.13
'@rolldown/binding-win32-arm64-msvc': 1.0.0-beta.13
'@rolldown/binding-win32-ia32-msvc': 1.0.0-beta.13
'@rolldown/binding-win32-x64-msvc': 1.0.0-beta.13
[email protected]:
dependencies:
queue-microtask: 1.2.3