Christopher Allford
8c6b414fe0
Revert "Refactoring Task Infrastructure" ( #41928 )
...
Revert "Refactored Task Infrastructure (#41202 )"
This reverts commit 96a973b9fa
.
2023-12-06 11:36:12 -08:00
Christopher Allford
96a973b9fa
Refactored Task Infrastructure ( #41202 )
...
* Fixed NPM packages with invalid names.
* Renamed plugin packages.
* Standardized package NPM scripts.
* Replaced Turborepo with Wireit.
2023-12-06 09:32:32 -08:00
Christopher Allford
88969742f2
Regenerate PNPM Lock File & Fix Errors ( #41830 )
2023-12-05 00:36:30 -08:00
RJ
7d465c406a
dev: edited package.json lint scripts to output to console ( #41498 )
...
* edited package.jsons to output to console
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/product-editor, @woocommerce/onboarding, @woocommerce/number, @woocommerce/navigation, @woocommerce/integrate-plugin, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/components, @woocommerce/block-templates, @woocommerce/api, @woocommerce/ai, @woocommerce/admin-layout, @woocommerce/admin-e2e-tests
* empty commit to trigger CI
---------
Co-authored-by: github-actions <github-actions@github.com>
2023-11-21 11:16:08 +08:00
github-actions[bot]
3a265c3afd
Prepare Packages for Release ( #41065 )
...
Co-authored-by: opr <opr@users.noreply.github.com>
2023-10-31 02:02:59 -07:00
Thomas Roberts
0baec4e003
Add `@woocommerce/blocks-components` to `dependency-extraction-webpack-plugin` packages list ( #41042 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-10-27 02:21:46 -07:00
Matt Sherman
1e35d45c99
Template API: Expose template block id and order to client ( #40263 )
...
* Update unit tests to handle _templateBlockId and _templateBlockOrder
* Refactor get_formatted_template
* Initial @woocommerce/block-templates package
* Add block-templates to admin webpack
* Add block-templates to dependency-extraction-webpack-plugin
* Add block-templates to admin assets
* Add block-templates dependency
* Update name block
* Update syncpack
* Update regular price block
* Update tab block
* Update section block
* Add @wordpress/deprecated to package
* Deprecated initBlock
* Update attributes block
* Update catalog visibility block
* Update checkbox block
* Update conditional block
* Update collapsible block
* Allow additional props to be passed to useWooBlockProps
* Update inventory sku block
* Update inventory quantity block
* Update inventory email block
* Update images block
* Update description block
* Update radio block
* Update pricing block
* Update password block
* Update notice block
* Update shipping dimensions block
* Update shipping class block
* Update schedule sale block
* Update sale price block
* Update toggle block
* Update taxonomy block
* Update tag block
* Update summary block
* Update variations block
* Update variations options block
* Update variation items blocks
* Changelog
* Changelog
* Changelog
* Changelog
* Changelog
* Add test for registerWooBlockType
* Add @testing-library/react-hooks to devDependencies
* Add test for useWooBlockProps
* Document API
* Fix linting issues in README.md
* Fix tabs tests by mocking useWooBlockProps
* Allow header duplication under different nesting
* Remove unused import (fixes lint error)
* Update lock file
2023-09-27 13:38:56 -07:00
Sam Seay
45c49dc232
Add a workflow to separate out eslint and annotate PRs. ( #39704 )
2023-08-15 18:21:51 +12:00
Sam Seay
e8c3808527
Upgrade TypeScript to v5.1 ( #39531 )
2023-08-08 16:35:31 +12:00
Sam Seay
4a2fd63b99
Use syncpack customTypes to keep pnpm and node in sync. Update pnpm to 8.6.7 ( #39245 )
2023-07-18 14:27:18 +12:00
Sam Seay
957fb2b07e
Update pnpm to 8.6.5 ( #38990 )
2023-06-29 16:51:29 +12:00
Sam Seay
7cbc3811d8
Update monorepo to pnpm 8 and Node to 16.14 ( #37915 )
2023-04-25 18:49:30 +12:00
Christopher Allford
67cde87fd1
Enforce Strict `@types` Dependencies ( #37351 )
2023-03-23 18:02:20 -07:00
Matt Sherman
af24637439
Create @woocommerce/admin-layout package ( #37094 )
...
* Initial admin-layout package skeleton
* Changelog files
* Use createOrderedChildren and sortFillsByOrder from @woocommerce/components for WooFooterItem
* Move WooFooterItem to @woocommerce/admin-layout
* Use WooFooterItem from @woocommerce/admin-layout
* Suppress errant TS lint errors
* Exports for @woocommerce/admin-layout
* Fill updates and eslint suppression
* Changelogs
* Remove suppression of tslint errors
* Fix react and @types/react versions
* Load @woocommerce/admin-layout script and styles
* Move WooHeaderItem, WooHeaderNavigationItem, and WooHeaderPageTitle to @woocommerce/admin-layout
* Regenerate lock file post-rebase
* Remove duplicate import post-rebase
* Add wc-admin-layout to app style dependency
* Fix jest mock of @woocommerce/admin-layout
* Fix spacing.
* Export slot names
* Fix typo in .npmrc
* Update lock file
* Try updating lock file
* Update lock file
* Update lock file
* Update to latest lock file from trunk
* Update lock file
* Sync dependencies of @woocommerce/admin-layout
* Manually sync @wordpress dependencies
2023-03-10 09:58:02 -05:00
Sam Seay
bec3ec18ac
Update Syncpack and use it to pin @wordpress packages to wp-6.0 ( #37034 )
2023-03-09 10:13:25 +13:00
Leif Singer
d0a2b582fe
Consolidate eslint versions ( #36700 )
...
* pin eslint in .syncpackrc
run `pnpm run sync-dependencies` to ensure pinned version is used across projects, then run `pnpm install` to update `pnpm-lock.yaml`
* add changelog files
ran `pnpm run --no-bail --filter='[HEAD^1]' changelog add --significance=patch --type=dev --entry='Update eslint to 8.32.0 across the monorepo.'`
* re-run `pnpm install` to fix what broke while merging
2023-02-02 23:25:04 +13:00
louwie17
5f0572664f
Add new `@woocommerce/product-editor` JS package ( #36600 )
...
* Bootstrap product-editor package
* Move product section components over to product editor package
* Add changelogs
* Remove unused import leftover from rebase
2023-01-31 09:38:28 -04:00
Vedanshu Jain
f36a16cd06
Update changelogger to 3.3.0 to support PR number capturing with merge ( #36266 )
...
* Update changelogger.
* Add changelog.
* Update changelogger for all packages.
* Add changelogs.
* Update changelog for remaining packages.
2023-01-05 14:42:51 +05:30
Sam Seay
aec442139f
Update pnpm once again to fix issues with auto-install-peers ( #35007 )
2022-10-10 16:59:51 +13:00
Sam Seay
59e0c80f3c
Update the pnpm constraint to 7.12.2+ now auto-install is fixed. ( #34872 )
2022-10-03 10:52:42 +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
Sam Seay
c0fe3ec18f
Fix pnpm version to 7.11.0 in engines and in CI ( #34773 )
2022-09-27 11:30:52 +13: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
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
github-actions[bot]
c33212e612
Prepare Packages for Release ( #33776 )
...
Automated change: Prep all packages for release.
Co-authored-by: psealock <psealock@users.noreply.github.com>
2022-07-08 14:04:49 +12:00
Paul Sealock
72925142f3
Packages: Fix postinstall errors on install ( #33724 )
2022-07-07 14:53:59 +12:00
Paul Sealock
7229b65bc9
Changelogger: Fix PHPCS violations ( #33664 )
2022-07-07 08:54:48 +12: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
Roy Ho
98cf4e7160
Add PR numbers to changelog entries on code freeze process ( #33627 )
...
* Add PR numbers to changelog entries on code freeze process
* Add markdown links to PR
2022-06-28 11:15:39 -07:00
Paul Sealock
b79e54eb09
Update JS packages changelogs ( #33412 )
2022-06-16 10:06:31 +12: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
Christopher Allford
2101bf5c9c
Set Composer Platform Requirements ( #33245 )
...
This commit sets a platform requirement for all `composer.json` files to ensure that they are compatible with CI.
2022-05-27 14:57:33 -07:00
Thomas Roberts
f571564346
Add `@woocommerce/extend-cart-checkout-block` package ( #32323 )
...
* initial commit
* 1.1.0
* Add additional files
* 1.2.0
* Add sass file and comment to webpack.config.js
* 1.3.0
* Use pascal case for class name
* 1.4.0
* Add package lock
* Add gitignore
* Add plugin header
* 1.5.0
* Add actions to initialise class
* 1.6.0
* Fix issue with __FILE__ and version constant
* 1.7.0
* Add scripts to package.lock.json
* 1.8.0
* Move scripts to src and remove package.json template
* 1.9.0
* Add JS script in root of src folder
* 1.10.0
* Add correct directory to JS script
* 1.11.0
* Add correct path to sass loader webpack
* 1.12.0
* 1.13.0
* Remove automattic colour import
* 1.14.0
* update src of scripts
* 1.15.0
* update example data
* 1.16.0
* update example with filters
* 1.17.0
* Add filter for cod payment method
* 1.18.0
* Create README.md
* Update package.json (https://github.com/woocommerce/blocks-template/pull/1 )
* Add new file to house the integration class and prevent a fatal error (https://github.com/woocommerce/blocks-template/pull/2 )
* 1.19.0
* Update integration to use correct hooks
* 1.20.0
* Include blocks integration file
* 1.21.0
* Remove package lock and update repo references
* Remove gitignore and update README
* Add project.json
* Move package to extend-cart-checkout-block
* Update pnpm lock for new package name
* Add new package name to dependency extraction webpack plugin
* Remove unnecessary config options from webpack.config.js.mustache
* Include npmDevDependencies in defaultValues
* Add changelog for dependency extraction plugin
* Add composer.json for changeglog generation
* Add postinstall script to package.json
* Remove test script from package.json
* Reset package version to 1.0.0
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
2022-05-25 23:44:31 +12:00
Paul Sealock
5537da6e9d
Packages: Add Changelogger scripts ( #32813 )
2022-05-05 15:26:36 +12:00
Paul Sealock
e82e3cc49e
changelog
2022-04-28 10:00:29 +12:00
Paul Sealock
931845a53a
reference local eslint plugin package
2022-04-28 10:00:29 +12:00
Paul Sealock
12fef88354
Add lint:fix to admin js packages
2022-04-28 10:00:29 +12:00
Chi-Hsuan Huang
863316ade7
Merge pull request #32518 from woocommerce/update/32516-woocommerce-admin-links
...
Update woocommerce-admin links to point to woocommerce repo
2022-04-14 13:40:25 +08:00
Chi-Hsuan Huang
3fc88f0a71
Update links of woocommerce-admin to https://github.com/woocommerce/woocommerce
2022-04-07 17:02:43 +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
81a1f4244a
Add .eslintrc config to each packages
...
Update packages .eslintrc.js
Update components & admin-e2e-tests lint command
2022-03-29 16:08:07 +08:00
rjchow
43f81cbf69
Bumped WCA JS package version numbers
2022-03-22 16:08:24 +08:00
Christopher Allford
93e44b3628
Updated React Admin Build Output
...
This changes the output of the React-based
admin client from WooCommerce Admin to
an appropriate location in the core plugin.
2022-03-18 14:53:25 -07: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