From a696a98cd40b70a1304862dda115a9ca5d488e18 Mon Sep 17 00:00:00 2001 From: Jake 'Sid' Smith Date: Fri, 26 Apr 2019 14:21:57 +0100 Subject: [PATCH 1/2] Ensure dist is rebuilt before publish --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f74c5b9..ecf1e9e 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "prettier-check": "prettier --check '**/*.{ts,tsx,js,jsx}'", "prettier": "prettier --write '**/*.{ts,tsx,js,jsx}'", "tests": "jest", - "test": "npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage" + "test": "npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage", + "prepublishOnly": "npm run dist" }, "repository": { "type": "git", From 739efce03563a8664ee2a73a5de9595d710147a4 Mon Sep 17 00:00:00 2001 From: Jake 'Sid' Smith Date: Fri, 26 Apr 2019 14:22:18 +0100 Subject: [PATCH 2/2] 0.0.1 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 85312b5..dda4b64 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@dabapps/django-s3-file-upload", - "version": "0.0.0", + "version": "0.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ecf1e9e..d5bae8e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dabapps/django-s3-file-upload", - "version": "0.0.0", + "version": "0.0.1", "description": "Upload files from the browser to S3 - client side implementation", "main": "dist/index.js", "directories": {},