Chi-Hsuan Huang
9aba93d127
Update all js packages with minor/patch version changes ( https://github.com/woocommerce/woocommerce-admin/pull/8392 )
...
* Update all js packages with minor/patch version changes
* Add changelog
* Fix packages/data types errors
* Update data/CHANGELOG.md
* Fix puppeteer version
* Fix packages/data > countries error types
* Make data key optional in RestApiError
2022-03-08 10:11:12 +08:00
Chi-Hsuan Huang
86fc8b62e5
Switch to pnpm ( https://github.com/woocommerce/woocommerce-admin/pull/8349 )
...
* Add pnpm-workspace.yaml
* Add missing dependencies & replace file: with workspace:* in
package.json
* Replace "npm" with "pnpm"
* Replace "npx" with "pnpx"
* Remove package-lock.json
* Add pnpm setup action to github workflows
* Update webpack babel exclude path
* Upgrade woo e2e and fix e2e test command
Update e2e.yml
Use pnpm run e2e:docker-up in e2e.yml
* Remove unused docker-compose.yaml
* Replace lerna with pnpm commands
Update publish commands
* Exclude _locutus_shared_bc.js in babel.config.js
* Add .npmrc to set enable-pre-post-scripts=true by default
* Fix storybook babel config
Update babel.config.js
* Add changelog
* Update pnpm-lock.yaml
* Replace pnpx with pnpm exec
* Update pnpm-lock.yaml
* Remove js-tests/package-lock.json
* Fix @woocommerce/tracks -> workspace:*
* Update pnpm-lock.yaml
* Add @woocommerce/experimental to onboarding/package.json
* Add "@woocommerce/component" to onboarding/package.json
* Update pnpm-lock.yaml
* Use || instead of && for "test:watch"
Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
* Fix packages/number "clean" command
* Add root: true to .eslintrc.js to enforce it to use the root config file
* Exclude packages/**/node_modules from babel transpiling
* Fix js-tests build config
Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
2022-03-04 12:01:16 +08:00
Jeff Stieler
8e61f55017
Allow packages to be built in isolation. ( https://github.com/woocommerce/woocommerce-admin/pull/7286 )
...
* Use yarn instead of npm.
In prep for workspaces, since we're locked to npm < 7. See: https://github.com/woocommerce/woocommerce-admin/pull/7126#issue-661287749
* Initial workspace creation.
* Add initial tsc build to @woocommerce/number.
* Attempt to build experimental package.
* Try currency package.
* Define all packages as workspaces.
* Use tsconfig common to packages.
* Fix currency package build.
* Build csv-export with tsc.
* Try to build customer-effort-score with tsc.
* Fix JSX pragma.
* Build data package with tsc.
* Build date package with tsc.
* Build experimental package with tsc.
* Try to build explat package with tsc.
* Build navigation package with tsc.
* Build notices package with tsc.
* Build onboarding package with tsc.
* Build components package with tsc.
* Swap in package JS build into main script.
* Fix experimental package build.
* Try per-package css build with components.
* Try to run components package tests in isolation.
Broken on JSX in test files not being transformed.
* Move @woocommerce/wc-admin-settings into a package.
* Try to fix components package tests.
Fails because we aren't setting up the jest/jest-dom globals.
* Move JS test code to reusable (private) package.
* Enable incremental TS builds.
* Use workspaces to run JS tests.
* Use new jest configs for update snapshot scripts.
* Fix style builds.
* Fix package version in components.
* Fix client test debug and watch scripts.
* Update yarn lock.
* Update test-staged behavior.
* Try to fix storybook.
* Fix storybook.
* Update more npm commands to yarn.
* Add changelog.
* Fix lint errors.
* Update packages readme script references.
* Clean up unused gitignore match.
* Fix another npm command.
* Fix JS builds on watch.
* Fix start script.
* Fix start scripts for packages.
* Use tsc to build packages before tests
* yarn -> npm.
# Conflicts:
# package-lock.json
# package.json
* Fix linter error.
* Remove workspace definitions.
* Fix missing Fragment import.
* Fix package lock.
* Fix missing reference.
* Only build commonjs module for js-tests helper.
* Remove errant dependency from components.
* Remove noop scripts.
* Fix package JS build before testing.
* Revert noisy formatting changes.
* Fix precommit and test scripts.
* Fix minimum expected recommended extension count.
Japan test case breaks this.
* Revert babel config changes.
* chore(release): publish
- @woocommerce/components@7.2.0
- @woocommerce/csv-export@1.4.0
- @woocommerce/currency@3.2.0
- @woocommerce/customer-effort-score@1.1.0
- @woocommerce/data@1.4.0
- @woocommerce/date@3.1.0
- @woocommerce/dependency-extraction-webpack-plugin@1.7.0
- @woocommerce/eslint-plugin@1.3.0
- @woocommerce/experimental@1.5.0
- @woocommerce/explat@1.1.0
- @woocommerce/js-tests@1.1.0
- @woocommerce/navigation@6.1.0
- @woocommerce/notices@3.1.0
- @woocommerce/number@2.2.0
- @woocommerce/onboarding@1.1.0
- @woocommerce/tracks@1.1.0
- @woocommerce/wc-admin-settings@1.1.0
* Add script for running 'start' in a package.
* Remove yarn from gitignore.
* Update package changelogs, prep versions for release.
* Try to fix E2E tests after main merge.
* Some cleanup.
* Add changelog.
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-07-14 16:38:57 -04:00
renovate[bot]
f33463daad
Update dependency locutus to v2.0.15 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/7162 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-28 10:34:10 +12:00
Paul Sealock
8c135e31c5
bump package versions ( https://github.com/woocommerce/woocommerce-admin/pull/6767 )
2021-04-13 08:32:27 +12:00
Sam Seay
630f31ae9d
Clean up unused deps and add TS to the build. ( https://github.com/woocommerce/woocommerce-admin/pull/6441 )
2021-03-01 16:01:22 +13:00
renovate[bot]
dbd7c823f6
Update babel monorepo to v7.12.5 ( https://github.com/woocommerce/woocommerce-admin/pull/5525 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-05 13:50:38 +13:00
renovate[bot]
29f6bcc126
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/5439 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-22 12:19:55 +10:00
renovate[bot]
2ce600cde9
Update dependency locutus to v2.0.14 ( https://github.com/woocommerce/woocommerce-admin/pull/5369 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-15 11:11:08 +13:00
renovate[bot]
fdd2c73122
Update dependency locutus to v2.0.12 ( https://github.com/woocommerce/woocommerce-admin/pull/5148 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-25 09:25:26 +12:00
Paul Sealock
23846221e6
jsDoc: Fix errors ( https://github.com/woocommerce/woocommerce-admin/pull/4985 )
...
* jsDoc errors, round 1
* round 2
* round 3
* voila
* root0 -> props
2020-08-18 09:36:24 +12:00
renovate[bot]
56dec569b5
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/4925 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-10 21:37:47 +12:00
Paul Sealock
8b80c83b09
Prepare to publish packages ( https://github.com/woocommerce/woocommerce-admin/pull/4908 )
...
* get changelogs ready
* bump versions in package.json
* reset stable tag
2020-08-04 15:10:36 +12:00
Darren Ethier
dc5304823b
Add @woocommerce/eslint-plugin ( https://github.com/woocommerce/woocommerce-admin/pull/4714 )
...
* add new woocommerce/eslint-plugin
* implement eslint-plugin (switch scripts to use wp-scripts etc)
* various linting fixes
* more lint fixes
* improve fix script
* more eslint fixes
* more eslint fixes
* temporary convert rules to warnings until they are all handled
* linting fixes
* update package-lock.json
* remove duplicates
* remove unnecessary `@wordpress/dependency-group` rule config
* add docs and adjust rules
* prettier fix
* fix merge artifact
* convert more rules to warnings
* change order to reflect importance
* install babel-preset-default
* remove unnecessary configuration for babel
* fix dependency group rule and test
* fix test
* handle collapsible whitespace
* add react testing library eslint plugin
* linter errors
* Add back in prettierrc
* package-lock update
* js lint fix with --fix
* disable whitespace in translation
* package-lock update
* make eslint actual dependency, not peer dependency
* pin eslint to v7
* I don't know why, but its working
* fix lint js
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-07-28 14:32:58 +12:00
renovate[bot]
bad969456c
Update babel monorepo to v7.10.5 ( https://github.com/woocommerce/woocommerce-admin/pull/4809 )
...
* Update babel monorepo to v7.10.5
* Update babel monorepo to v7.10.5
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-07-17 12:29:37 +10:00
renovate[bot]
1ac65a6548
Update babel monorepo to v7.10.4 ( https://github.com/woocommerce/woocommerce-admin/pull/4677 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 15:16:10 +12:00
Jeff Stieler
dd54268ad7
Master -> main. ( https://github.com/woocommerce/woocommerce-admin/pull/4618 )
2020-06-17 13:39:41 -04:00
renovate[bot]
6ad560bf15
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/4446 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 15:44:33 -07:00
renovate[bot]
c5815a3dc6
Update babel monorepo to v7.9.6 ( https://github.com/woocommerce/woocommerce-admin/pull/4295 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-13 10:54:33 +12:00
Paul Sealock
cb4ba39e30
Dynamic Currency with Context API ( https://github.com/woocommerce/woocommerce-admin/pull/4027 )
...
* Make currency setting dynamic with context API
* reference Currency
* what is 'this'
* remove comment
* All report tables
* Customers report
* activity panel
* leaderboard test
* business details
* store details
* single source of truth
* shipping rates
* remove currency-format.js
* tidy up
* make Currency a factory function
* factory revenue table
* tables
* Chart y-axis labels
* customers table
* cleanup
* business details
* shipping
* number-format
* stock and downloads tables
* changelog
* cleanup
* SQL example: update to dynamic currencies (https://github.com/woocommerce/woocommerce-admin/pull/4033 )
2020-04-03 10:54:38 +13:00
renovate[bot]
a49d2489dc
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/3985 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:39:13 +13:00
renovate[bot]
cdfb21f983
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/3774 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 16:59:55 +01:00
Darren Ethier
33c5b41e3f
Align WooCommerce javascript code standards/linting/styles with WordPress core. ( https://github.com/woocommerce/woocommerce-admin/pull/3674 )
...
* align code styles with the same configuration as Woo-Blocks
* initial pass of reformat-files
* applies manual fixes to various new linting errors surfaced by the configuration change.
* Fix state mutation in image-upload
* remove unused pre-commit-hook.js
* requestAnimationFrame -> window.requestAnimationFrame
* wc-api eslint changes
* eslint fixes on client/lib and client/settings
* client/header eslint changes
* fixes for client/dashboard part 1
* fixes client/dashboard part 2 of 2
* client/analytics part 1
* client/analytics continued
* client/analytics, last batch
* rename __mock__ directory
* pass in useEffect, useState from React component or function
* remove '+' from sprintf string argument
* use ref instead of findDOMNode
* reformat and repaply package.json changes
* install deps before running linter in Travis
* useGetCountryStateAutofill
* counryStateAutofill
* countryStateAutofill
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-02-14 15:23:21 +13:00
renovate[bot]
1bd31a79dc
Update babel monorepo to v7.8.4 ( https://github.com/woocommerce/woocommerce-admin/pull/3668 )
...
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 14:16:24 +13:00
renovate[bot]
de5d3f7c82
Update babel monorepo to v7.8.3 ( https://github.com/woocommerce/woocommerce-admin/pull/3558 )
...
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-16 16:00:52 -08:00
renovate[bot]
6124c29e19
Update babel monorepo to v7.7.7 ( https://github.com/woocommerce/woocommerce-admin/pull/3476 )
2019-12-30 10:01:06 -04:00
renovate[bot]
90bde97393
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/3408 )
2019-12-11 22:00:37 -05:00
Darren Ethier
09ddedc8d9
Packages: Prep for release. ( https://github.com/woocommerce/woocommerce-admin/pull/3325 )
...
* update components package version and changelog
* update csvexport package and changelog
* update currency package and changelog
* update date package and changelog
* update navigation package and changelog
* update number package and changelog
* update package dependency versions
* fix typo
2019-12-02 08:08:35 -05:00
renovate[bot]
d035bc8397
Update babel monorepo to v7.7.4 ( https://github.com/woocommerce/woocommerce-admin/pull/3306 )
2019-11-27 17:06:29 +13:00
Jeff Stieler
17514872ad
Decouple currency and numbers packages from `wcSettings`. ( https://github.com/woocommerce/woocommerce-admin/pull/3277 )
...
* Remove wcSettings dependency from currency and number packages.
Either take a configuration object in function calls or in a new class constructor.
* Use new Currency class and number format methods in client/.
Compose with store settings to keep the same API.
* Don't reintroduce lodash dependency to currency package.
* Add changelog entries to currency and number packages.
* Update docs, example, and changelog for AdvancedFilters component.
* Use precision-less formatValue() for integer report values.
* Make Currency instance immutable.
2019-11-21 16:51:52 -05:00
renovate[bot]
faf4e7e6e4
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/3177 )
2019-11-11 11:05:50 +01:00
renovate[bot]
9e149f4ad1
Update babel monorepo to v7.6.3 ( https://github.com/woocommerce/woocommerce-admin/pull/3013 )
2019-10-09 09:28:27 -04:00
renovate[bot]
891823c576
Update babel monorepo to v7.6.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2910 )
2019-10-07 10:45:00 -04:00
Albert Juhé Lluveras
db4328acb8
Use native Number.isFinite() instead of lodash isFinite ( https://github.com/woocommerce/woocommerce-admin/pull/2977 )
2019-10-01 10:02:53 +02:00
Darren Ethier
d728d38219
Refactor: Alternative approach to implementing extendable settings from the server ( https://github.com/woocommerce/woocommerce-admin/pull/2917 )
...
* integrate with new asset data registration (php side)
- includes back-compatibility.
* update js configuration and implement settings alias
- this aliases `@woocommerce/wc-admin-settings` to the settings api exposed via blocks (either the blocks plugin or core) and all the settings provided via the server.
- Adds fallback for back-compat if `wc.wcSettings` is not available in the environment (fallsback to `wcSettings`).
* initial pass to update all wcSettings direct usage to the new api
- this is just an initial pass, more can be done in separate pulls.
* missed one spot for adding new filter implementation
* fix incorrect jest config
* Avoid unnecessary assignment and directly return.
* Remove unnecessary defaults
* Fix inline comment text case.
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* Remove unnecessary inline comment.
* use @todo instead of TODO
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* fix incorrect reference in webpack config.
* add missing import and slightly delay dependency injection for scripts
* update get-setting and set-setting callbacks
* disable lint rule for console.error on dev doc builds
2019-09-23 17:47:08 -04:00
Paul Sealock
5b3ecb186c
components: update package.jsons
2019-08-16 10:20:54 +12:00
Paul Sealock
dd948051cb
Components: prepare changelogs for release
2019-08-16 10:08:29 +12:00
renovate[bot]
e1e9b556b6
Update dependency lodash to v4.17.15 ( https://github.com/woocommerce/woocommerce-admin/pull/2722 )
2019-07-31 11:55:19 -04:00
renovate[bot]
aa45022256
Update babel monorepo to v7.5.5 ( https://github.com/woocommerce/woocommerce-admin/pull/2691 )
2019-07-29 13:29:52 -04:00
renovate[bot]
4b7bac3327
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/2623 )
2019-07-15 16:25:15 +02:00
renovate[bot]
2c6c7671e2
Update dependency lodash to v4.17.13 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/2639 )
2019-07-15 11:19:37 +02:00
Mike Jolley
a89716296c
license typo
2019-07-05 11:26:12 +01:00
Paul Sealock
1108d327be
Packages: prepare for release
2019-07-04 13:30:25 +12:00
renovate[bot]
d52a32692c
Update dependency locutus to v2.0.11 ( https://github.com/woocommerce/woocommerce-admin/pull/2515 )
2019-07-01 17:26:35 -07:00
Ron Rennick
08f542de3f
Merge pull request woocommerce/woocommerce-admin#2263 from woocommerce/consistent-licenses
...
include license.txt and update component package.json files
2019-05-24 23:29:41 -03:00
renovate[bot]
8b5681c466
Update babel monorepo to v7.4.5 ( https://github.com/woocommerce/woocommerce-admin/pull/2273 )
2019-05-22 10:31:29 +02:00
Ron Rennick
69e8f5151f
include license.txt and update component package.json files
2019-05-18 01:19:20 -03:00
Renovate Bot
20fd6abf4c
Update babel monorepo to v7.4.4
2019-05-01 00:39:50 +00:00
Kelly Dwan
754c2a07eb
Update changelogs with latest versions, bump package versions where outdated ( https://github.com/woocommerce/woocommerce-admin/pull/2039 )
2019-04-11 14:43:45 -04:00
renovate[bot]
4c018efc7a
Update babel monorepo to v7.4.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1987 )
2019-04-03 08:48:52 -04:00