diff --git a/.eslintrc.yaml b/.eslintrc.yaml index c0b8f15..dc29121 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -1,7 +1,6 @@ env: - shared-node-browser: true - es6: true - es2017: true + node: true + es2021: true parser: '@typescript-eslint/parser' parserOptions: project: @@ -20,7 +19,6 @@ extends: - plugin:import/typescript - plugin:jsdoc/recommended - prettier - - prettier/@typescript-eslint rules: curly: error dot-notation: error diff --git a/package.json b/package.json index a9469ef..3bb8d07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-transform-test-compiler", - "version": "1.1.0", + "version": "1.2.0", "description": "Compiler API for testing TypeScript transformers", "keywords": [ "typescript", @@ -41,38 +41,38 @@ "clean": "rimraf dist" }, "dependencies": { - "glob": "^7.1.6" + "glob": "^8.0.3" }, "devDependencies": { - "@istanbuljs/nyc-config-typescript": "1.0.1", - "@types/chai": "4.2.12", - "@types/glob": "7.1.3", - "@types/mocha": "8.0.3", - "@types/node": "14.6.2", - "@typescript-eslint/eslint-plugin": "3.10.1", - "@typescript-eslint/parser": "3.10.1", - "chai": "4.2.0", - "depcheck": "1.2.0", - "eslint": "7.7.0", - "eslint-config-prettier": "6.11.0", - "eslint-plugin-import": "2.22.0", - "eslint-plugin-jsdoc": "30.3.0", + "@istanbuljs/nyc-config-typescript": "1.0.2", + "@types/chai": "4.3.3", + "@types/glob": "8.0.0", + "@types/mocha": "9.1.1", + "@types/node": "18.7.16", + "@typescript-eslint/eslint-plugin": "5.36.2", + "@typescript-eslint/parser": "5.36.2", + "chai": "4.3.6", + "depcheck": "1.4.3", + "eslint": "8.23.0", + "eslint-config-prettier": "8.5.0", + "eslint-plugin-import": "2.26.0", + "eslint-plugin-jsdoc": "39.3.6", "eslint-plugin-node": "11.1.0", - "eslint-plugin-prettier": "3.1.4", - "mocha": "8.1.3", + "eslint-plugin-prettier": "4.2.1", + "mocha": "10.0.0", "nyc": "15.1.0", - "onchange": "7.0.2", + "onchange": "7.1.0", "pm-exec": "1.0.0", - "prettier": "2.1.1", + "prettier": "2.7.1", "rimraf": "3.0.2", - "source-map-support": "0.5.19", - "ts-node": "9.0.0", - "typescript": "4.0.2" + "source-map-support": "0.5.21", + "ts-node": "10.9.1", + "typescript": "4.8.3" }, "peerDependencies": { - "typescript": "^4.0.2" + "typescript": "^4.8.3" }, "engines": { - "node": ">=10.0.0" + "node": ">=16.10.0" } } diff --git a/tsconfig.json b/tsconfig.json index 9718833..0a674b6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { - "target": "ES2018", + "target": "ES2021", "moduleResolution": "node", - "esModuleInterop": false, + "esModuleInterop": true, "module": "CommonJS", "baseUrl": ".", "rootDir": "src",