```
yarn dev
```
- which will start a webserver on port 9880 and auto-reloads
+ which will start a webserver on port 9080 and auto-reloads
whenever you edit files. Configuration in `rollup.config.js`.
## Testing
The `test/` setup uses [Mocha](https://mochajs.org/) to run tests. Tests use [Puppeteer](https://pptr.dev/) to control a Google Chrome headless browser and evaluate with [Assert](https://nodejs.org/api/assert.html).
-* Run integration test suite (configuration in `.mocharc.js`)
+* Run integration test suite (configuration in `.mocharc.json`)
```
yarn test
yarn run rollup -c && yarn run mocha test/details.js
```
-* Run syntax linter (configuration in `.eslint.js`)
+* Run syntax linter (configuration in `.eslint.json`)
```
yarn lint
## Prepare a release
-1. Update version number in `package.json` file
+1. Create build (dist/bundle/ files): `yarn build`
-2. Update `CHANGES.md` file
+2. Update version number in `package.json` file
-3. Commit your changes: `git add... `, `git commit ...`, `git push ...` etc
+3. Update `CHANGES.md` file
-4. Tag release: `git tag THE_VERSION_NUMBER`, `git push --tags`
+4. Commit your changes: `git add ... `, `git commit ...`, `git push ...` etc
-5. Create release on https://github.com/osm-search/nominatim-ui/releases
+5. Tag release: `git tag THE_VERSION_NUMBER`, `git push --tags`
+
+6. Create release on https://github.com/osm-search/nominatim-ui/releases
This (a triggered Github Action) will run `yarn build` and add the `dist/build/bundle.*` files.