-
-
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.
chore(global): format on things and update README
Signed-off-by: Andrei Jiroh Halili <[email protected]>
- Loading branch information
1 parent
8b96b09
commit f3c89e1
Showing
10 changed files
with
103 additions
and
82 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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"printWidth": 140, | ||
"singleQuote": false, | ||
"semi": true, | ||
"useTabs": false, | ||
"endOfLine": "lf", | ||
"tabWidth": 2, | ||
"arrowParens": "always" | ||
"printWidth": 140, | ||
"singleQuote": false, | ||
"semi": true, | ||
"useTabs": false, | ||
"endOfLine": "lf", | ||
"tabWidth": 2, | ||
"arrowParens": "always" | ||
} |
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,11 +1,13 @@ | ||
{ | ||
"recommendations": [ | ||
"arcanis.vscode-zipfs", | ||
"esbenp.prettier-vscode", | ||
"prisma.prisma", | ||
"redhat.vscode-yaml", | ||
"codiium.wrangler", | ||
"ms-vscode-remote.remote-containers", | ||
"ms-azuretools.vscode-docker" | ||
] | ||
"recommendations": [ | ||
"arcanis.vscode-zipfs", | ||
"esbenp.prettier-vscode", | ||
"prisma.prisma", | ||
"redhat.vscode-yaml", | ||
"codiium.wrangler", | ||
"ms-vscode-remote.remote-containers", | ||
"ms-azuretools.vscode-docker", | ||
"mtxr.sqltools-driver-sqlite", | ||
"mtxr.sqltools" | ||
] | ||
} |
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,26 +1,31 @@ | ||
{ | ||
"search.exclude": { | ||
"**/.yarn": true, | ||
"**/.pnp.*": true | ||
}, | ||
"git.alwaysSignOff": true, | ||
"gitlens.remotes": [ | ||
{ | ||
"domain": "mau.dev", | ||
"type": "GitLab" | ||
} | ||
], | ||
"yaml.schemas": { | ||
"https://raw.githubusercontent.com/devfile/api/v2.2.0/schemas/latest/devfile.json": ".devfile.yml", | ||
"https://raw.githubusercontent.com/slackapi/manifest-schema/main/manifest.schema.json": [ | ||
"apps/golinks-v2/app-manifest.yml", | ||
"apps/golinks-v2/dev-manifest.yml" | ||
] | ||
}, | ||
"conventionalCommits.scopes": [ | ||
"golinks", | ||
"global", | ||
"github-actions" | ||
], | ||
"dotenv.enableAutocloaking": false | ||
"search.exclude": { | ||
"**/.yarn": true, | ||
"**/.pnp.*": true | ||
}, | ||
"git.alwaysSignOff": true, | ||
"gitlens.remotes": [ | ||
{ | ||
"domain": "mau.dev", | ||
"type": "GitLab" | ||
} | ||
], | ||
"yaml.schemas": { | ||
"https://raw.githubusercontent.com/devfile/api/v2.2.0/schemas/latest/devfile.json": ".devfile.yml", | ||
"https://raw.githubusercontent.com/slackapi/manifest-schema/main/manifest.schema.json": [ | ||
"apps/golinks-v2/app-manifest.yml", | ||
"apps/golinks-v2/dev-manifest.yml" | ||
] | ||
}, | ||
"conventionalCommits.scopes": ["golinks", "global", "github-actions"], | ||
"dotenv.enableAutocloaking": false, | ||
"sqltools.connections": [ | ||
{ | ||
"previewLimit": 50, | ||
"driver": "SQLite", | ||
"database": "${workspaceFolder:api-servers}/apps/golinks-v2/.wrangler/state/v3/d1/miniflare-D1DatabaseObject/0c387ee1750819f278da29686bfd9e894e71486eed5952c4c869b0b96c99e1d0.sqlite", | ||
"name": "d1-localdev-go" | ||
} | ||
], | ||
"sqltools.useNodeRuntime": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
# api-servers | ||
Monorepo for different Cloudflare Workers and Deno Deploy hosted APIs I build | ||
# `@andreijiroh-dev/api-servers` | ||
|
||
Monorepo for different Cloudflare Workers and Deno Deploy hosted APIs I build. | ||
Licensed under MPL-2.0 | ||
|
||
## CI | ||
|
||
- [Dependabot Updates](https://github.com/andreijiroh-dev/api-servers/actions/workflows/dependabot/dependabot-updates) | ||
on GitHub Actions, although I do the updates myself via `yarn-upgrade-all` command. |
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,20 +1,17 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "ESNext", | ||
"moduleResolution": "Bundler", | ||
"target": "ES2020", | ||
"jsx": "react", | ||
"allowImportingTsExtensions": true, | ||
"strictNullChecks": true, | ||
"strictFunctionTypes": true, | ||
"sourceMap": true, | ||
"checkJs": true | ||
}, | ||
"exclude": [ | ||
"node_modules", | ||
"**/node_modules/*" | ||
], | ||
"buildOptions": { | ||
"verbose": true | ||
} | ||
} | ||
"compilerOptions": { | ||
"module": "ESNext", | ||
"moduleResolution": "Bundler", | ||
"target": "ES2020", | ||
"jsx": "react", | ||
"allowImportingTsExtensions": true, | ||
"strictNullChecks": true, | ||
"strictFunctionTypes": true, | ||
"sourceMap": true, | ||
"checkJs": true | ||
}, | ||
"exclude": ["node_modules", "**/node_modules/*"], | ||
"buildOptions": { | ||
"verbose": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
set -ex | ||
|
||
GIT_ROOTDIR=$(git rev-parse --show-toplevel) | ||
REMOTE_NAME=${1:-"origin"} | ||
GIT_REPO_URL=$(git config remote.${REMOTE_NAME}.url) | ||
GIT_REPO_URL=$(git -C ${GIT_ROOTDIR} config --get remote.${REMOTE_NAME}.url) | ||
CURRENT_COMMIT=$(git rev-parse HEAD) | ||
COMPARE_HEAD=${2:-"${REMOTE_NAME}/main"} | ||
if [[ $COMPARE_HEAD == "${REMOTE_NAME}/main" ]]; then | ||
export COMPARE_HASH=$(git rev-parse ${COMPARE_HEAD}) | ||
else | ||
export COMPARE_HASH=$(git rev-parse HEAD~${COMPARE_HEAD}) | ||
fi | ||
|
||
echo "Commit head: $GIT_REPO_URL/commit/$(git rev-parse HEAD)" | ||
echo "Commit head: $GIT_REPO_URL/commit/$CURRENT_COMMIT" | ||
echo "Compare link: $GIT_REPO_URL/compare/$COMPARE_HASH...$CURRENT_COMMIT" |