Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit f72bf12

Browse files
committed
Webpacker: There is no yarn integrity check anymore
Adopt changes from Webpacker 5.1.0 rails/webpacker#2518
1 parent aeba24d commit f72bf12

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

.github/workflows/push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
${{ runner.os }}-yarn-
6666
6767
- name: Install Node modules
68-
run: yarn install
68+
run: yarn install --frozen-lockfile
6969

7070
- name: Run Tests
7171
env:

config/environments/development.rb

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
Rails.application.configure do
22
# Settings specified here will take precedence over those in config/application.rb.
33

4-
# Verifies that versions and hashed value of the package contents in the project's package.json
5-
config.webpacker.check_yarn_integrity = true
6-
74
# In the development environment your application's code is reloaded on
85
# every request. This slows down response time but is perfect for development
96
# since you don't have to restart the web server when you make code changes.

config/webpacker.yml

-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ default: &default
66
public_root_path: public
77
public_output_path: packs
88
cache_path: tmp/cache/webpacker
9-
check_yarn_integrity: false
109
webpack_compile_output: false
1110

1211
# Additional paths webpack should lookup modules
@@ -52,9 +51,6 @@ development:
5251
<<: *default
5352
compile: true
5453

55-
# Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules
56-
check_yarn_integrity: true
57-
5854
# Reference: https://webpack.js.org/configuration/dev-server/
5955
dev_server:
6056
https: false

0 commit comments

Comments
 (0)