Skip to content

Commit

Permalink
Merge pull request #593 from geostyler/next
Browse files Browse the repository at this point in the history
feat: use esm build & switch to vite/vitest
  • Loading branch information
hwbllmnn authored Jul 2, 2024
2 parents ade9c5f + 9a40207 commit caac3a7
Show file tree
Hide file tree
Showing 16 changed files with 6,947 additions and 6,028 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']
};
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
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": [
"main",
{
"name": "next",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"header": "Changelog of GeoStyler WFS 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"
]
}
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## [3.0.0-next.1](https://github.com/geostyler/geostyler-wfs-parser/compare/v2.0.3...v3.0.0-next.1) (2024-07-02)


### ⚠ BREAKING CHANGES

* You'll probably need to reconfigure/adapt your
bundler config to make sure this dependency is considered as ESM
module.

### Features

* use esm build & switch to vite/vitest ([412f653](https://github.com/geostyler/geostyler-wfs-parser/commit/412f653860df2fb7b50c06a674e27b43c0d2745e))


### Bug Fixes

* fix releaserc config ([b0ac17f](https://github.com/geostyler/geostyler-wfs-parser/commit/b0ac17fc912df1c165bf6d0911b405c0c917c392))
10 changes: 0 additions & 10 deletions babel.config.js

This file was deleted.

39 changes: 0 additions & 39 deletions browser-build.config.js

This file was deleted.

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

This file was deleted.

Loading

0 comments on commit caac3a7

Please sign in to comment.