diff --git a/.gitignore b/.gitignore index 2d74724c06f..1fcd67c7805 100644 --- a/.gitignore +++ b/.gitignore @@ -86,7 +86,7 @@ jspm_packages/ .pnp.* # OS X temporary files -.DS_Store/ +.DS_Store # IntelliJ IDEA project files; if you want to commit IntelliJ settings, this recipe may be helpful: # https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore diff --git a/.prettierignore b/.prettierignore index c7e341a5522..5f92ce14d67 100644 --- a/.prettierignore +++ b/.prettierignore @@ -90,7 +90,7 @@ jspm_packages/ .pnp.* # OS X temporary files -.DS_Store/ +.DS_Store # IntelliJ IDEA project files; if you want to commit IntelliJ settings, this recipe may be helpful: # https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore diff --git a/common/changes/@microsoft/rush/fix-DS_Store-ignore_2024-06-27-05-51.json b/common/changes/@microsoft/rush/fix-DS_Store-ignore_2024-06-27-05-51.json new file mode 100644 index 00000000000..7ec849c3035 --- /dev/null +++ b/common/changes/@microsoft/rush/fix-DS_Store-ignore_2024-06-27-05-51.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/rush", + "comment": "Remove the trailing slash in the `.DS_Store/` line in the `.gitignore` file generated by `rush init`. `.DS_Store` is a file, not a folder.", + "type": "none" + } + ], + "packageName": "@microsoft/rush" +} \ No newline at end of file diff --git a/common/changes/@rushstack/loader-raw-script/fix-DS_Store-ignore_2024-06-27-05-51.json b/common/changes/@rushstack/loader-raw-script/fix-DS_Store-ignore_2024-06-27-05-51.json new file mode 100644 index 00000000000..fa3b1d6ee40 --- /dev/null +++ b/common/changes/@rushstack/loader-raw-script/fix-DS_Store-ignore_2024-06-27-05-51.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/loader-raw-script", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/loader-raw-script" +} \ No newline at end of file diff --git a/libraries/rush-lib/assets/rush-init/[dot]gitignore b/libraries/rush-lib/assets/rush-init/[dot]gitignore index 2d74724c06f..1fcd67c7805 100644 --- a/libraries/rush-lib/assets/rush-init/[dot]gitignore +++ b/libraries/rush-lib/assets/rush-init/[dot]gitignore @@ -86,7 +86,7 @@ jspm_packages/ .pnp.* # OS X temporary files -.DS_Store/ +.DS_Store # IntelliJ IDEA project files; if you want to commit IntelliJ settings, this recipe may be helpful: # https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore diff --git a/webpack/loader-raw-script/.gitignore b/webpack/loader-raw-script/.gitignore deleted file mode 100644 index 7fbd6507339..00000000000 --- a/webpack/loader-raw-script/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -node_modules -.DS_Store -npm*.log -coverage -temp -lib -dist