Make WordPress Core

source: trunk/.gitignore @ 54289

Last change on this file since 54289 was 54289, checked in by gziolo, 22 months ago

Build: Improve how combined assets are generated

Allows to revert changes applied in [54277] - temporary workaround for the failing Test NPM CI check on Windows.

Improvements included:

  • generate combined asset files for both production and development
  • store in the repository only the production version of the combined assets for packages, we use everything else only in development
  • to make unit tests work, ensure that they ignore react fast refresh and use the production version of combined assets that are present in the source code

Props bernhard-reiter, jsnajdr, clorith, wildworks.
Fixes #56615.

  • Property svn:eol-style set to native
File size: 2.6 KB
Line 
1# gitignore file for WordPress Core
2
3# Configuration files with possibly sensitive information
4wp-config.php
5wp-tests-config.php
6.htaccess
7
8# Files and folders related to build/test tools
9.phpunit.result.cache
10/phpunit.xml
11/.phpcs.xml
12/phpcs.xml
13.cache/*
14/tests/phpunit/data/plugins/wordpress-importer
15/tests/phpunit/data/.trac-ticket-cache*
16/tests/qunit/compiled.html
17/src/.wp-tests-version
18/node_modules
19/npm-debug.log
20/build
21/tests/phpunit/build
22/wp-cli.local.yml
23/jsdoc
24/composer.lock
25/vendor
26/src/wp-admin/css/*.min.css
27/src/wp-admin/css/*-rtl.css
28/src/wp-admin/css/colors/*/*.css
29/src/wp-admin/js
30/src/wp-includes/assets/*
31!/src/wp-includes/assets/script-loader-packages.min.php
32/src/wp-includes/js
33/src/wp-includes/css/dist
34/src/wp-includes/css/*.min.css
35/src/wp-includes/css/*-rtl.css
36/src/wp-includes/blocks/**/*.css
37/src/wp-includes/blocks/**/*.js
38/src/wp-includes/blocks/**/*.js.map
39/packagehash.txt
40/artifacts
41
42# Files and folders that get created in wp-content
43/src/wp-content/blogs.dir
44/src/wp-content/languages
45/src/wp-content/mu-plugins
46/src/wp-content/plugins
47/src/wp-content/themes/*
48!/src/wp-content/themes/twentyten
49!/src/wp-content/themes/twentyeleven
50!/src/wp-content/themes/twentytwelve
51!/src/wp-content/themes/twentythirteen
52!/src/wp-content/themes/twentyfourteen
53!/src/wp-content/themes/twentyfifteen
54!/src/wp-content/themes/twentysixteen
55!/src/wp-content/themes/twentyseventeen
56!/src/wp-content/themes/twentynineteen
57!/src/wp-content/themes/twentytwenty
58!/src/wp-content/themes/twentytwentyone
59!/src/wp-content/themes/twentytwentytwo
60!/src/wp-content/themes/twentytwentythree
61/src/wp-content/upgrade
62/src/wp-content/uploads
63/src/wp-content/advanced-cache.php
64/src/wp-content/blog-deleted.php
65/src/wp-content/blog-inactive.php
66/src/wp-content/blog-suspended.php
67/src/wp-content/db.php
68/src/wp-content/db-error.php
69/src/wp-content/debug.log
70/src/wp-content/fatal-error-handler.php
71/src/wp-content/install.php
72/src/wp-content/maintenance.php
73/src/wp-content/object-cache.php
74/src/wp-content/php-error.php
75/src/wp-content/sunrise.php
76
77# Files and folders relating to wp-content build tools.
78/src/wp-content/themes/twentynineteen/node_modules
79/src/wp-content/themes/twentytwentyone/node_modules
80/src/wp-content/themes/twentytwenty/node_modules
81
82# Operating system specific files
83.DS_Store
84
85# Ignore other .gitignore files to allow for personal customizations
86.gitignore
87
88# Files related to applying patches
89*.rej
90*.orig
91*.patch
92*.diff
93.svn
94!/src/js/_enqueues/vendor
95
96# Files for local environment config
97/docker-compose.override.yml
98
99# Visual regression test diffs
100tests/visual-regression/specs/__image_snapshots__
Note: See TracBrowser for help on using the repository browser.