From cab2967cf66eb85512a68d6076b0f93fc2b38c33 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Tue, 30 Mar 2021 22:15:57 -0500 Subject: [PATCH] fix(extollo/extollo#4): add prepare script to package.json and reference modules by git repo --- package.json | 7 ++--- pnpm-lock.yaml | 70 +++++++++++++++++++++++++++++--------------------- 2 files changed, 45 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index 09442f8..aea3e52 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "lib": "lib" }, "dependencies": { - "@extollo/di": "^0.4.4", - "@extollo/util": "^0.3.2", + "@extollo/di": "git+https://code.garrettmills.dev/extollo/di", + "@extollo/util": "git+https://code.garrettmills.dev/extollo/util", "@types/busboy": "^0.2.3", "@types/negotiator": "^0.6.1", "@types/node": "^14.14.37", @@ -25,7 +25,8 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsc", - "app": "tsc && node lib/index.js" + "app": "tsc && node lib/index.js", + "prepare": "pnpm run build" }, "files": [ "lib/**/*" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fe13aae..7021beb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,6 +1,6 @@ dependencies: - '@extollo/di': 0.4.4 - '@extollo/util': 0.3.2 + '@extollo/di': code.garrettmills.dev/extollo/di/902c31997016d24c735448bbf1e58f06e94f4139 + '@extollo/util': code.garrettmills.dev/extollo/util/131e0c93ee7ea67d771053fbd69fbf7f6612fadf '@types/busboy': 0.2.3 '@types/negotiator': 0.6.1 '@types/node': 14.14.37 @@ -33,31 +33,6 @@ packages: dev: false resolution: integrity: sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ== - /@extollo/di/0.4.4: - dependencies: - '@extollo/util': 0.3.2 - '@types/node': 14.14.37 - reflect-metadata: 0.1.13 - typescript: 4.2.3 - dev: false - resolution: - integrity: sha512-kdljHQPxunw3KmDPxuXM7u6MwwnPvOvKGGoL0ItnMxCMHUQyBJSc+NkkRhgFnqr3WHEzTNfaYVg6hRVTvs3SOA== - /@extollo/util/0.3.2: - dependencies: - '@types/mkdirp': 1.0.1 - '@types/node': 14.14.37 - '@types/rimraf': 3.0.0 - '@types/ssh2': 0.5.46 - '@types/uuid': 8.3.0 - colors: 1.4.0 - mkdirp: 1.0.4 - rimraf: 3.0.2 - ssh2: 0.8.9 - typescript: 4.2.3 - uuid: 8.3.2 - dev: false - resolution: - integrity: sha512-cL50wHrIiRHn6W3niQZftYDgFB8K8x0dxbJPZtnt4/iy32m1aWxEx9UL8Ttldas6zDt4Ws1zBp0fInSKOKcQnQ== /@types/busboy/0.2.3: dependencies: '@types/node': 14.14.37 @@ -601,9 +576,46 @@ packages: node: '>=6' resolution: integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== + code.garrettmills.dev/extollo/di/902c31997016d24c735448bbf1e58f06e94f4139: + dependencies: + '@extollo/util': code.garrettmills.dev/extollo/util/131e0c93ee7ea67d771053fbd69fbf7f6612fadf + '@types/node': 14.14.37 + reflect-metadata: 0.1.13 + typescript: 4.2.3 + dev: false + name: '@extollo/di' + prepare: true + requiresBuild: true + resolution: + commit: 902c31997016d24c735448bbf1e58f06e94f4139 + repo: https://code.garrettmills.dev/extollo/di + type: git + version: 0.4.4 + code.garrettmills.dev/extollo/util/131e0c93ee7ea67d771053fbd69fbf7f6612fadf: + dependencies: + '@types/mkdirp': 1.0.1 + '@types/node': 14.14.37 + '@types/rimraf': 3.0.0 + '@types/ssh2': 0.5.46 + '@types/uuid': 8.3.0 + colors: 1.4.0 + mkdirp: 1.0.4 + rimraf: 3.0.2 + ssh2: 0.8.9 + typescript: 4.2.3 + uuid: 8.3.2 + dev: false + name: '@extollo/util' + prepare: true + requiresBuild: true + resolution: + commit: 131e0c93ee7ea67d771053fbd69fbf7f6612fadf + repo: https://code.garrettmills.dev/extollo/util + type: git + version: 0.3.2 specifiers: - '@extollo/di': ^0.4.4 - '@extollo/util': ^0.3.2 + '@extollo/di': git+https://code.garrettmills.dev/extollo/di + '@extollo/util': git+https://code.garrettmills.dev/extollo/util '@types/busboy': ^0.2.3 '@types/negotiator': ^0.6.1 '@types/node': ^14.14.37