diff --git a/package.json b/package.json index b07a4ac..45176c1 100644 --- a/package.json +++ b/package.json @@ -1,62 +1,64 @@ { - "name": "@rsbuild/plugin-basic-ssl", - "version": "1.2.2", - "repository": "https://github.com/rstackjs/rsbuild-plugin-basic-ssl", - "license": "MIT", - "type": "module", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.js", - "require": "./dist/index.cjs" - } - }, - "main": "./dist/index.js", - "module": "./dist/index.mjs", - "types": "./dist/index.d.ts", - "files": ["dist"], - "scripts": { + "name": "@rsbuild/plugin-basic-ssl", + "version": "1.2.2", + "repository": "https://github.com/rstackjs/rsbuild-plugin-basic-ssl", + "license": "MIT", + "type": "module", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js", + "require": "./dist/index.cjs" + } + }, + "main": "./dist/index.js", + "module": "./dist/index.mjs", + "types": "./dist/index.d.ts", + "files": [ + "dist" + ], + "scripts": { "build": "rslib", "dev": "rslib -w", - "lint": "biome check .", - "lint:write": "biome check . --write", - "prepare": "simple-git-hooks && npm run build", - "test": "playwright test", + "lint": "biome check .", + "lint:write": "biome check . --write", + "prepare": "simple-git-hooks && npm run build", + "test": "playwright test", "bump": "npx bumpp" - }, - "simple-git-hooks": { - "pre-commit": "npx nano-staged" - }, - "nano-staged": { - "*.{js,jsx,ts,tsx,mjs,cjs}": [ - "biome check --write --no-errors-on-unmatched" - ] - }, + }, + "simple-git-hooks": { + "pre-commit": "npx nano-staged" + }, + "nano-staged": { + "*.{js,jsx,ts,tsx,mjs,cjs}": [ + "biome check --write --no-errors-on-unmatched" + ] + }, "dependencies": { "selfsigned": "^3.0.1" }, - "devDependencies": { - "@biomejs/biome": "^1.9.4", - "@playwright/test": "^1.58.2", - "@rsbuild/core": "1.7.3", - "@rslib/core": "^0.20.0", - "@types/node": "^24.12.0", - "nano-staged": "^0.9.0", - "playwright": "^1.58.2", - "simple-git-hooks": "^2.13.1", - "typescript": "^5.9.3" - }, - "peerDependencies": { - "@rsbuild/core": "^1.0.0 || ^2.0.0-0" - }, - "peerDependenciesMeta": { - "@rsbuild/core": { - "optional": true - } - }, - "packageManager": "pnpm@10.32.1", - "publishConfig": { - "access": "public", - "registry": "https://registry.npmjs.org/" - } + "devDependencies": { + "@biomejs/biome": "^1.9.4", + "@playwright/test": "^1.58.2", + "@rsbuild/core": "1.7.3", + "@rslib/core": "^0.20.0", + "@types/node": "^24.12.0", + "nano-staged": "^0.9.0", + "playwright": "^1.58.2", + "simple-git-hooks": "^2.13.1", + "typescript": "6.0.2" + }, + "peerDependencies": { + "@rsbuild/core": "^1.0.0 || ^2.0.0-0" + }, + "peerDependenciesMeta": { + "@rsbuild/core": { + "optional": true + } + }, + "packageManager": "pnpm@10.32.1", + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3fdb238..3b4f5bd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,7 +23,7 @@ importers: version: 1.7.3 '@rslib/core': specifier: ^0.20.0 - version: 0.20.0(core-js@3.47.0)(typescript@5.9.3) + version: 0.20.0(core-js@3.47.0)(typescript@6.0.2) '@types/node': specifier: ^24.12.0 version: 24.12.0 @@ -37,8 +37,8 @@ importers: specifier: ^2.13.1 version: 2.13.1 typescript: - specifier: ^5.9.3 - version: 5.9.3 + specifier: 6.0.2 + version: 6.0.2 packages: @@ -433,8 +433,8 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - typescript@5.9.3: - resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} + typescript@6.0.2: + resolution: {integrity: sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==} engines: {node: '>=14.17'} hasBin: true @@ -586,12 +586,12 @@ snapshots: transitivePeerDependencies: - '@module-federation/runtime-tools' - '@rslib/core@0.20.0(core-js@3.47.0)(typescript@5.9.3)': + '@rslib/core@0.20.0(core-js@3.47.0)(typescript@6.0.2)': dependencies: '@rsbuild/core': 2.0.0-beta.8(core-js@3.47.0) - rsbuild-plugin-dts: 0.20.0(@rsbuild/core@2.0.0-beta.8(core-js@3.47.0))(typescript@5.9.3) + rsbuild-plugin-dts: 0.20.0(@rsbuild/core@2.0.0-beta.8(core-js@3.47.0))(typescript@6.0.2) optionalDependencies: - typescript: 5.9.3 + typescript: 6.0.2 transitivePeerDependencies: - '@module-federation/runtime-tools' - '@typescript/native-preview' @@ -743,12 +743,12 @@ snapshots: optionalDependencies: fsevents: 2.3.2 - rsbuild-plugin-dts@0.20.0(@rsbuild/core@2.0.0-beta.8(core-js@3.47.0))(typescript@5.9.3): + rsbuild-plugin-dts@0.20.0(@rsbuild/core@2.0.0-beta.8(core-js@3.47.0))(typescript@6.0.2): dependencies: '@ast-grep/napi': 0.37.0 '@rsbuild/core': 2.0.0-beta.8(core-js@3.47.0) optionalDependencies: - typescript: 5.9.3 + typescript: 6.0.2 selfsigned@3.0.1: dependencies: @@ -758,6 +758,6 @@ snapshots: tslib@2.8.1: {} - typescript@5.9.3: {} + typescript@6.0.2: {} undici-types@7.16.0: {} diff --git a/tsconfig.json b/tsconfig.json index 0e590ef..81265de 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,17 +1,15 @@ { - "compilerOptions": { - "outDir": "./dist", - "baseUrl": "./", - "target": "ES2020", - "lib": ["DOM", "ESNext"], - "module": "Node16", - "strict": true, - "declaration": true, - "isolatedModules": true, - "esModuleInterop": true, - "skipLibCheck": true, - "resolveJsonModule": true, - "moduleResolution": "Node16" - }, - "include": ["src"] + "compilerOptions": { + "rootDir": "./src", + "outDir": "./dist", + "target": "ES2023", + "types": ["node"], + "lib": ["DOM", "ESNext"], + "declaration": true, + "isolatedModules": true, + "skipLibCheck": true, + "module": "nodenext", + "moduleResolution": "nodenext" + }, + "include": ["src"] }