Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4d9f9fd
cleanup
limistah Oct 7, 2023
1dca19e
clean commit
limistah Oct 7, 2023
a14d4a4
no deps
limistah Oct 7, 2023
1ffccd1
basic read me
limistah Oct 7, 2023
ae711bf
basic read me
limistah Oct 7, 2023
7010a30
use tsdx
limistah Oct 7, 2023
9d3a27f
use tsdx
limistah Oct 7, 2023
1e676df
setup tsdx with storybook
limistah Dec 15, 2023
4f5e926
Platform Context
limistah Dec 16, 2023
4b68d8e
use hplatform hook
limistah Dec 16, 2023
de568a7
create map
limistah Dec 16, 2023
a60dab4
render maps with v3/3/.1
limistah Dec 21, 2023
1fd936f
add complete support for hmap
limistah Dec 29, 2023
106e6d4
address build issues
limistah Dec 29, 2023
2bf34d0
setup package.json
limistah Dec 29, 2023
e858330
github action
limistah Dec 29, 2023
5195cf3
remove size workflow
limistah Dec 29, 2023
26cb1f9
pass with no test
limistah Dec 29, 2023
c97d3e7
setup Polyline
limistah Dec 29, 2023
6b7196c
render map polyline
limistah Dec 30, 2023
927919c
render map polyline with events
limistah Dec 30, 2023
930653d
generate rectangle map object
limistah Jan 2, 2024
d7d72f1
hmarker
limistah Jan 2, 2024
6f5fb99
hmarker completed
limistah Jan 2, 2024
2312b58
add circle
limistah Jan 2, 2024
b7ab90e
add map layer
limistah Jan 2, 2024
2d48a61
improved for build time
limistah Jan 19, 2024
33e039d
run github action on ubuntu-latest
limistah Jan 19, 2024
8f9031b
run on node 18.x
limistah Jan 19, 2024
daefbf5
remove lint from ci
limistah Jan 19, 2024
96b3596
add docs
limistah Jan 19, 2024
8eece31
deploy to npm
limistah Jan 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .babelrc.js

This file was deleted.

17 changes: 17 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"sourceType": "unambiguous",
"presets": [
["@babel/preset-typescript", {}],
[
"@babel/preset-env",
{
"targets": {
"chrome": 100,
"safari": 15,
"firefox": 91
}
}
]
],
"plugins": ["@babel/plugin-proposal-optional-chaining"]
}
5 changes: 0 additions & 5 deletions .eslintrc

This file was deleted.

20 changes: 0 additions & 20 deletions .eslintrc.js

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI
on: [push]
jobs:
build-and-deploy:
name: Build, lint, and test on Node 14.x

runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Install Node
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1

# - name: Lint
# run: yarn lint

# - name: Test
# run: yarn test --ci --coverage --maxWorkers=2

- name: Build
run: yarn build && yarn build-storybook
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}

- name: Deploy storybook 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: storybook-static # The folder the action should deploy.
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package-lock.json
*.log
.DS_Store
node_modules
_docs/
yarn-error.log
yarn.lock
.cache
dist
storybook-static
.rough/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node -v
31 changes: 31 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
module.exports = {
stories: ['../stories/**/*.stories.@(ts|tsx|js|jsx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-docs',
],

// https://storybook.js.org/docs/react/configure/typescript#mainjs-configuration
typescript: {
// check: true, // type-check stories during Storybook build
reactDocgen: 'react-docgen-typescript',
reactDocgenTypescriptOptions: {
compilerOptions: {
allowSyntheticDefaultImports: false,
esModuleInterop: false,
},
propFilter: () => true,
},
},

framework: {
name: '@storybook/react-webpack5',
options: {},
},

docs: {
autodocs: true,
defaultName: 'Documentation',
},
};
5 changes: 5 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// https://storybook.js.org/docs/react/writing-stories/parameters#global-parameters
export const parameters = {
// https://storybook.js.org/docs/react/essentials/actions#automatically-matching-args
actions: { argTypesRegex: '^on.*' },
};
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Aleem Isiaka
Copyright (c) 2023 Aleem Isiaka

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
Loading
Loading