Skip to content

Commit

Permalink
Merge pull request #133 from Esri/patch132
Browse files Browse the repository at this point in the history
chore(npm packages): remove test files and tsconfig.json from npm tar…
  • Loading branch information
patrickarlt authored Feb 28, 2018
2 parents 361210c + 4dae6c0 commit 232b863
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ Using TypeScript allows us to add type information to request params and respons
TypeScript compiles to JavaScript so you can use @esri/arcgis-rest-js in any JavaScript project. However if you use TypeScript you will get the benefits of type checking for free.

We also _really_ like TypeScript because it supports exporting to both [ES 2015 modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import) (use `import`/`export`) and [UMD](http://davidbcalhoun.com/2014/what-is-amd-commonjs-and-umd/) modules. This allows us to support a wide variety of module loaders and bundlers, including Browserify, Webpack, RequireJS, and Dojo 1 and 2.

We include [`tslib`](https://www.npmjs.com/package/tslib) as a dependency of individual npm packages to make usage of `_extends` and `_assign` in our compiled code more concise.
1 change: 1 addition & 0 deletions packages/arcgis-rest-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"js:next": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"license": "Apache-2.0",
"files": [ "dist/**" ],
"dependencies": {
"tslib": "^1.7.1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/arcgis-rest-common-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions packages/arcgis-rest-feature-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"js:next": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"license": "Apache-2.0",
"files": [ "dist/**" ],
"dependencies": {
"tslib": "^1.7.1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/arcgis-rest-geocoder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"js:next": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"license": "Apache-2.0",
"files": [ "dist/**" ],
"dependencies": {
"tslib": "^1.7.1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/arcgis-rest-groups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"js:next": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"license": "Apache-2.0",
"files": [ "dist/**" ],
"dependencies": {
"tslib": "^1.7.1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/arcgis-rest-items/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"js:next": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"license": "Apache-2.0",
"files": [ "dist/**" ],
"dependencies": {
"tslib": "^1.7.1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/arcgis-rest-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"dependencies": {
"tslib": "^1.7.1"
},
"files": [ "dist/**" ],
"scripts": {
"prepare": "npm run build",
"build": "npm run build:node && npm run build:umd && npm run build:esm",
Expand Down

0 comments on commit 232b863

Please sign in to comment.