-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #547 from geostyler/beta
Prepare next major release
- Loading branch information
Showing
7 changed files
with
12,126 additions
and
4,844 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
extends: ['@commitlint/config-conventional'] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |
Oops, something went wrong.