From 92135ea6c1e181c27cd44568c1e76fef31df23d4 Mon Sep 17 00:00:00 2001 From: stkevintan Date: Sat, 13 Jan 2024 16:55:17 +0800 Subject: [PATCH] add tslib in to root --- package.json | 1 + packages/ws/package.json | 6 ++-- pnpm-lock.yaml | 65 ++-------------------------------------- 3 files changed, 8 insertions(+), 64 deletions(-) diff --git a/package.json b/package.json index 77c86e7..712243d 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "@vitest/ui": "~0.34.7", "nx": "17.2.8", "prettier": "^2.8.8", + "tslib": "^2.6.2", "tsx": "^4.7.0", "typescript": "~5.2.2", "vite": "^5.0.11", diff --git a/packages/ws/package.json b/packages/ws/package.json index 5115777..5cbf0f9 100644 --- a/packages/ws/package.json +++ b/packages/ws/package.json @@ -3,11 +3,13 @@ "version": "0.0.1", "dependencies": { "@swc/helpers": "~0.5.2", - "@wcferry/core": "*", "commander": "^11.1.0", "debug": "^4.3.4", "ws": "^8.16.0" }, + "peerDependencies": { + "@wcferry/core": "*" + }, "bin": { "wcfwebsocket": "./src/cmd.js" }, @@ -27,4 +29,4 @@ "devDependencies": { "@types/ws": "^8.5.10" } -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5703b9d..10d549f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,6 +63,9 @@ importers: prettier: specifier: ^2.8.8 version: 2.8.8 + tslib: + specifier: ^2.6.2 + version: 2.6.2 tsx: specifier: ^4.7.0 version: 4.7.0 @@ -76,56 +79,6 @@ importers: specifier: ~0.34.6 version: 0.34.6(@vitest/ui@0.34.7) - dist/packages/core: - dependencies: - '@rustup/nng': - specifier: ^0.1.2 - version: 0.1.2 - '@swc/helpers': - specifier: ~0.5.2 - version: 0.5.3 - debug: - specifier: ^4.3.4 - version: 4.3.4 - google-protobuf: - specifier: ^3.21.2 - version: 3.21.2 - mime: - specifier: ^3.0.0 - version: 3.0.0 - devDependencies: - '@types/google-protobuf': - specifier: ^3.15.12 - version: 3.15.12 - '@types/mime': - specifier: ^3.0.4 - version: 3.0.4 - grpc-tools: - specifier: ^1.12.4 - version: 1.12.4 - protoc-gen-ts: - specifier: ^0.8.7 - version: 0.8.7 - - dist/packages/ws: - dependencies: - '@swc/helpers': - specifier: ~0.5.2 - version: 0.5.3 - '@wcferry/core': - specifier: '*' - version: 0.1.4 - debug: - specifier: ^4.3.4 - version: 4.3.4 - ws: - specifier: ^8.16.0 - version: 8.16.0 - devDependencies: - '@types/ws': - specifier: ^8.5.10 - version: 8.5.10 - packages/core: dependencies: '@rustup/nng': @@ -2896,18 +2849,6 @@ packages: pretty-format: 29.7.0 dev: true - /@wcferry/core@0.1.4: - resolution: {integrity: sha512-TB5aMm53FPfRr3ZApCuMj/45dWn8XUDiHdAvPQIXafcaQwg9SCak2vHIPep5XwUZAG5rX1R5yFA7Mrj7tdKHsQ==} - dependencies: - '@rustup/nng': 0.1.2 - '@swc/helpers': 0.5.3 - debug: 4.3.4 - google-protobuf: 3.21.2 - mime: 3.0.0 - transitivePeerDependencies: - - supports-color - dev: false - /@yarnpkg/lockfile@1.1.0: resolution: {integrity: sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==} dev: true