Skip to content

Commit

Permalink
Merge pull request #31 from MIERUNE/ci-lint
Browse files Browse the repository at this point in the history
ci: Lint
  • Loading branch information
ciscorn authored Nov 24, 2024
2 parents 333e303 + 7a65670 commit 740eb96
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 31 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Lint

on:
push:
branches:
- main
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Svelte check
run: pnpm run check

- name: Lint
run: pnpm run check
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Svelte MapLibre GL

![NPM Version](https://img.shields.io/npm/v/svelte-maplibre-gl)
![NPM License](https://img.shields.io/npm/l/svelte-maplibre-gl?color=96C902)

[Svelte](https://svelte.dev/) library for using [MapLibre GL JS](https://maplibre.org/maplibre-gl-js/docs/) as reactive components.

Expand Down Expand Up @@ -36,7 +37,7 @@ Everyone is welcomed to contribute to this project! There are many ways to suppo

## Acknowledgements

This project `svelte-maplibre-gl` is inspired by the efforts and innovations of the following libraries:
This project `svelte-maplibre-gl` is built from scratch, while drawing inspiration from the work of the following libraries:

- [`dimfeld/svelte-maplibre`](https://github.com/dimfeld/svelte-maplibre) — A library offering idiomatic Svelte support for the MapLibre GL mapping software
- [`visgl/react-map-gl`](https://github.com/visgl/react-map-gl) — React friendly API wrapper around Mapbox GL JS
- [`visgl/react-map-gl`](https://github.com/visgl/react-map-gl) — React friendly API wrapper around Mapbox/MapLibre GL JS
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@
"@sveltejs/vite-plugin-svelte": "^4.0.1",
"@tailwindcss/typography": "^0.5.15",
"@types/eslint": "^9.6.1",
"@types/nprogress": "^0.2.3",
"autoprefixer": "^10.4.20",
"bits-ui": "1.0.0-next.60",
"bits-ui": "1.0.0-next.64",
"clsx": "^2.1.1",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -61,7 +60,6 @@
"maplibre-gl": "5.0.0-pre.7",
"mdsvex": "^0.12.3",
"mode-watcher": "^0.5.0",
"nprogress": "^0.2.0",
"pmtiles": "^3.2.1",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.3.2",
Expand Down
36 changes: 10 additions & 26 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 740eb96

Please sign in to comment.