Skip to content

Commit

Permalink
Merge pull request #466 from geostyler/next
Browse files Browse the repository at this point in the history
Prepare next release
  • Loading branch information
hwbllmnn authored Jun 25, 2024
2 parents 972e852 + 8c2134d commit 962ceed
Show file tree
Hide file tree
Showing 25 changed files with 11,126 additions and 7,603 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']
};
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ build

.eslintrc.js
*.config.js
outputs.ts
File renamed without changes.
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@v5
with:
configFile: .commitlintrc.cjs
8 changes: 1 addition & 7 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [20.x, 22.x]

steps:
- name: Checkout sources
Expand Down Expand Up @@ -41,9 +41,3 @@ jobs:

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

- name: Publish to coveralls ⭐
# coverage/lcov.info was generated in the previous npm run build step
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
5 changes: 0 additions & 5 deletions .github/workflows/on-push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,3 @@ jobs:
- name: Generate coverage 🧪
run: npm run test

- name: Publish to coveralls ⭐
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
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:
- next

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": "next",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"header": "Changelog of GeoStyler Legend"
}
}
],
"@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"
]
}
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## [5.0.0-next.4](https://github.com/geostyler/geostyler-legend/compare/v5.0.0-next.3...v5.0.0-next.4) (2024-06-25)


### Bug Fixes

* remove coveralls ([f901018](https://github.com/geostyler/geostyler-legend/commit/f90101886b499d61d66779ccc1f93e5e95a2b295))

## [5.0.0-next.3](https://github.com/geostyler/geostyler-legend/compare/v5.0.0-next.2...v5.0.0-next.3) (2024-06-25)


### Bug Fixes

* remove coveralls ([9b1256a](https://github.com/geostyler/geostyler-legend/commit/9b1256a41f5ad1e390d3a167a26584f8cead7502))

## [5.0.0-next.2](https://github.com/geostyler/geostyler-legend/compare/v5.0.0-next.1...v5.0.0-next.2) (2024-06-21)


### Bug Fixes

* exclude src folder in build ([26bc5dc](https://github.com/geostyler/geostyler-legend/commit/26bc5dcae43ff3e3c505e27ea5b76f5eea50d3bf))

## [5.0.0-next.1](https://github.com/geostyler/geostyler-legend/compare/v4.0.1...v5.0.0-next.1) (2024-06-21)


### ⚠ BREAKING CHANGES

* Switches to an esm build, so you might need to
adapt your imports and reconfigure your bundler.
* Built file locations are different, so you may need
to update your imports.

### Features

* add semantic release ([5a3df14](https://github.com/geostyler/geostyler-legend/commit/5a3df14ddadcf63a99e38582a757959cef4858bd))
* use vite & esm build ([634d9d4](https://github.com/geostyler/geostyler-legend/commit/634d9d4796680ca7956b3b33a4efd76ec7a5379a))


### Bug Fixes

* cleanup package.json ([6dc07c9](https://github.com/geostyler/geostyler-legend/commit/6dc07c9fd6171a6691368085af48878032bfff69))
* **deps:** update dependency @types/d3-selection to v3.0.10 ([0297309](https://github.com/geostyler/geostyler-legend/commit/02973093295a4bb53814a1f879af4b941587fb86))
* remove dependabot ([94f8442](https://github.com/geostyler/geostyler-legend/commit/94f8442bdca41fe7f7f08f2bc466e44814e8289d))
11 changes: 0 additions & 11 deletions babel.config.js

This file was deleted.

29 changes: 0 additions & 29 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit 962ceed

Please sign in to comment.