Skip to content

Commit

Permalink
feat: add TypeScript v5.6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed Sep 25, 2024
1 parent a6a8e11 commit c502c7d
Show file tree
Hide file tree
Showing 31 changed files with 5,261 additions and 5,986 deletions.
13 changes: 0 additions & 13 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
node: [16.15.1, 17, 18, 19, 20]
node: [21, 22]

steps:
- name: Checkout code
Expand Down
8 changes: 8 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import shared from "@wessberg/ts-config/eslint.config.js";

export default [
...shared,
{
rules: {}
}
];
74 changes: 36 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@
"clean": "rimraf dist",
"lint": "tsc --noEmit && eslint \"src/**/*.ts\" --color",
"prettier": "prettier --write \"{src,test,documentation}/**/*.{js,ts,json,html,xml,css,md}\"",
"test": "cross-env NODE_NO_WARNINGS=1 FORCE_COLOR=3 NODE_OPTIONS=\"--loader=tsx --max_old_space_size=6144\" ava",
"test": "node --import tsx --test \"./test/**/*.test.ts\"",
"prebuild": "pnpm run clean",
"build": "pnpm run prebuild && pnpm run rollup",
"prewatch": "pnpm run clean",
"watch": "pnpm run prewatch && pnpm run rollup:watch",
"rollup": "rollup -c rollup.config.mjs",
"rollup:watch": "rollup -c rollup.config.mjs --watch",
"build": "tsup --entry \"src/index.ts\" --entry \"src/loader/esm.ts\" --sourcemap --dts --format cjs,esm",
"preversion": "pnpm run lint && pnpm run build",
"version": "pnpm run preversion && pnpm run generate:all && git add .",
"release": "np --no-cleanup --no-yarn",
Expand Down Expand Up @@ -53,36 +49,32 @@
],
"license": "MIT",
"devDependencies": {
"@types/node": "^20.4.7",
"@types/prettier": "^2.7.3",
"@types/semver": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"eslint-plugin-deprecation": "1.5.0",
"@wessberg/ts-config": "^4.0.0",
"@types/node": "^22.7.1",
"@types/prettier": "^3.0.0",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"eslint-plugin-deprecation": "3.0.0",
"@wessberg/ts-config": "^5.0.17",
"@wessberg/prettier-config": "^1.0.0",
"@prettier/sync": "0.3.0",
"rollup-plugin-ts": "^3.4.1",
"semver": "^7.5.4",
"ava": "^5.3.1",
"cross-env": "^7.0.3",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsdoc": "^46.4.5",
"husky": "^8.0.3",
"np": "^8.0.4",
"pnpm": "^8.6.11",
"prettier": "^3.0.1",
"lint-staged": "^13.2.3",
"rimraf": "^5.0.1",
"rollup": "^3.27.1",
"@prettier/sync": "0.5.2",
"semver": "^7.6.3",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsdoc": "^50.2.4",
"husky": "^9.1.6",
"np": "^10.0.7",
"pnpm": "^9.11.0",
"prettier": "^3.3.3",
"lint-staged": "^15.2.10",
"rimraf": "^6.0.1",
"sandhog": "^2.0.2",
"standard-changelog": "^3.0.0",
"tsx": "^3.12.7",
"npm-check-updates": "^16.10.17",
"@esbuild-kit/esm-loader": "^2.5.5",
"typescript": "^5.1.6",
"standard-changelog": "^6.0.0",
"tsx": "^4.19.1",
"npm-check-updates": "^17.1.3",
"tsup": "^8.3.0",
"typescript": "^5.6.2",
"typescript-3-4-1": "npm:[email protected]",
"typescript-3-5-1": "npm:[email protected]",
"typescript-3-6-2": "npm:[email protected]",
Expand All @@ -99,15 +91,21 @@
"typescript-4-7-2": "npm:[email protected]",
"typescript-4-8-2": "npm:[email protected]",
"typescript-4-9-4": "npm:[email protected]",
"typescript-5-0-4": "npm:[email protected]"
"typescript-5-0-4": "npm:[email protected]",
"typescript-5-1-6": "npm:[email protected]",
"typescript-5-2-2": "npm:[email protected]",
"typescript-5-3-3": "npm:[email protected]",
"typescript-5-4-5": "npm:[email protected]",
"typescript-5-5-4": "npm:[email protected]",
"typescript-5-6-2": "npm:[email protected]"
},
"dependencies": {
"crosspath": "^2.0.0",
"helpertypes": "^0.0.19",
"pirates": "^4.0.6",
"get-tsconfig": "^4.6.2",
"ts-evaluator": "^1.1.0",
"compatfactory": "^3.0.0"
"get-tsconfig": "^4.8.1",
"ts-evaluator": "^1.2.0",
"compatfactory": "^4.0.2"
},
"peerDependencies": {
"typescript": ">=3.x || >= 4.x || >= 5.x"
Expand Down
Loading

0 comments on commit c502c7d

Please sign in to comment.