-
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 b46f03a
Showing
77 changed files
with
7,756 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,29 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/vue | ||
{ | ||
"name": "Vue project container", | ||
"dockerComposeFile": "../docker-compose.yml", | ||
"service": "frontend", | ||
"workspaceFolder": "/home/fancy-crud/fancy-crud", | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"misterJ.vue-volar-extention-pack", | ||
"lokalise.i18n-ally", | ||
"antfu.iconify", | ||
"dbaeumer.vscode-eslint", | ||
"csstools.postcss", | ||
"bradlc.vscode-tailwindcss", | ||
"formulahendry.auto-close-tag", | ||
"formulahendry.auto-rename-tag", | ||
"streetsidesoftware.code-spell-checker", | ||
"streetsidesoftware.code-spell-checker-spanish", | ||
"anseki.vscode-color", | ||
"eg2.vscode-npm-script", | ||
"redhat.vscode-yaml", | ||
"MisterJ.vue-volar-extention-pack" | ||
], | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [9090] | ||
} |
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,3 @@ | ||
[*] | ||
end_of_line = lf | ||
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,5 @@ | ||
COMPOSE_PROJECT_NAME=fancy-crud | ||
|
||
VITE_API_CLIENT_ID=AH1by2RrSxMGPEHqNcCUDWsIlheIEYW2poXZDDoL | ||
VITE_API_CLIENT_SECRET=wHiIbTKuShEocjLtAKCNqYpa5KfLaEYvNcgIYIJOANIsH8JnBjywDcAh993Fgkhk2uMujl0qzzNqr84tNbJvY2bOQZJjozcdHTZTTSeSWYTllGwmmE4TfCrJQgfYEtgp | ||
VITE_APP_TITLE=Vue Template |
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,2 @@ | ||
dist | ||
public |
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,46 @@ | ||
{ | ||
"extends": [ | ||
"@antfu" | ||
], | ||
"rules": { | ||
"no-console": "warn", | ||
"vue/attribute-hyphenation": ["error", "always", { | ||
"ignore": ["modelValue"] | ||
}], | ||
"vue/v-on-event-hyphenation": ["error", "always", { | ||
"autofix": false, | ||
"ignore": ["update:modelValue"] | ||
}], | ||
"vue/component-tags-order": ["error", { | ||
"order": [ "template", "script", "style" ] | ||
}], | ||
"vue/component-name-in-template-casing": ["error", "kebab-case"], | ||
"vue/custom-event-name-casing": ["error", "kebab-case"], | ||
"vue/block-lang": ["error", | ||
{ | ||
"script": { | ||
"lang": "ts" | ||
}, | ||
"style": { | ||
"lang": "sass" | ||
} | ||
} | ||
], | ||
"vue/attributes-order": ["error", { | ||
"order": [ | ||
"LIST_RENDERING", | ||
"CONDITIONALS", | ||
"DEFINITION", | ||
"RENDER_MODIFIERS", | ||
"TWO_WAY_BINDING", | ||
"OTHER_DIRECTIVES", | ||
"EVENTS", | ||
["UNIQUE", "SLOT"], | ||
"OTHER_ATTR", | ||
"GLOBAL", | ||
"CONTENT" | ||
], | ||
"alphabetical": false | ||
}] | ||
} | ||
} |
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,53 @@ | ||
name: Node.js CI | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: ['*'] | ||
|
||
jobs: | ||
quality: | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
# node-version: [10.x, 12.x, 14.x, 15.x, 16.x, 17.x] | ||
node-version: [16.x] | ||
# os: [ubuntu-latest, windows-latest] | ||
os: [ubuntu-latest] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: yarn install | ||
# - run: npm test | ||
|
||
publish: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
needs: [quality] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: yarn install | ||
- run: yarn run build | ||
- name: Semantic Release | ||
run: | | ||
yarn add -D semantic-release@^19.0.5 \ | ||
"@semantic-release/changelog" \ | ||
"@semantic-release/commit-analyzer" \ | ||
"@semantic-release/github" \ | ||
"@semantic-release/release-notes-generator" | ||
npx semantic-release | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_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,13 @@ | ||
.DS_Store | ||
.vite-ssg-dist | ||
.vite-ssg-temp | ||
*.local | ||
dist | ||
dist-ssr | ||
node_modules | ||
.pnpm-store/ | ||
.idea/ | ||
*.log | ||
server/media | ||
server/*.sqlite3 | ||
__pycache__ |
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 @@ | ||
shamefully-hoist=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,17 @@ | ||
{ | ||
"recommendations": [ | ||
"misterJ.vue-volar-extention-pack", | ||
"lokalise.i18n-ally", | ||
"antfu.iconify", | ||
"dbaeumer.vscode-eslint", | ||
"csstools.postcss", | ||
"bradlc.vscode-tailwindcss", | ||
"formulahendry.auto-close-tag", | ||
"formulahendry.auto-rename-tag", | ||
"streetsidesoftware.code-spell-checker", | ||
"streetsidesoftware.code-spell-checker-spanish", | ||
"anseki.vscode-color", | ||
"eg2.vscode-npm-script", | ||
"redhat.vscode-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,24 @@ | ||
{ | ||
"cSpell.words": [ | ||
"Vitesse", | ||
"vmodel" | ||
], | ||
"i18n-ally.keystyle": "nested", | ||
"i18n-ally.localesPaths": [ | ||
"locales", | ||
"src/locales" | ||
], | ||
"i18n-ally.sortKeys": true, | ||
"prettier.enable": false, | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"files.associations": { | ||
"*.css": "postcss" | ||
}, | ||
"editor.formatOnSave": false, | ||
"i18n-ally.sourceLanguage": "en", | ||
"vite.host": "0.0.0.0", | ||
"vite.port": 9090 | ||
} |
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,19 @@ | ||
FROM node:16.13.1 | ||
|
||
ARG user=fancy-crud | ||
ARG uid=1000 | ||
ARG gid=1000 | ||
|
||
RUN userdel -r node | ||
RUN addgroup --gid $gid ${user} | ||
RUN adduser --disabled-password --gecos '' --uid $uid --gid $gid ${user} | ||
|
||
USER ${user} | ||
|
||
RUN mkdir -p /home/${user}/${user} | ||
|
||
WORKDIR /home/${user}/${user} | ||
|
||
COPY --chown=${user}:${user} . . | ||
|
||
CMD [ "./setup.sh" ] |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 Christopher Flores | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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 @@ | ||
# ⚠⚠ We're making updates in the documentation ⚠⚠ |
Oops, something went wrong.