Skip to content

Commit

Permalink
Merge branch 'developing/2.0.0' of https://github.com/sunnydanu/godev…
Browse files Browse the repository at this point in the history
….run into feat(new-tool)--images-formats-converter
  • Loading branch information
sunnydanu committed Nov 4, 2024
2 parents e9a5541 + 39e7a93 commit f4cac03
Show file tree
Hide file tree
Showing 513 changed files with 48,479 additions and 6,511 deletions.
9 changes: 8 additions & 1 deletion .eslintrc-auto-import.json
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,13 @@
"watchTriggerable": true,
"watchWithFilter": true,
"whenever": true,
"toValue": true
"toValue": true,
"injectLocal": true,
"provideLocal": true,
"useClipboardItems": true,
"ExtractDefaultPropTypes": true,
"ExtractPropTypes": true,
"ExtractPublicPropTypes": true,
"WritableComputedRef": true
}
}
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github:
- CorentinTh
- sunnydanu
Binary file modified .github/logo-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .github/logo-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- main
- developing/2.0.0

jobs:
ci:
Expand All @@ -27,8 +28,8 @@ jobs:
- name: Run unit test
run: pnpm test

- name: Type check
run: pnpm typecheck
# - name: Type check
# run: pnpm typecheck

- name: Build the app
run: pnpm build
4 changes: 2 additions & 2 deletions .github/workflows/docker-nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
corentinth/it-tools:nightly
ghcr.io/corentinth/it-tools:nightly
sunnydanu/godev-run:nightly
ghcr.io/sunnydanu/godev-run:nightly
20 changes: 10 additions & 10 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
corentinth/it-tools:latest
corentinth/it-tools:${{ env.RELEASE_VERSION }}
ghcr.io/corentinth/it-tools:latest
ghcr.io/corentinth/it-tools:${{ env.RELEASE_VERSION}}
sunnydanu/godev-run:latest
sunnydanu/godev-run:${{ env.RELEASE_VERSION }}
ghcr.io/sunnydanu/godev-run:latest
ghcr.io/sunnydanu/godev-run:${{ env.RELEASE_VERSION}}
github-release:
runs-on: ubuntu-latest
Expand All @@ -71,7 +71,7 @@ jobs:
run: pnpm build

- name: Zip the app
run: zip -r it-tools-${{ env.RELEASE_VERSION }}.zip dist/*
run: zip -r godev-run-${{ env.RELEASE_VERSION }}.zip dist/*

- name: Get changelog
id: changelog
Expand All @@ -85,19 +85,19 @@ jobs:
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: it-tools-${{ env.RELEASE_VERSION }}.zip
files: godev-run-${{ env.RELEASE_VERSION }}.zip
tag_name: v${{ env.RELEASE_VERSION }}
draft: true
prerelease: false
body: |
## Docker images
- Docker Hub
- `corentinth/it-tools:latest`
- `corentinth/it-tools:${{ env.RELEASE_VERSION }}`
- `sunnydanu/godev-run:latest`
- `sunnydanu/godev-run:${{ env.RELEASE_VERSION }}`
- GitHub Container Registry
- `ghcr.io/corentinth/it-tools:latest`
- `ghcr.io/corentinth/it-tools:${{ env.RELEASE_VERSION}}`
- `ghcr.io/sunnydanu/godev-run:latest`
- `ghcr.io/sunnydanu/godev-run:${{ env.RELEASE_VERSION}}`
## Changelog
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ coverage
/playwright-report/
/playwright/.cache/
# Webkit with playwright creates a salt file
salt
salt
sandbox
1 change: 1 addition & 0 deletions .husky/post-checkout
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm install && pnpm vitest --environment jsdom --run
1 change: 1 addition & 0 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm install && pnpm vitest --environment jsdom --run
1 change: 1 addition & 0 deletions .husky/post-rewrite
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm lint
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm lint && pnpm typecheck
36 changes: 36 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/sh

# Check for uncommitted changes
if ! git diff HEAD --quiet; then
echo "You have uncommitted changes. Please commit them before pushing."
exit 1
fi

# Run tests and type checking
pnpm vitest --environment jsdom --run && pnpm typecheck
TEST_EXIT_STATUS=$?

# If the tests or type checks fail, exit
if [ $TEST_EXIT_STATUS -ne 0 ]; then
echo "Tests or type check failed. Push aborted."
exit $TEST_EXIT_STATUS
fi

# Start the local server in the background
pnpm dev&
SERVER_PID=$!

# Wait for the server to start (adjust the sleep duration as needed)
sleep 5

# Run Playwright tests
pnpm test:e2e:dev

# Capture the exit status of the Playwright tests
E2E_TEST_EXIT_STATUS=$?

# Kill the server after tests are done
kill $SERVER_PID

# Exit with the status of the Playwright tests
exit $E2E_TEST_EXIT_STATUS
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @sunnydanu
Loading

0 comments on commit f4cac03

Please sign in to comment.