Releases: Shopify/web-configs
Releases · Shopify/web-configs
@shopify/[email protected]
Major Changes
- #347
7fbbceb
Thanks @developit! - Allow customizing Babel assumptions, and adopt some reasonably loose defaults rather than the normal strict defaults. This shall result in smaller transpiled files, at the expense of not following specs exactly when encountering edge cases.
@shopify/[email protected]
Patch Changes
- #350
06e1245
Thanks @marvinhagemeister! - Update theeslint-plugin-import
to the latest version which contains significant performance improvements for module resolution.
@shopify/[email protected]
Patch Changes
- #341
8cbfc69
Thanks @BPScott! - Updateeslint-plugin-prettier
tov4.1.0
, to automatically skip trying to run prettier over graphql files. Remove the explicit override for disabling prettier in graphql files, as it will cause eslint's "work out what extensions need linting" logic to try to parse graphql files. Add{overrides: {files: ['*.graphql', '*.gql'], rules: {'prettier/prettier': 'off'}}}
to your eslint config if want to disable running the prettier rule over graphql files entirely.
@shopify/[email protected]
Major Changes
- #340
af6fccc
Thanks @BPScott! - Remove the@shopify/eslint-plugin/graphql
config and the dependency oneslint-plugin-graphql
as it is outdated and unsupported. If you used the graphql config then you should migrate to@graphql-eslint/eslint-plugin
. We no longer provide recommended graphql config as it has a large install footprint and we do not want to push that onto consumers that do not use graphql.
Patch Changes
@shopify/[email protected]
@shopify/[email protected]
@shopify/[email protected]
What's New
This release contains a new experimental common preset @shopify/babel-preset/common
. [#231]
The @shopify/babel-preset/common
preset is designed to be a common import that offers more options. It is a combination of the web
, node
, and react
presets all in one.
Example Usage
{
"babel": {
"presets": [
["@shopify/babel-preset/common", {"typescript": true, "react": true, "transformRuntime": true}]
]
}
}
Note: The common
preset will replace the web
, node
, and react
presets in the next major release.