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
Chi-Hsuan Huang
277b1acdf5
Downgrade chalk to v4
2022-04-05 14:45:13 +08:00
RJChow
6e8d620f00
Copied and modified package-update-textdomain.js script for modifying PHP i18n textdomain
2022-04-01 11:41:32 +08:00
Lourens Schep
775e7117a1
Add build-watch to most js packages and remove packages watch from woocommerce-admin command
2022-03-30 11:46:12 -03:00
Chi-Hsuan Huang
0be52342b7
Merge pull request #32372 from woocommerce/add/test-lint-js-action
...
Add lint-test JS Github action
2022-03-30 10:23:50 +08:00
Moon
c13d126f11
Merge pull request #32390 from woocommerce/update/32177-deprecate-wc-admin-version-number
...
Deprecate WC_ADMIN_VERSION_NUMBER constant
2022-03-29 13:59:04 -07:00
Chi-Hsuan Huang
0cc5c6d515
Add expose-loader for storybook webpack config
2022-03-29 16:46:40 +08:00