Merge pull request #31335 from woocommerce/add/cleanup

Add/cleanup
This commit is contained in:
Claudio Sanches 2021-11-30 20:32:57 -03:00 committed by GitHub
commit ac799921a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 9 deletions

4
.gitignore vendored
View File

@ -40,10 +40,6 @@ vendor/
# TypeScript files
tsconfig.tsbuildinfo
# WooCommerce Plugin built files
plugins/woocommerce/assets/css/
plugins/woocommerce/assets/js/
# wp-env config
.wp-env.override.json

View File

@ -34,9 +34,8 @@ The port # might be different depending on your `.wp-env.override.json` configur
Once you have WP-ENV container up, we need to run a few commands to start developing.
1. Run `pnpm install` to install npm modules.
2. Navigate to Core WooCommerce `cd plugins/woocommerce`.
3. Run `pnpm run build:core`
4. Run `composer install` to install PHP dependencies.
2. Run `pnpm nx build woocommerce` to build core.
3. Run `pnpm nx composer-install woocommerce` to install PHP dependencies.
If you don't have Composer available locally, run the following command. It runs the command in WP-ENV container.

View File

@ -8,10 +8,12 @@ none
.sass-cache/
# All CSS
/assets/css/*
/assets/css/**
/assets/css/*.css
# All JS
/assets/js/*
/assets/js/**
/assets/js/*.js
# Behat/CLI Tests
tests/cli/installer

View File

View File