Skip to content

Commit

Permalink
Remove webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-hank committed Feb 24, 2023
1 parent 9e50e52 commit 545f423
Show file tree
Hide file tree
Showing 16 changed files with 13 additions and 7,880 deletions.
14 changes: 13 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
FROM ruby:2.7.1

RUN apt-get update \
&& apt-get -y install git build-essential patch ruby-dev zlib1g-dev liblzma-dev vim nano tmux nodejs npm
&& apt-get -y install git build-essential patch ruby-dev zlib1g-dev liblzma-dev vim nano tmux

# Install node
RUN mkdir /usr/local/nvm
ENV NVM_DIR /usr/local/nvm
ENV NODE_VERSION 12.22.12
RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash \
&& . $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION \
&& nvm alias default $NODE_VERSION \
&& nvm use default

ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
RUN npm install --global yarn

RUN mkdir /app
Expand Down
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ gem 'pg'
gem 'rack-mini-profiler', require: ['enable_rails_patches', 'rack-mini-profiler']
gem 'rails', '~> 7.0'
gem 'sprockets-rails'
gem 'webpacker'
gem 'will_paginate'

group :assets do
Expand Down
9 changes: 0 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,6 @@ GEM
rack (2.2.6.2)
rack-mini-profiler (3.0.0)
rack (>= 1.2.0)
rack-proxy (0.7.4)
rack
rack-test (2.0.2)
rack (>= 1.3)
rails (7.0.4.2)
Expand Down Expand Up @@ -251,7 +249,6 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
semantic_range (3.0.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
Expand Down Expand Up @@ -288,11 +285,6 @@ GEM
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
webpacker (5.4.3)
activesupport (>= 5.2)
rack-proxy (>= 0.6.1)
railties (>= 5.2)
semantic_range (>= 2.3.0)
websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
Expand Down Expand Up @@ -333,7 +325,6 @@ DEPENDENCIES
uglifier
web-console
webmock
webpacker
will_paginate

BUNDLED WITH
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ A dirt-simple URL shortener.
## System requirements
* ruby 2.7.x
* bundler
* yarn
* postgres 9.x - 14.x

## Development
Expand Down Expand Up @@ -33,7 +32,6 @@ Test with `rails test`.
* Every time
* `git pull`
* `bundle install`
* `yarn install`
* `rails assets:clobber && rails assets:precompile` if assets changes
* `rails db:migrate` if db schema changes
* `touch tmp/restart.txt`
Expand Down
18 changes: 0 additions & 18 deletions app/javascript/packs/application.js

This file was deleted.

72 changes: 0 additions & 72 deletions babel.config.js

This file was deleted.

19 changes: 0 additions & 19 deletions bin/webpack

This file was deleted.

19 changes: 0 additions & 19 deletions bin/webpack-dev-server

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

96 changes: 0 additions & 96 deletions config/webpacker.yml

This file was deleted.

8 changes: 0 additions & 8 deletions package.json

This file was deleted.

12 changes: 0 additions & 12 deletions postcss.config.js

This file was deleted.

Loading

0 comments on commit 545f423

Please sign in to comment.