From cc07c49ff70ee7cbd2b9f25ca53e119d9e9e0f9e Mon Sep 17 00:00:00 2001 From: pancake Date: Fri, 5 Apr 2024 01:25:50 +0200 Subject: [PATCH] ts: npm run build, support bun and bump version --- typescript/package-lock.json | 4 ++-- typescript/package.json | 3 +++ typescript/tsconfig.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/typescript/package-lock.json b/typescript/package-lock.json index bc01e2b..2eb29dd 100644 --- a/typescript/package-lock.json +++ b/typescript/package-lock.json @@ -1,12 +1,12 @@ { "name": "r2pipe-ts", - "version": "0.1.0", + "version": "0.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "r2pipe-ts", - "version": "0.1.0", + "version": "0.1.2", "license": "MIT", "devDependencies": { "@types/node": "^20.11.28", diff --git a/typescript/package.json b/typescript/package.json index 6acaa25..ef38d0d 100644 --- a/typescript/package.json +++ b/typescript/package.json @@ -9,6 +9,9 @@ "engines": { "node": ">=18.0" }, + "scripts": { + "build": "tsc" + }, "devDependencies": { "@types/node": "^20.11.28", "@typescript-eslint/eslint-plugin": "^7.2.0", diff --git a/typescript/tsconfig.json b/typescript/tsconfig.json index 9745dc2..d85c3ff 100644 --- a/typescript/tsconfig.json +++ b/typescript/tsconfig.json @@ -5,7 +5,7 @@ "target": "es5", "esModuleInterop": true, "resolveJsonModule": true, - "module": "commonjs", + "module": "nodenext", "lib": ["es2017"], "declaration": true, "strict": false,