Skip to content

Commit f6a4989

Browse files
committed
Initial checkin
0 parents  commit f6a4989

10 files changed

+202
-0
lines changed

.eslintrc

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"es6": true
5+
},
6+
"parserOptions": {
7+
"ecmaVersion": 6,
8+
"sourceType": "module"
9+
},
10+
"extends": [
11+
"eslint:recommended"
12+
],
13+
"rules": {
14+
"dot-notation": "error",
15+
"eqeqeq": ["error", "smart"],
16+
"indent": ["off", 4],
17+
"keyword-spacing": "error",
18+
"linebreak-style": ["error", "unix"],
19+
"no-caller": "error",
20+
"no-catch-shadow": "error",
21+
"no-console": "warn",
22+
"no-div-regex": "error",
23+
"no-extend-native": "error",
24+
"no-extra-bind": "error",
25+
"no-floating-decimal": "error",
26+
"no-implied-eval": "error",
27+
"no-invalid-this": "error",
28+
"no-iterator": "error",
29+
"no-labels": "error",
30+
"no-label-var": "error",
31+
"no-lone-blocks": "error",
32+
"no-loop-func": "error",
33+
"no-multi-str": "error",
34+
"no-native-reassign": "error",
35+
"no-new": "error",
36+
"no-new-func": "error",
37+
"no-new-wrappers": "error",
38+
"no-octal": "error",
39+
"no-octal-escape": "error",
40+
"no-process-env": "error",
41+
"no-proto": "error",
42+
"no-return-assign": "off",
43+
"no-script-url": "error",
44+
"no-self-compare": "error",
45+
"no-sequences": "error",
46+
"no-shadow": "off",
47+
"no-shadow-restricted-names": "error",
48+
"no-throw-literal": "error",
49+
"no-unneeded-ternary": "error",
50+
"no-unused-expressions": "error",
51+
"no-unexpected-multiline": "error",
52+
"no-unused-vars": "warn",
53+
"no-void": "error",
54+
"no-warning-comments": "warn",
55+
"no-with": "error",
56+
"no-use-before-define": ["off", "nofunc"],
57+
"semi": ["error", "always"],
58+
"semi-spacing": "error",
59+
"space-unary-ops": "error",
60+
"wrap-regex": "off",
61+
"quotes": ["error", "single"]
62+
}
63+
}

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/.nyc_output/
2+
/coverage/
3+
/node_modules/
4+
5+
.DS_Store
6+
npm-debug.log

.npmignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/.nyc_output/
2+
/.tx/
3+
/coverage/
4+
/node_modules/
5+
/test/
6+
7+
.DS_Store
8+
.travis.yml
9+
npm-debug.log
10+
RELEASE.md

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: node_js
2+
node_js:
3+
- "4"
4+
- "6"
5+
- "8"

.tx/config

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[main]
2+
host = https://www.transifex.com
3+
minimum_perc = 1
4+
5+
[id-editor.community]
6+
file_filter = i18n/<lang>.yaml
7+
source_file = i18n/en.yaml
8+
source_lang = en
9+
type = YAML

CODE_OF_CONDUCT.md

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Contributor Code of Conduct
2+
3+
#### Guidelines
4+
5+
* Please be respectful to one another.
6+
* Many contributors are volunteering their time. We might not get to your
7+
issue right away. Be patient.
8+
* Other contributors have different backgrounds and perspectives than you do.
9+
Diversity is a community strength.
10+
* We will disagree sometimes. That's ok. When this happens, assume that the
11+
person with whom you disagree is a smart person with good reasons for believing
12+
something different.
13+
* Everyone has bad days. If you find yourself about to be mean to someone,
14+
take a break and cool off. This project will still be here later.
15+
* When you make a mistake, apologize.
16+
17+
18+
#### We will not tolerate
19+
20+
* Sexualized language or imagery
21+
* Hate speech
22+
* Personal attacks
23+
* Trolling or insulting/derogatory comments
24+
* Public or private harassment
25+
* Publishing other's private information
26+
* Plagiarism
27+
* Other unethical or unprofessional conduct
28+
29+
#### Enforcement
30+
31+
Project maintainers commit themselves to fairly enforcing this Code of Conduct.
32+
This means we may:
33+
34+
* Edit or delete harmful comments, code, issues, or other contributions
35+
* Ban harmful users from the project, temporarily or permanently
36+
37+
This Code of Conduct applies both within project spaces and in public spaces when an
38+
individual is representing the project or its community.
39+
40+
Instances of unacceptable behavior may be reported privately to the project maintainers.
41+
42+
#### See Also
43+
44+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org).

LICENSE.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
ISC License
2+
3+
Copyright (c) 2018, osm-community-index contributors
4+
5+
Permission to use, copy, modify, and/or distribute this software for any purpose
6+
with or without fee is hereby granted, provided that the above copyright notice
7+
and this permission notice appear in all copies.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
11+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
13+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
14+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
15+
THIS SOFTWARE.

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
## osm-community-index
3+
4+
An index of local community resources for OpenStreetMap.
5+
6+
### What is it?
7+
8+
This project is a list of resources for local users of OpenStreetMap.
9+
10+
"Resources" can be links to forums, meetups, Slack groups, IRC channels,
11+
mailing lists, and so on. Anything that mappers, especially beginners,
12+
might find interesting or helpful.
13+
14+
### The index
15+
16+
Each community resource is defined in a `.geojson` file containing information
17+
about the resource along with the bounding geometry where it applies.

RELEASE.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Release Checklist
2+
3+
#### Update version, docs, tag, and publish
4+
- [ ] git checkout master
5+
- [ ] npm install
6+
- [ ] Update CHANGELOG
7+
- [ ] Update version number in `package.json`
8+
- [ ] git add .
9+
- [ ] git commit -m 'vA.B.C'
10+
- [ ] git tag vA.B.C
11+
- [ ] git push origin master vA.B.C
12+
- [ ] npm publish

package.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "osm-community-index",
3+
"version": "0.0.0",
4+
"license": "ISC",
5+
"repository": "osmlab/osm-community-index",
6+
"author": "Bryan Housel <bryan@mapbox.com>",
7+
"description": "An index of community resources for OpenStreetMap",
8+
"keywords": [
9+
"OSM",
10+
"OpenStreetMap",
11+
"community"
12+
],
13+
"main": "index.js",
14+
"module": "index.mjs",
15+
"dependencies": {},
16+
"engines": {
17+
"node": ">=4.0.0"
18+
},
19+
"scripts": {
20+
}
21+
}

0 commit comments

Comments
 (0)