Christopher Allford
df32d8e967
Added `wireit` Dependency
...
We're adding this to _every_ package since they have their own
configuration and scripts to run. This also keeps them
isolated so that they can operate independently.
2023-12-09 13:11:15 -08:00
Christopher Allford
c936b5339e
Removed Unnecessary `.gitignore` Files
2023-12-09 13:01:12 -08:00
Christopher Allford
3a88cc739a
Updated Dependencies
2023-12-09 07:12:20 -08:00
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
Albert Juhé Lluveras
7f3b7e708c
Fix TypeScript error in 'Highlight templates changes' job ( #41882 )
...
Fix TypeScript in 'Highlight templates changes' job
2023-12-05 16:28:09 +01:00
Christopher Allford
88969742f2
Regenerate PNPM Lock File & Fix Errors ( #41830 )
2023-12-05 00:36:30 -08:00
Leif Singer
1e1fec80aa
capitalize Woo.com when used in a sentence
2023-11-10 15:49:08 +01:00
Leif Singer
808a0fc54f
update references to woocommerce.com to now reference woo.com
2023-11-10 15:49:08 +01:00
Leif Singer
7394e8344f
update woocommerce.com email addresses to woo.com
2023-11-06 14:06:54 +01:00
Christopher Allford
1c30563ffc
Separate PHP and JS Unit Tests ( #40639 )
...
Since some projects might have both kinds of tests we are
going to have a `test:php` and a `test:js` script for each.
2023-10-06 15:41:47 -07:00
Sam Seay
3a6c3cde9f
Code analyzer: find multiple hooks in single patch, add tests ( #39566 )
2023-08-09 13:05:00 +12:00
Sam Seay
e8c3808527
Upgrade TypeScript to v5.1 ( #39531 )
2023-08-08 16:35:31 +12:00
Sam Seay
2ffdf6f968
Remove all schema checking code from Code Analyzer. ( #39487 )
2023-08-01 13:47:10 +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
Christopher Allford
230bc04050
Updated `wp-env` To 8.0.0 ( #38440 )
2023-05-26 15:48:48 -07:00
Paul Sealock
ce7733ae78
Monorepo Utils: Migrate cli-core ( #38018 )
...
* move source files
* add uuid type dependency
2023-04-28 10:16:19 +12:00
Sam Seay
7cbc3811d8
Update monorepo to pnpm 8 and Node to 16.14 ( #37915 )
2023-04-25 18:49:30 +12:00
Paul Sealock
c4a7e9a11b
Monorepo CLI tooling: Set folder organisation ( #37561 )
2023-04-12 09:26:21 +12:00
Christopher Allford
67cde87fd1
Enforce Strict `@types` Dependencies ( #37351 )
2023-03-23 18:02:20 -07:00
Sam Seay
52bc1879bb
Allow composing code analyzer change detections (hooks, templates, db, schema) ( #37161 )
...
* Add granular command for scanning individual change types.
* documentation and clean up
* Refactor the API to be more intuitive and memorable.
* Update the documentation.
* Update tools/code-analyzer/src/commands/analyzer/analyzer-scan.ts
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
---------
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
2023-03-21 09:36:30 -05:00
Sam Seay
1834621d1a
Update the @woocommerce/eslint-plugin and fix bugs ( #36988 )
2023-03-02 11:36:38 +13:00
Sam Seay
48cd5917ed
Fix a minor bug in code analyzer and improve logging for when no changes exist ( #36915 )
2023-03-01 12:34:19 +13:00
Sam Seay
4b345402ce
Fix one last case of not skipping hooks when cloning in code analyzer ( #36912 )
...
Fix one last case of not skipping hooks when cloning.
2023-02-22 20:50:45 +13:00
Sam Seay
13b09da2cf
Add post checkout pnpm install to git hooks ( #36731 )
...
* Add post checkout pnpm install to help devs, disable hooks on pre push.
* Disable hooks in all simpleGit instances where checkout is run.
2023-02-21 08:42:44 +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
jonathansadowski
f8d8a42fd7
Add PR links to release post template output, and allow blog ID to be specified. ( #36026 )
...
* Update release template to be editable
* Correct issues in README
* Update to allow edits; refactor auth
* Update templates to add PR link
* Remove commented test code
* Update tools/code-analyzer/src/lib/scan-changes.ts
Co-authored-by: Sam Seay <samueljseay@gmail.com>
* Address typescript issues; prettier
* Resolve more typescript issues
Co-authored-by: Sam Seay <samueljseay@gmail.com>
2023-01-23 08:31:59 -06:00
Sam Seay
df3687a79f
Fix a bug where changes were added to the change map via callback ( #35966 )
2022-12-15 11:55:52 +13:00
Sam Seay
3cc47d245d
Allow use of pathspecs to limit the scope of generating a diff in Code Analyzer ( #35925 )
2022-12-13 10:22:13 +13:00
Sam Seay
dedbf7b492
Migrate uses of ::set-output in code-analyzer to setOutput. ( #35895 )
...
* Migrate uses of ::set-output to setOutput.
2022-12-12 19:41:00 +13:00
Paul Sealock
18b1b0d535
WP-Env: await stopWPEnv so Docker containers can close ( #35634 )
...
await stopWPEnv
2022-11-21 12:37:25 +13:00
Roy Ho
20bb576fb6
Restore previously installed pnpm version ( #35389 )
2022-10-31 12:29:43 -07:00
Roy Ho
8d73a03f97
Add line number reference links to release posts for hooks ( #35354 )
2022-10-27 11:03:19 -07:00
Sam Seay
9b9abd1eae
Replace outdated readme examples of using pnpm ( #35064 )
2022-10-14 16:14:45 +13:00
Sam Seay
55b49cb50a
Fix and consolidate linting across the monorepo ( #35012 )
2022-10-12 15:05:01 +13:00
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
614d98ff60
Extract the scanning functionality from code-analyzer, move common code into a separate package ( #34600 )
...
Also add contributor command and auto tagging to release-post-generator (#34608 )
2022-09-11 09:55:53 +12:00
Sam Seay
4ca9c5225d
Port the release generator from Woorelease extensions to tools ( #34496 )
2022-09-06 15:51:28 +12:00
Sam Seay
7f5f47247c
Code-analyzer: Perform build between checkouts to avoid failures ( #34438 )
...
Fixes #34196
2022-08-25 11:50:31 +12:00
Sam Seay
41a276c49b
Pass the version argument explicitly to code-analyzer, introduce a new command that determines latest major/minor ( #34404 )
...
This also adds a new command `major_minor` that contains some of the old logic of `getPluginData` to determine the latest major/minor version of WooCommerce
2022-08-22 16:29:59 +12:00
Sam Seay
c10d34742b
Ensure that schema and DB changes are reported to the changes JSON file, fix reporting bugs( #34238 )
2022-08-11 10:49:20 +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
Sam Seay
ecd17484bb
Generate a JSON file with changes from code-analyzer ( #33955 )
2022-07-21 19:37:59 +12:00
Sam Seay
fa5c2430ac
Migrate the analyzer's DB scan to the tmp repo clone approach ( #33919 )
...
Now the entire `code-analyzer` process operates on a temporary clone.
2022-07-18 16:10:04 +12:00
Sam Seay
5157bcf934
Use simple-git to produce diffs in the code analyzer ( #33837 )
...
In code-analyzer, clone the repo locally in a tmp folder and perform git operations on the copy instead of local files.
2022-07-14 15:39:38 +12:00