Skip to content

Commit

Permalink
feat: add TypeScript v5.1 support. Add support for newer JSDOM versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed Aug 4, 2023
1 parent f7ade86 commit 6f06ef0
Show file tree
Hide file tree
Showing 251 changed files with 2,378 additions and 2,141 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
node: [14.19.0, 16, 17, 18]
node: [14.19.0, 16, 18, 20]

steps:
- name: Checkout code
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -64,9 +64,9 @@ If you are looking for a Typescript REPL, or a way to _execute_ a full Typescrip

[Become a sponsor/backer](https://github.com/wessberg/ts-evaluator?sponsor=1) and get your logo listed here.

| <a href="https://usebubbles.com"><img alt="Bubbles" src="https://uploads-ssl.webflow.com/5d682047c28b217055606673/5e5360be16879c1d0dca6514_icon-thin-128x128%402x.png" height="70" /></a> | <a href="https://www.xerox.com"><img alt="Xerox" src="https://avatars.githubusercontent.com/u/9158512?s=200&v=4" height="70" /></a> | <a href="https://changelog.me"><img alt="Trent Raymond" src="https://avatars.githubusercontent.com/u/1509616?v=4" height="70" /></a> | <a href="https://scrubtheweb.com"><img alt="scrubtheweb" src="https://avatars.githubusercontent.com/u/41668218?v=4" height="70" /></a> | <a href="https://github.com/hjoelh"><img alt="Joel" src="https://avatars.githubusercontent.com/u/68335961?v=4" height="70" /></a> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [Bubbles](https://usebubbles.com)<br><strong>Twitter</strong>: [@usebubbles](https://twitter.com/usebubbles) | [Xerox](https://www.xerox.com) | [Trent Raymond](https://changelog.me) | [scrubtheweb](https://scrubtheweb.com) | [Joel](https://github.com/hjoelh) |
| <a href="https://changelog.me"><img alt="Trent Raymond" src="https://avatars.githubusercontent.com/u/1509616?v=4" height="70" /></a> | <a href="https://scrubtheweb.com/computers/programming/1"><img alt="scrubtheweb" src="https://avatars.githubusercontent.com/u/41668218?v=4" height="70" /></a> |
| -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Trent Raymond](https://changelog.me) | [scrubtheweb](https://scrubtheweb.com/computers/programming/1) |

### Patreon

Expand Down
70 changes: 31 additions & 39 deletions package.json
Expand Up @@ -7,9 +7,9 @@
"generate:changelog": "standard-changelog --first-release",
"generate:all": "pnpm run generate:sandhog && pnpm run generate:changelog",
"clean": "rimraf dist",
"lint": "tsc --noEmit && eslint \"src/**/*.ts\" --color",
"lint": "tsc --noEmit && eslint \"{src,test}/**/*.ts\" --color",
"prettier": "prettier --write \"{src,test,documentation}/**/*.{js,ts,json,html,xml,css,md}\"",
"test": "ava",
"test": "cross-env NODE_NO_WARNINGS=1 FORCE_COLOR=3 NODE_OPTIONS=\"--loader=tsx --max_old_space_size=6144\" ava",
"prebuild": "pnpm run clean",
"build": "pnpm run prebuild && pnpm run rollup",
"rollup": "rollup -c rollup.config.mjs",
Expand Down Expand Up @@ -43,35 +43,36 @@
],
"license": "MIT",
"devDependencies": {
"@types/jsdom": "^20.0.1",
"@types/node": "^18.11.18",
"@types/jsdom": "^21.1.1",
"@types/node": "^20.4.7",
"@types/object-path": "^0.11.1",
"@types/semver": "^7.3.13",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"@wessberg/ts-config": "^2.0.4",
"@types/semver": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@wessberg/ts-config": "^4.0.0",
"@wessberg/prettier-config": "^1.0.0",
"rollup-plugin-ts": "3.1.1",
"ava": "^3.15.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.6.4",
"rollup-plugin-ts": "3.4.2",
"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",
"helpertypes": "^0.0.19",
"husky": "^8.0.3",
"memfs": "^3.4.13",
"np": "7.6.3",
"npm-check-updates": "^16.6.2",
"pnpm": "^7.23.0",
"prettier": "^2.8.2",
"memfs": "^4.2.0",
"np": "8.0.4",
"npm-check-updates": "^16.10.17",
"pnpm": "^8.6.11",
"prettier": "^3.0.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"rollup": "^3.9.1",
"rimraf": "^5.0.1",
"rollup": "^3.27.2",
"sandhog": "^2.0.2",
"semver": "7.3.8",
"jsdom": "^20.0.0",
"standard-changelog": "^2.0.27",
"ts-node": "^10.9.1",
"semver": "7.5.4",
"jsdom": "^22.1.0",
"standard-changelog": "^3.0.0",
"tsx": "^3.12.7",
"typescript": "^5.1.6",
"typescript-3-4-1": "npm:typescript@3.4.1",
"typescript-3-5-1": "npm:typescript@3.5.1",
Expand All @@ -89,17 +90,16 @@
"typescript-4-7-2": "npm:typescript@4.7.2",
"typescript-4-8-2": "npm:typescript@4.8.2",
"typescript-4-9-4": "npm:typescript@4.9.4",
"typescript-5-0-4": "npm:typescript@5.0.4",
"typescript-5-1-6": "npm:typescript@5.1.6"
"typescript-5-0-4": "npm:typescript@5.0.4"
},
"dependencies": {
"ansi-colors": "^4.1.3",
"object-path": "^0.11.8",
"crosspath": "^2.0.0"
},
"peerDependencies": {
"typescript": ">=3.2.x || >= 4.x",
"jsdom": ">=14.x"
"typescript": ">=3.2.x || >= 4.x || >= 5.x",
"jsdom": ">=14.x || >=15.x || >=16.x || >=17.x || >=18.x || >=19.x || >=20.x || >=21.x || >=22.x"
},
"peerDependenciesMeta": {
"jsdom": {
Expand Down Expand Up @@ -131,21 +131,13 @@
"prettier": "@wessberg/prettier-config",
"ava": {
"files": [
"test/**/**.test.ts"
"test/**/*.test.ts"
],
"verbose": true,
"timeout": "400s",
"nonSemVerExperiments": {
"configurableModuleFormat": true
},
"concurrency": 1,
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm"
],
"environmentVariables": {
"FORCE_COLOR": "3"
}
}
}

0 comments on commit 6f06ef0

Please sign in to comment.