From 53d924be0be27bb4f66ae8c6deafac57b524a92e Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Mon, 20 May 2024 20:07:17 +0300 Subject: [PATCH] fix build --- Gemfile.lock | 24 ++++++++++++------------ config/webpack/webpack.config.js | 4 ++-- package.json | 3 ++- yarn.lock | 11 +++++------ 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index fff500bb..c86a0438 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -115,7 +115,7 @@ GEM erubi (~> 1.4) parser (>= 2.4) smart_properties - bigdecimal (3.1.7) + bigdecimal (3.1.8) bindex (0.8.1) bootsnap (1.18.3) msgpack (~> 1.2) @@ -266,14 +266,14 @@ GEM openssl (>= 2.2.1) htmlentities (4.3.4) httpclient (2.8.3) - i18n (1.14.4) + i18n (1.14.5) concurrent-ruby (~> 1.0) image_processing (1.12.2) mini_magick (>= 4.9.5, < 5) ruby-vips (>= 2.0.17, < 3) io-console (0.7.2) - irb (1.12.0) - rdoc + irb (1.13.1) + rdoc (>= 4.0.0) reline (>= 0.4.2) jmespath (1.6.2) json (2.7.2) @@ -309,7 +309,7 @@ GEM mini_magick (4.12.0) mini_mime (1.1.5) mini_portile2 (2.8.6) - minitest (5.22.3) + minitest (5.23.0) msgpack (1.7.2) multi_json (1.15.0) multipart-post (2.4.0) @@ -327,12 +327,12 @@ GEM net-smtp (0.4.0) net-protocol nio4r (2.7.1) - nokogiri (1.16.4) + nokogiri (1.16.5) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.16.4-aarch64-linux) + nokogiri (1.16.5-aarch64-linux) racc (~> 1.4) - nokogiri (1.16.4-x86_64-linux) + nokogiri (1.16.5-x86_64-linux) racc (~> 1.4) oj (3.16.3) bigdecimal (>= 3.0) @@ -366,7 +366,7 @@ GEM public_suffix (5.0.5) puma (6.4.2) nio4r (~> 2.0) - racc (1.7.3) + racc (1.8.0) rack (3.0.11) rack-proxy (0.7.7) rack @@ -420,7 +420,7 @@ GEM redis-client (0.22.0) connection_pool regexp_parser (2.9.0) - reline (0.5.1) + reline (0.5.7) io-console (~> 0.5) representable (3.2.0) declarative (< 0.1.0) @@ -496,7 +496,7 @@ GEM rubyzip (>= 1.3.0) rubyzip (2.3.2) semantic_range (3.0.0) - shakapacker (7.2.3) + shakapacker (8.0.0) activesupport (>= 5.2) package_json rack-proxy (>= 0.6.1) @@ -559,7 +559,7 @@ GEM websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.6.13) + zeitwerk (2.6.14) PLATFORMS aarch64-linux diff --git a/config/webpack/webpack.config.js b/config/webpack/webpack.config.js index 8e6bc9a3..6d97e17d 100644 --- a/config/webpack/webpack.config.js +++ b/config/webpack/webpack.config.js @@ -1,8 +1,8 @@ -const { globalMutableWebpackConfig, merge } = require('shakapacker') +const { generateWebpackConfig, merge } = require('shakapacker') const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin const { VueLoaderPlugin } = require('vue-loader') -const configs = merge(globalMutableWebpackConfig, { +const configs = generateWebpackConfig({ resolve: { extensions: ['.css', '.scss', '.vue'] }, diff --git a/package.json b/package.json index 11e2b887..d24f8a09 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "postcss-loader": "^7.3.0", "sass": "^1.62.1", "sass-loader": "^13.2.2", - "shakapacker": "7.2.3", + "shakapacker": "8.0.0", "signature_pad": "^4.1.5", "snarkdown": "^2.0.0", "tailwindcss": "^3.3.2", @@ -42,6 +42,7 @@ "webpack-dev-server": "^4.15.0", "webpack-merge": "5" }, + "packageManager": "yarn@1.0", "version": "0.1.0", "scripts": { "eslint": "./node_modules/eslint/bin/eslint.js \"app/javascript/**/*.{js,vue}\" --fix" diff --git a/yarn.lock b/yarn.lock index 78938171..8993f984 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3126,7 +3126,7 @@ glob@7.1.6: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.1.3, glob@^7.2.0: +glob@^7.1.3: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -4882,12 +4882,11 @@ setprototypeof@1.2.0: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== -shakapacker@7.2.3: - version "7.2.3" - resolved "https://registry.yarnpkg.com/shakapacker/-/shakapacker-7.2.3.tgz#12613e8ca3139e47d42003f8d01846dea28f6c40" - integrity sha512-+qF74Y6+hEARqtsmJmBtdc2L0q6eXO21PlPsvtw6aqoxtqhM2VpCCDt51/5Cqnj/5IyEOEICZqStRCSO/q38hg== +shakapacker@8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/shakapacker/-/shakapacker-8.0.0.tgz#f29537c19078af7318758c92e7a1bca4cee96bdd" + integrity sha512-HCdpITzIKXzGEyUWQhKzPbpwwOsgTamaPH+0kXdhM59VQxZ3NWnT5cL3DlJdAT3sGsWCJskEl3eMkQlnh9DjhA== dependencies: - glob "^7.2.0" js-yaml "^4.1.0" path-complete-extname "^1.0.0"