Skip to content

Commit

Permalink
feat: initial tauri commit (#206)
Browse files Browse the repository at this point in the history
* feat: initial tauri commit

* feat: finish up CI system

* fix: fix release asset types

* feat: update tauri version

- added support for native windows shadows
- upgraded tauri version to newest LTS
- added tauri commands to package.json

* feat: add setup scripts for setting up tauri dev environment

* fix: script for linux

- use user input instead of auto-detection

* feat: initial cir release

* fix: remove caching of pnpm in ci

* fix: remove old path

* fix: windows failing to build

* fix: .releasesrc file not having a main branch

* fix: .releasesrc file not having a main branch

* Tauri (#1)

* fix: release to tauri branch

* fix: release to tauri branch

* fix: release to tauri branch

* fix: release to tauri

* fix: fix app not loading on linux builds

- update tauri
- fix dist directory path

BREAKING CHANGES

* fix: update readme

* fix: semantic-release

* Update .releaserc

* Update ci.yaml

* fix: Update .releaserc

* fix: remove repo from package.json

* chore(major): 1.0.0-tauri.1 [skip ci]

## 1.0.0-tauri.1 (2023-05-09)

### ⚠ BREAKING CHANGES

* CHANGES

### 🍕 Features

* add setup scripts for setting up tauri dev environment ([0c41a33](ZanzyTHEbar@0c41a33))
* **dxf:** add support for dimensions in dxf. ([56c884c](ZanzyTHEbar@56c884c))
* add support for dxf blocks ([#200](https://github.com/ZanzyTHEbar/jsketcher/issues/200)) ([322d47f](ZanzyTHEbar@322d47f))
* add support for dxf files import ([2fa2866](ZanzyTHEbar@2fa2866))
* finish up CI system ([5a688d1](ZanzyTHEbar@5a688d1))
* initial cir release ([2f94a6e](ZanzyTHEbar@2f94a6e))
* initial tauri commit ([0a0bb54](ZanzyTHEbar@0a0bb54))
* update tauri version ([90168da](ZanzyTHEbar@90168da))

### 🐛 Bug Fixes

* .releasesrc file not having a main branch ([04f2e2c](ZanzyTHEbar@04f2e2c))
* .releasesrc file not having a main branch ([25ae8a4](ZanzyTHEbar@25ae8a4))
* **dxf:** add dimLayers to the export. ([#183](https://github.com/ZanzyTHEbar/jsketcher/issues/183)) ([a3349b5](ZanzyTHEbar@a3349b5))
* fix app not loading on linux builds ([9ef599d](ZanzyTHEbar@9ef599d))
* fix release asset types ([8f73410](ZanzyTHEbar@8f73410))
* release to tauri ([0ba5387](ZanzyTHEbar@0ba5387))
* release to tauri branch ([11fcf2e](ZanzyTHEbar@11fcf2e))
* release to tauri branch ([e8486a5](ZanzyTHEbar@e8486a5))
* release to tauri branch ([6076573](ZanzyTHEbar@6076573))
* remove caching of pnpm in ci ([96165f3](ZanzyTHEbar@96165f3))
* remove old path ([f0b426c](ZanzyTHEbar@f0b426c))
* remove repo from package.json ([dd099b8](ZanzyTHEbar@dd099b8))
* script for linux ([46bda82](ZanzyTHEbar@46bda82))
* semantic-release ([3edb4cf](ZanzyTHEbar@3edb4cf))
* Update .releaserc ([3343d2c](ZanzyTHEbar@3343d2c))
* update readme ([b00299d](ZanzyTHEbar@b00299d))
* windows failing to build ([def0782](ZanzyTHEbar@def0782))

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>

* fix: appimage failing to build

* Feat: Update ci.yaml

swap to use older version of ubuntu.

* Add full CI and Support for linux (#3)

* fix: release to tauri branch

* fix: release to tauri branch

* fix: release to tauri branch

* fix: release to tauri

* fix: fix app not loading on linux builds

- update tauri
- fix dist directory path

BREAKING CHANGES

* fix: update readme

* fix: semantic-release

* Update .releaserc

* Update ci.yaml

* fix: Update .releaserc

* fix: remove repo from package.json

* chore(major): 1.0.0-tauri.1 [skip ci]

## 1.0.0-tauri.1 (2023-05-09)

### ⚠ BREAKING CHANGES

* CHANGES

### 🍕 Features

* add setup scripts for setting up tauri dev environment ([0c41a33](ZanzyTHEbar@0c41a33))
* **dxf:** add support for dimensions in dxf. ([56c884c](ZanzyTHEbar@56c884c))
* add support for dxf blocks ([#200](https://github.com/ZanzyTHEbar/jsketcher/issues/200)) ([322d47f](ZanzyTHEbar@322d47f))
* add support for dxf files import ([2fa2866](ZanzyTHEbar@2fa2866))
* finish up CI system ([5a688d1](ZanzyTHEbar@5a688d1))
* initial cir release ([2f94a6e](ZanzyTHEbar@2f94a6e))
* initial tauri commit ([0a0bb54](ZanzyTHEbar@0a0bb54))
* update tauri version ([90168da](ZanzyTHEbar@90168da))

### 🐛 Bug Fixes

* .releasesrc file not having a main branch ([04f2e2c](ZanzyTHEbar@04f2e2c))
* .releasesrc file not having a main branch ([25ae8a4](ZanzyTHEbar@25ae8a4))
* **dxf:** add dimLayers to the export. ([#183](https://github.com/ZanzyTHEbar/jsketcher/issues/183)) ([a3349b5](ZanzyTHEbar@a3349b5))
* fix app not loading on linux builds ([9ef599d](ZanzyTHEbar@9ef599d))
* fix release asset types ([8f73410](ZanzyTHEbar@8f73410))
* release to tauri ([0ba5387](ZanzyTHEbar@0ba5387))
* release to tauri branch ([11fcf2e](ZanzyTHEbar@11fcf2e))
* release to tauri branch ([e8486a5](ZanzyTHEbar@e8486a5))
* release to tauri branch ([6076573](ZanzyTHEbar@6076573))
* remove caching of pnpm in ci ([96165f3](ZanzyTHEbar@96165f3))
* remove old path ([f0b426c](ZanzyTHEbar@f0b426c))
* remove repo from package.json ([dd099b8](ZanzyTHEbar@dd099b8))
* script for linux ([46bda82](ZanzyTHEbar@46bda82))
* semantic-release ([3edb4cf](ZanzyTHEbar@3edb4cf))
* Update .releaserc ([3343d2c](ZanzyTHEbar@3343d2c))
* update readme ([b00299d](ZanzyTHEbar@b00299d))
* windows failing to build ([def0782](ZanzyTHEbar@def0782))

* fix: appimage failing to build

* fix: test ubuntu 18.04

* fix: test ubuntu 18.04

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* chore(minor): 1.0.0-tauri.2 [skip ci]

## [1.0.0-tauri.2](ZanzyTHEbar/jsketcher@v1.0.0-tauri.1...v1.0.0-tauri.2) (2023-05-11)

### 🐛 Bug Fixes

* appimage failing to build ([8dc6217](ZanzyTHEbar@8dc6217))
* test ubuntu 18.04 ([8f55f4d](ZanzyTHEbar@8f55f4d))
* test ubuntu 18.04 ([0afd146](ZanzyTHEbar@0afd146))

### 🍕 Features

* update ci to use docker container ([7bcacb0](ZanzyTHEbar@7bcacb0))
* update ci to use docker container ([98de939](ZanzyTHEbar@98de939))
* update ci to use docker container ([0750c00](ZanzyTHEbar@0750c00))
* update ci to use docker container ([715780f](ZanzyTHEbar@715780f))
* update ci to use docker container ([ccbacdb](ZanzyTHEbar@ccbacdb))
* update ci to use docker container ([60aa80d](ZanzyTHEbar@60aa80d))
* update ci to use docker container ([f629258](ZanzyTHEbar@f629258))
* update ci to use docker container ([278cf82](ZanzyTHEbar@278cf82))
* update ci to use docker container ([02ec38c](ZanzyTHEbar@02ec38c))
* update ci to use docker container ([8fb7924](ZanzyTHEbar@8fb7924))
* update ci to use docker container ([d0493b3](ZanzyTHEbar@d0493b3))
* update ci to use docker container ([09fbb4f](ZanzyTHEbar@09fbb4f))
* update ci to use docker container ([c7e39b9](ZanzyTHEbar@c7e39b9))
* update ci to use docker container ([d9221a7](ZanzyTHEbar@d9221a7))
* update ci to use docker container ([9e96489](ZanzyTHEbar@9e96489))
* update ci to use docker container ([765b708](ZanzyTHEbar@765b708))
* update ci to use docker container ([484b722](ZanzyTHEbar@484b722))
* update ci to use docker container ([1023d90](ZanzyTHEbar@1023d90))
* update ci to use docker container ([1d9fd84](ZanzyTHEbar@1d9fd84))

* feat: update rust deps

* chore(minor): 1.0.0-tauri.3 [skip ci]

## [1.0.0-tauri.3](ZanzyTHEbar/jsketcher@v1.0.0-tauri.2...v1.0.0-tauri.3) (2023-05-11)

### 🍕 Features

* update rust deps ([b809c28](ZanzyTHEbar@b809c28))

* fix: wasm not loading in webkit

* chore(patch): 1.0.0-tauri.4 [skip ci]

## [1.0.0-tauri.4](ZanzyTHEbar/jsketcher@v1.0.0-tauri.3...v1.0.0-tauri.4) (2023-05-11)

### 🐛 Bug Fixes

* wasm not loading in webkit ([0e74582](ZanzyTHEbar@0e74582))

* feat: add windows binary

* fix: windows ci

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>

* Fix windows CI (#4)

* fix: release to tauri branch

* fix: release to tauri branch

* fix: release to tauri branch

* fix: release to tauri

* fix: fix app not loading on linux builds

- update tauri
- fix dist directory path

BREAKING CHANGES

* fix: update readme

* fix: semantic-release

* Update .releaserc

* Update ci.yaml

* fix: Update .releaserc

* fix: remove repo from package.json

* chore(major): 1.0.0-tauri.1 [skip ci]

## 1.0.0-tauri.1 (2023-05-09)

### ⚠ BREAKING CHANGES

* CHANGES

### 🍕 Features

* add setup scripts for setting up tauri dev environment ([0c41a33](ZanzyTHEbar@0c41a33))
* **dxf:** add support for dimensions in dxf. ([56c884c](ZanzyTHEbar@56c884c))
* add support for dxf blocks ([#200](https://github.com/ZanzyTHEbar/jsketcher/issues/200)) ([322d47f](ZanzyTHEbar@322d47f))
* add support for dxf files import ([2fa2866](ZanzyTHEbar@2fa2866))
* finish up CI system ([5a688d1](ZanzyTHEbar@5a688d1))
* initial cir release ([2f94a6e](ZanzyTHEbar@2f94a6e))
* initial tauri commit ([0a0bb54](ZanzyTHEbar@0a0bb54))
* update tauri version ([90168da](ZanzyTHEbar@90168da))

### 🐛 Bug Fixes

* .releasesrc file not having a main branch ([04f2e2c](ZanzyTHEbar@04f2e2c))
* .releasesrc file not having a main branch ([25ae8a4](ZanzyTHEbar@25ae8a4))
* **dxf:** add dimLayers to the export. ([#183](https://github.com/ZanzyTHEbar/jsketcher/issues/183)) ([a3349b5](ZanzyTHEbar@a3349b5))
* fix app not loading on linux builds ([9ef599d](ZanzyTHEbar@9ef599d))
* fix release asset types ([8f73410](ZanzyTHEbar@8f73410))
* release to tauri ([0ba5387](ZanzyTHEbar@0ba5387))
* release to tauri branch ([11fcf2e](ZanzyTHEbar@11fcf2e))
* release to tauri branch ([e8486a5](ZanzyTHEbar@e8486a5))
* release to tauri branch ([6076573](ZanzyTHEbar@6076573))
* remove caching of pnpm in ci ([96165f3](ZanzyTHEbar@96165f3))
* remove old path ([f0b426c](ZanzyTHEbar@f0b426c))
* remove repo from package.json ([dd099b8](ZanzyTHEbar@dd099b8))
* script for linux ([46bda82](ZanzyTHEbar@46bda82))
* semantic-release ([3edb4cf](ZanzyTHEbar@3edb4cf))
* Update .releaserc ([3343d2c](ZanzyTHEbar@3343d2c))
* update readme ([b00299d](ZanzyTHEbar@b00299d))
* windows failing to build ([def0782](ZanzyTHEbar@def0782))

* fix: appimage failing to build

* fix: test ubuntu 18.04

* fix: test ubuntu 18.04

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* feat: update ci to use docker container

* chore(minor): 1.0.0-tauri.2 [skip ci]

## [1.0.0-tauri.2](ZanzyTHEbar/jsketcher@v1.0.0-tauri.1...v1.0.0-tauri.2) (2023-05-11)

### 🐛 Bug Fixes

* appimage failing to build ([8dc6217](ZanzyTHEbar@8dc6217))
* test ubuntu 18.04 ([8f55f4d](ZanzyTHEbar@8f55f4d))
* test ubuntu 18.04 ([0afd146](ZanzyTHEbar@0afd146))

### 🍕 Features

* update ci to use docker container ([7bcacb0](ZanzyTHEbar@7bcacb0))
* update ci to use docker container ([98de939](ZanzyTHEbar@98de939))
* update ci to use docker container ([0750c00](ZanzyTHEbar@0750c00))
* update ci to use docker container ([715780f](ZanzyTHEbar@715780f))
* update ci to use docker container ([ccbacdb](ZanzyTHEbar@ccbacdb))
* update ci to use docker container ([60aa80d](ZanzyTHEbar@60aa80d))
* update ci to use docker container ([f629258](ZanzyTHEbar@f629258))
* update ci to use docker container ([278cf82](ZanzyTHEbar@278cf82))
* update ci to use docker container ([02ec38c](ZanzyTHEbar@02ec38c))
* update ci to use docker container ([8fb7924](ZanzyTHEbar@8fb7924))
* update ci to use docker container ([d0493b3](ZanzyTHEbar@d0493b3))
* update ci to use docker container ([09fbb4f](ZanzyTHEbar@09fbb4f))
* update ci to use docker container ([c7e39b9](ZanzyTHEbar@c7e39b9))
* update ci to use docker container ([d9221a7](ZanzyTHEbar@d9221a7))
* update ci to use docker container ([9e96489](ZanzyTHEbar@9e96489))
* update ci to use docker container ([765b708](ZanzyTHEbar@765b708))
* update ci to use docker container ([484b722](ZanzyTHEbar@484b722))
* update ci to use docker container ([1023d90](ZanzyTHEbar@1023d90))
* update ci to use docker container ([1d9fd84](ZanzyTHEbar@1d9fd84))

* feat: update rust deps

* chore(minor): 1.0.0-tauri.3 [skip ci]

## [1.0.0-tauri.3](ZanzyTHEbar/jsketcher@v1.0.0-tauri.2...v1.0.0-tauri.3) (2023-05-11)

### 🍕 Features

* update rust deps ([b809c28](ZanzyTHEbar@b809c28))

* fix: wasm not loading in webkit

* chore(patch): 1.0.0-tauri.4 [skip ci]

## [1.0.0-tauri.4](ZanzyTHEbar/jsketcher@v1.0.0-tauri.3...v1.0.0-tauri.4) (2023-05-11)

### 🐛 Bug Fixes

* wasm not loading in webkit ([0e74582](ZanzyTHEbar@0e74582))

* feat: add windows binary

* fix: windows ci

* fix: windows ci deps

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Mike Molinari <mike@smbisoft.com>
  • Loading branch information
3 people authored May 12, 2023
1 parent 0cba47e commit f764f6a
Show file tree
Hide file tree
Showing 41 changed files with 12,012 additions and 26,223 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"env": {
"browser": true,
"commonjs": true,
"node": true,
"es6": true
},
"parser": "@babel/eslint-parser",
Expand Down
183 changes: 183 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
name: Produce Desktop Binary Builds
on:
workflow_dispatch:
push:
branches:
- tauri
- feature/tauri
#- master
#- main

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ENABLE_CODE_SIGNING: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write

jobs:
build:
#defaults:
# run:
# working-directory: GUI/ETVR
strategy:
fail-fast: false
matrix:
node-version: [18.x]
#, macos-latest
#windows-latest,
platform: [ubuntu-latest, windows-latest]
include:
#- os: ubuntu-18.04
# rust_target: x86_64-unknown-linux-gnu
- os: windows-latest
rust_target: x86_64-pc-windows-msvc
#- os: macos-latest
# rust_target: x86_64-apple-darwin
#- os: macos-latest
# rust_target: aarch64-apple-darwin
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
token: ${{ env.GITHUB_TOKEN }}
- name: Build the App (Linux)
if: matrix.platform == 'ubuntu-latest'
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/zanzythebar/tauridocker:latest
options: -v ${{ github.workspace }}:/workspace
run: |
echo "::group::install node dependencies"
npm install -g pnpm
npm install -g typescript
pnpm install
echo "::group::tauri build"
pnpm tauri build
echo "::endgroup::"
- name: Archive the App (Linux)
if: matrix.platform == 'ubuntu-latest'
uses: actions/upload-artifact@v3
with:
name: production-files
path: |
src-tauri/target/release/bundle/deb/*.deb
src-tauri/target/release/bundle/appimage/*.AppImage
retention-days: 5
if-no-files-found: error
- name: Verify build (Linux)
if: matrix.platform == 'ubuntu-latest'
run: |
ls -la src-tauri/target/release/bundle/appimage
ls -la src-tauri/target/release/bundle/deb
- name: Node.js setup ${{ matrix.node-version }} (Windows & MacOS)
if: matrix.platform == 'windows-latest' || matrix.platform == 'macos-latest'
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
#cache: "pnpm"
# node-version-file: '.nvmrc'

- name: Install dependencies (Windows & MacOS)
if: matrix.platform == 'windows-latest' || matrix.platform == 'macos-latest'
run: |
echo "::group::install node dependencies"
npm install -g pnpm
npm install -g typescript
pnpm install
echo "::endgroup::"
- name: Setup Rust (Windows & MacOS)
if: matrix.platform == 'windows-latest' || matrix.platform == 'macos-latest'
uses: actions-rs/toolchain@v1
with:
default: true
override: true
profile: minimal
toolchain: stable
target: ${{ matrix.platform.rust_target }}

- name: Cache Rust (Windows & MacOS)
if: matrix.platform == 'windows-latest' || matrix.platform == 'macos-latest'
uses: Swatinem/rust-cache@v2
with:
workspaces: "./src-tauri -> target"

- name: Build the app (Windows & MacOS)
if: matrix.platform == 'windows-latest' || matrix.platform == 'macos-latest'
uses: JonasKruckenberg/tauri-build@v1.2.3
id: tauri_build
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
ENABLE_CODE_SIGNING: ${{ env.APPLE_CERTIFICATE }}
#APPLE_CERTIFICATE: ${{ env.APPLE_CERTIFICATE }}
#APPLE_CERTIFICATE_PASSWORD: ${{ env.APPLE_CERTIFICATE_PASSWORD }}
#APPLE_SIGNING_IDENTITY: ${{ env.APPLE_SIGNING_IDENTITY }}
#APPLE_ID: ${{ env.APPLE_ID }}
#APPLE_PASSWORD: ${{ env.APPLE_PASSWORD }}
with:
target: ${{ matrix.platform.rust_target }}

- name: Archive the App (Windows & MacOS)
if: matrix.platform == 'windows-latest' || matrix.platform == 'macos-latest'
uses: actions/upload-artifact@v3
with:
name: production-files
path: "${{ join(fromJSON(steps.tauri_build.outputs.artifacts), '\n') }}"

deploy:
runs-on: ubuntu-latest
name: Deploy
needs: [build]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create Directory
run: mkdir -p dist
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: production-files
path: ./dist
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install -g conventional-changelog-conventionalcommits
- run: npm install -g semantic-release@v21.0.2
- run: npm install -g @semantic-release/exec
- run: npm install -g @semantic-release/git
- run: npm install -g @semantic-release/release-notes-generator
- run: npm install -g @semantic-release/changelog
- run: npm install -g @semantic-release/github
- name: Release
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
run: |
sudo apt-get install -y jq
chmod +x ./scripts/prepareCMD.sh
semantic-release
cleanup:
name: Cleanup actions
needs:
- deploy
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: "♻️ remove build artifacts"
uses: geekyeggo/delete-artifact@v1
with:
name: production-files
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
/node_modules
/dist
/.vs
/web/docs/
pnpm-lock.yaml
/web/docs/
194 changes: 194 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
{
"branches": [
"main",
"master",
"release",
{
"name": "tauri",
"prerelease": true
},
{
"name": "feature/tauri",
"prelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
},
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "revert",
"release": "patch"
},
{
"type": "docs",
"scope": "docs-*",
"release": "minor"
},
{
"type": "docs",
"release": false
},
{
"type": "style",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"type": "build",
"release": "patch"
},
{
"type": "ci",
"scope": "ci-*",
"release": "patch"
},
{
"type": "chore",
"release": false
},
{
"type": "no-release",
"release": false
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
},
"writerOpts": {
"commitsSort": [
"subject",
"scope"
]
},
"presetConfig": {
"types": [
{
"type": "feat",
"section": "🍕 Features"
},
{
"type": "feature",
"section": "🍕 Features"
},
{
"type": "fix",
"section": "🐛 Bug Fixes"
},
{
"type": "perf",
"section": "🔥 Performance Improvements"
},
{
"type": "revert",
"section": "⏩ Reverts"
},
{
"type": "docs",
"section": "📝 Documentation"
},
{
"type": "style",
"section": "🎨 Styles"
},
{
"type": "refactor",
"section": "🧑‍💻 Code Refactoring"
},
{
"type": "test",
"section": "✅ Tests"
},
{
"type": "build",
"section": "🤖 Build System"
},
{
"type": "ci",
"section": "🔁 Continuous Integration"
}
]
}
}
],
[
"@semantic-release/changelog",
{
"changelogTitle": "# 📦 Changelog \n[![conventional commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg)](https://conventionalcommits.org)\n[![semantic versioning](https://img.shields.io/badge/semantic%20versioning-2.0.0-green.svg)](https://semver.org)\n> All notable changes to this project will be documented in this file"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "./scripts/prepareCMD.sh ${nextRelease.version}",
"publishCmd": "echo Publishing ${nextRelease.version}"
}
],
[
"@semantic-release/github",
{
"addReleases": "bottom",
"assets": [
{
"path": "./dist/**/*.{msi,deb,rpm,AppImage,dmg,zip}"
}
]
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json",
"src-tauri/tauri.conf.json",
"src-tauri/Cargo.toml",
"LICENSE*",
"CHANGELOG.md"
],
"message": "chore(${nextRelease.type}): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer", "esbenp.prettier-vscode"]
}
Loading

0 comments on commit f764f6a

Please sign in to comment.