Skip to content

Releases: Shopify/web-configs

@shopify/[email protected]

13 Dec 18:25
5d94d85
Compare
Choose a tag to compare

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]

05 Dec 17:23
b91a0a8
Compare
Choose a tag to compare

Patch Changes

  • #350 06e1245 Thanks @marvinhagemeister! - Update the eslint-plugin-import to the latest version which contains significant performance improvements for module resolution.

@shopify/[email protected]

29 Jun 19:35
f726506
Compare
Choose a tag to compare

Patch Changes

  • #341 8cbfc69 Thanks @BPScott! - Update eslint-plugin-prettier to v4.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]

29 Jun 18:18
bc06a23
Compare
Choose a tag to compare

Major Changes

  • #340 af6fccc Thanks @BPScott! - Remove the @shopify/eslint-plugin/graphql config and the dependency on eslint-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

  • #338 d8c61cc Thanks @BPScott! - Remove a layer of indirection by specifying rules in lib/config/*.js files instead of having them import content from lib/config/rules/*.js

@shopify/[email protected]

24 Jun 00:01
3ab828e
Compare
Choose a tag to compare

Patch Changes

@shopify/[email protected]

24 Jun 00:01
3ab828e
Compare
Choose a tag to compare

Patch Changes

@shopify/[email protected]

20 Apr 18:09
Compare
Choose a tag to compare

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.

Documentation / Changelog