Skip to content

Commit

Permalink
Premium ⇒ OSS
Browse files Browse the repository at this point in the history
  • Loading branch information
polosson committed May 8, 2024
1 parent e63674e commit 8b47c28
Show file tree
Hide file tree
Showing 1,011 changed files with 78,938 additions and 30,990 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on : ubuntu-latest
defaults : { run: { working-directory: ./client }}
steps :
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with: { node-version: '16' }
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '18' }
- run: yarn install --non-interactive --pure-lockfile
- run: yarn lint:js --max-warnings 0 --color

Expand All @@ -21,9 +21,9 @@ jobs:
runs-on : ubuntu-latest
defaults : { run: { working-directory: ./client }}
steps :
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with: { node-version: '16' }
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '18' }
- run: yarn install --non-interactive --pure-lockfile
- run: yarn lint:scss --max-warnings 0 --color

Expand All @@ -32,9 +32,9 @@ jobs:
runs-on : ubuntu-latest
defaults : { run: { working-directory: ./client }}
steps :
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with: { node-version: '16' }
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '18' }
- run: yarn install --non-interactive --pure-lockfile
- run: yarn check-types

Expand All @@ -43,9 +43,9 @@ jobs:
runs-on : ubuntu-latest
defaults : { run: { working-directory: ./client }}
steps :
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with: { node-version: '16' }
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '18' }
- run: yarn install --non-interactive --pure-lockfile
- run: yarn test --colors --coverage --passWithNoTests

Expand All @@ -54,11 +54,11 @@ jobs:
runs-on : ubuntu-latest
defaults : { run: { working-directory: ./server }}
steps :
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version : 8.0
extensions : dom, mbstring, pdo, intl, simplexml
php-version : 8.1
extensions : dom, mbstring, pdo, intl-74.2, simplexml
coverage : none
- run: composer install --no-interaction --no-progress
- run: composer lint
Expand All @@ -68,11 +68,11 @@ jobs:
runs-on : ubuntu-latest
defaults : { run: { working-directory: ./server }}
steps :
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version : 8.0
extensions : dom, mbstring, pdo, intl, simplexml
php-version : 8.1
extensions : dom, mbstring, pdo, intl-74.2, simplexml
coverage : none
- run: composer install --no-interaction --no-progress
- run: composer phpstan
Expand All @@ -88,7 +88,7 @@ jobs:
DB_PORT: 3306
strategy:
matrix:
php: [8.0, 8.1]
php: [8.1, 8.2, 8.3]
defaults: { run: { working-directory: ./server }}
services:
mysql:
Expand All @@ -100,11 +100,11 @@ jobs:
- 3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version : ${{ matrix.php }}
extensions : dom, mbstring, pdo, intl, simplexml
extensions : dom, mbstring, pdo, intl-74.2, simplexml
coverage : xdebug
- run: composer install --no-interaction --no-progress
- run: ./vendors/bin/phpunit -d --without-creating-snapshots
Expand Down
29 changes: 29 additions & 0 deletions .resources/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions .resources/logo-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions .resources/logo.svg

This file was deleted.

2 changes: 1 addition & 1 deletion bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ done

VERSION="${VERSION_NUMBER}"

releaseName="Robert2-${VERSION}"
releaseName="Loxya-${VERSION}"
distFolder="./dist/${releaseName}"

# - Header message
Expand Down
28 changes: 24 additions & 4 deletions client/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
project: './tsconfig.json',
tsconfigRootDir: __dirname,
babelOptions: {
configFile: './babel.config.js',
configFile: require.resolve('./babel.config.js'),
},
},

Expand All @@ -32,12 +32,17 @@ module.exports = {
{
files: ['**/locale/**/*'],
rules: {
'quotes': ['off'],
'@stylistic/js/quotes': ['off'],
'@stylistic/ts/quotes': ['off'],
'global-require': ['off'],
},
},
{
files: ['**/tests/**/*', '**/__tests__/*', '**/*.spec.*'],
files: [
'**/tests/**/*',
'**/__tests__/*',
'**/*.spec.*',
],
env: { jest: true },
settings: {
'import/resolver': {
Expand Down Expand Up @@ -73,10 +78,25 @@ module.exports = {
],
extends: '@pulsanova/node',
},
// - Autorise les imports cycliques dans les stores / fixtures (schemas Zod).
{
files: [
'**/stores/api/*',
'**/stores/api/**/*',
'**/tests/fixtures/**/*',
],
rules: {
'import/no-cycle': ['off'],
},
},
// - Autorise le `snake_case` dans les types d'API vu que pour le moment
// celle-ci accepte et retourne uniquement sous ce format.
{
files: ['**/stores/api/*.ts', '**/stores/api/**/*.ts'],
files: [
'**/stores/api/*.ts',
'**/stores/api/**/*.ts',
'**/tests/fixtures/**/*.ts',
],
rules: {
'@typescript-eslint/naming-convention': [
'error',
Expand Down
4 changes: 2 additions & 2 deletions client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ node_modules/
/dist/
/tests/coverage

# - Logs
# - Logs.
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# - Fichiers locaux d'environnement
# - Fichiers locaux d'environnement.
.env.local
.env.*.local
3 changes: 2 additions & 1 deletion client/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
'use strict';

module.exports = {
compact: false,
presets: [
'vca-jsx',
'@vue/babel-preset-app',
'@vue/cli-plugin-babel/preset',
'@babel/preset-typescript',
],
};
Loading

0 comments on commit 8b47c28

Please sign in to comment.