Skip to content

Commit 08283f0

Browse files
refactor(monorepo): moving to monorepo (#153)
* refactor: move to monorepo * refactor(maps): clean up maps package * feat: build packages with scripts * fix: update jsvectormap cover path * refactor: support umd, es and cjs formats * fix: playground scripts and jsvectormap css import * fix(scripts): root scripts
1 parent 9ab5be1 commit 08283f0

File tree

154 files changed

+9584
-10876
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+9584
-10876
lines changed

.editorconfig

Lines changed: 0 additions & 7 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules
1+
node_modules
2+
packages/*/dist

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<a href="https://jvm-docs.vercel.app">
3-
<img src="assets/images/jsvectormap.jpg" alt="Jsvectormap sample" width="500" />
3+
<img src=".github/jsvectormap.jpg" alt="Jsvectormap sample" width="500" />
44
</a>
55
</p>
66

build/maps.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

build/package.js

Lines changed: 0 additions & 47 deletions
This file was deleted.

docs/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
.DS_Store
3+
dist
4+
dist-ssr
5+
*.local
6+
.vite-ssg-temp

docs/.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["johnsoncodehk.volar"]
3+
}

docs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Jsvectormap documentation
2+
3+
Caught an error or typo don't hesitate to send pull request :]

docs/docs/available-maps.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: 'Available maps'
3+
description: This section lists all available maps.
4+
---
5+
6+
## Maps
7+
8+
| Name | Description | Projection | Download |
9+
| :------- | :-----------: | :-----------: | :--------: |
10+
| `world` | The world map | `Miller` | [Download](https://raw.githubusercontent.com/themustafaomar/jsvectormap/master/src/maps/world.js) |
11+
| `world_merc` | The world map (mercator) | `Mercator` | [Download](https://raw.githubusercontent.com/themustafaomar/jsvectormap/master/src/maps/world-merc.js) |
12+
| `us_mill_en` | The United States map | `Miller` | [Download](https://raw.githubusercontent.com/themustafaomar/jsvectormap/master/src/maps/us-mill-en.js) |
13+
| `us_merc_en` | The United States map (mercator) | `Mercator` | [Download](https://raw.githubusercontent.com/themustafaomar/jsvectormap/master/src/maps/us-merc-en.js) |
14+
| `us_lcc_en` | The United States map (lcc) | `Lambert Conformal Conic` | [Download](https://raw.githubusercontent.com/themustafaomar/jsvectormap/master/src/maps/us-lcc-en.js) |
15+
| `us_aea_en` | The United States map (aea) | `Albers Equal Area` | [Download](https://raw.githubusercontent.com/themustafaomar/jsvectormap/master/src/maps/us-aea-en.js) |
16+
| `spain` | The Spain map | `Mercator` | [Download](https://raw.githubusercontent.com/themustafaomar/jsvectormap/master/src/maps/spain.js) |
17+
| `russia` | The Russia map | `Mercator` | [Download](https://raw.githubusercontent.com/themustafaomar/jsvectormap/master/src/maps/russia.js) |
18+
| `canada` | The Canada map | -- | [Download](https://raw.githubusercontent.com/themustafaomar/jsvectormap/master/src/maps/canada.js) |
19+
| `iraq` | The Iraq map | -- | [Download](https://raw.githubusercontent.com/themustafaomar/jsvectormap/master/src/maps/iraq.js) |
20+
21+
## Generating maps
22+
23+
If you want to generate your own map, please refer to [jvectormap](https://github.com/bjornd/jvectormap) to know about the map generation process and how it works.

0 commit comments

Comments
 (0)