Commit Graph

646 Commits

Author SHA1 Message Date
Christopher Allford bf29119032
Updated PNPM to ^8.12.1 (#42860) 2023-12-18 20:31:49 +13:00
Christopher Allford 1e4d55b36a Updated Documentation 2023-12-09 14:30:29 -08:00
Christopher Allford ca644e90f9 Updated Root Package 2023-12-09 14:25:31 -08:00
Christopher Allford bc507e57a6 Removed Turborepo 2023-12-09 13:01:10 -08:00
Christopher Allford bc65f9687b Updated Syncpack Dependencies 2023-12-09 07:16:39 -08:00
Christopher Allford 3a88cc739a Updated Dependencies 2023-12-09 07:12:20 -08:00
Christopher Allford 8c6b414fe0
Revert "Refactoring Task Infrastructure" (#41928)
Revert "Refactored Task Infrastructure (#41202)"

This reverts commit 96a973b9fa.
2023-12-06 11:36:12 -08:00
Christopher Allford 96a973b9fa
Refactored Task Infrastructure (#41202)
* Fixed NPM packages with invalid names.
* Renamed plugin packages.
* Standardized package NPM scripts.
* Replaced Turborepo with Wireit.
2023-12-06 09:32:32 -08:00
Christopher Allford 88969742f2
Regenerate PNPM Lock File & Fix Errors (#41830) 2023-12-05 00:36:30 -08:00
Leif Singer 808a0fc54f update references to woocommerce.com to now reference woo.com 2023-11-10 15:49:08 +01:00
Sam Seay 837c2d9961
Support git worktrees (#39705)
Test if git is a dir before trying to update hooks.
2023-08-15 09:11:09 +08:00
Sam Seay e8c3808527
Upgrade TypeScript to v5.1 (#39531) 2023-08-08 16:35:31 +12:00
Sam Seay 4a2fd63b99
Use syncpack customTypes to keep pnpm and node in sync. Update pnpm to 8.6.7 (#39245) 2023-07-18 14:27:18 +12:00
Sam Seay 6e864d8f72
Update Turborepo to 1.10.7 (#39246) 2023-07-15 13:00:08 +08:00
Sam Seay 957fb2b07e
Update pnpm to 8.6.5 (#38990) 2023-06-29 16:51:29 +12:00
Sam Seay b076a7b521
Fix linter issues and update Syncpack (#38523) 2023-05-31 11:45:10 +12:00
Sam Seay 95ac08739b
Add monorepo util to notify slack, add improvements to calling utils and type clean up. (#38185) 2023-05-11 17:23:19 +12:00
Sam Seay 6d02b0a00e
Update cache action and fix bug with turbo caching in CI (#37774) 2023-04-28 16:34:49 +12:00
Sam Seay 7cbc3811d8
Update monorepo to pnpm 8 and Node to 16.14 (#37915) 2023-04-25 18:49:30 +12:00
Paul Sealock 0fda297965
Monorepo Utils: Move postinstall build to local package.json (#37688)
* add warning if package hasn't been built yet

* move postinstall script

* remove extra build in highlight flow
2023-04-14 10:11:13 +12:00
Paul Sealock 8784d7c27a
Monorepo Utils: Fix permisions (#37670) 2023-04-13 07:10:02 +12:00
Paul Sealock c4a7e9a11b
Monorepo CLI tooling: Set folder organisation (#37561) 2023-04-12 09:26:21 +12:00
Christopher Allford 67cde87fd1
Enforce Strict `@types` Dependencies (#37351) 2023-03-23 18:02:20 -07:00
Sam Seay 9f4d889765
Update turborepo to latest version 1.8.3 (#37260) 2023-03-17 05:54:02 +13:00
Sam Seay bec3ec18ac
Update Syncpack and use it to pin @wordpress packages to wp-6.0 (#37034) 2023-03-09 10:13:25 +13:00
Maikel David Pérez Gómez 79841c58a5
Fixes react version to 17.0.2 globally (#37087)
* Fix react version to 17.0.2 globally

* Add changelog file
2023-03-06 18:38:05 -03:00
Sam Seay e4a18edf64
Update turborepo to 1.7.0 (#36677)
Update turbo to 1.7.0
2023-02-02 04:44:37 +13:00
Sam Seay 45d157a25e
Introduce clean command that should help with node_modules corruption and avoid fresh clone (#36302) 2023-01-06 10:51:58 +13:00
Sam Seay 03dbab0edd
Fix some bugs in syncpack configuration (#35651)
* Fix syncpack config

* Loosen the matched version for typescript eslint

* Add changelog entries

* Update lockfile
2022-11-22 12:06:47 +13:00
Sam Seay 55b49cb50a
Fix and consolidate linting across the monorepo (#35012) 2022-10-12 15:05:01 +13:00
Joshua T Flowers 3fd736c72f
Update plugins installer component to TS, Fix TS bugs and Syncpack TypeScript (#34787) 2022-09-30 10:59:07 +13:00
Paul Sealock 0b62bf85bd
Storybook: Fix after update to PNPM 7 broke build (#34724)
* Add package.json to storybook

* use @woocommerce/storybook name
2022-09-20 12:39:31 +12:00
Sam Seay 04b74c1053
Upgrade to pnpm 7 (#34661)
* Remove -- -- from scripts that fixed issue in pnpm 6, fix a couple TS issues in sep packages
* Minor fixes to analyzer scripts and doco based on pnpm 7
* Add dompurify types to data package to avoid TS errors
* Remove pnpx in favor of pnpm exec
* Modify the code analyzer to respect pnpm version if present.
* Update instructions for running recursive lint, add comments to explain
2022-09-16 09:21:42 +12:00
Christopher Allford 341880b79b
Fixed Asset Output Caching (#34606)
This updates Turborepo and adjusts the output caching for `woocommerce/client/legacy` and `woocommerce/client/admin`. The result is that build outputs in `plugins/woocommerce/assets` should be stored correctly.
2022-09-07 13:57:15 -07:00
Chi-Hsuan Huang e687a48abf
Update dependencies and jest config to pass admin tests for pnpm 7 (#34428)
* Update @wordpress/data version to ^6.15.0

* Update jest.config.js to transform is-plain-obj js

* Update pnpm-lock.yaml

* Add changelog

* Add babel configs and update jest config

* Update tsconfig.json to exclude babel.config.js

* Add missing @types packages

* Add changelog

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* Fix DateTimePickerControl type errors
2022-08-31 12:06:51 +08:00
jonathansadowski 74f8d5f17a
Use syncpack to verify consistent versions for react and react-dom (#34397)
* Add GitHub action and pre-push hook for syncpack for react and react-dom

* Fix typo in pre-push script

* Don't execute suggested command to fix mismatches automatically.

* Update react and react-dom to 17.0.2

* Move changelog check to last, so that pre-push still fails if check isn't successful

* Add changelog files

* Correct issue with syncpack.yml referencing an internal action

* Add command to top-level package.json for fixing mismatches

* Update syncpack action to only run when package.json files are affected

* Update workflow to just run syncpack list-mismatches

* Add version pinning to syncpackrc
2022-08-24 10:15:22 -05:00
RJ a6d656f363
fix: pinned wp/element to 4.8.0 until we sort out esm dependencies (#34349) 2022-08-17 12:09:00 +08:00
Sam Seay 5becf47d60
Simplify turbo commands (#34055)
* Change package json commands and turbo repo config to allow for greatly simplifying running turbo
* Remove require-turbo script which was causing caching issues
* Colorize CI output from scripts
* Add missing changelog script to extend-cart-checkout-block
2022-08-05 12:03:17 +12:00
Roy Ho 2774ef2c1b
Add cherry pick tool (#33870)
* Add cherry pick tool

* Add githubremoteurl environment

* Add readme
2022-07-14 07:36:15 -07:00
Christopher Allford 6d0fc0d6ac
Expand Repository Development Documentation (#33423)
This commit reworks some of the documentation in the monorepo to better represent how to get started and develop projects in it.
2022-06-15 21:55:25 -07:00
Christopher Allford b7931409f2
Migrate From Nx to Turborepo (#33079)
This replaces all `nx` commands with `turbo` commands and removes Nx from the repository. All of the `project.json` files have been removed and any commands that broke with Turborepo have been adjusted.
2022-06-09 14:40:07 -07:00
Chi-Hsuan Huang b28d0c2254
Add missing dependencies & include @wordpress/components style for storybook (#33225)
* Add url-loader & copy-webpack-plugin to root package.json for storybook commands

* Update storybook config to include @wordpress/components style
2022-05-30 15:20:08 +08:00
Paul Sealock 6100df9a04
Storybook: Move code to `tools/` (#32729) 2022-04-28 09:54:54 +12:00
Paul Sealock e70b75cf81
Update `create-extension` to work in monorepo context (#32514)
* Update create-wc-extension to work in monorepo context

* update lock file
2022-04-26 08:51:35 +12:00
Chi-Hsuan Huang 44b4008849 Install lint-staged 2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang d7df8ff8ab Set up husky
Update pnpm-lock.yaml
2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang f2dcc1f705 Add git:update-hooks to postinstall 2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang 5c4014a651 Add @wordpress/eslint-plugin to root package.json 2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang f002c72b41 Update @woocommerce/eslint-plugin to use workspace version 2022-03-25 16:22:57 +08:00
Roy Ho af3585b67b
Merge branch 'trunk' into standardize-config-files 2021-12-15 07:13:58 -08:00