From 83e5442cfbcf6b60800d32b10a3766c3bfc93aad Mon Sep 17 00:00:00 2001 From: Miro Date: Fri, 9 Feb 2024 16:21:51 +0100 Subject: [PATCH] Use npm 18 and fix link --- app/package-lock.json | 41 ++++++++++++++++++++++++++++++++++++----- app/package.json | 3 ++- lib/package-lock.json | 23 +++++++++++++++++++---- 3 files changed, 57 insertions(+), 10 deletions(-) diff --git a/app/package-lock.json b/app/package-lock.json index 4f28c3c..7ce773d 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,13 +1,44 @@ { "name": "app", "version": "1.0.0", - "lockfileVersion": 1, + "lockfileVersion": 3, "requires": true, - "dependencies": { - "capitalize": { + "packages": { + "": { + "name": "app", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "capitalize": "^2.0.4", + "lib": "file:../lib" + } + }, + "../lib": { + "version": "1.0.0", + "license": "ISC", + "devDependencies": { + "typescript": "^5.3.3" + } + }, + "../lib/node_modules/typescript": { + "version": "5.3.3", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/capitalize": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/capitalize/-/capitalize-2.0.4.tgz", - "integrity": "sha512-wcSyiFqXRYyCoqu0o0ekXzJAKCLMkqWS5QWGlgTJFJKwRmI6pzcN2hBl5VPq9RzLW5Uf4FF/V/lcFfjCtVak2w==" + "license": "MIT" + }, + "node_modules/lib": { + "resolved": "../lib", + "link": true } } } diff --git a/app/package.json b/app/package.json index ce0f053..351b094 100644 --- a/app/package.json +++ b/app/package.json @@ -11,6 +11,7 @@ "author": "", "license": "ISC", "dependencies": { - "capitalize": "^2.0.4" + "capitalize": "^2.0.4", + "lib": "file:../lib" } } diff --git a/lib/package-lock.json b/lib/package-lock.json index 3e1e882..4a109a4 100644 --- a/lib/package-lock.json +++ b/lib/package-lock.json @@ -1,14 +1,29 @@ { "name": "lib", "version": "1.0.0", - "lockfileVersion": 1, + "lockfileVersion": 3, "requires": true, - "dependencies": { - "typescript": { + "packages": { + "": { + "name": "lib", + "version": "1.0.0", + "license": "ISC", + "devDependencies": { + "typescript": "^5.3.3" + } + }, + "node_modules/typescript": { "version": "5.3.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", - "dev": true + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } } } }