Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: initial minor dapp release #160

Merged
merged 46 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
82dc878
ci: add release ci
pseudobun Oct 7, 2024
64aadaf
chore: update global error
pseudobun Oct 7, 2024
5a32853
chore: add release please config
pseudobun Oct 7, 2024
645af99
chore: revert
pseudobun Oct 7, 2024
f3d26a4
ci: fix
pseudobun Oct 7, 2024
6482f8a
ci: add workflow dispatch option
pseudobun Oct 7, 2024
1d9e2a7
ci: fix
pseudobun Oct 7, 2024
da0403b
fix: test
pseudobun Oct 7, 2024
bdcd27f
chore(develop): release 1.0.0
github-actions[bot] Oct 7, 2024
1e2ae60
ci: format action
pseudobun Oct 7, 2024
0176bc9
chore: switch to changeset
pseudobun Oct 7, 2024
12c3ed0
chore: update readme
pseudobun Oct 7, 2024
d58a6cb
chore: update configs
pseudobun Oct 7, 2024
a86caec
ci: update
pseudobun Oct 7, 2024
77e4a5d
ci: rename release action
pseudobun Oct 7, 2024
77af55d
ci: update release action
pseudobun Oct 7, 2024
8adc9d9
ci: add sync develop
pseudobun Oct 7, 2024
1211024
ci: update main ci
pseudobun Oct 7, 2024
18cfc3d
chore: update frontend package.json
pseudobun Oct 7, 2024
50fe13d
chore: release dapp
github-actions[bot] Oct 7, 2024
f5f9663
chore: tests
pseudobun Oct 7, 2024
496a49b
chore: update configs
pseudobun Oct 7, 2024
2cd68e4
chore: dapp release (#4)
github-actions[bot] Oct 7, 2024
a0427ab
chore: update changesets config
pseudobun Oct 7, 2024
e4c48f6
ci: update release dapp
pseudobun Oct 7, 2024
a8ad29c
chore: add changeset
pseudobun Oct 7, 2024
c379ffd
ci: fix
pseudobun Oct 7, 2024
c337236
chore: update config
pseudobun Oct 8, 2024
4429ff6
ci: fix 2
pseudobun Oct 8, 2024
ce3e530
chore: add changeset github
pseudobun Oct 8, 2024
f246bed
chore: some commit (#6)
pseudobun Oct 8, 2024
14dc420
chore: dapp release (#5)
github-actions[bot] Oct 8, 2024
ef226a0
chore: adds
pseudobun Oct 8, 2024
67c6ae5
chore: dapp release (#7)
github-actions[bot] Oct 8, 2024
a412fe4
chore: add tests (#8)
pseudobun Oct 8, 2024
1971e16
chore: dapp release (#9)
github-actions[bot] Oct 8, 2024
67e7a1b
chore: update release dapp ci
pseudobun Oct 8, 2024
e2d899e
fix: minor error (#10)
pseudobun Oct 8, 2024
4d81ec8
chore: dapp release (#11)
github-actions[bot] Oct 8, 2024
6694c7e
chore: remove changes
pseudobun Oct 8, 2024
299fba7
chore: update config.json
pseudobun Oct 8, 2024
825c08b
chore: remove separate sync develop action
pseudobun Oct 8, 2024
0511e5e
chore: update pnpm lock
pseudobun Oct 8, 2024
eb61ace
chore: switch to changeset
pseudobun Oct 7, 2024
86c6c3f
chore: update pnpm lock
pseudobun Oct 8, 2024
cf91150
chore: add changeset
pseudobun Oct 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
15 changes: 15 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.3/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "Swaylend/swaylend-monorepo" }
],
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["sway-lend-indexer", "indexer-sentio"],
"privatePackages": { "version": true, "tag": true }
}
5 changes: 5 additions & 0 deletions .changeset/great-years-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"swaylend-v2": minor
---

Initial minor release.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
workflow_dispatch:
push:
branches:
- master
- develop
pull_request:
types: [opened, synchronize, reopened]
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/release-dapp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Release dapp and Sync develop

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Create Release Pull Request
uses: changesets/action@v1
with:
title: 'chore: dapp release'
commit: 'chore: dapp release'
publish: npx @changesets/cli tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

sync:
name: Sync develop
runs-on: ubuntu-latest
needs: release
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
- name: Git config
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Sync
run: |
git checkout develop
git merge main --ff-only
git push origin develop
2 changes: 1 addition & 1 deletion apps/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swaylend-v2",
"version": "0.1.0",
"version": "0.0.0",
"license": "MIT",
"private": true,
"homepage": "https://app.swaylend.com",
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.9",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/client-preset": "^4.3.3",
"@graphql-typed-document-node/core": "^3.2.0",
"graphql": "^16.9.0"
"graphql": "^16.9.0",
"@changesets/cli": "^2.27.9"
},
"packageManager": "pnpm@9.11.0",
"engines": {
Expand Down
Loading