woocommerce/plugins/woocommerce-admin/bin/starter-pack
Chi-Hsuan Huang 86fc8b62e5 Switch to pnpm (https://github.com/woocommerce/woocommerce-admin/pull/8349)
* Add pnpm-workspace.yaml

* Add missing dependencies & replace file: with workspace:* in
package.json

* Replace "npm" with "pnpm"

* Replace "npx" with "pnpx"

* Remove package-lock.json

* Add pnpm setup action to github workflows

* Update webpack babel exclude path

* Upgrade woo e2e and fix e2e test command

Update e2e.yml

Use pnpm run e2e:docker-up in e2e.yml

* Remove unused docker-compose.yaml

* Replace lerna with pnpm commands

Update publish commands

* Exclude _locutus_shared_bc.js in babel.config.js

* Add .npmrc to set enable-pre-post-scripts=true by default

* Fix storybook babel config

Update babel.config.js

* Add changelog

* Update pnpm-lock.yaml

* Replace pnpx with pnpm exec

* Update pnpm-lock.yaml

* Remove js-tests/package-lock.json

* Fix @woocommerce/tracks -> workspace:*

* Update pnpm-lock.yaml

* Add @woocommerce/experimental to onboarding/package.json

* Add "@woocommerce/component" to onboarding/package.json

* Update pnpm-lock.yaml

* Use || instead of && for "test:watch"

Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>

* Fix packages/number "clean" command

* Add root: true to .eslintrc.js to enforce it to use the root config file

* Exclude packages/**/node_modules from babel transpiling

* Fix js-tests build config

Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
2022-03-04 12:01:16 +08:00
..
src Fix Starter Pack styles (https://github.com/woocommerce/woocommerce-admin/pull/3776) 2020-02-28 09:52:59 +13:00
._eslintrc.js Package builds: avoid building dependency-extraction-webpack-plugin (https://github.com/woocommerce/woocommerce-admin/pull/5598) 2020-11-12 22:31:18 +13:00
._gitignore Add starter pack script (https://github.com/woocommerce/woocommerce-admin/pull/3403) 2019-12-16 11:59:35 +13:00
._prettierrc.json Package builds: avoid building dependency-extraction-webpack-plugin (https://github.com/woocommerce/woocommerce-admin/pull/5598) 2020-11-12 22:31:18 +13:00
README.md Switch to pnpm (https://github.com/woocommerce/woocommerce-admin/pull/8349) 2022-03-04 12:01:16 +08:00
_README.md Switch to pnpm (https://github.com/woocommerce/woocommerce-admin/pull/8349) 2022-03-04 12:01:16 +08:00
_main.php use is_admin_or_embed_page 2020-11-24 15:25:09 +13:00
_package.json Bump package versions for release (https://github.com/woocommerce/woocommerce-admin/pull/7106) 2021-06-09 18:01:07 -03:00
_webpack.config.js New Package: DependencyExtractionWebpackPlugin (https://github.com/woocommerce/woocommerce-admin/pull/5198) 2020-10-15 09:50:57 +13:00
starter-pack.js Switch to pnpm (https://github.com/woocommerce/woocommerce-admin/pull/8349) 2022-03-04 12:01:16 +08:00

README.md

Create Extension

Scaffold a modern JavaScript WordPress plugin with WooCommerce tooling.

Includes

Usage

At the root of a WooCommerce Admin installation, run the create extension command.

pnpm run create-wc-extension

The script will create a sibling directory by a name of your choosing. Once you change directories into the new folder, install dependencies and start a development build.

pnpm install
pnpm start