Skip to content

Commit c0e9ce6

Browse files
committed
Build with tsdown
1 parent 644f7fc commit c0e9ce6

File tree

6 files changed

+454
-163
lines changed

6 files changed

+454
-163
lines changed

.codecov.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
coverage/
2-
lib/
2+
dist/
33
node_modules/
44
*.log
55
.yarn/*

.npmignore

Whitespace-only changes.

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "13.0.4",
44
"description": "A parser that converts Angular source code into an ESTree-compatible form",
55
"keywords": [],
6-
"main": "./lib/index.js",
7-
"types": "./lib/index.d.ts",
6+
"main": "./dist/index.js",
7+
"types": "./dist/index.d.ts",
88
"repository": "https://github.com/prettier/angular-estree-parser",
99
"homepage": "https://github.com/prettier/angular-estree-parser#readme",
1010
"author": {
@@ -14,7 +14,6 @@
1414
},
1515
"license": "MIT",
1616
"scripts": {
17-
"clean": "del-cli ./lib",
1817
"prepare": "yarn run build",
1918
"test": "vitest",
2019
"lint": "run-p \"lint:*\"",
@@ -23,7 +22,7 @@
2322
"fix": "run-s \"fix:*\"",
2423
"fix:eslint": "yarn lint:eslint --fix",
2524
"fix:prettier": "yarn lint:prettier --write",
26-
"build": "yarn clean && tsc -p ./tsconfig.build.json",
25+
"build": "tsdown",
2726
"release": "release-it"
2827
},
2928
"devDependencies": {
@@ -33,7 +32,6 @@
3332
"@babel/types": "8.0.0-beta.2",
3433
"@types/node": "24.7.1",
3534
"@vitest/coverage-v8": "3.2.4",
36-
"del-cli": "7.0.0",
3735
"eslint": "9.37.0",
3836
"eslint-config-prettier": "10.1.8",
3937
"eslint-plugin-simple-import-sort": "12.1.1",
@@ -44,6 +42,7 @@
4442
"npm-run-all2": "8.0.4",
4543
"prettier": "3.6.2",
4644
"release-it": "19.0.5",
45+
"tsdown": "0.15.6",
4746
"typescript": "5.9.3",
4847
"typescript-eslint": "8.46.0",
4948
"vitest": "3.2.4"
@@ -55,7 +54,7 @@
5554
"node": ">= 20"
5655
},
5756
"files": [
58-
"lib"
57+
"dist"
5958
],
6059
"type": "module",
6160
"publishConfig": {

tsconfig.build.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)