From 9fb9523be677565834841eb6d9368ae1490b445e Mon Sep 17 00:00:00 2001 From: Nehal Patel Date: Wed, 6 Oct 2021 01:08:05 -0500 Subject: [PATCH] Fix issue with tsc --- Dockerfile | 3 +-- package-lock.json | 3 +++ package.json | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 767b061..3c2ff7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,10 +4,9 @@ RUN git config --global url."https://github.com/".insteadOf ssh://git@github.com WORKDIR /kill-the-newsletter -COPY package*.json ./ +COPY . . RUN npm ci RUN npm dedupe --production -COPY . . VOLUME /kill-the-newsletter/static/feeds/ VOLUME /kill-the-newsletter/static/alternate/ diff --git a/package-lock.json b/package-lock.json index f70b8e3..df94006 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "kill-the-newsletter", "version": "1.0.1", "license": "MIT", "dependencies": { @@ -1021,6 +1022,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/@leafac/sqlite-migration/-/sqlite-migration-1.0.3.tgz", "integrity": "sha512-oTfynjzKSFH3tc0M4sISheaZ4go1/3Wr9knGHuq66rFfgqblfgWh6RMG8V3dAiZI0U4PBidOAKzt2AYefXjHNQ==", + "deprecated": "Deprecated in favor of [@leafac/sqlite@1.4.0’s `.migrate()` method](https://github.com/leafac/sqlite/tree/25f792a98c154990119e6f2776811ebd074d4a77#a-lightweight-migration-system)", "peerDependencies": { "@leafac/sqlite": "^1.1.2" } @@ -1810,6 +1812,7 @@ "node_modules/bent": { "version": "7.0.3", "resolved": "git+ssh://git@github.com/aral/bent.git#16a959683c6916204c28a1c870cb7b399c9215a9", + "integrity": "sha512-chqIf23RhvbSoWyBqnLvti3MbZ1IOFFnj5q1qk5onVhTWI62WEuvfsjiX7dQcu35oCsamQlKP6RkBzsecSYcAw==", "license": "Apache-2.0", "dependencies": { "bytesish": "^0.4.1", diff --git a/package.json b/package.json index 2bdc0ea..6c71a1f 100644 --- a/package.json +++ b/package.json @@ -35,8 +35,7 @@ "fs-extra": "^9.1.0", "mailparser": "^3.1.0", "smtp-server": "^3.8.0", - "tagged-template-noop": "^2.1.1", - "ts-node": "^9.1.1" + "tagged-template-noop": "^2.1.1" }, "devDependencies": { "@types/express": "^4.17.11", @@ -53,6 +52,7 @@ "nodemailer": "^6.4.18", "prettier": "^2.2.1", "ts-jest": "^27.0.5", + "ts-node": "^9.1.1", "typescript": "^4.2.3" }, "jest": {