[wp-trac] [WordPress Trac] #59197: `npm run build:dev` creates CSS files in the blocks folder of an SVN checkout. (was: `npm run grunt build:dev` creates CSS files in the blocks folder of an SVN checkout.)

WordPress Trac noreply at wordpress.org
Thu Aug 24 20:53:42 UTC 2023


#59197: `npm run build:dev` creates CSS files in the blocks folder of an SVN
checkout.
---------------------------+----------------------------
 Reporter:  peterwilsoncc  |       Owner:  peterwilsoncc
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  6.3.2
Component:  Editor         |     Version:  6.3
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+----------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => assigned


Old description:

> After running `npm run grunt build:dev` on trunk and the 6.3 branch, a
> number of uncommitted CSS files are created that are not required for
> commit.
>
> I think the props list for SVN needs to be updated to ignore the files.
> After running the command, svn status shows:
>
> {{{
> $ svn status
> ?       src/wp-includes/blocks/details/editor-rtl.css
> ?       src/wp-includes/blocks/details/editor-rtl.min.css
> ?       src/wp-includes/blocks/details/editor.css
> ?       src/wp-includes/blocks/details/editor.min.css
> ?       src/wp-includes/blocks/details/style-rtl.css
> ?       src/wp-includes/blocks/details/style-rtl.min.css
> ?       src/wp-includes/blocks/details/style.css
> ?       src/wp-includes/blocks/details/style.min.css
> ?       src/wp-includes/blocks/footnotes/style-rtl.css
> ?       src/wp-includes/blocks/footnotes/style-rtl.min.css
> ?       src/wp-includes/blocks/footnotes/style.css
> ?       src/wp-includes/blocks/footnotes/style.min.css
> }}}

New description:

 After running `npm run build:dev` on trunk and the 6.3 branch, a number of
 uncommitted CSS files are created that are not required for commit.

 I think the props list for SVN needs to be updated to ignore the files.
 After running the command, svn status shows:

 {{{
 $ svn status
 ?       src/wp-includes/blocks/details/editor-rtl.css
 ?       src/wp-includes/blocks/details/editor-rtl.min.css
 ?       src/wp-includes/blocks/details/editor.css
 ?       src/wp-includes/blocks/details/editor.min.css
 ?       src/wp-includes/blocks/details/style-rtl.css
 ?       src/wp-includes/blocks/details/style-rtl.min.css
 ?       src/wp-includes/blocks/details/style.css
 ?       src/wp-includes/blocks/details/style.min.css
 ?       src/wp-includes/blocks/footnotes/style-rtl.css
 ?       src/wp-includes/blocks/footnotes/style-rtl.min.css
 ?       src/wp-includes/blocks/footnotes/style.css
 ?       src/wp-includes/blocks/footnotes/style.min.css
 }}}

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59197#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list