-
-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removed yarn from the code * Convert to es6
- Loading branch information
Showing
12 changed files
with
31 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,10 +17,6 @@ Install [node.js](https://nodejs.org/) version ^10.15 ( Minimum 10.15 while stic | |
```bash | ||
brew install node | ||
``` | ||
Install [yarn](https://yarnpkg.com/en/) | ||
```bash | ||
brew install yarn | ||
``` | ||
|
||
Clone the repository | ||
```bash | ||
|
@@ -30,7 +26,7 @@ git clone [email protected]:maplibre/maplibre-gl-js.git | |
Install node module dependencies | ||
```bash | ||
cd maplibre-gl-js && | ||
yarn install | ||
npm install | ||
``` | ||
|
||
### Linux | ||
|
@@ -51,12 +47,6 @@ Install [Node.js](https://nodejs.org/) ^10.15 | |
nvm install 10.24.1 # latest v10 version that will run the test suite | ||
``` | ||
|
||
Install [yarn](https://yarnpkg.com/en/docs/install#linux-tab) | ||
```bash | ||
curl -o- -L https://yarnpkg.com/install.sh | bash | ||
``` | ||
(It is also possible to install yarn from Debian/Ubuntu packages. See [yarn's install instructions](https://yarnpkg.com/en/docs/install#linux-tab)). | ||
|
||
Clone the repository | ||
```bash | ||
git clone [email protected]:maplibre/maplibre-gl-js.git | ||
|
@@ -65,12 +55,12 @@ git clone [email protected]:maplibre/maplibre-gl-js.git | |
Install node module dependencies | ||
```bash | ||
cd maplibre-gl-js && | ||
yarn install | ||
npm install | ||
``` | ||
|
||
### Windows | ||
|
||
Install [git](https://git-scm.com/), [node.js](https://nodejs.org/) (version ^10.15), [yarn](https://yarnpkg.com/en/docs/install#windows-tab), [npm and node-gyp](https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#compiling-native-addon-modules). | ||
Install [git](https://git-scm.com/), [node.js](https://nodejs.org/) (version ^10.15), [npm and node-gyp](https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#compiling-native-addon-modules). | ||
|
||
Clone the repository | ||
```bash | ||
|
@@ -81,7 +71,7 @@ git clone [email protected]:maplibre/maplibre-gl-js.git | |
Install node module dependencies | ||
```bash | ||
cd maplibre-gl-js | ||
yarn install | ||
npm install | ||
``` | ||
|
||
Install headless-gl dependencies https://github.com/stackgl/headless-gl#windows | ||
|
@@ -94,7 +84,7 @@ copy node_modules/headless-gl/deps/windows/dll/x64/*.dll c:\windows\system32 | |
Start the debug server | ||
|
||
```bash | ||
MAPBOX_ACCESS_TOKEN={YOUR MAPBOX ACCESS TOKEN} yarn run start-debug | ||
MAPBOX_ACCESS_TOKEN={YOUR MAPBOX ACCESS TOKEN} npm run start-debug | ||
``` | ||
|
||
Open the debug page at [http://localhost:9966/debug](http://localhost:9966/debug) | ||
|
@@ -105,8 +95,8 @@ A standalone build allows you to turn the contents of this repository into `mapb | |
|
||
To create a standalone build, run | ||
```bash | ||
yarn run build-prod-min | ||
yarn run build-css | ||
npm run build-prod-min | ||
npm run build-css | ||
``` | ||
|
||
Once those commands finish, you will have a standalone build at `dist/mapbox-gl.js` and `dist/mapbox-gl.css` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
This folder contains developer documentation for MapLibre GL. Put any diagrams you reference in the [diagrams](./diagrams) folder. If you use PlantUML, put the source code in `diagrams/*.plantuml` files and run `yarn build-diagrams` to generate SVG versions of them. There is also a [Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml) for previewing them while you edit. | ||
This folder contains developer documentation for MapLibre GL. Put any diagrams you reference in the [diagrams](./diagrams) folder. If you use PlantUML, put the source code in `diagrams/*.plantuml` files and run `npm run build-diagrams` to generate SVG versions of them. There is also a [Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml) for previewing them while you edit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters