From c242a9932cbd8bb3e4274da453c71f7ecb4749f3 Mon Sep 17 00:00:00 2001 From: "geo-ghci-int[bot]" <146321879+geo-ghci-int[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2025 09:44:55 +0000 Subject: [PATCH] Update from base branch From the artifact of the previous workflow run --- .github/publish.yaml | 9 +++++++++ .pre-commit-config.yaml | 7 ++++++- ui/tsconfig.json | 3 +-- ui/vite.config.js | 5 ----- 4 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 .github/publish.yaml diff --git a/.github/publish.yaml b/.github/publish.yaml new file mode 100644 index 000000000..7bf783982 --- /dev/null +++ b/.github/publish.yaml @@ -0,0 +1,9 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/tag-publish/0.13.3/tag_publish/schema.json + +docker: + images: + - name: camptocamp/geomapfishdemo-config + - name: camptocamp/geomapfishdemo-custom + +dispatch: + - {} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 63d178eb9..7f7eb8c34 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -148,7 +148,12 @@ repos: rev: 0.1.0 hooks: - id: jsonschema-validator - files: ^ci/config\.yaml$ + files: |- + (?x)^( + \.github/publish\.yaml + |\.github/ghci\.yaml + |CONST_create_template/ci/config\.yaml + )$ - repo: https://github.com/renovatebot/pre-commit-hooks rev: 37.428.1 hooks: diff --git a/ui/tsconfig.json b/ui/tsconfig.json index ddcbfa47d..9b4828971 100644 --- a/ui/tsconfig.json +++ b/ui/tsconfig.json @@ -6,8 +6,7 @@ "ngeo/*": ["node_modules/ngeo/distlib/src"], "gmf/*": ["node_modules/ngeo/distlib/src"], "gmfapi/*": ["node_modules/ngeo/distlib/srcapi"], - "api/*": ["node_modules/ngeo/distlib/api"], - "jquery-ui/datepicker": ["node_modules/jquery-ui/ui/widgets/datepicker"] // For angular-ui-date + "api/*": ["node_modules/ngeo/distlib/api"] }, "target": "ES2020", diff --git a/ui/vite.config.js b/ui/vite.config.js index e2ee291a6..c24d1d2da 100644 --- a/ui/vite.config.js +++ b/ui/vite.config.js @@ -48,7 +48,6 @@ export default defineConfig({ 'gmf': path.resolve(__dirname, 'node_modules/ngeo/distlib/src'), 'gmfapi': path.resolve(__dirname, 'node_modules/ngeo/distlib/srcapi'), 'api': path.resolve(__dirname, 'node_modules/ngeo/distlib/api'), - 'jquery-ui/datepicker': path.resolve(__dirname, 'empty.js'), // For angular-ui-date // Save about of 45k os bandwidth (gzipped) by unworking ignoring import done by a script downloaded from a CDN. 'jquery-datetimepicker/jquery.datetimepicker': path.resolve(__dirname, 'empty.js'), 'bootstrap/js/src/popover': path.resolve(__dirname, 'empty.js'), @@ -62,10 +61,6 @@ export default defineConfig({ 'jquery-ui/ui/widgets/resizable': path.resolve(__dirname, 'empty.js'), 'jquery-ui/ui/widgets/slider': path.resolve(__dirname, 'empty.js'), 'jquery-ui/ui/widgets/sortable': path.resolve(__dirname, 'empty.js'), - 'jquery-ui/ui/i18n/datepicker-fr': path.resolve(__dirname, 'empty.js'), - 'jquery-ui/ui/i18n/datepicker-en-GB': path.resolve(__dirname, 'empty.js'), - 'jquery-ui/ui/i18n/datepicker-de': path.resolve(__dirname, 'empty.js'), - 'jquery-ui/ui/i18n/datepicker-it': path.resolve(__dirname, 'empty.js'), 'jquery-ui': path.resolve(__dirname, 'empty.js'), }, },