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

+7 -5
View File
@@ -9,7 +9,7 @@
"url": "https://ardalanamini.com"
},
"license": "MIT",
"homepage": "https://github.com/ardalanamini/auto-changelog#readme",
"homepage": "https://github.com/marketplace/actions/auto-changelog",
"repository": {
"type": "git",
"url": "git+https://github.com/ardalanamini/auto-changelog.git"
@@ -21,15 +21,17 @@
"actions",
"changelog"
],
"engines": {
"node": ">= 20"
},
"main": "dist/index.js",
"scripts": {
"prepare": "is-ci || husky",
"lint": "eslint --cache --cache-location ./.cache/eslint/ .",
"lint:fix": "pnpm lint --fix",
"build": "tsc -p ./tsconfig.build.json",
"build": "rolldown -c rolldown.config.mts",
"build:watch": "pnpm build --watch",
"package": "ncc build --out action --minify --source-map --license licenses.txt",
"all": "pnpm lint:fix && pnpm build && pnpm package",
"bundle": "pnpm lint:fix && pnpm build",
"test": "node --expose-gc node_modules/jest/bin/jest -c jest.config.ts",
"test:coverage": "pnpm test --coverage",
"test:types": "tsc -p ./tsconfig.json --noEmit"
@@ -49,7 +51,6 @@
"@swc/jest": "^0.2.38",
"@types/jest": "^29.5.14",
"@types/semver": "^7.7.0",
"@vercel/ncc": "^0.38.3",
"eslint": "^9.28.0",
"eslint-config-flat-gitignore": "^2.1.0",
"eslint-config-noir": "^3.0.0",
@@ -58,6 +59,7 @@
"is-ci": "^4.1.0",
"jest": "^29.7.0",
"jiti": "^2.4.2",
"rolldown": "1.0.0-beta.13",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
}