From 4f61ed808aa5a77cf94f39f9e39defeb5e262bf7 Mon Sep 17 00:00:00 2001 From: Shook Date: Thu, 4 Jul 2024 19:50:48 +0800 Subject: [PATCH] refactor: revert tsconfig.json, remove "type" in package.json, and tune tsup config --- package.json | 9 +- packages/btc/package.json | 18 +- packages/btc/src/bitcoin.ts | 2 +- packages/btc/tsconfig.json | 19 ++ packages/btc/tsup.config.ts | 13 +- packages/ckb/package.json | 18 +- packages/ckb/tsconfig.json | 27 +++ packages/ckb/tsup.config.ts | 13 +- packages/rgbpp/package.json | 42 ++--- packages/rgbpp/tsconfig.json | 20 ++ packages/rgbpp/tsup.config.ts | 13 +- packages/service/package.json | 18 +- packages/service/tsconfig.json | 19 ++ packages/service/tsup.config.ts | 13 +- pnpm-lock.yaml | 319 ++++++++++++++++++-------------- tsconfig.json | 62 ------- tsup-base.config.ts | 13 -- vitest.config.mts | 1 - 18 files changed, 334 insertions(+), 305 deletions(-) create mode 100644 packages/btc/tsconfig.json create mode 100644 packages/ckb/tsconfig.json create mode 100644 packages/rgbpp/tsconfig.json create mode 100644 packages/service/tsconfig.json delete mode 100644 tsconfig.json delete mode 100644 tsup-base.config.ts diff --git a/package.json b/package.json index 0a261266..d4bf6066 100644 --- a/package.json +++ b/package.json @@ -21,18 +21,17 @@ "@changesets/cli": "^2.27.1", "@changesets/get-github-info": "^0.6.0", "@changesets/types": "^6.0.0", + "@types/lodash": "^4.17.0", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", - "@types/lodash": "^4.17.0", "eslint": "^8.56.0", "husky": "^9.0.11", "lint-staged": "^15.2.2", "prettier": "^3.2.5", "ts-node": "^10.9.2", - "tsup": "^7.2.0", - "vite": "5.2.12", - "vitest": "1.6.0", - "typescript": "^5.4.3" + "tsup": "^8.1.0", + "typescript": "^5.4.3", + "vitest": "1.6.0" }, "lint-staged": { "{packages,apps,examples,tests}/**/*.{js,jsx,ts,tsx}": [ diff --git a/packages/btc/package.json b/packages/btc/package.json index eebd4262..198634b3 100644 --- a/packages/btc/package.json +++ b/packages/btc/package.json @@ -7,26 +7,26 @@ "lint": "tsc && eslint '{src,tests}/**/*.{js,ts}' && prettier --check '{src,tests}/**/*.{js,ts}'", "lint:fix": "tsc && eslint --fix '{src,tests}/**/*.{js,ts}' && prettier --write '{src,tests}/**/*.{js,ts}'" }, - "type": "module", + "sideEffects": false, "main": "./dist/index.js", "types": "./dist/index.d.ts", - "files": [ - "src", - "dist" - ], "exports": { ".": { "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" + "types": "./dist/index.d.mts", + "default": "./dist/index.mjs" }, "require": { - "types": "./dist/index.d.cts", - "default": "./dist/index.cjs" + "types": "./dist/index.d.js", + "default": "./dist/index.js" } }, "./package.json": "./package.json" }, + "files": [ + "src", + "dist" + ], "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@ckb-lumos/codec": "0.22.2", diff --git a/packages/btc/src/bitcoin.ts b/packages/btc/src/bitcoin.ts index a208e7f4..ced37f03 100644 --- a/packages/btc/src/bitcoin.ts +++ b/packages/btc/src/bitcoin.ts @@ -1,6 +1,6 @@ -import ECPairFactory, { ECPairInterface } from 'ecpair'; import ecc from '@bitcoinerlab/secp256k1'; import * as bitcoin from 'bitcoinjs-lib'; +import { ECPairFactory, ECPairInterface } from 'ecpair'; import { isTaprootInput } from 'bitcoinjs-lib/src/psbt/bip371'; import { isP2TR, isP2WPKH, isP2PKH } from 'bitcoinjs-lib/src/psbt/psbtutils'; diff --git a/packages/btc/tsconfig.json b/packages/btc/tsconfig.json new file mode 100644 index 00000000..dcda4566 --- /dev/null +++ b/packages/btc/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "moduleResolution": "Bundler", + "module": "ESNext", + "target": "ESNext", + "lib": ["ESNext", "DOM"], + "strict": true, + "noEmit": true, + "allowJs": true, + "sourceMap": true, + "skipLibCheck": true, + "esModuleInterop": true, + "strictNullChecks": true, + "resolveJsonModule": true, + "isolatedModules": true + }, + "include": ["src"], + "exclude": ["node_modules", "dist"] +} diff --git a/packages/btc/tsup.config.ts b/packages/btc/tsup.config.ts index 15fe4639..de041bd8 100644 --- a/packages/btc/tsup.config.ts +++ b/packages/btc/tsup.config.ts @@ -1,13 +1,10 @@ import { defineConfig } from 'tsup'; -import { dependencies, name } from './package.json'; - -import config from '../../tsup-base.config'; - export default defineConfig({ - ...config, - name, + name: '@rgbpp-sdk/btc', + dts: true, + clean: true, + sourcemap: true, + format: ['esm', 'cjs'], entry: ['src/index.ts'], - external: Object.keys(dependencies), - platform: 'browser', }); diff --git a/packages/ckb/package.json b/packages/ckb/package.json index f47c2a51..a3c61d39 100644 --- a/packages/ckb/package.json +++ b/packages/ckb/package.json @@ -8,26 +8,26 @@ "lint:fix": "tsc && eslint --fix --ext .ts {src,example}/* && prettier --write '{src,example}/**/*.{js,ts}'", "splitCells": "npx ts-node example/paymaster.ts" }, - "type": "module", + "sideEffects": false, "main": "./dist/index.js", "types": "./dist/index.d.ts", - "files": [ - "src", - "dist" - ], "exports": { ".": { "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" + "types": "./dist/index.d.mts", + "default": "./dist/index.mjs" }, "require": { - "types": "./dist/index.d.cts", - "default": "./dist/index.cjs" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" } }, "./package.json": "./package.json" }, + "files": [ + "src", + "dist" + ], "dependencies": { "@ckb-lumos/base": "^0.22.2", "@ckb-lumos/codec": "^0.22.2", diff --git a/packages/ckb/tsconfig.json b/packages/ckb/tsconfig.json new file mode 100644 index 00000000..22045fbf --- /dev/null +++ b/packages/ckb/tsconfig.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "compilerOptions": { + "moduleResolution": "Bundler", + "module": "ESNext", + "target": "ESNext", + "lib": ["ESNext", "DOM"], + "strict": true, + "noEmit": true, + "allowJs": true, + "sourceMap": true, + "skipLibCheck": true, + "esModuleInterop": true, + "strictNullChecks": true, + "resolveJsonModule": true, + "isolatedModules": true + }, + "include": ["src"], + "exclude": ["node_modules", "dist", "**/*.spec.ts", "example"], + "ts-node": { + // these options are overrides used only by ts-node + // same as the --compilerOptions flag and the TS_NODE_COMPILER_OPTIONS environment variable + "compilerOptions": { + "module": "CommonJS" + } + } +} diff --git a/packages/ckb/tsup.config.ts b/packages/ckb/tsup.config.ts index 15fe4639..e2255fa2 100644 --- a/packages/ckb/tsup.config.ts +++ b/packages/ckb/tsup.config.ts @@ -1,13 +1,10 @@ import { defineConfig } from 'tsup'; -import { dependencies, name } from './package.json'; - -import config from '../../tsup-base.config'; - export default defineConfig({ - ...config, - name, + name: '@rgbpp-sdk/ckb', + dts: true, + clean: true, + sourcemap: true, + format: ['esm', 'cjs'], entry: ['src/index.ts'], - external: Object.keys(dependencies), - platform: 'browser', }); diff --git a/packages/rgbpp/package.json b/packages/rgbpp/package.json index 6f5a83d2..0f61c9b0 100644 --- a/packages/rgbpp/package.json +++ b/packages/rgbpp/package.json @@ -6,57 +6,57 @@ "lint": "tsc && eslint --ext .ts src/* && prettier --check 'src/*.ts'", "lint:fix": "tsc && eslint --fix --ext .ts src/* && prettier --write 'src/*.ts'" }, - "type": "module", + "sideEffects": false, "main": "./dist/index.js", "types": "./dist/index.d.ts", - "files": [ - "src", - "dist" - ], "exports": { ".": { "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" + "types": "./dist/index.d.mts", + "default": "./dist/index.mjs" }, "require": { - "types": "./dist/index.d.cts", - "default": "./dist/index.cjs" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" } }, "./btc": { "import": { - "types": "./dist/btc.d.ts", - "default": "./dist/btc.js" + "types": "./dist/btc.d.mts", + "default": "./dist/btc.mjs" }, "require": { - "types": "./dist/btc.d.cts", - "default": "./dist/btc.cjs" + "types": "./dist/btc.d.ts", + "default": "./dist/btc.js" } }, "./ckb": { "import": { - "types": "./dist/ckb.d.ts", - "default": "./dist/ckb.js" + "types": "./dist/ckb.d.mts", + "default": "./dist/ckb.mjs" }, "require": { - "types": "./dist/ckb.d.cts", - "default": "./dist/ckb.cjs" + "types": "./dist/ckb.d.ts", + "default": "./dist/ckb.js" } }, "./service": { "import": { - "types": "./dist/service.d.ts", - "default": "./dist/service.js" + "types": "./dist/service.d.mts", + "default": "./dist/service.mjs" }, "require": { - "types": "./dist/service.d.cts", - "default": "./dist/service.cjs" + "types": "./dist/service.d.ts", + "default": "./dist/service.js" } }, "./dist/*": "./dist/*", "./package.json": "./package.json" }, + "files": [ + "src", + "dist" + ], "dependencies": { "@rgbpp-sdk/btc": "workspace:*", "@rgbpp-sdk/ckb": "workspace:*", diff --git a/packages/rgbpp/tsconfig.json b/packages/rgbpp/tsconfig.json new file mode 100644 index 00000000..70033a91 --- /dev/null +++ b/packages/rgbpp/tsconfig.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "compilerOptions": { + "moduleResolution": "Bundler", + "module": "ESNext", + "target": "ESNext", + "lib": ["ESNext", "DOM"], + "strict": true, + "noEmit": true, + "allowJs": true, + "sourceMap": true, + "skipLibCheck": true, + "esModuleInterop": true, + "strictNullChecks": true, + "resolveJsonModule": true, + "isolatedModules": true + }, + "include": ["src/**/*.ts"], + "exclude": ["node_modules", "dist"] +} diff --git a/packages/rgbpp/tsup.config.ts b/packages/rgbpp/tsup.config.ts index fab3200a..8376c1d0 100644 --- a/packages/rgbpp/tsup.config.ts +++ b/packages/rgbpp/tsup.config.ts @@ -1,13 +1,10 @@ import { defineConfig } from 'tsup'; -import { dependencies, name } from './package.json'; - -import config from '../../tsup-base.config'; - export default defineConfig({ - ...config, - name, + name: 'rgbpp', + dts: true, + clean: true, + sourcemap: true, + format: ['esm', 'cjs'], entry: ['src/index.ts', 'src/btc.ts', 'src/ckb.ts', 'src/service.ts'], - external: Object.keys(dependencies), - platform: 'browser', }); diff --git a/packages/service/package.json b/packages/service/package.json index fe9788b0..70d103c1 100644 --- a/packages/service/package.json +++ b/packages/service/package.json @@ -7,26 +7,26 @@ "lint": "tsc && eslint '{src,tests}/**/*.{js,ts}' && prettier --check '{src,tests}/**/*.{js,ts}'", "lint:fix": "tsc && eslint --fix '{src,tests}/**/*.{js,ts}' && prettier --write '{src,tests}/**/*.{js,ts}'" }, - "type": "module", + "sideEffects": false, "main": "./dist/index.js", "types": "./dist/index.d.ts", - "files": [ - "src", - "dist" - ], "exports": { ".": { "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" + "types": "./dist/index.d.mts", + "default": "./dist/index.mjs" }, "require": { - "types": "./dist/index.d.cts", - "default": "./dist/index.cjs" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" } }, "./package.json": "./package.json" }, + "files": [ + "src", + "dist" + ], "dependencies": { "@ckb-lumos/codec": "0.22.2", "@ckb-lumos/base": "0.22.2", diff --git a/packages/service/tsconfig.json b/packages/service/tsconfig.json new file mode 100644 index 00000000..dcda4566 --- /dev/null +++ b/packages/service/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "moduleResolution": "Bundler", + "module": "ESNext", + "target": "ESNext", + "lib": ["ESNext", "DOM"], + "strict": true, + "noEmit": true, + "allowJs": true, + "sourceMap": true, + "skipLibCheck": true, + "esModuleInterop": true, + "strictNullChecks": true, + "resolveJsonModule": true, + "isolatedModules": true + }, + "include": ["src"], + "exclude": ["node_modules", "dist"] +} diff --git a/packages/service/tsup.config.ts b/packages/service/tsup.config.ts index 15fe4639..74f88ce9 100644 --- a/packages/service/tsup.config.ts +++ b/packages/service/tsup.config.ts @@ -1,13 +1,10 @@ import { defineConfig } from 'tsup'; -import { dependencies, name } from './package.json'; - -import config from '../../tsup-base.config'; - export default defineConfig({ - ...config, - name, + name: '@rgbpp-sdk/service', + dts: true, + clean: true, + sourcemap: true, + format: ['esm', 'cjs'], entry: ['src/index.ts'], - external: Object.keys(dependencies), - platform: 'browser', }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2fc9dfce..1ed159a4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -42,14 +42,11 @@ importers: specifier: ^10.9.2 version: 10.9.2(@types/node@20.12.12)(typescript@5.4.3) tsup: - specifier: ^7.2.0 - version: 7.3.0(ts-node@10.9.2)(typescript@5.4.3) + specifier: ^8.1.0 + version: 8.1.0(ts-node@10.9.2)(typescript@5.4.3) typescript: specifier: ^5.4.3 version: 5.4.3 - vite: - specifier: 5.2.12 - version: 5.2.12(@types/node@20.12.12) vitest: specifier: 1.6.0 version: 1.6.0(@types/node@20.12.12) @@ -89,7 +86,7 @@ importers: devDependencies: '@nestjs/cli': specifier: ^10.0.0 - version: 10.3.2(esbuild@0.19.12) + version: 10.3.2(esbuild@0.21.5) '@nestjs/schematics': specifier: ^10.0.0 version: 10.1.1(typescript@5.4.3) @@ -113,7 +110,7 @@ importers: version: 6.3.4 ts-jest: specifier: ^29.1.0 - version: 29.1.4(@babel/core@7.24.0)(esbuild@0.19.12)(jest@29.7.0)(typescript@5.4.3) + version: 29.1.4(@babel/core@7.24.0)(esbuild@0.21.5)(jest@29.7.0)(typescript@5.4.3) ts-loader: specifier: ^9.4.3 version: 9.5.1(typescript@5.4.3)(webpack@5.91.0) @@ -400,7 +397,7 @@ packages: dependencies: '@babel/compat-data': 7.23.5 '@babel/helper-validator-option': 7.23.5 - browserslist: 4.23.0 + browserslist: 4.23.1 lru-cache: 5.1.1 semver: 6.3.1 dev: true @@ -1121,15 +1118,6 @@ packages: '@jridgewell/trace-mapping': 0.3.9 dev: true - /@esbuild/aix-ppc64@0.19.12: - resolution: {integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [aix] - requiresBuild: true - dev: true - optional: true - /@esbuild/aix-ppc64@0.20.2: resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} engines: {node: '>=12'} @@ -1139,11 +1127,11 @@ packages: dev: true optional: true - /@esbuild/android-arm64@0.19.12: - resolution: {integrity: sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==} + /@esbuild/aix-ppc64@0.21.5: + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} engines: {node: '>=12'} - cpu: [arm64] - os: [android] + cpu: [ppc64] + os: [aix] requiresBuild: true dev: true optional: true @@ -1157,10 +1145,10 @@ packages: dev: true optional: true - /@esbuild/android-arm@0.19.12: - resolution: {integrity: sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==} + /@esbuild/android-arm64@0.21.5: + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} engines: {node: '>=12'} - cpu: [arm] + cpu: [arm64] os: [android] requiresBuild: true dev: true @@ -1175,10 +1163,10 @@ packages: dev: true optional: true - /@esbuild/android-x64@0.19.12: - resolution: {integrity: sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==} + /@esbuild/android-arm@0.21.5: + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} engines: {node: '>=12'} - cpu: [x64] + cpu: [arm] os: [android] requiresBuild: true dev: true @@ -1193,11 +1181,11 @@ packages: dev: true optional: true - /@esbuild/darwin-arm64@0.19.12: - resolution: {integrity: sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==} + /@esbuild/android-x64@0.21.5: + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] + cpu: [x64] + os: [android] requiresBuild: true dev: true optional: true @@ -1211,10 +1199,10 @@ packages: dev: true optional: true - /@esbuild/darwin-x64@0.19.12: - resolution: {integrity: sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==} + /@esbuild/darwin-arm64@0.21.5: + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} engines: {node: '>=12'} - cpu: [x64] + cpu: [arm64] os: [darwin] requiresBuild: true dev: true @@ -1229,11 +1217,11 @@ packages: dev: true optional: true - /@esbuild/freebsd-arm64@0.19.12: - resolution: {integrity: sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==} + /@esbuild/darwin-x64@0.21.5: + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] + cpu: [x64] + os: [darwin] requiresBuild: true dev: true optional: true @@ -1247,10 +1235,10 @@ packages: dev: true optional: true - /@esbuild/freebsd-x64@0.19.12: - resolution: {integrity: sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==} + /@esbuild/freebsd-arm64@0.21.5: + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} engines: {node: '>=12'} - cpu: [x64] + cpu: [arm64] os: [freebsd] requiresBuild: true dev: true @@ -1265,11 +1253,11 @@ packages: dev: true optional: true - /@esbuild/linux-arm64@0.19.12: - resolution: {integrity: sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==} + /@esbuild/freebsd-x64@0.21.5: + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} engines: {node: '>=12'} - cpu: [arm64] - os: [linux] + cpu: [x64] + os: [freebsd] requiresBuild: true dev: true optional: true @@ -1283,10 +1271,10 @@ packages: dev: true optional: true - /@esbuild/linux-arm@0.19.12: - resolution: {integrity: sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==} + /@esbuild/linux-arm64@0.21.5: + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} engines: {node: '>=12'} - cpu: [arm] + cpu: [arm64] os: [linux] requiresBuild: true dev: true @@ -1301,10 +1289,10 @@ packages: dev: true optional: true - /@esbuild/linux-ia32@0.19.12: - resolution: {integrity: sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==} + /@esbuild/linux-arm@0.21.5: + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} engines: {node: '>=12'} - cpu: [ia32] + cpu: [arm] os: [linux] requiresBuild: true dev: true @@ -1319,10 +1307,10 @@ packages: dev: true optional: true - /@esbuild/linux-loong64@0.19.12: - resolution: {integrity: sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==} + /@esbuild/linux-ia32@0.21.5: + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} engines: {node: '>=12'} - cpu: [loong64] + cpu: [ia32] os: [linux] requiresBuild: true dev: true @@ -1337,10 +1325,10 @@ packages: dev: true optional: true - /@esbuild/linux-mips64el@0.19.12: - resolution: {integrity: sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==} + /@esbuild/linux-loong64@0.21.5: + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} engines: {node: '>=12'} - cpu: [mips64el] + cpu: [loong64] os: [linux] requiresBuild: true dev: true @@ -1355,10 +1343,10 @@ packages: dev: true optional: true - /@esbuild/linux-ppc64@0.19.12: - resolution: {integrity: sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==} + /@esbuild/linux-mips64el@0.21.5: + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} engines: {node: '>=12'} - cpu: [ppc64] + cpu: [mips64el] os: [linux] requiresBuild: true dev: true @@ -1373,10 +1361,10 @@ packages: dev: true optional: true - /@esbuild/linux-riscv64@0.19.12: - resolution: {integrity: sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==} + /@esbuild/linux-ppc64@0.21.5: + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} engines: {node: '>=12'} - cpu: [riscv64] + cpu: [ppc64] os: [linux] requiresBuild: true dev: true @@ -1391,10 +1379,10 @@ packages: dev: true optional: true - /@esbuild/linux-s390x@0.19.12: - resolution: {integrity: sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==} + /@esbuild/linux-riscv64@0.21.5: + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} engines: {node: '>=12'} - cpu: [s390x] + cpu: [riscv64] os: [linux] requiresBuild: true dev: true @@ -1409,10 +1397,10 @@ packages: dev: true optional: true - /@esbuild/linux-x64@0.19.12: - resolution: {integrity: sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==} + /@esbuild/linux-s390x@0.21.5: + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} engines: {node: '>=12'} - cpu: [x64] + cpu: [s390x] os: [linux] requiresBuild: true dev: true @@ -1427,11 +1415,11 @@ packages: dev: true optional: true - /@esbuild/netbsd-x64@0.19.12: - resolution: {integrity: sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==} + /@esbuild/linux-x64@0.21.5: + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} engines: {node: '>=12'} cpu: [x64] - os: [netbsd] + os: [linux] requiresBuild: true dev: true optional: true @@ -1445,11 +1433,11 @@ packages: dev: true optional: true - /@esbuild/openbsd-x64@0.19.12: - resolution: {integrity: sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==} + /@esbuild/netbsd-x64@0.21.5: + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} engines: {node: '>=12'} cpu: [x64] - os: [openbsd] + os: [netbsd] requiresBuild: true dev: true optional: true @@ -1463,11 +1451,11 @@ packages: dev: true optional: true - /@esbuild/sunos-x64@0.19.12: - resolution: {integrity: sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==} + /@esbuild/openbsd-x64@0.21.5: + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} engines: {node: '>=12'} cpu: [x64] - os: [sunos] + os: [openbsd] requiresBuild: true dev: true optional: true @@ -1481,11 +1469,11 @@ packages: dev: true optional: true - /@esbuild/win32-arm64@0.19.12: - resolution: {integrity: sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==} + /@esbuild/sunos-x64@0.21.5: + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} engines: {node: '>=12'} - cpu: [arm64] - os: [win32] + cpu: [x64] + os: [sunos] requiresBuild: true dev: true optional: true @@ -1499,10 +1487,10 @@ packages: dev: true optional: true - /@esbuild/win32-ia32@0.19.12: - resolution: {integrity: sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==} + /@esbuild/win32-arm64@0.21.5: + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} engines: {node: '>=12'} - cpu: [ia32] + cpu: [arm64] os: [win32] requiresBuild: true dev: true @@ -1517,10 +1505,10 @@ packages: dev: true optional: true - /@esbuild/win32-x64@0.19.12: - resolution: {integrity: sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==} + /@esbuild/win32-ia32@0.21.5: + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} engines: {node: '>=12'} - cpu: [x64] + cpu: [ia32] os: [win32] requiresBuild: true dev: true @@ -1535,6 +1523,15 @@ packages: dev: true optional: true + /@esbuild/win32-x64@0.21.5: + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@eslint-community/eslint-utils@4.4.0(eslint@8.57.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1998,7 +1995,7 @@ packages: resolution: {integrity: sha512-mD5mOCGa1JertKZekHSUVYwFPW27VJ0/MdwblWvEEK7pNIU6az+dLiIxgvl4TxR+j+7/GqmXNH1U59CM92y/wg==} dev: false - /@nestjs/cli@10.3.2(esbuild@0.19.12): + /@nestjs/cli@10.3.2(esbuild@0.21.5): resolution: {integrity: sha512-aWmD1GLluWrbuC4a1Iz/XBk5p74Uj6nIVZj6Ov03JbTfgtWqGFLtXuMetvzMiHxfrHehx/myt2iKAPRhKdZvTg==} engines: {node: '>= 16.14'} hasBin: true @@ -2031,7 +2028,7 @@ packages: tsconfig-paths: 4.2.0 tsconfig-paths-webpack-plugin: 4.1.0 typescript: 5.3.3 - webpack: 5.90.1(esbuild@0.19.12) + webpack: 5.90.1(esbuild@0.21.5) webpack-node-externals: 3.0.0 transitivePeerDependencies: - esbuild @@ -3343,6 +3340,17 @@ packages: update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true + /browserslist@4.23.1: + resolution: {integrity: sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + dependencies: + caniuse-lite: 1.0.30001640 + electron-to-chromium: 1.4.816 + node-releases: 2.0.14 + update-browserslist-db: 1.1.0(browserslist@4.23.1) + dev: true + /bs-logger@0.2.6: resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} engines: {node: '>= 6'} @@ -3401,13 +3409,13 @@ packages: ieee754: 1.2.1 dev: false - /bundle-require@4.2.1(esbuild@0.19.12): + /bundle-require@4.2.1(esbuild@0.21.5): resolution: {integrity: sha512-7Q/6vkyYAwOmQNRw75x+4yRtZCZJXUDmHHlFdkiV0wgv/reNjtJwpu1jPJ0w2kbEpIM0uoKI3S4/f39dU7AjSA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} peerDependencies: esbuild: '>=0.17' dependencies: - esbuild: 0.19.12 + esbuild: 0.21.5 load-tsconfig: 0.2.5 dev: true @@ -3464,6 +3472,10 @@ packages: resolution: {integrity: sha512-LRAQHZ4yT1+f9LemSMeqdMpMxZcc4RMWdj4tiFe3G8tNkWK+E58g+/tzotb5cU6TbcVJLr4fySiAW7XmxQvZQA==} dev: true + /caniuse-lite@1.0.30001640: + resolution: {integrity: sha512-lA4VMpW0PSUrFnkmVuEKBUovSWKhj7puyCg8StBChgu298N1AtuF1sKWEvfDuimSEDbhlb/KqPKC3fs1HbuQUA==} + dev: true + /chai@4.4.1: resolution: {integrity: sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==} engines: {node: '>=4'} @@ -3997,6 +4009,10 @@ packages: resolution: {integrity: sha512-w+9yAVHoHhysCa+gln7AzbO9CdjFcL/wN/5dd+XW/Msl2d/4+WisEaCF1nty0xbAKaxdaJfgLB2296U7zZB7BA==} dev: true + /electron-to-chromium@1.4.816: + resolution: {integrity: sha512-EKH5X5oqC6hLmiS7/vYtZHZFTNdhsYG5NVPRN6Yn0kQHNBlT59+xSM8HBy66P5fxWpKgZbPqb+diC64ng295Jw==} + dev: true + /elliptic@6.5.4: resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} dependencies: @@ -4159,37 +4175,6 @@ packages: is-symbol: 1.0.4 dev: true - /esbuild@0.19.12: - resolution: {integrity: sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/aix-ppc64': 0.19.12 - '@esbuild/android-arm': 0.19.12 - '@esbuild/android-arm64': 0.19.12 - '@esbuild/android-x64': 0.19.12 - '@esbuild/darwin-arm64': 0.19.12 - '@esbuild/darwin-x64': 0.19.12 - '@esbuild/freebsd-arm64': 0.19.12 - '@esbuild/freebsd-x64': 0.19.12 - '@esbuild/linux-arm': 0.19.12 - '@esbuild/linux-arm64': 0.19.12 - '@esbuild/linux-ia32': 0.19.12 - '@esbuild/linux-loong64': 0.19.12 - '@esbuild/linux-mips64el': 0.19.12 - '@esbuild/linux-ppc64': 0.19.12 - '@esbuild/linux-riscv64': 0.19.12 - '@esbuild/linux-s390x': 0.19.12 - '@esbuild/linux-x64': 0.19.12 - '@esbuild/netbsd-x64': 0.19.12 - '@esbuild/openbsd-x64': 0.19.12 - '@esbuild/sunos-x64': 0.19.12 - '@esbuild/win32-arm64': 0.19.12 - '@esbuild/win32-ia32': 0.19.12 - '@esbuild/win32-x64': 0.19.12 - dev: true - /esbuild@0.20.2: resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==} engines: {node: '>=12'} @@ -4221,6 +4206,37 @@ packages: '@esbuild/win32-x64': 0.20.2 dev: true + /esbuild@0.21.5: + resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 + dev: true + /escalade@3.1.2: resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} engines: {node: '>=6'} @@ -4650,7 +4666,7 @@ packages: semver: 7.6.0 tapable: 2.2.1 typescript: 5.3.3 - webpack: 5.90.1(esbuild@0.19.12) + webpack: 5.90.1(esbuild@0.21.5) dev: true /form-data@4.0.0: @@ -6677,6 +6693,10 @@ packages: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} dev: true + /picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + dev: true + /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -7685,7 +7705,7 @@ packages: engines: {node: '>=8'} dev: true - /terser-webpack-plugin@5.3.10(esbuild@0.19.12)(webpack@5.90.1): + /terser-webpack-plugin@5.3.10(esbuild@0.21.5)(webpack@5.90.1): resolution: {integrity: sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==} engines: {node: '>= 10.13.0'} peerDependencies: @@ -7702,15 +7722,15 @@ packages: optional: true dependencies: '@jridgewell/trace-mapping': 0.3.25 - esbuild: 0.19.12 + esbuild: 0.21.5 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.31.0 - webpack: 5.90.1(esbuild@0.19.12) + webpack: 5.90.1(esbuild@0.21.5) dev: true - /terser-webpack-plugin@5.3.10(esbuild@0.19.12)(webpack@5.91.0): + /terser-webpack-plugin@5.3.10(esbuild@0.21.5)(webpack@5.91.0): resolution: {integrity: sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==} engines: {node: '>= 10.13.0'} peerDependencies: @@ -7727,12 +7747,12 @@ packages: optional: true dependencies: '@jridgewell/trace-mapping': 0.3.25 - esbuild: 0.19.12 + esbuild: 0.21.5 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.31.0 - webpack: 5.91.0(esbuild@0.19.12) + webpack: 5.91.0(esbuild@0.21.5) dev: true /terser@5.31.0: @@ -7856,7 +7876,7 @@ packages: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} dev: true - /ts-jest@29.1.4(@babel/core@7.24.0)(esbuild@0.19.12)(jest@29.7.0)(typescript@5.4.3): + /ts-jest@29.1.4(@babel/core@7.24.0)(esbuild@0.21.5)(jest@29.7.0)(typescript@5.4.3): resolution: {integrity: sha512-YiHwDhSvCiItoAgsKtoLFCuakDzDsJ1DLDnSouTaTmdOcOwIkSzbLXduaQ6M5DRVhuZC/NYaaZ/mtHbWMv/S6Q==} engines: {node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0} hasBin: true @@ -7882,7 +7902,7 @@ packages: dependencies: '@babel/core': 7.24.0 bs-logger: 0.2.6 - esbuild: 0.19.12 + esbuild: 0.21.5 fast-json-stable-stringify: 2.1.0 jest: 29.7.0(@types/node@20.12.12)(ts-node@10.9.2) jest-util: 29.7.0 @@ -7907,7 +7927,7 @@ packages: semver: 7.6.0 source-map: 0.7.4 typescript: 5.4.3 - webpack: 5.91.0(esbuild@0.19.12) + webpack: 5.91.0(esbuild@0.21.5) dev: true /ts-node@10.9.2(@types/node@20.12.12)(typescript@5.4.3): @@ -7966,16 +7986,18 @@ packages: /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - /tsup@7.3.0(ts-node@10.9.2)(typescript@5.4.3): - resolution: {integrity: sha512-Ja1eaSRrE+QarmATlNO5fse2aOACYMBX+IZRKy1T+gpyH+jXgRrl5l4nHIQJQ1DoDgEjHDTw8cpE085UdBZuWQ==} + /tsup@8.1.0(ts-node@10.9.2)(typescript@5.4.3): + resolution: {integrity: sha512-UFdfCAXukax+U6KzeTNO2kAARHcWxmKsnvSPXUcfA1D+kU05XDccCrkffCQpFaWDsZfV0jMyTsxU39VfCp6EOg==} engines: {node: '>=18'} - deprecated: Breaking node 16 hasBin: true peerDependencies: + '@microsoft/api-extractor': ^7.36.0 '@swc/core': ^1 postcss: ^8.4.12 typescript: '>=4.5.0' peerDependenciesMeta: + '@microsoft/api-extractor': + optional: true '@swc/core': optional: true postcss: @@ -7983,11 +8005,11 @@ packages: typescript: optional: true dependencies: - bundle-require: 4.2.1(esbuild@0.19.12) + bundle-require: 4.2.1(esbuild@0.21.5) cac: 6.7.14 chokidar: 3.6.0 debug: 4.3.4 - esbuild: 0.19.12 + esbuild: 0.21.5 execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 @@ -8168,6 +8190,17 @@ packages: picocolors: 1.0.0 dev: true + /update-browserslist-db@1.1.0(browserslist@4.23.1): + resolution: {integrity: sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + dependencies: + browserslist: 4.23.1 + escalade: 3.1.2 + picocolors: 1.0.1 + dev: true + /uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} dependencies: @@ -8362,7 +8395,7 @@ packages: engines: {node: '>=10.13.0'} dev: true - /webpack@5.90.1(esbuild@0.19.12): + /webpack@5.90.1(esbuild@0.21.5): resolution: {integrity: sha512-SstPdlAC5IvgFnhiRok8hqJo/+ArAbNv7rhU4fnWGHNVfN59HSQFaxZDSAL3IFG2YmqxuRs+IU33milSxbPlog==} engines: {node: '>=10.13.0'} hasBin: true @@ -8393,7 +8426,7 @@ packages: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(esbuild@0.19.12)(webpack@5.90.1) + terser-webpack-plugin: 5.3.10(esbuild@0.21.5)(webpack@5.90.1) watchpack: 2.4.1 webpack-sources: 3.2.3 transitivePeerDependencies: @@ -8402,7 +8435,7 @@ packages: - uglify-js dev: true - /webpack@5.91.0(esbuild@0.19.12): + /webpack@5.91.0(esbuild@0.21.5): resolution: {integrity: sha512-rzVwlLeBWHJbmgTC/8TvAcu5vpJNII+MelQpylD4jNERPwpBJOE2lEcko1zJX3QJeLjTTAnQxn/OJ8bjDzVQaw==} engines: {node: '>=10.13.0'} hasBin: true @@ -8419,7 +8452,7 @@ packages: '@webassemblyjs/wasm-parser': 1.12.1 acorn: 8.12.0 acorn-import-assertions: 1.9.0(acorn@8.12.0) - browserslist: 4.23.0 + browserslist: 4.23.1 chrome-trace-event: 1.0.4 enhanced-resolve: 5.16.1 es-module-lexer: 1.5.3 @@ -8433,7 +8466,7 @@ packages: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(esbuild@0.19.12)(webpack@5.91.0) + terser-webpack-plugin: 5.3.10(esbuild@0.21.5)(webpack@5.91.0) watchpack: 2.4.1 webpack-sources: 3.2.3 transitivePeerDependencies: diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index a03de788..00000000 --- a/tsconfig.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": ".", - "jsx": "react-jsx", - "lib": [ - "es2021", - "dom" - ], - "module": "esnext", - "moduleResolution": "node", - "target": "es2021", - "composite": false, - "allowJs": true, - "resolveJsonModule": true, - "strictNullChecks": true, - "noEmit": true, - "declaration": true, - "declarationMap": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "inlineSources": false, - "isolatedModules": true, - "noUnusedLocals": false, - "noUnusedParameters": false, - "preserveWatchOutput": true, - "skipLibCheck": true, - "downlevelIteration": true, - "strict": true, - "paths": { - "@rgbpp-sdk/btc": [ - "./packages/btc/src" - ], - "@rgbpp-sdk/btc/*": [ - "packages/btc/src/*" - ], - "@rgbpp-sdk/ckb": [ - "./packages/ckb/src" - ], - "@rgbpp-sdk/ckb/*": [ - "packages/ckb/src/*" - ], - "@rgbpp-sdk/service": [ - "./packages/service/src" - ], - "@rgbpp-sdk/service/*": [ - "packages/service/src/*" - ], - } - }, - "exclude": [ - "**/node_modules/**", - "**/dist/**" - ], - "include": [ - "packages/**/*", - "examples/**/*", - "apps/**/*", - "tests/**/*", - "tsup-base.config.ts", - "vitest.config.mts", - ] -} diff --git a/tsup-base.config.ts b/tsup-base.config.ts deleted file mode 100644 index 1eefad32..00000000 --- a/tsup-base.config.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { defineConfig } from 'tsup' - -export default defineConfig({ - splitting: true, - clean: true, - bundle: true, - dts: true, - sourcemap: true, - target: 'es2021', - format: ['esm', 'cjs'], - entry: ['src/index.ts'], - platform: 'browser', -}) diff --git a/vitest.config.mts b/vitest.config.mts index da33d8ce..40f03cee 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -4,6 +4,5 @@ export default defineConfig({ test: { watch: false, reporters: ['verbose'], - exclude: ['dist', 'node_modules'], }, });