web-configs

Common configurations for building web apps at Shopify

MIT License

Downloads
1.4M
Stars
457
Committers
92

Bot releases are visible (Hide)

web-configs - @shopify/[email protected] Latest Release

Published by shopify-github-actions-access[bot] 11 months ago

Major Changes

  • #409 4fd9e99 Thanks @jas7457! - Change the @typescript-eslint/consistent-indexed-object-style rule to use default error settings, aka Record over index signature
web-configs - @shopify/[email protected]

Published by shopify-github-actions-access[bot] about 1 year ago

Major Changes

  • #400 cbfdb60 Thanks @BPScott! - Upgrade stylelint plugins to support prettier 3.x. Drop support for prettier 2.x.
web-configs - @shopify/[email protected]

Published by shopify-github-actions-access[bot] about 1 year ago

Major Changes

web-configs - @shopify/[email protected]

Published by shopify-github-actions-access[bot] over 1 year ago

Minor Changes

  • #371 3e31042 Thanks @laurkim! - Updated component URLs for polaris.shopify.com and updated polaris-no-bare-stack-item to support LegacyStack and polaris-prefer-sectioned-prop to support LegacyCard'
web-configs - @shopify/[email protected]

Published by shopify-github-actions-access[bot] over 1 year ago

Patch Changes

  • #375 7a0dcd1 Thanks @BPScott! - Don't replace top/right/bottom/left declarations with inset shorthand as inset is only supported in iOS Safari 14.5+
web-configs - @shopify/[email protected]

Published by shopify-github-actions-access[bot] over 1 year ago

Major Changes

Minor Changes

Patch Changes

web-configs - @shopify/[email protected]

Published by shopify-github-actions-access[bot] almost 2 years ago

Patch Changes

web-configs - @shopify/[email protected]

Published by shopify-github-actions-access[bot] almost 2 years ago

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.
web-configs - @shopify/[email protected]

Published by shopify-github-actions-access[bot] almost 2 years ago

Patch Changes

  • #350 06e1245 Thanks @marvinhagemeister! - Update the eslint-plugin-import to the latest version which contains significant performance improvements for module resolution.
web-configs - @shopify/[email protected]

Published by github-actions[bot] over 2 years ago

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.
web-configs - @shopify/[email protected]

Published by github-actions[bot] over 2 years ago

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
web-configs - @shopify/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

web-configs - @shopify/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

web-configs - @shopify/[email protected]

Published by vsumner over 3 years ago

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

Package Rankings
Top 1.71% on Npmjs.org
Badges
Extracted from project README
License: MIT npm version npm bundle size (minified + gzip) npm version npm bundle size (minified + gzip) npm version npm bundle size (minified + gzip) npm version npm bundle size (minified + gzip) npm version npm bundle size (minified + gzip) npm version npm bundle size (minified + gzip) npm version npm bundle size (minified + gzip) npm version npm bundle size (minified + gzip)