From 37940e7268e0d4ea8628d23c3b26e3d4ab22877a Mon Sep 17 00:00:00 2001 From: john gravois Date: Wed, 28 Feb 2018 08:54:57 -0800 Subject: [PATCH] chore(npm packages): remove test files and tsconfig.json from npm tarballs AFFECTS PACKAGES: @esri/arcgis-rest-auth @esri/arcgis-rest-common-types @esri/arcgis-rest-feature-service @esri/arcgis-rest-geocoder @esri/arcgis-rest-groups @esri/arcgis-rest-items @esri/arcgis-rest-request ISSUES CLOSED: #132 --- packages/arcgis-rest-auth/package.json | 4 ++++ packages/arcgis-rest-common-types/package.json | 1 + packages/arcgis-rest-feature-service/package.json | 4 ++++ packages/arcgis-rest-geocoder/package.json | 4 ++++ packages/arcgis-rest-groups/package.json | 4 ++++ packages/arcgis-rest-items/package.json | 4 ++++ packages/arcgis-rest-request/package.json | 4 ++++ 7 files changed, 25 insertions(+) diff --git a/packages/arcgis-rest-auth/package.json b/packages/arcgis-rest-auth/package.json index 2fac5dd78b..3bbc05e073 100644 --- a/packages/arcgis-rest-auth/package.json +++ b/packages/arcgis-rest-auth/package.json @@ -8,6 +8,10 @@ "js:next": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "Apache-2.0", + "files": [ + "src/**", + "dist/**" + ], "dependencies": { "tslib": "^1.7.1" }, diff --git a/packages/arcgis-rest-common-types/package.json b/packages/arcgis-rest-common-types/package.json index e057e11ebd..771589b69d 100644 --- a/packages/arcgis-rest-common-types/package.json +++ b/packages/arcgis-rest-common-types/package.json @@ -5,6 +5,7 @@ "types": "dist/types/index.d.ts", "author": "", "license": "Apache-2.0", + "files": [], "scripts": { "prepare": "npm run build", "build": "npm run build:esm", diff --git a/packages/arcgis-rest-feature-service/package.json b/packages/arcgis-rest-feature-service/package.json index 9d81027e0f..048acbb333 100644 --- a/packages/arcgis-rest-feature-service/package.json +++ b/packages/arcgis-rest-feature-service/package.json @@ -8,6 +8,10 @@ "js:next": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "Apache-2.0", + "files": [ + "src/**", + "dist/**" + ], "dependencies": { "tslib": "^1.7.1" }, diff --git a/packages/arcgis-rest-geocoder/package.json b/packages/arcgis-rest-geocoder/package.json index cf173c03ad..cb2d5226b4 100644 --- a/packages/arcgis-rest-geocoder/package.json +++ b/packages/arcgis-rest-geocoder/package.json @@ -8,6 +8,10 @@ "js:next": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "Apache-2.0", + "files": [ + "src/**", + "dist/**" + ], "dependencies": { "tslib": "^1.7.1" }, diff --git a/packages/arcgis-rest-groups/package.json b/packages/arcgis-rest-groups/package.json index 210eb8649b..22b20d1a75 100644 --- a/packages/arcgis-rest-groups/package.json +++ b/packages/arcgis-rest-groups/package.json @@ -8,6 +8,10 @@ "js:next": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "Apache-2.0", + "files": [ + "src/**", + "dist/**" + ], "dependencies": { "tslib": "^1.7.1" }, diff --git a/packages/arcgis-rest-items/package.json b/packages/arcgis-rest-items/package.json index 6884a1dfae..f3b16eddda 100644 --- a/packages/arcgis-rest-items/package.json +++ b/packages/arcgis-rest-items/package.json @@ -8,6 +8,10 @@ "js:next": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "Apache-2.0", + "files": [ + "src/**", + "dist/**" + ], "dependencies": { "tslib": "^1.7.1" }, diff --git a/packages/arcgis-rest-request/package.json b/packages/arcgis-rest-request/package.json index 68fb26cad0..691fb2096e 100644 --- a/packages/arcgis-rest-request/package.json +++ b/packages/arcgis-rest-request/package.json @@ -11,6 +11,10 @@ "dependencies": { "tslib": "^1.7.1" }, + "files": [ + "src/**", + "dist/**" + ], "scripts": { "prepare": "npm run build", "build": "npm run build:node && npm run build:umd && npm run build:esm",