Commit Graph

668 Commits

Author SHA1 Message Date
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
Paul Sealock eb453cce20
Add NX commands for Jetpack Changelogger (#31166) 2021-12-15 14:14:17 +13:00
roykho 9d3af216bc
Update nrwl packages 2021-12-14 10:10:07 -08:00
Christopher Allford 471e5e7877 Fixed @woocommerce/api Builds
It looks like I missed the `pnpm-lock.yaml` update.
2021-11-16 15:19:33 -08:00
Christopher Allford 2a29754ab2 Revised @woocommerce/api Test Suite
This commit replaces the moxios package with the
axios-mock-adapter, in order to fix all of the failing
tests. This felt necessary because changing the
TypeScript configuration would have the largest
potential impact on this package, due to it
being written natively in it. This package is a
great candidate for testing all of the new
configuration changes out on.
2021-11-15 23:06:47 -08:00
roykho 7dc6ae6316
Add Nx basic script executors for packages 2021-11-05 08:15:04 -07:00
roykho acbd9883f1
Prevent from running npm 2021-11-04 07:36:58 -07:00
roykho 90075e81a6
Run Nx add to monorepo command to auto set up some things 2021-11-04 07:35:02 -07:00
roykho e0265eefd8
Add nx composer dependency 2021-11-03 12:20:12 -07:00
Paul Sealock 789d942f89
Update e2e package locations and add PNPM (#30977) 2021-10-29 08:32:31 +13:00
Paul Sealock ffa595ac40 add working directory path to build workflow 2021-10-19 10:46:11 +13:00
Paul Sealock 926685448e JS formatting files 2021-10-19 10:35:46 +13:00
Paul Sealock ef015f740f git mv a few folders 2021-10-19 10:35:45 +13:00
Nestor Soriano 8c24e170ce
Update Woo version numbers to 6.0 2021-10-14 12:27:17 +02:00
barryhughes 7216225d1a Prep trunk for 5.9 cycle. 2021-09-23 13:36:38 -07:00
Greg b6db14ff62
Merge pull request #30793 from woocommerce/e2e/bump-admin-tests 2021-09-23 11:27:21 -06:00
Ron Rennick 41753206d2 update e2e for WC Admin 2.7.0 2021-09-23 13:49:22 -03:00
Greg e09b43f099 Code review feedback 2021-09-09 12:23:23 -06:00
Greg 62453974dd Code review feedback 2021-09-09 11:01:13 -06:00
Greg edb10107cf Run API tests with regular run and add script 2021-09-09 08:41:36 -06:00
Greg aaad21bb8b Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/api-core-tests 2021-09-07 17:17:43 -06:00
Greg 095a74347a Code review feedback 2021-09-07 16:20:44 -06:00
Ron Rennick 25897e84f9 add admin E2E tests 2021-08-23 13:31:34 -03:00
roykho 05917f0d6d
Prep versions for trunk 2021-08-19 13:38:14 -07:00
Ron Rennick 36516ef26f update e2e dependencies to be consistent with main pacakge 2021-08-19 14:29:05 -03:00
Claudio Sanches 02492514f9 5.7.0-dev 2021-07-23 20:58:37 -03:00
Ron Rennick 7d2ecd23db package maintenance for stylelint vulnerability 2021-06-30 15:01:33 -03:00
vedanshujain 93fe370966 Update version to prep for 5.6 2021-06-22 12:28:20 +05:30
Christopher Allford 0b89a27abd Updated versions for 5.5.0 development 2021-05-14 15:03:39 -07:00
Leif Singer e086c82b68 Bump node version to align with v12 used in .nvmrc 2021-05-12 11:06:13 +02:00
Jonathan Sadowski 514530d2e2 Update changelog and readme for 5.3 release, and bump version in package.json 2021-05-11 11:39:46 -05:00
Nestor Soriano d8b33e4c4b Update version in package.json to 5.3 2021-03-19 11:56:29 +01:00
Ron Rennick b686a45339 update package depenendencies 2021-03-08 16:17:27 -04:00
Vedanshu Jain 6b862e12e5
Merge pull request #28940 from woocommerce/install-e2e-only-explicitly
Improve the WooCommerce build process
2021-02-10 16:26:04 +05:30
Nestor Soriano ceffe0780a Fix bad install-subset configuration in package.json 2021-01-29 16:58:22 +01:00
Nestor Soriano 1d3e83ff55 Remove duplicate processing when building the zip file.
The "build:zip" NPM command was invoking "build-zip.sh" and then doing
"composer install", "grunt" and "makepot", these three were already
done in "build-zip.sh".
2021-01-27 16:50:33 +01:00
Nestor Soriano bacbd75ac8 Modify package.json to still do the lerna bootstrap by default.
Also remove the "install:e2e" script as it's not really useful.
2021-01-27 16:46:56 +01:00
Nestor Soriano f239075b2f Improve the nmp setup process to install e2e tests only explicitly
Use the "install-subset" package to define a subset of the nmp
dependencies that doesn't include the e2e testing infrastructure.
Also define a new npm "install:no-e2e" command, and modify the
post-merge hook to use it instead of the full install.
2021-01-26 12:23:24 +01:00
Claudio Sanches ee28da5d30 Prepare default branch for 5.1 2021-01-25 16:38:22 -03:00
Ron Rennick 96ab0d8d7f include package.json updates 2021-01-08 15:04:47 +01:00
Vedanshu Jain 9db6e2e49c
Merge pull request #28643 from woocommerce/feature/fix-build
Feature/fix build
2020-12-24 13:12:58 +05:30
roykho 585592bd78
Add specific configuration for unit tests 2020-12-23 05:55:03 -08:00
vedanshujain 44705386a4 Prep master for 5.0.0. 2020-12-22 19:01:56 +05:30
roykho da82bea77c
Add command script to run the unit tests 2020-12-17 12:53:27 -08:00
roykho 56c8c5dd41
Only uglify the changed file when Grunt watching 2020-12-15 12:40:05 -08:00
Roy Ho 57b1f2e3c5
Merge pull request #28448 from woocommerce/renovate/config-3.x
Update dependency config to v3.3.3
2020-12-01 09:00:41 -08:00
Roy Ho 53d4eb6d46
Merge pull request #28449 from woocommerce/renovate/deasync-0.x
Update dependency deasync to v0.1.21
2020-12-01 08:59:44 -08:00
Renovate Bot 5eaafaeea7
Update dependency grunt-stylelint to v0.16.0 2020-12-01 14:26:13 +00:00
Renovate Bot b95e88fd36
Update dependency deasync to v0.1.21 2020-12-01 14:21:43 +00:00
Renovate Bot 7ffa622b30
Update dependency config to v3.3.3 2020-12-01 14:17:11 +00:00
Renovate Bot b162a1dd8d
Update babel monorepo 2020-12-01 00:59:25 +00:00
Christopher Allford bb38673dad Prepared branch for 4.9 2020-11-13 09:38:22 -08:00
Rodrigo Primo a33c6ea746
Merge pull request #28162 from woocommerce/renovate/wordpress-monorepo
Update dependency @wordpress/eslint-plugin to v7.3.0
2020-11-12 09:14:45 -03:00
Rodrigo Primo d8fdfabebf
Merge pull request #28161 from woocommerce/renovate/webpack-4.x
Update dependency webpack to v4.44.2
2020-11-11 16:24:34 -03:00
Rodrigo Primo 8c0d8115b1
Merge pull request #28160 from woocommerce/renovate/node-sass-4.x
Update dependency node-sass to v4.14.1
2020-11-11 16:24:11 -03:00
Rodrigo Primo 9f1567009f
Merge pull request #28156 from woocommerce/renovate/babel-monorepo
Update babel monorepo
2020-11-11 16:23:43 -03:00
Renovate Bot 311ccb9944
Update dependency @wordpress/eslint-plugin to v7.3.0 2020-11-11 02:29:27 +00:00
Ron Rennick 7282e0bca6 merge master 2020-11-09 14:30:01 -04:00
Renovate Bot 4a3e954ac1
Update dependency webpack to v4.44.2 2020-11-01 02:03:04 +00:00
Renovate Bot 142385cfc4
Update dependency node-sass to v4.14.1 2020-11-01 01:58:54 +00:00
Renovate Bot bd263c7e18
Update babel monorepo 2020-11-01 00:11:44 +00:00
Ron Rennick 7cb68e055c add lerna hoist, use consistent package versions 2020-10-28 14:21:02 -03:00
Ron Rennick e095859040 remove puppeteer dependency from main package 2020-10-28 13:16:00 -03:00
Ron Rennick 7638d73d85 add docker:ssh to core repo scripts 2020-10-23 11:22:47 -03:00
Claudio Sanches f7ecbbeb35 Prepare default branch to 4.8 2020-10-20 15:20:52 -03:00
Rodrigo Primo 9bf1c15c75
Merge pull request #27197 from woocommerce/renovate/eslint-plugin-jest-23.x
Update dependency eslint-plugin-jest to v23.20.0
2020-10-15 14:46:10 -03:00
Rodrigo Primo 8d0b03632d
Merge pull request #27824 from woocommerce/renovate/config-3.x
Update dependency config to v3.3.2
2020-10-15 14:36:35 -03:00
Rodrigo Primo 16d839ef62
Merge pull request #27195 from woocommerce/renovate/babel-monorepo
Update babel monorepo
2020-10-15 14:18:35 -03:00
Ron Rennick f0e6e1761c
Merge pull request #27913 from woocommerce/fix/27820
add test:e2e-debug command
2020-10-15 13:44:32 -03:00
Renovate Bot 25034d000a
Update dependency eslint-plugin-jest to v23.20.0 2020-10-15 01:40:35 +00:00
Claudio Sanches d06e4dcddd
Merge pull request #27542 from woocommerce/renovate/grunt-1.x
Update dependency grunt to v1.3.0
2020-10-14 19:21:01 -03:00
Renovate Bot 172089e9b4
Update babel monorepo 2020-10-14 20:21:32 +00:00
Claudio Sanches 8f0f680c04
Merge pull request #27825 from woocommerce/renovate/husky-4.x
Update dependency husky to v4.3.0
2020-10-14 12:07:06 -03:00
Ron Rennick 7f57906959 add test:e2e-debug command 2020-10-09 05:00:03 -03:00
Christopher Allford f9ef91adc1
Merge pull request #27836 from woocommerce/packages/api/add/repository-listing
@woocommerce/api: Added list() repository operation and classes for managing store settings
2020-10-08 13:20:12 -07:00
Christopher Allford 1d0cbc8187 Merge branch 'master' into packages/api/add/repository-listing 2020-10-08 11:48:22 -07:00
Ron Rennick 3a980a1241 merge current master 2020-10-07 03:17:38 -03:00
Ron Rennick 610e787a86 package lock maintenance 2020-10-05 09:31:48 -03:00
Christopher Allford f2dda16c40 Updated lock files 2020-10-01 14:28:14 -07:00