Skip to content

Commit

Permalink
Update dep + replace validator.js by just-validate
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentPoinsaut committed Nov 15, 2024
1 parent fd53ead commit c287119
Show file tree
Hide file tree
Showing 11 changed files with 369 additions and 273 deletions.
7 changes: 7 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"words": [
"autoloader",
"azuretools",
"Boostrap",
"CEMES",
Expand All @@ -10,12 +11,18 @@
"devcontainers",
"ecmel",
"florent",
"fontawesome",
"fontsource",
"fortawesome",
"gitlab",
"Ikoula",
"lato",
"matomo",
"montserrat",
"openssh",
"Poinsaut",
"redhat",
"startbootstrap",
"ymotongpoo"
]
}
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MAILER_DSN=smtp://user:pass@smtp.example.com:25
MAILER_DSN=smtp://user:pass@smtp.example.com:25
6 changes: 3 additions & 3 deletions bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ fi

cp -r src public
gzip -c public/sitemap.xml > public/sitemap.xml.gz
cp -pr ./node_modules/startbootstrap-freelancer/dist public/startbootstrap-freelancer
cp ./node_modules/validate.js/validate.min.js ./node_modules/bootstrap/dist/js/bootstrap.bundle.min.js public/js/
cp ./node_modules/@fortawesome/fontawesome-free/js/all.min.js public/js/fontawesome-all.min.js
cp -pr node_modules/startbootstrap-freelancer/dist public/startbootstrap-freelancer
cp node_modules/just-validate/dist/just-validate.production.min.js node_modules/bootstrap/dist/js/bootstrap.bundle.min.js public/js/
cp node_modules/@fortawesome/fontawesome-free/js/all.min.js public/js/fontawesome-all.min.js

mkdir -p public/css/font/files

Expand Down
20 changes: 20 additions & 0 deletions bin/update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env sh
# Copyright (C) 2021-2024 Solution Libre
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

cd "$(dirname "$0")/.." || exit 1

composer update
npm update
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "solution-libre/website",
"version": "1.1.0",
"version": "1.3.0",
"description": "Solution Libre's website",
"type": "project",
"require": {
"symfony/mailer": "^6.3",
"symfony/dotenv": "^6.3"
"symfony/mailer": "^6.4",
"symfony/dotenv": "^6.4",
"symfony/http-foundation": "^6.4"
},
"license": "AGPL-3.0-or-later",
"autoload": {
Expand Down
Loading

0 comments on commit c287119

Please sign in to comment.