From 9e055b8048fecd24e870a89b8d4ad8db05e5b51b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Rebours?= Date: Thu, 19 Jan 2023 16:57:01 +0100 Subject: [PATCH] No longer execute to check typings, just compile it. --- .gitignore | 1 + CHANGELOG.md | 3 +++ package.json | 3 +-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e7cc9b2..bf1c166 100755 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ browser-version/node_modules browser-version/out test-results +typings-tests.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 847f119..6b72312 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Updated dev dependencies, including `standard@17.0.0` which changed some linting rules. - Updated API docs. +### Changed +- No longer execute `test-typings.ts` to check typings, just compile it. + ## [3.1.0] - 2022-09-02 ### Added - Added a `testSerializationHooks` option which defaults to `true`. Setting to `false` allows to skip the test of the hooks, which may be slow. diff --git a/package.json b/package.json index 5a57ddc..2eddfdd 100755 --- a/package.json +++ b/package.json @@ -76,7 +76,6 @@ "terser-webpack-plugin": "^5.3.6", "timers-browserify": "^2.0.12", "ts-jest": "^27.1.5", - "ts-node": "^10.9.1", "typescript": "^4.9.4", "webpack": "^5.75.0", "webpack-cli": "^5.0.1", @@ -89,7 +88,7 @@ "pretest:browser": "npm run build:browser", "test:browser": "xvfb-maybe karma start karma.conf.local.js", "test:react-native": "jest test/react-native", - "test:typings": "ts-node ./typings-tests.ts", + "test:typings": "tsc ./typings-tests.ts", "prepublishOnly": "npm run build:browser", "generateDocs:markdown": "jsdoc2md --no-cache -c jsdoc.conf.js --param-list-format list --files ./lib/*.js > API.md" },