-
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.
* [#93] React Init - Adds prettier - Adds lint-staged and husky - Adds bin scripts - Adds initial react app * [#93] React Init WordPress Block Changes (#153) - Custom React Block for Bidding - Adds packages for WP Script blocks - Adjust TS Config * [#94] Metrics but WP (#155) - Adds driver and metrics component - Adjusts Tailwind content paths - Adds inputs for new components - Adds script to handle components in dev mode - Moves metrics into the WP block * [#95] Countdown Timer (#148) - Adds countdown timer component and functions - Adjusts initial state for demo - Adjusts font styles - Fixes gitignore build * [#96] Bid Button (#149) - Adds clsx - Adds bid button * [#97] Free Bids (#150) - Adds free bids button - Adds demo data * [#100] Participation (#151) - Adds participation component * [#101] Free Bids (#152) - Adds free bids promo - Adds temporary hand icon * [#140] Websocket Connection (#167) - Installs zod and zustand - Adds attributes to block.json - Adds auction store - Adds types - Changes initial state to data attributes - Adjusts use of data attributes and useAuction - Adds websocket connection - Hardcodes WS URL for now.
- Loading branch information
1 parent
15e4a8b
commit a7c14ba
Showing
57 changed files
with
6,305 additions
and
1,964 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
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,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
cd client-mu-plugins/goodbids && npm run staged |
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 @@ | ||
18 |
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 @@ | ||
nodejs 18.19.0 |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
# bin/format: Check for formatting errors | ||
# | ||
# When to use: | ||
# - When you want to check for formatting errors | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
cd client-mu-plugins/goodbids && npm run format |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
# bin/format-fix: Fix formatting errors | ||
# | ||
# When to use: | ||
# - When you want to fix for formatting errors | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
cd client-mu-plugins/goodbids && npm run format:fix |
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,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
# bin/install: Install dependencies | ||
# | ||
# When to use: | ||
# - When you want to install dependencies | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
# Install composer dev dependencies | ||
composer install | ||
|
||
# Install must-use plugin dependencies | ||
cd client-mu-plugins/goodbids | ||
composer install | ||
npm install |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
# bin/lint: Check for linting errors | ||
# | ||
# When to use: | ||
# - When you want to check for linting errors | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
cd client-mu-plugins/goodbids && npm run lint |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
# bin/lint-fix: Fix linting errors | ||
# | ||
# When to use: | ||
# - When you want to fix linting errors | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
cd client-mu-plugins/goodbids && npm run lint:fix |
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,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
# bin/start: Start local dev with VIP CLI | ||
# | ||
# When to use: | ||
# - When you want to run the WP server | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
vip dev-env --slug=goodbids start | ||
echo "Don't forget to run bin/start-vite to start the Vite dev server" |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
# bin/start-vite: Start local Vite dev server | ||
# | ||
# When to use: | ||
# - After running `bin/start` to start the WP server | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
cd client-mu-plugins/goodbids && npm run dev |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
# bin/start: Stop local dev with VIP CLI | ||
# | ||
# When to use: | ||
# - When you want to stop the WP server | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
vip dev-env --slug=goodbids stop |
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 |
---|---|---|
@@ -1,22 +1,2 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
dist | ||
# Build files. | ||
build | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
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,9 @@ | ||
module.exports = { | ||
'./**/*.{js,jsx,ts,tsx}': [ | ||
'eslint', | ||
'prettier --check ./src/**/*.{js,jsx,ts,tsx}', | ||
], | ||
'./**/*.css': [ | ||
'prettier --check ./src/**/*.css', | ||
], | ||
}; |
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,22 @@ | ||
module.exports = { | ||
arrowParens: 'always', | ||
bracketSameLine: false, | ||
bracketSpacing: true, | ||
htmlWhitespaceSensitivity: 'css', | ||
printWidth: 80, | ||
proseWrap: 'preserve', | ||
semi: true, | ||
singleQuote: true, | ||
tabWidth: 4, | ||
useTabs: true, | ||
trailingComma: 'all', | ||
overrides: [ | ||
{ | ||
files: ['*.yml', '*.json'], | ||
options: { | ||
useTabs: false, | ||
tabWidth: 2, | ||
}, | ||
}, | ||
], | ||
}; |
Oops, something went wrong.