Skip to content

Commit

Permalink
Merge pull request #363 from geostyler/beta
Browse files Browse the repository at this point in the history
Prepare next release
  • Loading branch information
KaiVolland authored Jun 25, 2024
2 parents a3b944b + 0eeac2c commit 1d256e1
Show file tree
Hide file tree
Showing 16 changed files with 16,263 additions and 13,573 deletions.
3 changes: 3 additions & 0 deletions .commitlintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional']
};
13 changes: 13 additions & 0 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Lint Commit Messages
on: [pull_request, push]

jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v6
with:
configFile: .commitlintrc.cjs
16 changes: 16 additions & 0 deletions .github/workflows/notify-discord.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Discord notification

on:
release:
types: [published]

jobs:
discord-notification:
runs-on: ubuntu-latest
steps:
- name: Discord notification 📯
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@0.3.2
with:
args: '${{ github.event.repository.name }} [${{ github.event.release.tag_name }}](${{ github.event.release.html_url }}) has been released. 🚀'
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release

on:
workflow_dispatch:
push:
branches:
- beta

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout sources 🔰
uses: actions/checkout@v4

- name: Setup Node.js 20 👷🏻
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies ⏬
run: npm ci

- name: Build artifacts 🏗️
run: npm run build

- name: Release 🚀
uses: cycjimmy/semantic-release-action@v4.1.0
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
38 changes: 38 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"branches": [
"master",
{
"name": "beta",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"header": "Changelog of GeoStyler CQL parser"
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md", "package.json", "package-lock.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}
61 changes: 61 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
## [4.0.0-beta.7](https://github.com/geostyler/geostyler-cql-parser/compare/v4.0.0-beta.6...v4.0.0-beta.7) (2024-06-21)


### Bug Fixes

* update browsercheck ([d7e0af6](https://github.com/geostyler/geostyler-cql-parser/commit/d7e0af6a7c476f8387a375b9321f2005ad0489cd))

## [4.0.0-beta.6](https://github.com/geostyler/geostyler-cql-parser/compare/v4.0.0-beta.5...v4.0.0-beta.6) (2024-06-21)


### Bug Fixes

* improve check for window ([aeca5c0](https://github.com/geostyler/geostyler-cql-parser/commit/aeca5c05dfcc7b2a5e0c0edc6741c6d195d4615f))

## [4.0.0-beta.5](https://github.com/geostyler/geostyler-cql-parser/compare/v4.0.0-beta.4...v4.0.0-beta.5) (2024-06-21)


### Bug Fixes

* use global if window is not available ([bab4242](https://github.com/geostyler/geostyler-cql-parser/commit/bab4242d8ee8af1e56dd1200d5244c4273650017))

## [4.0.0-beta.4](https://github.com/geostyler/geostyler-cql-parser/compare/v4.0.0-beta.3...v4.0.0-beta.4) (2024-06-21)


### Bug Fixes

* use proper cqlParser object to run properly in all environments ([23e0546](https://github.com/geostyler/geostyler-cql-parser/commit/23e05463e0459ae1b5592603bc7db51166a6f9f0))

## [4.0.0-beta.3](https://github.com/geostyler/geostyler-cql-parser/compare/v4.0.0-beta.2...v4.0.0-beta.3) (2024-06-20)


### Bug Fixes

* remove obsolete dependency ([bf4f406](https://github.com/geostyler/geostyler-cql-parser/commit/bf4f406227ba2deb198bbd27d2a1075fd17ca987))

## [4.0.0-beta.2](https://github.com/geostyler/geostyler-cql-parser/compare/v4.0.0-beta.1...v4.0.0-beta.2) (2024-06-20)


### Bug Fixes

* update geostyler-style version, cleanup package.json ([a938ae7](https://github.com/geostyler/geostyler-cql-parser/commit/a938ae759a765786ff57976a970a994fa0d68d02))

## [4.0.0-beta.1](https://github.com/geostyler/geostyler-cql-parser/compare/v3.0.2...v4.0.0-beta.1) (2024-06-20)


### ⚠ BREAKING CHANGES

* Produces ESM build.

### Features

* add semantic release, commitlint, introduce next branch ([7967653](https://github.com/geostyler/geostyler-cql-parser/commit/796765362f94faeeecd6c4c29e0a038da2ef35eb))
* produce esm build, switch to vite ([#351](https://github.com/geostyler/geostyler-cql-parser/issues/351)) ([d416111](https://github.com/geostyler/geostyler-cql-parser/commit/d4161112c2534a1143c936d71642dfc52e14a80c))
* update geostyler-style ([5926082](https://github.com/geostyler/geostyler-cql-parser/commit/5926082b4e9048cfaa6122185bbb34f2cd400f89))


### Bug Fixes

* fix esm build & add vitest ([13bf824](https://github.com/geostyler/geostyler-cql-parser/commit/13bf824f166e592ee3eba89a6e27b12cd5168929))
* fix import of generated parser/lexer ([083cfba](https://github.com/geostyler/geostyler-cql-parser/commit/083cfba16d1cf35e28d9f67460f61d2fa349cedb))
* remove commented code ([78cdfcd](https://github.com/geostyler/geostyler-cql-parser/commit/78cdfcd4be56f2f2c6a24c5715bc6ffdfa2bcb21))
12 changes: 0 additions & 12 deletions babel.config.cjs

This file was deleted.

13 changes: 0 additions & 13 deletions jest.config.cjs

This file was deleted.

Loading

0 comments on commit 1d256e1

Please sign in to comment.