diff --git a/README.md b/README.md index b7085c1..30bfa8c 100755 --- a/README.md +++ b/README.md @@ -45,6 +45,8 @@ $ npm install ibantools $ bower install ibantools ``` +Note that Bower package will not be generated any more after TypeScript 7 release. + ## Usage See [full documentation](http://simplify.github.io/ibantools) with examples on Github pages. @@ -112,4 +114,3 @@ This work is dual-licensed under MIT and MPL-2.0. You can choose between one of them if you use this work. `SPDX-License-Identifier: MIT OR MPL-2.0` - diff --git a/package-lock.json b/package-lock.json index 8020152..3a3873d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ibantools", - "version": "4.5.2", + "version": "4.5.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ibantools", - "version": "4.5.2", + "version": "4.5.3", "license": "MIT or MPL-2.0", "devDependencies": { "@eslint/eslintrc": "^3.3.5", @@ -25,7 +25,7 @@ "prettier": "^3.0.3", "requirejs": "^2.3.6", "typedoc": "^0.28.18", - "typescript": "^5.2" + "typescript": "^6.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -2836,9 +2836,9 @@ } }, "node_modules/typescript": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", - "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.2.tgz", + "integrity": "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index 3ff3915..3d84202 100644 --- a/package.json +++ b/package.json @@ -39,9 +39,9 @@ }, "scripts": { "build": "npm run build-node && npm run build-bower && npm run build-module", - "build-node": "rm -rf build && npx tsc src/*.ts --declaration --target es2017 --module commonjs --outDir ./build/", - "build-bower": "rm -rf dist && npx tsc src/*.ts --declaration --target es2017 --module amd --outDir ./dist/", - "build-module": "rm -rf jsnext && npx tsc src/*.ts --target es2017 --module es2020 --outDir ./jsnext/", + "build-node": "rm -rf build && npx tsc --declaration --target es2017 --module commonjs --outDir ./build/", + "build-bower": "rm -rf dist && npx tsc --declaration --target es2017 --module amd --outDir ./dist/", + "build-module": "rm -rf jsnext && npx tsc --target es2017 --module es2020 --outDir ./jsnext/", "test": "npm run build && mocha 'test/**/*.js'", "coverage": "npm run build && c8 mocha && c8 report --reporter=text-lcov > test.lcov", "lint": "eslint 'src/**/*.ts' 'test/**/*.js'", @@ -71,7 +71,7 @@ "prettier": "^3.0.3", "requirejs": "^2.3.6", "typedoc": "^0.28.18", - "typescript": "^5.2" + "typescript": "^6.0" }, "resolutions": { "source-map": "^0.8.0-beta.0" diff --git a/tsconfig.json b/tsconfig.json index 81a2fc2..dd08789 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,11 +8,13 @@ "removeComments": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, - "rootDir": ".", - "sourceMap": true, + "rootDir": "src/", + "sourceMap": false, "listFiles": true, "newLine": "LF", - "noEmitOnError": true + "noEmitOnError": true, + "removeComments": false, + "ignoreDeprecations": "6.0" }, "filesGlob": [ "./**/*.ts",