Skip to content

Commit

Permalink
DEV: Remove JS depedencies in dummy app
Browse files Browse the repository at this point in the history
Why this change?

We have been getting Github vulnerability alerts due to the JS
dependencies in the dummy app. However, there is no way to configure
dependabot to exclude scanning certain directories at this moment. See
dependabot/dependabot-core#4364.

At such, we will just nuke the JS dependencies from the dummy app to
stop the noise.
  • Loading branch information
tgxworld committed Sep 5, 2023
1 parent d0d4d91 commit d429676
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 7,125 deletions.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_active_record:
@ACTIVE_RECORD=1 bundle exec rspec --tag type:active_record ${RSPEC_PATH}

setup_dummy_rails_server:
@cd spec/support/dummy_app && BUNDLE_GEMFILE=Gemfile bundle install --quiet && yarn install && BUNDLE_GEMFILE=Gemfile RAILS_ENV=production $(BUNDLER_BIN) exec rails db:create db:migrate db:seed
@cd spec/support/dummy_app && BUNDLE_GEMFILE=Gemfile bundle install --quiet && BUNDLE_GEMFILE=Gemfile RAILS_ENV=production $(BUNDLER_BIN) exec rails db:create db:migrate db:seed

start_dummy_rails_server:
@cd spec/support/dummy_app && BUNDLE_GEMFILE=Gemfile SECRET_KEY_BASE=somekey bundle exec unicorn -c config/unicorn.conf.rb -D -E production
Expand Down
72 changes: 0 additions & 72 deletions spec/support/dummy_app/babel.config.js

This file was deleted.

5 changes: 0 additions & 5 deletions spec/support/dummy_app/config/webpack/development.js

This file was deleted.

3 changes: 0 additions & 3 deletions spec/support/dummy_app/config/webpack/environment.js

This file was deleted.

5 changes: 0 additions & 5 deletions spec/support/dummy_app/config/webpack/production.js

This file was deleted.

5 changes: 0 additions & 5 deletions spec/support/dummy_app/config/webpack/test.js

This file was deleted.

12 changes: 0 additions & 12 deletions spec/support/dummy_app/package.json

This file was deleted.

12 changes: 0 additions & 12 deletions spec/support/dummy_app/postcss.config.js

This file was deleted.

Loading

0 comments on commit d429676

Please sign in to comment.