From d29fbe3af7f6b66beb0d30126cc381a7c310654c Mon Sep 17 00:00:00 2001 From: Kayla Firestack Date: Sat, 12 Oct 2024 15:57:49 -0400 Subject: [PATCH] cleanup(.gitignore): import order from `phx.new` template --- .gitignore | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 0320a9459..21aeaf7b0 100644 --- a/.gitignore +++ b/.gitignore @@ -20,37 +20,34 @@ erl_crash.dump # Also ignore archive artifacts (built via "mix archive.build"). *.ez +# Temporary files, for example, from tests. +/tmp/ + # Ignore package tarball (built via "mix hex.build"). skate-*.tar -# Ignore Storybook Logs -build-storybook.log +# Ignore assets that are produced by build tools. +/priv/static/ +## New Phoenix Assets Location +/priv/static/assets -# Ignore Chromatic Logs -chromatic.log +# Ignore digested assets cache. +/priv/static/cache_manifest.json -# If NPM crashes, it generates a log, let's ignore it too. +# In case you use Node.js/npm, you want to ignore these. npm-debug.log - -# The directory NPM downloads your dependencies sources to. -node_modules - -# Since we are building assets from assets/, -# we ignore priv/static. You may want to comment -# this depending on your deployment strategy. -/priv/static/ - -# Files matching config/*.secret.exs pattern contain sensitive -# data and you should not commit them into version control. -# -# Alternatively, you may comment the line below and commit the -# secrets files as long as you replace their contents by environment -# variables. -/config/*.secret.exs +/assets/node_modules/ # Self signed certificates to access Skate over HTTPS when developing /priv/cert/selfsigned*.pem +# Ignore Storybook Logs +build-storybook.log +assets/build-storybook.log + +# Ignore Chromatic Logs +chromatic.log + # dev and test cache files for faster loading *.terms @@ -58,4 +55,3 @@ node_modules .envrc.private .DS_Store -assets/build-storybook.log