Skip to content

Commit

Permalink
Merge pull request #30 from BecauseOfProg/nuxt2
Browse files Browse the repository at this point in the history
refactor: Nuxt 2, Nuxt content
  • Loading branch information
Gildas-GH authored Sep 18, 2023
2 parents 0c7b26d + 0bfaee2 commit 10295b8
Show file tree
Hide file tree
Showing 413 changed files with 28,914 additions and 6,021 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
21 changes: 21 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
root: true,
env: {
browser: true,
node: true
},
parserOptions: {
parser: '@babel/eslint-parser',
requireConfigFile: false
},
extends: [
'@nuxtjs',
'plugin:nuxt/recommended'
],
plugins: [
],
// add your custom rules here
rules: {
'vue/multi-word-component-names': 'off'
}
}
33 changes: 16 additions & 17 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,23 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: '16.x'
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
- run: npm ci
- run: npm run generate
- uses: milanmk/actions-file-deployer@master
with:
remote-host: ${{ secrets.DEPLOY_HOST }}
remote-user: ${{ secrets.DEPLOY_USER }}
remote-password: ${{ secrets.DEPLOY_PASSWORD }}
remote-port: ${{ secrets.DEPLOY_PORT }}
remote-path: "/www"
local-path: "./dist/"
sync: 'full'

- run: npm install
- run: npm run build
- uses: milanmk/actions-file-deployer@master
with:
remote-host: ${{ secrets.DEPLOY_HOST }}
remote-user: ${{ secrets.DEPLOY_USER }}
remote-password: ${{ secrets.DEPLOY_PASSWORD }}
remote-port: ${{ secrets.DEPLOY_PORT }}
remote-path: "/www"
local-path: "./dist/"
sync: 'full'
105 changes: 85 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,90 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
# Created by .ignore support plugin (hsz.mobi)
### Node template
# Logs
/logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# Nuxt generate
dist

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless

# IDE / Editor
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
*.local

# Build files
/components.d.ts

# Service worker
sw.*

# macOS
.DS_Store

# Vim swap files
*.swp
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
4 changes: 0 additions & 4 deletions .prettierrc

This file was deleted.

3 changes: 0 additions & 3 deletions Dockerfile

This file was deleted.

Loading

0 comments on commit 10295b8

Please sign in to comment.