Skip to content

Commit 998b3df

Browse files
authored
add license, update urls (#57)
* add license, update urls * typo
1 parent 7e5f2e5 commit 998b3df

27 files changed

+68
-23
lines changed

CODE_OF_CONDUCT.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**TL;DR** - We expect folks that participate in both our online and IRL communities to be kind and considerate of others at all times.
2+
3+
The full CoC text can be found at http://www.esri.com/events/code-of-conduct

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Esri welcomes contributions from anyone and everyone. Please see our [guidelines
22

33
### Before filing an issue
44

5-
If something isn't working the way you expected, please take a look at [previously logged issues](https://github.com/ArcGIS/arcgis-rest-js/issues) first. Have you found a new bug? Want to request a new feature? We'd [love](https://github.com/ArcGIS/arcgis-rest-js/issues/new) to hear from you.
5+
If something isn't working the way you expected, please take a look at [previously logged issues](https://github.com/Esri/arcgis-rest-js/issues) first. Have you found a new bug? Want to request a new feature? We'd [love](https://github.com/Esri/arcgis-rest-js/issues/new) to hear from you.
66

77
If you're looking for help you can also post issues on [GIS Stackexchange](http://gis.stackexchange.com/questions/ask?tags=esri-oss).
88

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright {yyyy} {name of copyright owner}
189+
Copyright 2017 Esri Inc.
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Some useful commands include:
6969

7070
### Issues
7171

72-
If something isn't working the way you expected, please take a look at [previously logged issues](https://github.com/ArcGIS/arcgis-rest-js/issues) first. Have you found a new bug? Want to request a new feature? We'd [**love**](https://github.com/ArcGIS/arcgis-rest-js/issues/new) to hear from you.
72+
If something isn't working the way you expected, please take a look at [previously logged issues](https://github.com/Esri/arcgis-rest-js/issues) first. Have you found a new bug? Want to request a new feature? We'd [**love**](https://github.com/Esri/arcgis-rest-js/issues/new) to hear from you.
7373

7474
If you're looking for help you can also post issues on [GIS Stackexchange](http://gis.stackexchange.com/questions/ask?tags=esri-oss).
7575

docs/src/_layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h2 class="side-nav-title">Esri REST JS</h2>
6666
{% block footer %}{% endblock %}
6767
<div class="grid-container">
6868
<div class="column-24 trailer-half">
69-
<a href="https://github.com/ArcGIS/arcgis-rest-js" class="font-size--1">Fork this project on GitHub</a>
69+
<a href="https://github.com/Esri/arcgis-rest-js" class="font-size--1">Fork this project on GitHub</a>
7070
</div>
7171
</div>
7272
</footer>

docs/src/api/_declaration.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ <h3>Index Signatures</h3>
453453

454454
<hr class="leader-half trailer-half">
455455

456-
<small class="font-size--2">{{kindString}} defined in <a href="https://github.com/ArcGIS/arcgis-rest-js/blob/master/packages/{{sources[0].fileName}}#L{{sources[0].line}}">packages/{{sources[0].fileName}}:{{sources[0].line}}</a></small>
456+
<small class="font-size--2">{{kindString}} defined in <a href="https://github.com/Esri/arcgis-rest-js/blob/master/packages/{{sources[0].fileName}}#L{{sources[0].line}}">packages/{{sources[0].fileName}}:{{sources[0].line}}</a></small>
457457

458458
<details class="leader-1">
459459
<summary>Debug Info</summary>

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
},
9999
"repository": {
100100
"type": "git",
101-
"url": "git+https://github.com/ArcGIS/arcgis-rest-js.git"
101+
"url": "git+https://github.com/Esri/arcgis-rest-js.git"
102102
},
103103
"contributors": [
104104
{
@@ -109,9 +109,9 @@
109109
],
110110
"license": "Apache-2.0",
111111
"bugs": {
112-
"url": "https://github.com/ArcGIS/arcgis-rest-js/issues"
112+
"url": "https://github.com/Esri/arcgis-rest-js/issues"
113113
},
114-
"homepage": "https://github.com/ArcGIS/arcgis-rest-js#readme",
114+
"homepage": "https://github.com/Esri/arcgis-rest-js#readme",
115115
"config": {
116116
"commitizen": {
117117
"path": "./node_modules/cz-lerna-changelog"

packages/arcgis-rest-auth/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"repository": {
2929
"type": "git",
30-
"url": "git+https://github.com/ArcGIS/arcgis-rest-js.git"
30+
"url": "git+https://github.com/Esri/arcgis-rest-js.git"
3131
},
3232
"contributors": [
3333
{
@@ -37,7 +37,7 @@
3737
}
3838
],
3939
"bugs": {
40-
"url": "https://github.com/ArcGIS/arcgis-rest-js/issues"
40+
"url": "https://github.com/Esri/arcgis-rest-js/issues"
4141
},
42-
"homepage": "https://github.com/ArcGIS/arcgis-rest-js#readme"
42+
"homepage": "https://github.com/Esri/arcgis-rest-js#readme"
4343
}

packages/arcgis-rest-auth/src/ApplicationSession.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
import { IAuthenticationManager } from "@esri/arcgis-rest-request";
25
import { fetchToken } from "./fetchToken";
36

packages/arcgis-rest-auth/src/UserSession.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
import * as http from "http";
25
import {
36
request,

packages/arcgis-rest-auth/src/fetchToken.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
import { request, IParams } from "@esri/arcgis-rest-request";
25

36
export type GrantTypes =

packages/arcgis-rest-auth/src/generateToken.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
import { request, IParams } from "@esri/arcgis-rest-request";
25

36
export interface IGenerateTokenParams extends IParams {

packages/arcgis-rest-common-types/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"repository": {
1515
"type": "git",
16-
"url": "git+https://github.com/ArcGIS/arcgis-rest-js.git"
16+
"url": "git+https://github.com/Esri/arcgis-rest-js.git"
1717
},
1818
"contributors": [
1919
{
@@ -23,7 +23,7 @@
2323
}
2424
],
2525
"bugs": {
26-
"url": "https://github.com/ArcGIS/arcgis-rest-js/issues"
26+
"url": "https://github.com/Esri/arcgis-rest-js/issues"
2727
},
28-
"homepage": "https://github.com/ArcGIS/arcgis-rest-js#readme"
28+
"homepage": "https://github.com/Esri/arcgis-rest-js#readme"
2929
}

packages/arcgis-rest-common-types/src/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
/**
25
* Spatial reference systems define mathematical transformations and coordinate systems for displaying spatial information in 2D and 3D.
36
*/

packages/arcgis-rest-geocoder/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"repository": {
3232
"type": "git",
33-
"url": "git+https://github.com/ArcGIS/arcgis-rest-js.git"
33+
"url": "git+https://github.com/Esri/arcgis-rest-js.git"
3434
},
3535
"contributors": [
3636
{
@@ -40,7 +40,7 @@
4040
}
4141
],
4242
"bugs": {
43-
"url": "https://github.com/ArcGIS/arcgis-rest-js/issues"
43+
"url": "https://github.com/Esri/arcgis-rest-js/issues"
4444
},
45-
"homepage": "https://github.com/ArcGIS/arcgis-rest-js#readme"
45+
"homepage": "https://github.com/Esri/arcgis-rest-js#readme"
4646
}

packages/arcgis-rest-geocoder/src/geocoder.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
/*
25
to do:
36
verify custom endpoints contain 'GeocodeServer' and end in a '/'

packages/arcgis-rest-request/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"repository": {
2323
"type": "git",
24-
"url": "git+https://github.com/ArcGIS/arcgis-rest-js.git"
24+
"url": "git+https://github.com/Esri/arcgis-rest-js.git"
2525
},
2626
"contributors": [
2727
{
@@ -31,7 +31,7 @@
3131
}
3232
],
3333
"bugs": {
34-
"url": "https://github.com/ArcGIS/arcgis-rest-js/issues"
34+
"url": "https://github.com/Esri/arcgis-rest-js/issues"
3535
},
36-
"homepage": "https://github.com/ArcGIS/arcgis-rest-js#readme"
36+
"homepage": "https://github.com/Esri/arcgis-rest-js#readme"
3737
}

packages/arcgis-rest-request/src/request.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
import { checkForErrors } from "./utils/check-for-errors";
25
import { encodeFormData } from "./utils/encode-form-data";
36
import { encodeQueryString } from "./utils/encode-query-string";

packages/arcgis-rest-request/src/utils/ArcGISAuthError.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
import {
25
request,
36
IRequestOptions,

packages/arcgis-rest-request/src/utils/ArcGISRequestError.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
import { IRequestOptions, IParams } from "../request";
25

36
// TypeScript 2.1 no longer allows you to extend built in types. See https://github.com/Microsoft/TypeScript/issues/12790#issuecomment-265981442

packages/arcgis-rest-request/src/utils/ErrorTypes.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
/**
25
* Enum describing the different errors that might be thrown by a request.
36
*

packages/arcgis-rest-request/src/utils/check-for-errors.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
import { ArcGISRequestError } from "./ArcGISRequestError";
25
import { ArcGISAuthError } from "./ArcGISAuthError";
36
import { IRequestOptions, IParams } from "../request";

packages/arcgis-rest-request/src/utils/encode-form-data.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
import { processParams } from "./process-params";
25

36
/**

packages/arcgis-rest-request/src/utils/encode-query-string.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
import { processParams } from "./process-params";
25

36
/**

packages/arcgis-rest-request/src/utils/process-params.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
2+
* Apache-2.0 */
3+
14
/**
25
* Converts parameters to the proper representation to send to the ArcGIS REST API.
36
* @param params The object whose keys will be encoded.
@@ -13,7 +16,7 @@ export function processParams(params: any): any {
1316

1417
// properly encodes objects, arrays and dates for arcgis.com and other services.
1518
// ported from https://github.com/Esri/esri-leaflet/blob/master/src/Request.js#L22-L30
16-
// also see https://github.com/ArcGIS/arcgis-rest-js/issues/18
19+
// also see https://github.com/Esri/arcgis-rest-js/issues/18
1720
switch (type) {
1821
case "[object Array]":
1922
value =

support/changelog.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const _ = require("lodash");
1414
* v*.*.* and update the contents of CHANGELOG.md to prepare for a new release.
1515
*/
1616

17-
const repo = "https://github.com/arcgis/arcgis-rest-js";
17+
const repo = "https://github.com/Esri/arcgis-rest-js";
1818

1919
function getTags() {
2020
return new Promise((resolve, reject) => {

support/publish.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ git commit -am "Prepare v$VERSION" --no-verify
1111
npm version $VERSION
1212

1313
# push the changes and tag to github
14-
git push https://github.com/ArcGIS/arcgis-rest-js.git master
14+
git push https://github.com/Esri/arcgis-rest-js.git master
1515
git push --tags
1616

1717
# publish each package on npm

0 commit comments

Comments
 (0)