Skip to content

Commit

Permalink
Merge pull request #547 from geostyler/beta
Browse files Browse the repository at this point in the history
Prepare next major release
  • Loading branch information
hwbllmnn authored Jun 25, 2024
2 parents 523da1e + beef030 commit b35f561
Show file tree
Hide file tree
Showing 7 changed files with 12,126 additions and 4,844 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
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/[email protected]
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 GeoJSON 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"
]
}
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## [2.0.0-beta.1](https://github.com/geostyler/geostyler-geojson-parser/compare/v1.0.1...v2.0.0-beta.1) (2024-06-20)


### ⚠ BREAKING CHANGES

* Introduces ESM build.
* You'll probably need to adapt your paths and/or
imports as all exported files are now located inside the dist
folder.

### Features

* export esm build as well as browser build ([e1a448b](https://github.com/geostyler/geostyler-geojson-parser/commit/e1a448b7804e74bce861270a23bd0d4acc8e7f1b))
* prepare for next major release ([3cb64cf](https://github.com/geostyler/geostyler-geojson-parser/commit/3cb64cf48448f2fcf5217ed6df3715c0fd7512a9))
* use vite for browser build ([9fc1792](https://github.com/geostyler/geostyler-geojson-parser/commit/9fc1792653aad5e1545ef3547f03a53dbc8e430f))
Loading

0 comments on commit b35f561

Please sign in to comment.