Skip to content

Commit

Permalink
Merge pull request #9 from moiri-gamboni/update
Browse files Browse the repository at this point in the history
Add multilingual posts and update packages
  • Loading branch information
moiri-gamboni authored Feb 6, 2024
2 parents fc9c9db + 4f9250e commit 8b95fba
Show file tree
Hide file tree
Showing 4,261 changed files with 50,857 additions and 1,307,017 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 11 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
on: push
on:
push:
branches:
- main
name: Deploy with FTP on push
jobs:
web-deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Get latest code
uses: actions/checkout@v3

uses: actions/checkout@v4
with:
submodules: 'true'
- name: Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.ftp_server }}
username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }}
local-dir: './server/app/public/'
local-dir: './server/app/public/wp-content/'
server-dir: ${{ secrets.server_dir }}
log-level: 'standard'
exclude: |
/uploads/
index.php
7 changes: 7 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[submodule "server/app/public/wp-content/themes/blank"]
path = server/app/public/wp-content/themes/blank
url = [email protected]:moiri-gamboni/wp-blank-theme.git
[submodule "server/app/public/wp-content/plugins/wp-graphql-polylang"]
path = server/app/public/wp-content/plugins/wp-graphql-polylang
url = https://github.com/valu-digital/wp-graphql-polylang.git
branch = stable
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"**/.pnp.*": true
},
"eslint.nodePath": "client/.yarn/sdks",
"prettier.prettierPath": "client/.yarn/sdks/prettier/index.js",
"prettier.prettierPath": "client/.yarn/sdks/prettier/index.cjs",
"typescript.tsdk": "client/.yarn/sdks/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"prettier.ignorePath": "client/.prettierignore",
Expand Down
30 changes: 30 additions & 0 deletions client/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended-type-checked',
'plugin:@typescript-eslint/stylistic-type-checked',
'next/core-web-vitals',
'prettier',
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: true,
tsconfigRootDir: '__dirname',
},
plugins: ['@typescript-eslint'],
root: true,
overrides: [
{
files: ['*.js', '*.cjs'],
extends: ['plugin:@typescript-eslint/disable-type-checked'],
},
],
rules: {
'@typescript-eslint/prefer-nullish-coalescing': 'off',
},
settings: {
next: {
rootDir: 'client/',
},
},
}
25 changes: 0 additions & 25 deletions client/.eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts

# Yarn Zero-Installs
# yarn
.pnp.*
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
Expand Down
1 change: 0 additions & 1 deletion client/.husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh"

cd client
yarn build
yarn lint-staged
5 changes: 5 additions & 0 deletions client/.husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

cd client
yarn build
2 changes: 1 addition & 1 deletion client/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.16.0
20.11.0
24,399 changes: 0 additions & 24,399 deletions client/.pnp.cjs

This file was deleted.

Loading

0 comments on commit 8b95fba

Please sign in to comment.