Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove JS build step and tooling #2233

Merged
merged 2 commits into from
Jun 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions .eslintrc

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
db.sqlite3
.DS_Store
__pycache__/
/assets/
/static/
/media/
GeoLite2-Country.mmdb
Expand Down
31 changes: 0 additions & 31 deletions .stylelintrc

This file was deleted.

3 changes: 0 additions & 3 deletions .therapist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ actions:
include: "*.py"
exclude: "docs/"

yarn-audit:
run: yarn audit

missing-migirations:
include: "*.py"
run: |
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ COPY ./poetry.lock /app/poetry.lock
RUN poetry install --no-dev --no-root --no-interaction --verbose

COPY . /app
RUN NODE_ENV=production yarn build && \
DJANGO_CONFIGURATION=Build python ./manage.py collectstatic --no-input && \
RUN DJANGO_CONFIGURATION=Build python ./manage.py collectstatic --no-input && \
mkdir -p media && chown app:app media

USER app
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile.development
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ RUN poetry install --no-root --extras docs

COPY . /app

RUN NODE_ENV=production yarn build && \
DJANGO_CONFIGURATION=Build python ./manage.py collectstatic --no-input && \
RUN DJANGO_CONFIGURATION=Build python ./manage.py collectstatic --no-input && \
mkdir -p media

ENV DJANGO_SETTINGS_MODULE=normandy.settings \
Expand Down
183 changes: 183 additions & 0 deletions assets/bundles/console-log.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/bundles/console-log.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading