Commit Graph

448 Commits

Author SHA1 Message Date
Chi-Hsuan Huang 381ab81a03 Update pnpm-lock.yaml 2022-05-10 15:31:28 +08:00
Chi-Hsuan Huang 43af801d46 Remove memoize-one from wca & update it to ^6.0.0 for woo components 2022-05-10 14:17:03 +08:00
Paul Sealock 489ebf2cc6
Standardize linting: e2e js packages (#32794) 2022-05-05 15:02:50 +12:00
Roy Ho ad0d71dcff
Merge pull request #32795 from woocommerce/fix/standardize-lint-woocommerce-plugin
Standardize linting: plugins
2022-04-29 06:01:37 -07:00
Roy Ho c8c2e4253f
Merge pull request #32793 from woocommerce/fix/standardize-lint-monorepo
Standardize linting: Admin JS packages
2022-04-28 06:14:36 -07:00
Chi-Hsuan Huang 843a59c0c4
Merge pull request #32735 from woocommerce/update/woo-data-types
Update `@woocommerce/data` & admin client type definitions
2022-04-28 18:03:14 +08:00
Paul Sealock 077b21b35c pnpm lock file update 2022-04-28 11:23:25 +12:00
Paul Sealock 931845a53a reference local eslint plugin package 2022-04-28 10:00:29 +12: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 6836d90b72 Add wp data, compose types to @woocommerce/data
Update pnpm-lock.yaml
2022-04-25 13:32:26 +08:00
roykho f6d8a56baa
Revert test 2022-04-21 13:32:13 -07:00
roykho 14b5261f93
Test busting cache 2022-04-21 12:43:38 -07:00
Roy Ho ff2d7d704a
Merge pull request #32680 from woocommerce/fix/e2e-builds-private-package
e2e-builds: Private package for build logic of e2e
2022-04-20 18:33:41 -07:00
Chi-Hsuan Huang 41e5d1f630 Update pnpm-lock.yaml 2022-04-20 16:12:18 +08:00
Chi-Hsuan Huang c23a8f7489 Update pnpm-lock.yaml 2022-04-19 17:01:46 +08:00
Paul Sealock 1c838e5bb0 declare deps 2022-04-19 15:20:50 +12:00
Paul Sealock 4e700a35ca Create a private package to house e2e build logic 2022-04-19 14:59:46 +12:00
Chi-Hsuan Huang 0c554fddad Add @wp/plugins, data, compose types dev deps to woo admin
Add their type definitions and remove them from index.d.ts declare module
2022-04-15 17:08:31 +08:00
Chi-Hsuan Huang e66b78b892 Add @types/testing-library__jest-dom to fix client ts errors 2022-04-15 17:04:53 +08:00
Chi-Hsuan Huang 20736a5280 Remove docsify-cli and releated files 2022-04-14 13:50:29 +08:00
Joel Thiessen 9901b1e931
Updating deasync package to resolve build issue in linux #32510 2022-04-13 12:38:45 -07:00
Chi-Hsuan Huang f3e460f055 Remove i18 commands and their dependencies
i18 routines have been handled inside plugins/woocommerce.
2022-04-08 12:45:34 +08:00
Chi-Hsuan Huang ba17630dca
Merge pull request #32515 from woocommerce/update/32296-wordpress-dependencies
Update @wordpress/* dependencies
2022-04-08 10:08:48 +08:00
Chi-Hsuan Huang dc243bd34c
Merge pull request #32411 from woocommerce/fix/32399-husky
Fix husky git hooks
2022-04-08 10:08:27 +08:00
Chi-Hsuan Huang 3443387045 Update @wordpress/icons from ^6.3.0 to ^8.1.0 2022-04-07 14:24:19 +08:00
Chi-Hsuan Huang c60db1215e Update @wordpress/hooks from ^2.12.3 to ^3.5.0 2022-04-07 14:18:13 +08:00
Chi-Hsuan Huang 70359c8d11 Update @wordpress/a11y from ^2.15.3 to ^3.5.0 2022-04-07 14:16:46 +08:00
Joel T 2f53fbca04 Updating deasync package to resolve build issue 2022-04-06 13:50:24 -07: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 277b1acdf5 Downgrade chalk to v4 2022-04-05 14:45:13 +08:00
RJChow 6f23a5ae68 Introduce codemod for changing i18n text domain 2022-04-01 11:41:32 +08:00
rodelgc b30179f8d2
Added: Command to generate HTML report 2022-03-30 10:57:11 +08:00
Chi-Hsuan Huang 0cc5c6d515 Add expose-loader for storybook webpack config 2022-03-29 16:46:40 +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 68786f8e72 Update pnpm-lock.yaml 2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang df5b506b97 Add lint command to js packages
Update lint js commands

Update customer-effort-score/package.json
2022-03-29 16:08:06 +08:00
Chi-Hsuan Huang f002c72b41 Update @woocommerce/eslint-plugin to use workspace version 2022-03-25 16:22:57 +08:00
Lourens Schep 20c0c85f9c Fix admin-e2e-test dependency and add new purchase task E2E test, also added the WooCommerce reset plugin 2022-03-24 14:08:03 -03:00
rodelgc 15fbc0be9a
Removed faker dependency (#32069)
* Removed faker dependency
2022-03-24 15:30:40 +08:00
Chi-Hsuan Huang 8ce25e6b1b Change @wordpress/data from devDependencies to peerDependencies
When @wordpress/data is included in devDependencies, all tests mocked @wordpress/data fails
2022-03-21 18:28:56 +08:00
Christopher Allford d2d8d78be1 Moved WCA Packages
This commit moves all of the packages in
`plugins/woocommerce-admin/packages` to their
new home in `packages/js`.
2022-03-18 14:25:26 -07:00
Christopher Allford dbf004023e Fixed PNPM Lockfile 2022-03-18 14:04:13 -07:00
Christopher Allford efbc635e32 Added Beta Tester Plugin To Nx
This commit adds the project file and makes the
necessary changes to the workspace to support
the new plugin.
2022-03-18 09:46:10 -07:00
Christopher Allford face0c0966 Updated PNPM Lockfile 2022-03-17 14:55:53 -07:00
Christopher Allford 57ab538668 Added Issue Transfer Command Skeleton
This commit adds the skeleton for an issue transfer command.
Almost all of the functionality is implemented, but it is missing
the actual transfer of issues. I'm nervous about testing this, so
I'm going to implement the rest of the functionality first.
2022-03-16 22:53:30 -07:00
Christopher Allford ed77233fb4 Added monorepo-merge Tool Scaffolding
This contains the basic framework for our new `monorepo-merge`
command. The goal will be for this command to handle the heavy lifting
for merging repositories with full history. It will (ideally) bring any
plugin or package into the repository in a ready-to-use state.
2022-02-28 09:43:02 -08:00
roykho c749bd3bd6
Update browserslist package 2022-02-23 12:10:00 -08:00
Lucas Bustamante 8b859ffb25 Merge branch 'trunk' into packages/api/json-transform-tests 2022-02-07 17:53:55 -03:00
Lucas Bustamante 23b1c10518 Merge branch 'trunk' into packages/api/json-transform-tests 2022-02-02 18:14:31 -03:00
Ron Rennick 5ba1ceefcc refresh pnpm lock 2022-02-02 15:43:58 -04:00
Ron Rennick 6687e5847e fix environment dependencies 2022-01-25 13:04:17 -04:00
Lucas Bustamante baa2d15c2d ts-jest ^27 is incompatible with chalk <3.0.0
This breaks the build in the monorepo due to some package using chalk <3.0.0, reverting back to jest/ts-jest ^25 seems like the lesser evil
2022-01-19 13:47:29 -03:00
Lucas Bustamante c6ac637fa6 Bump ts-jest to same version of jest ^27 2022-01-17 09:37:45 -03:00
Lucas Bustamante e5adc1c3e7
Merge pull request #31574 from woocommerce/try/e2e-build
fix jest-circus dependency, pnpm e2e-environment build
2022-01-07 12:04:01 -03:00
Lucas Bustamante 9d85ba8f00 Merge branch 'trunk' into e2e/add-build-to-e2e-core-tests 2022-01-06 12:14:25 -03:00
Ron Rennick 2071da88ef fix jest-circus dependency, pnpm e2e-environment build 2022-01-05 22:04:50 -04:00
jonathansadowski d71a9d9ba9
Revert "Add config default values" 2022-01-05 14:44:31 -06:00
Lucas Bustamante 2e1a021195 Merge branch 'trunk' into e2e/add-build-to-e2e-core-tests 2022-01-04 16:00:02 -03:00
jamelreid 5c9032a3cc Removed config dependency 2022-01-03 17:39:04 -05:00
Lucas Bustamante c37a6662c6 pnpm install --no-frozen-lockfile 2022-01-03 16:43:09 -03:00
Lucas Bustamante a2eaf0ea55 Revert "pnpm update"
This reverts commit 1b4aa0e37d.
2022-01-03 16:40:08 -03:00
Lucas Bustamante 1b4aa0e37d pnpm update 2022-01-03 14:18:21 -03:00
roykho b1e7abcd4a
Add needed packages to build e2e 2021-12-16 07:48:52 -08:00
roykho 935b65e50c
Update lock file 2021-12-16 05:52:40 -08:00
roykho a4cb3fa796
Update lock file 2021-12-15 07:16:55 -08:00
roykho 0f369d7040
Update package and node version 2021-12-15 07:08:37 -08:00
roykho 47e39bcafc
Restore eslint dep 2021-12-14 12:22:50 -08:00
roykho 76794e374c
Restore babel/polyfill removed by accident 2021-12-14 12:10:28 -08:00
roykho 01d9a5419b
Update pnpm-lock.yml 2021-12-14 11:39:52 -08:00
roykho 3578d61c0a
Replace deprecated babel-eslint with @babel/eslint-parser 2021-12-14 09:08:24 -08:00
roykho 85297dd1a1
Use sass package instead of node-sass 2021-12-14 08:57:28 -08:00
jamelreid 18283d2b1a Merge branch 'trunk' into add/jest-retry 2021-12-03 14:25:00 -05:00
roykho 68fbca56dc
Upgrade node-sass back to latest 2021-12-02 08:23:11 -08:00
roykho b9c3644a84
Downgrade node-sass version 2021-12-02 08:11:56 -08:00
roykho edf5512311
Update node-sass 2021-12-02 07:24:30 -08:00
jamelreid 69dc645f0e Added the jest-circus package
In jest version before 27, we need to use jest-circus. For 27 and after, jest-circus is the default test runner.
2021-12-01 14:34:28 -05:00
Ron Rennick 519b4f6de4 fix lock merge conflict 2021-11-30 15:48:39 -04:00
roykho 2ab1393bdc
Merge branch 'trunk' into add/legacy-assets-build 2021-11-29 10:26:05 -08:00
roykho 2c0487e152
Ignore tsconfig.tsbuildinfo 2021-11-29 09:59:53 -08:00
Ron Rennick e449511ff0
Clean up e2e-environment changes from monorepo reorg (#31233)
* add flag to distinguish between the development repo and npm package

* introduce local E2E file resolver function

* update package changelog and readme
2021-11-23 13:56:24 +01:00
roykho 882e5ed173
Update pnpm-lock 2021-11-19 07:01:28 -08:00
Ron Rennick b1a8664ff4 merge trunk 2021-11-17 12:46:23 -04:00
Christopher Allford 2f0a828493 Downgraded ts-jest
This was causing issues with building the API package, which in turn
broke the entire build.
2021-11-16 15:33:00 -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
Ron Rennick 55cce48d7d update pnpm lock 2021-11-16 18:53:55 -04:00
roykho aa2dc625e2
Remove install-subset process 2021-11-10 13:35:16 -08:00
Ron Rennick 7fc5e1e088 fix merge conflicts 2021-11-10 15:51:00 -04:00
Ron Rennick f4c254e8af add pnpm lock file 2021-11-09 14:26:48 -04:00
roykho 7dc6ae6316
Add Nx basic script executors for packages 2021-11-05 08:15:04 -07:00
roykho e34803caa2
Add Nx lint to e2e-utils package 2021-11-05 05:59:47 -07:00
roykho b5715bfd88
Add Nx lint to e2e-environment 2021-11-05 05:54:57 -07:00
roykho 608d42711d
Implement Nx lint for API package 2021-11-05 05:43:46 -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 926685448e JS formatting files 2021-10-19 10:35:46 +13:00