-
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
0 parents
commit 4c25c77
Showing
30 changed files
with
8,239 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"service": "devcontainer", | ||
"dockerComposeFile": "docker-compose.yml", | ||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"Cardinal90.multi-cursor-case-preserve", | ||
"Codeium.codeium", | ||
"Davidsekar.redis-xplorer", | ||
"IBM.output-colorizer", | ||
"MatthewNespor.vscode-color-identifiers-mode", | ||
"Med-H.color-me", | ||
"Nuxt.mdc", | ||
"Tyriar.sort-lines", | ||
"VisualStudioExptTeam.vscodeintellicode", | ||
"Yseop.vscode-yseopml", | ||
"aaron-bond.better-comments", | ||
"alefragnani.bookmarks", | ||
"aliariff.auto-add-brackets", | ||
"antfu.auto-npx", | ||
"antfu.file-nesting", | ||
"antfu.goto-alias", | ||
"antfu.iconify", | ||
"antfu.vite", | ||
"antfu.where-am-i", | ||
"arcanis.vscode-zipfs", | ||
"bibhasdn.unique-lines", | ||
"bierner.markdown-yaml-preamble", | ||
"bmalehorn.print-it", | ||
"bradlc.vscode-tailwindcss", | ||
"christian-kohler.npm-intellisense", | ||
"christian-kohler.path-intellisense", | ||
"cpylua.language-postcss", | ||
"dbaeumer.vscode-eslint", | ||
"eamodio.gitlens", | ||
"editorconfig.editorconfig", | ||
"esbenp.prettier-vscode", | ||
"formulahendry.auto-rename-tag", | ||
"foxundermoon.shell-format", | ||
"helixquar.randomeverything", | ||
"heybourn.headwind", | ||
"howardzuo.vscode-npm-dependency", | ||
"idered.npm", | ||
"kisstkondoros.vscode-codemetrics", | ||
"lacroixdavid1.vscode-format-context-menu", | ||
"lokalise.i18n-ally", | ||
"maciejdems.add-to-gitignore", | ||
"mflo999.lintel", | ||
"mhutchie.git-graph", | ||
"micnil.vscode-checkpoints", | ||
"mikestead.dotenv", | ||
"mkxml.vscode-filesize", | ||
"ms-vscode.vscode-js-profile-flame", | ||
"oderwat.indent-rainbow", | ||
"phind.phind", | ||
"piotrpalarz.vscode-gitignore-generator", | ||
"quicktype.quicktype", | ||
"solomonkinard.git-search", | ||
"stackbreak.comment-divider", | ||
"stivo.tailwind-fold", | ||
"stylelint.vscode-stylelint", | ||
"tombonnike.vscode-status-bar-format-toggle", | ||
"usernamehw.errorlens", | ||
"vivaxy.vscode-conventional-commits", | ||
"vue.volar", | ||
"wejectchan.vue3-snippets-for-vscode", | ||
"wmaurer.change-case", | ||
"yatki.vscode-surround", | ||
"yoavbls.pretty-ts-errors", | ||
"zardoy.ts-essential-plugins" | ||
] | ||
} | ||
} | ||
} |
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,27 @@ | ||
version: '3.8' | ||
|
||
services: | ||
devcontainer: | ||
image: gitea.local/sozdev/devcontainer-ts | ||
restart: unless-stopped | ||
command: tail -f /dev/null | ||
environment: | ||
- NODE_ENV=development | ||
- NITRO_PORT=3000 | ||
ports: | ||
- 3000:3000 | ||
volumes: | ||
- ../..:/workspaces:cached | ||
|
||
redis: | ||
image: redis:latest | ||
restart: unless-stopped | ||
environment: | ||
- ALLOW_EMPTY_PASSWORD=yes | ||
ports: | ||
- 6379:6379 | ||
volumes: | ||
- redis-data:/data | ||
|
||
volumes: | ||
redis-data: |
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,26 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
# 4 space indentation | ||
[*.py] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# Tab indentation (no size specified) | ||
[Makefile] | ||
indent_style = tab | ||
|
||
# Matches the exact files either package.json or .travis.yml | ||
[*.{json,yml,yaml}] | ||
indent_style = space | ||
indent_size = 2 |
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 @@ | ||
dist | ||
node_modules | ||
|
||
.yarn |
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,51 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: latest | ||
cache: yarn | ||
|
||
- name: Enable corepack | ||
run: corepack enable | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Lint | ||
run: yarn lint | ||
|
||
typecheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: latest | ||
cache: yarn | ||
|
||
- name: Enable corepack | ||
run: corepack enable | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Typecheck | ||
run: yarn typecheck |
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,36 @@ | ||
name: Publish Package | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: latest | ||
cache: yarn | ||
|
||
- name: Enable corepack | ||
run: corepack enable | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Build | ||
run: yarn build | ||
|
||
- name: Apply version | ||
run: yarn version apply | ||
|
||
- name: Publish package | ||
run: yarn npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 @@ | ||
# Nuxt | ||
.nuxt | ||
.nitro | ||
.cache | ||
.output | ||
.config | ||
.env | ||
|
||
# Node | ||
node_modules | ||
dist | ||
core | ||
|
||
# Yarn | ||
.pnp.* | ||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
|
||
# VIM | ||
**/*~ | ||
|
||
# Other | ||
.scraper-* | ||
*.log* |
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 @@ | ||
# .prettierrc or .prettierrc.yaml | ||
trailingComma: all | ||
singleQuote: true | ||
semi: false | ||
tabWidth: 2 | ||
printWidth: 80 | ||
useTabs: false | ||
spaceInParens: true | ||
bracketSpacing: 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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"recommendations": [ | ||
"aaron-bond.better-comments", | ||
"alefragnani.bookmarks", | ||
"aliariff.auto-add-brackets", | ||
"antfu.auto-npx", | ||
"antfu.file-nesting", | ||
"antfu.goto-alias", | ||
"antfu.iconify", | ||
"antfu.vite", | ||
"antfu.where-am-i", | ||
"arcanis.vscode-zipfs", | ||
"bibhasdn.unique-lines", | ||
"bierner.markdown-yaml-preamble", | ||
"bmalehorn.print-it", | ||
"bradlc.vscode-tailwindcss", | ||
"Cardinal90.multi-cursor-case-preserve", | ||
"christian-kohler.npm-intellisense", | ||
"christian-kohler.path-intellisense", | ||
"Codeium.codeium", | ||
"cpylua.language-postcss", | ||
"dbaeumer.vscode-eslint", | ||
"eamodio.gitlens", | ||
"editorconfig.editorconfig", | ||
"esbenp.prettier-vscode", | ||
"formulahendry.auto-rename-tag", | ||
"foxundermoon.shell-format", | ||
"helixquar.randomeverything", | ||
"heybourn.headwind", | ||
"howardzuo.vscode-npm-dependency", | ||
"IBM.output-colorizer", | ||
"kisstkondoros.vscode-codemetrics", | ||
"lacroixdavid1.vscode-format-context-menu", | ||
"lokalise.i18n-ally", | ||
"maciejdems.add-to-gitignore", | ||
"MatthewNespor.vscode-color-identifiers-mode", | ||
"Med-H.color-me", | ||
"mflo999.lintel", | ||
"mhutchie.git-graph", | ||
"micnil.vscode-checkpoints", | ||
"mikestead.dotenv", | ||
"mkxml.vscode-filesize", | ||
"ms-vscode.vscode-js-profile-flame", | ||
"Nuxt.mdc", | ||
"oderwat.indent-rainbow", | ||
"phind.phind", | ||
"piotrpalarz.vscode-gitignore-generator", | ||
"quicktype.quicktype", | ||
"solomonkinard.git-search", | ||
"stackbreak.comment-divider", | ||
"stivo.tailwind-fold", | ||
"stylelint.vscode-stylelint", | ||
"tombonnike.vscode-status-bar-format-toggle", | ||
"Tyriar.sort-lines", | ||
"usernamehw.errorlens", | ||
"VisualStudioExptTeam.vscodeintellicode", | ||
"vivaxy.vscode-conventional-commits", | ||
"vue.volar", | ||
"wejectchan.vue3-snippets-for-vscode", | ||
"wmaurer.change-case", | ||
"yatki.vscode-surround", | ||
"yoavbls.pretty-ts-errors", | ||
"Yseop.vscode-yseopml", | ||
"zardoy.ts-essential-plugins" | ||
] | ||
} |
Oops, something went wrong.