1b185d103320af8e4a2153dc485813489b6bfb42
Bump eslint to ^10, @eslint/js to ^10, eslint-plugin-ember to ^13, eslint-plugin-n to ^18, globals to ^17, stylelint to ^17, stylelint-config-standard to ^40, sinon to ^22, and concurrently to ^10. Fix three new lint violations surfaced by the newer versions: - Remove redundant padding-left after padding shorthand (stylelint 17) - Remove useless null assignment before find() (eslint 10 no-useless-assignment) - Attach caught error as cause on rethrown Error (eslint 10 preserve-caught-error)
Marco (as in Marco Polo) is an unhosted maps application that respects your privacy and choices. It allows users to connect their own remote storage to sync place bookmarks across apps and devices.
This README outlines the details of collaborating on this Ember application, or just building and deploying it for yourself.
Prerequisites
You will need the following things properly installed on your computer.
Installation
git clone <repository-url>this repositorycd marcopnpm install
Running / Development
pnpm start- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Code Generators
Make use of the many generators for code, try pnpm ember help generate for more details
Running Tests
pnpm test
Linting
pnpm lintpnpm lint:fix
Building
pnpm vite build --mode development(development)pnpm build(production)
App Icon
pnpm build:iconsgenerates PNGs of all sizes frompublic/icons/icon.svg
To run the script, you need imagemagick and librsvg installed:
- Arch Linux:
pacman -S imagemagick librsvg - Ubuntu/Debian:
apt install imagemagick librsvg2-bin
Deploying
git push 5apps master(needs collaborator permission on 5apps)- Or deploy
release/to any static file host (ideally routing all 404s toindex.htmlfor launching with client-side routes to work)
Further Reading / Useful Links
- ember.js
- remoteStorage.js
- @remotestorage/module-places
- Vite
- Development Browser Extensions