Chi-Hsuan Huang
2b1f54b09d
Set up lint-staged configuration for each package
2022-04-06 17:31:32 +08:00
Lucas Bustamante
c22b56346b
Merge pull request #32004 from woocommerce/e2e/pkg-woocommerce-api-docs
...
Update docs of @woocommerce/api
2022-03-29 15:21:25 +01:00
Lucas Bustamante
d45f7051a4
PR Review
2022-03-29 15:04:37 +01:00
Lucas Bustamante
3e9e76ef7a
Update packages/js/api/README.md
...
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2022-03-29 15:02:42 +01:00
Lucas Bustamante
4cfb412a57
PR Review
2022-03-29 15:02:04 +01:00
Lucas Bustamante
1d036a79e7
Update packages/js/api/README.md
...
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2022-03-29 15:00:08 +01:00
Lucas Bustamante
922a72ef7e
PR Review
2022-03-29 14:58:42 +01:00
Chi-Hsuan Huang
167ca8d4b4
Fix @woocommerce/api lint errors
2022-03-25 16:23:12 +08:00
Lucas Bustamante
97c4688230
Typo and rewording
2022-03-01 18:43:02 -03:00
Lucas Bustamante
7b30436e21
Italic asterisk
2022-03-01 18:42:11 -03:00
Lucas Bustamante
e443e8c362
Literal asterisks and typo
2022-03-01 18:41:25 -03:00
Lucas Bustamante
ca58e7873f
Update docs, see commit description
...
Remove word "isometric", the correct word is "isomorphic", but I've went for "works both on Browser and Node" instead.
Added asterisks on "TypeScript definitions and Repositories" feature list
Added a section outlining the differences between this package and @woocommerce/woocommerce-rest-api
2022-03-01 18:34:32 -03:00
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