From f56f0c85e101fb8550536c1fbaf10a1c2431b783 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Sun, 21 Oct 2018 03:32:48 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Rename=20getSolidpkgZip=20to=20G?= =?UTF-8?q?etReleaseZip,=20change=20npm=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/index.ts | 4 ++-- src/ssn/{getSolidpkgZip.ts => getReleaseZip.ts} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename src/ssn/{getSolidpkgZip.ts => getReleaseZip.ts} (100%) diff --git a/package.json b/package.json index aa5fbd6..a9c4df2 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { - "preinstall": "npm start", + "postinstall": "npm start", "start": "rm -rf dist && tsc", "test": "echo \"Error: no test specified\" && exit 1" }, diff --git a/src/index.ts b/src/index.ts index 24a7ef7..973ac14 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,8 +7,8 @@ import { ISsnFileEntry } from './interfaces/ISsnFileEntry'; import findReleasePath from './ssn/findReleasePath'; import getManifest from './ssn/getManifest'; import getPatch from './ssn/getPatch'; +import getReleaseZip from './ssn/getReleaseZip'; import getSolidpkg from './ssn/getSolidpkg'; -import getSolidpkgZip from './ssn/getSolidpkgZip'; import verifyProductName from './ssn/verify/verifyProductName'; -export { IManifest, ISolidSimple, ISsnFileEntry, Product, findReleasePath, getManifest, getPatch, getSolidpkg, getSolidpkgZip, verifyProductName }; +export { IManifest, ISolidSimple, ISsnFileEntry, Product, findReleasePath, getManifest, getPatch, getSolidpkg, getReleaseZip, verifyProductName }; diff --git a/src/ssn/getSolidpkgZip.ts b/src/ssn/getReleaseZip.ts similarity index 100% rename from src/ssn/getSolidpkgZip.ts rename to src/ssn/getReleaseZip.ts