Lucas Bustamante
03614e54ae
Tweak comment
2022-02-07 18:16:37 -03:00
Lucas Bustamante
0cf1b69c7a
Rename/move test to more appropriate location
2022-02-07 18:13:02 -03:00
Lucas Bustamante
0bc908f8d2
CR: Spacing
2022-02-07 18:10:31 -03:00
Lucas Bustamante
cd2ed17200
CR: Simplify code
2022-02-07 18:10:02 -03:00
Lucas Bustamante
299b7c0bdd
Remove display_key/display_value from coupon_line on Order test
2022-02-07 18:08:26 -03:00
Lucas Bustamante
ae5d23ce9f
Rename property, code style changes, add developer comment
2022-02-07 18:05:06 -03:00
Lucas Bustamante
8b859ffb25
Merge branch 'trunk' into packages/api/json-transform-tests
2022-02-07 17:53:55 -03:00
Lucas Bustamante
c1cf58437f
Remove tweak to work with both snake_case and camelCase
2022-02-03 11:26:49 -03:00
Ron Rennick
933de44557
remove pnpm rule, fix utils build
2022-01-28 12:34:49 -04:00
Lucas Bustamante
baa2d15c2d
ts-jest ^27 is incompatible with chalk <3.0.0
...
This breaks the build in the monorepo due to some package using chalk <3.0.0, reverting back to jest/ts-jest ^25 seems like the lesser evil
2022-01-19 13:47:29 -03:00
Lucas Bustamante
5deef1b4b2
Add tests and partial fix of coupon_lines and refunds
2022-01-19 13:28:16 -03:00
Lucas Bustamante
5ea6f671d3
Add tests and partial fix of tax_lines
2022-01-19 13:16:45 -03:00
Lucas Bustamante
f23587cde6
Add tests and partially fix line_items, fee_lines, shipping_lines
2022-01-19 13:11:59 -03:00
Lucas Bustamante
6489025273
Hydrate from snake_case or camelCase, depending on applied transformers
2022-01-18 19:36:38 -03:00
Lucas Bustamante
2120c08eb0
Tests WIP
2022-01-18 19:36:18 -03:00
Lucas Bustamante
46af82a842
Make OrderLineItem hydratable
2022-01-18 19:36:06 -03:00
Lucas Bustamante
3c8c6e7718
Rename properties according to WooCommerce API
2022-01-18 19:35:56 -03:00
Lucas Bustamante
6a6ceaa3f4
Add more keys to be converted
2022-01-18 19:35:38 -03:00
Lucas Bustamante
b75f8adbb5
Test that a JSON payload is transformed as expected (WIP)
2022-01-17 16:25:49 -03:00
Lucas Bustamante
770bd181ce
Split Shipping and Billing Addresses as they have different properties
2022-01-17 16:25:23 -03:00
Lucas Bustamante
c6ac637fa6
Bump ts-jest to same version of jest ^27
2022-01-17 09:37:45 -03:00
jamelreid
d83a83ae0c
Updated JSDoc to description
2021-12-23 10:20:40 -05:00
jamelreid
35784f2f3a
Updated JSDoc type
2021-12-23 10:18:50 -05:00
Jamel Noel Reid
8920b4686e
Update CHANGELOG.md
2021-12-20 11:51:43 -05:00
jamelreid
8078b0cdaf
Added low stock threshold
2021-12-17 12:38:19 -05:00
jamelreid
40d14043d2
Updated CHANGELOG.md
2021-12-17 12:37:09 -05:00
Roy Ho
af3585b67b
Merge branch 'trunk' into standardize-config-files
2021-12-15 07:13:58 -08:00
Paul Sealock
eb453cce20
Add NX commands for Jetpack Changelogger ( #31166 )
2021-12-15 14:14:17 +13:00
roykho
ff7c615770
Move gitignore paths to root when it makes sense
2021-12-14 08:21:37 -08:00
roykho
f5b4c86e8e
Move ignore file to root level
2021-12-09 06:21:01 -08:00
roykho
286928bb6d
Ignore package-lock.json
2021-12-02 11:12:27 -08:00
roykho
c03bcc59b4
Prevent the use of npm to install packages
2021-12-02 11:09:46 -08:00
Claudio Sanches
bc910e2364
Merge pull request #31206 from woocommerce/fix/changelogger-validate
...
Jetpack Changelogger: Validate entries
2021-11-26 13:21:01 -03:00
Christopher Allford
2f0a828493
Downgraded ts-jest
...
This was causing issues with building the API package, which in turn
broke the entire build.
2021-11-16 15:33:00 -08:00
Christopher Allford
471e5e7877
Fixed @woocommerce/api Builds
...
It looks like I missed the `pnpm-lock.yaml` update.
2021-11-16 15:19:33 -08:00
Christopher Allford
2a29754ab2
Revised @woocommerce/api Test Suite
...
This commit replaces the moxios package with the
axios-mock-adapter, in order to fix all of the failing
tests. This felt necessary because changing the
TypeScript configuration would have the largest
potential impact on this package, due to it
being written natively in it. This package is a
great candidate for testing all of the new
configuration changes out on.
2021-11-15 23:06:47 -08:00
Paul Sealock
fc839d212d
update all usages
2021-11-16 15:16:20 +13:00
Christopher Allford
c91dda177d
Fix E2E Tests ( #31205 )
...
* Removed Changlogger Autoload
* Changed Jetpack Changelogger Formatter Loading
Rather than using the Composer autoload, we should use the
changelogger's "filename" option to point directly at the file.
This keeps the file out of the autoloads, since it's possible that
plugins or packages may be symlinked and break the relative
path to the plugin.
2021-11-16 15:01:50 +13:00
Paul Sealock
15f26ee8f7
update to 3.0.2 of changelogger
2021-11-11 17:03:44 +13:00
Paul Sealock
5d6539d209
lock files
2021-11-11 16:55:05 +13:00
Paul Sealock
5c68568bb7
Revert "add nx composer-install targets"
...
This reverts commit ffaef64343
.
2021-11-11 16:47:50 +13:00
Paul Sealock
ffaef64343
add nx composer-install targets
2021-11-11 16:43:27 +13:00
Paul Sealock
20fb81eb5a
point to next changelog
2021-11-11 16:38:38 +13:00
Paul Sealock
e08cc18e16
js packages next changelogs
2021-11-11 16:34:50 +13:00
Paul Sealock
a5abab9ab0
Add Jetpack Changelogger
2021-11-11 16:28:10 +13:00
Roy Ho
9d08ac8ac3
Merge pull request #31095 from woocommerce/setup-nx
...
Setup nx
2021-11-09 20:26:37 -08:00
roykho
d839bdfc94
Implement executors for all script commands
2021-11-09 12:35:22 -08:00
Ron Rennick
a53e37f43b
remove duplicate gitignore entries
2021-11-08 11:03:19 -04:00
roykho
7dc6ae6316
Add Nx basic script executors for packages
2021-11-05 08:15:04 -07:00
roykho
608d42711d
Implement Nx lint for API package
2021-11-05 05:43:46 -07:00