Commit Graph

1023 Commits

Author SHA1 Message Date
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
Chi-Hsuan Huang 71350b4e8b Change script lint:js:packages to lint:js-packages 2022-03-29 16:38:26 +08:00
Chi-Hsuan Huang f2a6f93684 Update wca test command and ignore api-core-test
Update test:packages cmd
2022-03-29 16:38:06 +08:00
RJChow e9eac24793 tsconfig modifications
- moved and updated .vscode/tasks.json up to root level, and add exclusion to .gitignore
- added --pretty to ts:check in wca package.json (because otherwise there's no syntax highlighting in the output, not sure why this is needed with nx and not without)
- added references to root tsconfig.base.json
- update development.md with instructions for ts checking
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
moon d915587f5d Update version 2022-03-28 17:55:07 -07:00
louwie17 2215c9ab3e
Merge pull request #32347 from woocommerce/add-dev-scripts
Add build-watch command for woocommerce-admin
2022-03-28 08:55:57 -03:00
Lourens Schep 8508a46f31 Update watch command so there are no conflicts between build commands 2022-03-25 10:04:02 -03:00
Chi-Hsuan Huang 554fc86441
Merge pull request #32322 from woocommerce/fix/lint_js-fix
Fix paths and argument forwarding for `script lint:js-fix`
2022-03-25 15:01:10 +08:00
Lourens Schep 9a6c077b69 Add build-watch command for woocommerce-admin 2022-03-24 15:09:15 -03:00