-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
1,274 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Prettier | ||
|
||
on: | ||
push: | ||
branhces: | ||
- '**' | ||
- '!main' | ||
- '!released' | ||
|
||
jobs: | ||
prettier: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Authenticate NPM | ||
uses: DimensionDev/github-token-action@latest | ||
with: | ||
registry: true | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '18.9.0' | ||
|
||
- uses: pnpm/action-setup@v2 | ||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Check code style with Prettier | ||
run: npx prettier . -w | ||
|
||
- name: Check for changes in src/* | ||
id: check-changes | ||
run: echo "::set-output name=changes::$(git diff --name-only -- 'src/*')" | ||
|
||
- name: Commit changes if any | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
message: 'chore: prettier' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,5 @@ dist-ssr | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
.vim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Ignore entire directories | ||
node_modules/ | ||
dist/ | ||
build/ | ||
|
||
# Ignore specific files | ||
*.min.js | ||
*.min.css | ||
|
||
# Ignore locales | ||
*.po | ||
|
||
# Ignore all files of a specific type in a specific directory | ||
public/* | ||
|
||
# Ignore specific files in a directory | ||
src/specialFile.js | ||
|
||
# Ignore files based on wildcard patterns | ||
**/vendor/**/*.js | ||
|
||
# Ignore git submodule | ||
pnpm-lock.yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"tabWidth": 2, | ||
"semi": false, | ||
"singleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,12 +28,15 @@ | |
"cspell": "^8.8.1", | ||
"dayjs": "^1.11.11", | ||
"framer-motion": "^11.1.9", | ||
"immer": "^10.1.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"urlcat": "^3.1.0", | ||
"viem": "^2.9.16", | ||
"vite-plugin-svgr": "^4.2.0", | ||
"wagmi": "^2.5.19", | ||
"zod": "^3.23.8" | ||
"zod": "^3.23.8", | ||
"zustand": "^4.5.2" | ||
}, | ||
"devDependencies": { | ||
"@lingui/cli": "^4.10.1", | ||
|
@@ -58,5 +61,10 @@ | |
"typescript": "^5.2.2", | ||
"vite": "^5.2.0", | ||
"vitest": "^1.6.0" | ||
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
diff --git a/package.json b/package.json | ||
index 6c09937ee7c032c4cbdf8cae86d3ec7603b8a826..4962dcc915e8de8d2c115c7fc7f432d1127c9f31 100644 | ||
--- a/package.json | ||
+++ b/package.json | ||
@@ -1,21 +1,15 @@ | ||
{ | ||
"name": "urlcat", | ||
"version": "3.1.0", | ||
+ "type": "module", | ||
"description": "A library for concatenating URL's.", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/balazsbotond/urlcat.git" | ||
}, | ||
- "main": "dist/index.js", | ||
+ "main": "dist/index.mjs", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
- "exports": { | ||
- ".": { | ||
- "import": "./dist/index.mjs", | ||
- "require": "./dist/index.js" | ||
- }, | ||
- "./package.json": "./package.json" | ||
- }, | ||
"files": [ | ||
"dist" | ||
], |
Oops, something went wrong.