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 pr-1319-feat(new-tool)-code-highlighter
  • Loading branch information
sunnydanu committed Nov 4, 2024
2 parents ebc7956 + a39d39b commit 972ddcb
Show file tree
Hide file tree
Showing 509 changed files with 48,297 additions and 6,626 deletions.
6 changes: 5 additions & 1 deletion .eslintrc-auto-import.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@
"toValue": true,
"injectLocal": true,
"provideLocal": true,
"useClipboardItems": 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
11 changes: 11 additions & 0 deletions .github/fern-banner.svg
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-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
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## Version 2024.10.22-7ca5933

### Features
- **new tool**: Regex Tester (and Cheatsheet) (#1030) (f5c4ab1)
- **new tool**: Markdown to HTML (#916) (87984e2)
- **new-tool**: add email normalizer (#1243) (318fb6e)
- **new tools**: JSON to XML and XML to JSON (#1231) (f1a5489)
- **lorem-ipsum**: add button to refresh text lorem-ipsum (#1213) (e1b4f9a)
- **base64**: Base64 enhancements (#905) (30144aa)

### Bug fixes
- **favorites**: store favorites regardless of languages (#1202) (7ca5933)
- **emoji-picker**: debounced search input (#1181) (76a19d2)
- **format-transformer**: set overflow for output area width (#787) (b430bae)
- **jwt-parser**: prevent UI overflow on small screen (#1095) (dd4b7e6)

### Refactoring
- **regex-tester**: better description (7251700)

### Chores
- **sponsors**: fern sponsor banners (#1314) (f962c41)
- **readme**: updated logos (#1294) (6709498)

### Documentation
- **author**: updated author links (#1316) (1c35ac3)

## Version 2024.05.13-a0bc346

### Features
Expand Down
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @sunnydanu
Loading

0 comments on commit 972ddcb

Please sign in to comment.