Christopher Allford
6457348a97
Validate React Admin Changelog Files ( #34520 )
...
This maps the changelog command of the React Admin in order to ensure that they're validated and able to be added.
2022-09-05 13:02:00 -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
Paul Sealock
e651a46fb6
Turbo: Avoid caching result of `build:feature-config` ( #34296 )
2022-08-22 16:28:57 +12:00
Chi-Hsuan Huang
58ff656764
Remove @wordpress/eslint-plugin from woo admin package.json ( #34240 )
...
* Remove @wordpress/eslint-plugin from woo admin package.json
* Add changelog
* Update pnpm-lock.yaml
2022-08-10 14:45:40 +08:00
RJ
f3e436f991
fix: type definition issues related to pnpm hoisting rules in preparation for pnpm 7 upgrade ( #34154 )
...
- added missing TS definition dependencies
2022-08-05 15:19:08 +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
louwie17
383c96f0ca
Update woocommerce admin scripts to align more with turborepo ( #33982 )
...
* Update woocommerce admin scripts to align more with monorepo
* Add changelog
* Add dev script back in
* Add install-if-deps-outdated back into build script
* Remove --force from dev script and add WC_ADMIN_PHASE to turbo cache key
* Remove install-if-deps-outdated from build
* Add composer install step to pr unit tests workflow
* Remove old install scripts, that are not needed anymore
* Make sure client changes are part of the cache hit
* Add composer install to code coverage and code sniff as well
* Add composer_no_dev input to install-build workflow
* Add sass dependency to woocommerce/admin/client turbo cache
2022-07-22 08:32:03 -03:00
Chi-Hsuan Huang
2e167ca088
Fix borken react admin commands ( #33649 )
...
* Fix admin build:packages and test:packages
* Add changelog
2022-06-29 13:02:56 +08:00
jonathansadowski
d48a0b2d90
Add helper tool for making sure build, lint, and test are run through Turborepo ( #33573 )
...
* Add helper tool for making sure build, lint, and test are run through Turborepo
* Update node version for require-turbo
2022-06-28 13:17:05 -05:00
Chi-Hsuan Huang
93c15e9f7d
Switch to ESLint to fix admin lint command ( #33577 )
...
* Switch woo admin lint command from wp-script to eslint
* Add changelog
2022-06-23 12:00:28 +08:00
Christopher Allford
c0b76f70cc
Rename @woocommerce/admin-library ( #33460 )
...
This commit changes it to woocommerce/client/admin. This is an invalid NPM package name and an invalid Composer package name. This will prevent conflicts but also identify it as a component of Core.
2022-06-17 13:28:34 -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
Christopher Allford
bb320a935a
Removed `@woocommerce/notices` Internal Prefix ( #33283 )
...
Since we're exposing the package in some form,
we cannot rename it since that would break backwards
compatibility. This commit changes it back.
2022-06-03 16:05:26 -07:00
Christopher Allford
112b9ac67a
Prefixed Private JS Packages ( #33218 )
...
In order to ease the identification of private packages within the monorepo, this adds an `internal-` prefix to all of the current private packages. This makes it immediately clear when reviewing `packages/js` what is and isn't a private package.
2022-05-31 15:42:00 -07:00
RJ
b051ed88db
Update react-router-dom to v6 for woocommerce-admin ( #33156 )
2022-05-30 14:51:33 +08:00
Chi-Hsuan Huang
4a6c6e739c
Update woocommerce-admin `test:watch` command ( #33202 )
...
* Update woocommerce-admin test:watch command
Only watch admin ./client folder
* Add changelog
2022-05-27 10:08:34 +08:00
moon
8adcae1072
Remove @types/history -- it is part of history 5.3.0
2022-05-12 18:34:13 -07:00
moon
aa7853edbd
Update history package to the latest 5.3.0 version
2022-05-12 18:28:43 -07:00
Moon
9720874f50
Merge pull request #32954 from woocommerce/update/32883-update-react-dates-dependency
...
Update react-dates to 21.8.0
2022-05-11 12:49:16 -07:00
moon
15ecfd9b16
Update react-dates to 21.8.0
2022-05-10 18:12:32 -07: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
Christopher Allford
0519045d20
Added Missing Dependencies
...
Some kind of branch switching related mishap it seems.
2022-05-06 14:58:33 -07:00
Christopher Allford
31d7249080
Removed "prebuild" Script
...
PNPM does not execute "pre" and "post"
scripts for user-defined scripts. This removes
the "prebuild" from the React Admin's build.
2022-05-06 12:16:57 -07: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
moon
dc00aff77e
Run dev after clean command
2022-04-28 14:28:01 -07:00
moon
082f55bee1
Run clean before running build commands
2022-04-28 13:42:06 -07:00
Paul Sealock
4275eb002b
admin fix scripts
2022-04-28 11:04:20 +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
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
3ead227cdc
Merge branch 'trunk' into update/admin-docs
2022-04-15 11:53:08 +08:00
Chi-Hsuan Huang
5a74e9cba6
Add WC_ADMIN_PHASE=core to build:feature-config
2022-04-14 17:25:29 +08:00
Chi-Hsuan Huang
30a2fc18d6
Pass WC_ADMIN_PHASE=core to build commands
2022-04-14 17:13:23 +08:00
Chi-Hsuan Huang
20736a5280
Remove docsify-cli and releated files
2022-04-14 13:50:29 +08:00
Chi-Hsuan Huang
96a5a7b75d
Remove building ./docs storybook
2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang
13720a663e
Fix admin clean command
2022-04-12 15:47:03 +08: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
870d523455
Reorder woocommerce admin package.json scripts
2022-04-08 12:38:17 +08:00
Chi-Hsuan Huang
a649fe6ae2
Remove no needed commands and fields in package.json
2022-04-08 12:36:26 +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
Christopher Allford
1e3a3d8af5
Merge pull request #32500 from woocommerce/fix/feature-config-file-location
...
Move feature flag config files to Woocommerce plugin
2022-04-07 12:49:03 -07: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
317dd7c9e9
Update @wordpress/base-styles from ^3.6.0 to ^4.3.0
2022-04-07 14:21:33 +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
Chi-Hsuan Huang
2b1f54b09d
Set up lint-staged configuration for each package
2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang
a4ece1b7b9
Remove husky lint-staged from plugins/*
2022-04-06 17:31:32 +08:00
Paul Sealock
407b225133
Move feature flag config files to Woocommerce plugin to support unit test execution in the wp-env environment.
2022-04-06 14:12:24 +12:00