Skip to content

Commit 6acf56c

Browse files
committed
Bump version to stable 2.x
Update Idea project files, keywords & etc.
1 parent 41effa1 commit 6acf56c

16 files changed

+116
-70
lines changed

.babelrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
"umd": {
2020
"plugins": [
2121
[
22-
"./modules/babel-plugin-transform-nested-import",
22+
"./modules/babel-plugin-merge-imports",
2323
{
2424
"pkg": "openlayers",
25-
"pkgVar": "_ol_",
25+
"pkgVar": "__ol",
2626
"regex": "^ol(?:\/(.*))?$"
2727
}
2828
]

.gitignore

+48-30
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,27 @@
1-
### Custom
2-
3-
4-
### Linux template
5-
*~
6-
7-
# temporary files which can be created if a process still has a handle open of a deleted file
8-
.fuse_hidden*
9-
10-
# KDE directory preferences
11-
.directory
12-
13-
# Linux trash folder which might appear on any partition or disk
14-
.Trash-*
15-
161
### JetBrains template
172
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
183
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
194

205
# User-specific stuff:
21-
.idea/workspace.xml
22-
.idea/tasks.xml
6+
.idea/**/workspace.xml
7+
.idea/**/tasks.xml
238
.idea/dictionaries
24-
.idea/vcs.xml
25-
.idea/jsLibraryMappings.xml
269

2710
# Sensitive or high-churn files:
28-
.idea/dataSources.ids
29-
.idea/dataSources.xml
30-
.idea/dataSources.local.xml
31-
.idea/sqlDataSources.xml
32-
.idea/dynamic.xml
33-
.idea/uiDesigner.xml
11+
.idea/**/dataSources/
12+
.idea/**/dataSources.ids
13+
.idea/**/dataSources.xml
14+
.idea/**/dataSources.local.xml
15+
.idea/**/sqlDataSources.xml
16+
.idea/**/dynamic.xml
17+
.idea/**/uiDesigner.xml
3418

3519
# Gradle:
36-
.idea/gradle.xml
37-
.idea/libraries
20+
.idea/**/gradle.xml
21+
.idea/**/libraries
3822

3923
# Mongo Explorer plugin:
40-
.idea/mongoSettings.xml
24+
.idea/**/mongoSettings.xml
4125

4226
## File-based project format:
4327
*.iws
@@ -58,18 +42,33 @@ com_crashlytics_export_strings.xml
5842
crashlytics.properties
5943
crashlytics-build.properties
6044
fabric.properties
45+
### Linux template
46+
*~
6147

48+
# temporary files which can be created if a process still has a handle open of a deleted file
49+
.fuse_hidden*
50+
51+
# KDE directory preferences
52+
.directory
53+
54+
# Linux trash folder which might appear on any partition or disk
55+
.Trash-*
56+
57+
# .nfs files are created when an open file is removed but is still being accessed
58+
.nfs*
6259
### Node template
63-
node_modules
6460
# Logs
6561
logs
6662
*.log
6763
npm-debug.log*
64+
yarn-debug.log*
65+
yarn-error.log*
6866

6967
# Runtime data
7068
pids
7169
*.pid
7270
*.seed
71+
*.pid.lock
7372

7473
# Directory for instrumented libs generated by jscoverage/JSCover
7574
lib-cov
@@ -83,17 +82,36 @@ coverage
8382
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
8483
.grunt
8584

85+
# Bower dependency directory (https://bower.io/)
86+
bower_components
87+
8688
# node-waf configuration
8789
.lock-wscript
8890

8991
# Compiled binary addons (http://nodejs.org/api/addons.html)
9092
build/Release
9193

9294
# Dependency directories
93-
jspm_packages
95+
node_modules/
96+
jspm_packages/
97+
98+
# Typescript v1 declaration files
99+
typings/
94100

95101
# Optional npm cache directory
96102
.npm
97103

104+
# Optional eslint cache
105+
.eslintcache
106+
98107
# Optional REPL history
99108
.node_repl_history
109+
110+
# Output of 'npm pack'
111+
*.tgz
112+
113+
# Yarn Integrity file
114+
.yarn-integrity
115+
116+
# dotenv environment variables file
117+
.env

.gitmodules

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "modules/babel-plugin-transform-nested-import"]
2-
path = modules/babel-plugin-transform-nested-import
3-
url = https://github.com/ghettovoice/babel-plugin-transform-nested-import.git
1+
[submodule "modules/babel-plugin-merge-imports"]
2+
path = modules/babel-plugin-merge-imports
3+
url = https://github.com/ghettovoice/babel-plugin-merge-imports.git

.idea/jsLibraryMappings.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ seeded with [TileCache](http://tilecache.org/).
1414
Install it with NPM or Bower:
1515

1616
```shell
17-
npm install openlayers ol-tilecache
17+
// install both ol and openlayers packages
18+
npm install ol openlayers ol-tilecache
1819
bower install openlayers ol-tilecache
19-
// if you plan use ES2015 versionof the plugin
20-
npm install ol
2120
```
2221

2322
Or download the latest versions of OpenLayers and ol-tilecache and add them with script tags:
@@ -29,9 +28,10 @@ Or download the latest versions of OpenLayers and ol-tilecache and add them with
2928

3029
### Note
3130
**Plugin is available in 2 versions: as UMD module and as ES2015 module:**
32-
- **UMD version (`dist/bundle[.min].js`) should be used with [openlayers](https://www.npmjs.com/package/openlayers) package.**
31+
- **UMD version (`dist/bundle[.min].js`) should be used with [openlayers](https://www.npmjs.com/package/openlayers) package.
32+
You can install `ol` package as dev dependency to suppress NPM warning about required peer dependencies.**
3333
- **ES2015 version (`dist/bundle.es.js`) should be used with [ol](https://www.npmjs.com/package/ol) package (you should
34-
install it manually)``**
34+
install it manually). You can install `openlayers` package as dev dependency to suppress NPM warning about required peer dependencies.**
3535

3636
## Usage
3737

@@ -114,8 +114,8 @@ npm install
114114
# build UMD module
115115
npm run build
116116
npm run build-min
117-
# or
118-
npm run build-all
117+
# or build all
118+
npm run build
119119

120120
# run test app
121121
npm start

bower.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@
99
"keywords": [
1010
"ol",
1111
"openlayers",
12-
"tilecache"
12+
"tilecache",
13+
"ol-tilecache",
14+
"tile url function",
15+
"map",
16+
"mapping",
17+
"ol plugins",
18+
"openlayers plugins"
1319
],
1420
"homepage": "https://github.com/ghettovoice/ol-tilecache",
1521
"repository": {

dist/bundle.es.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)