Commit Graph

35 Commits

Author SHA1 Message Date
Andrew
e3b049cefd Chore(scripts): Remove jake dependency and use NPM scripts instead (#5828)
* run `docs` via npm

* add shebang line to integrity.js, so npm will resolve node binary automatically

* remove unnecessary build-jake npm script

* add test.js script as replacement of Jakefile.js

* remove Jakefile, remove jake from devDependencies

* update docs

* move scripts to separate directory

* change shebang line from nodejs to js

* change shebang line from js to node

* update docs

* use Karma cli instead of custom test script

* add pretest and test-nolint scripts, remove lint scripts from travis.ci

Run linting scripts in pretest script, this way test script will automatically trigger code linting.

Add test-nolint script to have possibility to run tests without triggering pretest script with linting. This is useful when running tests in different browsers and tere's no sense to lint code more than one time

* replace shebang lines with node executable in npm scripts

* remove note about nodejs symlink in CONTRIBUTING.md
2018-02-05 11:15:32 +04:00
Robert Martin
45ed38433c
Update CONTRIBUTING.md
Fix typo in Yarn `watch` command
2018-01-01 20:13:15 -05:00
Robert Martin
49d384b32f
Update CONTRIBUTING.md
javascript => JavaScript
2018-01-01 20:10:53 -05:00
Andrzej
7e49242aa2 use run alias instead of run-script 2017-09-29 17:13:44 +03:00
Andrzej
64825cef8f avoid installing jake globally
Jake will be installed along with other devDependencies, so there is no need to install it one more time
2017-09-29 17:13:44 +03:00
Richard Littauer
e5b245fc95 Add other h2 headers to ToC (#5448)
This adds the other secondary headers in the Contributing document to the Table of Contents at the top. I have kept the depth at what it was - this just adjusts the oversight of other sections.
2017-04-12 11:12:41 +02:00
BjoernSchilberg
94fff4f101 Use "yarn global add" (#5379)
Use "yarn global add" instead of "yarn install -g". Because "yarn install" is used to install all dependencies for a project [1]. "yarn global"  install packages globally on your operating system [2].

[1] https://yarnpkg.com/en/docs/cli/install
[2] https://yarnpkg.com/en/docs/cli/global
2017-03-08 13:36:58 -08:00
Benjamin J DeLong
b11910abc0 Docs: plugins.md instead of plugins.html technically (#5345) 2017-02-18 15:15:39 +01:00
Vladimir Agafonkin
703ae02aa8 ES6 modules & Rollup (#4989)
* WIP ES6 modules & rollup

* WIP ES6 modules & rollup 2

* WIP ES6 modules & rollup 3

* WIP ES6 modules Browser

* WIP ES6 module fixes

* WIP ES6 modules: simpler browser exports

* WIP ES6: refactor CRS/Projection modules, CRS obj -> CRS.Base

* get rid of unnecessary index.js

* WIP ES6 modules, dom events and stuff

* Make linter happy, rollup to dist/

* revert to CRS namespace/class for now

* WIP rollup: export more stuff

* export controls

* rollup: export Layer

* rollup: export DomEvent

* rollup: export more layer types

* rollup: export Popup/Tooltip

* WIP: ES6-ify marker, icon, domutil, draggable.

* ES6-ify gridlayer, tilelayer.

* ES6-ify: Tweak imports-exports, code is now runnable!!

* ES6-ify: Fix scope in some DomUtils

* ES6-ify: Path, fix Popup

* ES6-ify: Lint & cleanup

* ES6-ify map handlers, more linting

* ES6-ify: Icon.Default namespacing

* ES6-ify: Renderers, CircleMarker

* ES6-ify: Circle, Polyline, LineUtil

* ES6-ify: Polygon, Rectangle, LineUtil, PolyUtil, linting

* ES6-ify: SVG.VML

* ES6-ify: DomEvent.Pointer, DomEvent.DoubleTap

* ES6-ify: Linting, make Karma play nice with Rollup

* ES6-ify: More work on fixing bits breaking some unit tests.

* ES6-ify: rollup the version number, fiddled with build scripts

* ES6-ify: Fiddle with test scripts

* ES6-ify: cleanup (refs to global L, imports from (DOM)Util), prevent cyclic loop on Map imports

* ES6-ify: More cleanup of (DOM)Util/Browser/DomEvent imports

* ES6ify: Use rollup's "legacy" option for ES3 (IE8) builds

* ES6-ify: Clean up build scripts, fix CONTRIBUTING.md instructions

* Typo

* ES6-ify: minor fixes and lefovers after rebasing on top of 1.0.2

* ES6-ify: upgrade to rollup 0.38 for proper IE8 builds, fix L.SVG.VML

* Make linter happy.

* ES6: Fixing typos and sxrew-ups after big rebase

* Fix symlink for debugging scripts

* ES6: Cleanup old build scripts

* ES6-ify: Update build system to include git rev in L.version

* ES6-ify: re-enable unit tests replacing L.Path with L.Polyline

* Export Path

* ES6ify: cleanup old banner file

* ES6-ify: whitespace in var declarations

* ES6-ify: Export toTransformation as L.transformation

* ES6-ify: cleanup L.transform exports

* ES6-ify: "import Util" in Transformation and SVG.VML
2017-01-30 11:35:16 +01:00
Serdar Kaçka
eff82bfbbe docs: Fix path of Code Coverage report page on CONTRIBUTING.md file (#5005) 2016-10-11 16:39:51 +02:00
Iván Sánchez Ortega
b00f6e0a97 Remove references to gh-pages from CONTRIBUTING.md (#4843) 2016-08-25 16:27:07 +02:00
Iván Sánchez Ortega
71a1e8513b Update notes about contributing to the API docs (#4470)
* Update notes about contributing to the API docs

* Reworded leafdoc + gh-pages stuff.
2016-04-20 13:31:13 +02:00
Dave Leaver
8c9759aa2f Change simple test case link to the Leaflet JS Bin 2016-04-05 16:04:46 +02:00
Vladimir Agafonkin
3fefd7c917 add contributor covenant code of conduct 2016-01-13 12:53:28 +02:00
ghybs
5dc1c8ff40 Replaced Google Group by Stack Overflow and GIS SE links
in CONTRIBUTING.md following Leaflet/Leaflet#4055.
2015-11-27 18:22:05 +04:00
vsn4ik
c5de3fcbb8 Changed deprecated gem options on travis.yml and updated links on CONTRIBUTING.md 2015-02-14 15:12:44 +03:00
sam-at-github
5dc36142f7 Update CONTRIBUTING.md
Add link to Jakejs.com and slightly more verbose description of build set up. Useful to Node newbs like myself.
2014-12-28 12:39:18 +11:00
Mark Szymanski
1b8f4aa88d Revisions to CONTRIBUTING.md 2014-12-17 20:03:58 -06:00
ericdahl
9177b70805 Fix typos in CONTRIBUTING 2014-06-30 18:46:20 -05:00
Vladimir Agafonkin
7c6c701efc update docs section in contributing guide 2013-06-25 16:25:21 -04:00
Vladimir Agafonkin
ff214407eb add ie and safari to jake test platforms 2013-04-20 13:44:31 +03:00
Vladimir Agafonkin
02ff217bac improve contribution guide, update tests/coverage notes 2013-04-20 13:27:16 +03:00
danzel
c387c8ac09 Add how to run the tests and get test coverage to CONTRIBUTING. Not my finest writing, but a start at least hopefully :-) 2013-02-19 14:54:13 +13:00
Vladimir Agafonkin
babf3320fe Note about line endings in the contributing guide 2013-02-15 22:01:11 +02:00
Vladimir Agafonkin
db499a8314 minor contribution guide update 2013-01-31 13:25:18 +02:00
Мар'ян Крекотень (Marjan Krekoten')
c7c6843f87 Add missing "be" to CONTRIBUTING.md 2013-01-11 14:12:37 +02:00
Vladimir Agafonkin
f237c3e174 update link to the new repo location 2013-01-11 13:42:15 +02:00
Waldir
e0b7a1375b use semantic linebreaks also in CONTRIBUTING.md 2012-11-15 11:58:09 +00:00
Vladimir Agafonkin
37712769bf improve contributing guide and fix readme 2012-10-31 16:49:14 +02:00
Bryan McBride
244aa90983 Typo and grammar fixes 2012-10-10 13:11:56 -03:00
Vladimir Agafonkin
586016ab3c fix mdash in contrib guide 2012-10-10 18:10:06 +03:00
Vladimir Agafonkin
231078c0f6 final contrubution guide adjustments 2012-10-10 18:07:07 +03:00
Vladimir Agafonkin
0f2955c90b more contributing guide updates 2012-10-10 12:33:08 +03:00
Vladimir Agafonkin
49c3f24284 update contributing guide 2012-10-10 11:54:22 +03:00
Vladimir Agafonkin
c7d6812a11 add initial contribution info 2012-10-09 17:34:20 +03:00