diff --git a/package.json b/package.json index 68751e1226..07ccdf2177 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,6 @@ "react": "16.12.0", "react-dom": "16.12.0", "rimraf": "^2.6.2", - "tslib": "^1.14.1", "typescript": "^3.7.5", "yalc": "^1.0.0-pre.50" }, diff --git a/packages/address-consts/CHANGELOG.md b/packages/address-consts/CHANGELOG.md index 5cbc2d9aae..ac44d172c2 100644 --- a/packages/address-consts/CHANGELOG.md +++ b/packages/address-consts/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 2.2.2 - 2021-03-03 ### Fixed diff --git a/packages/address-consts/package.json b/packages/address-consts/package.json index 27823677db..449367e12f 100644 --- a/packages/address-consts/package.json +++ b/packages/address-consts/package.json @@ -5,9 +5,6 @@ "description": "Constants and types relating to `@shopify/address`", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -40,8 +37,5 @@ "require": "./index.js", "esnext": "./index.esnext" } - }, - "dependencies": { - "tslib": "^1.14.1" } } diff --git a/packages/address-consts/sewing-kit.config.ts b/packages/address-consts/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/address-consts/sewing-kit.config.ts +++ b/packages/address-consts/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/address-mocks/CHANGELOG.md b/packages/address-mocks/CHANGELOG.md index e3508cd35a..c2cda0e2ba 100644 --- a/packages/address-mocks/CHANGELOG.md +++ b/packages/address-mocks/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.5.3 - 2021-03-03 ### Fixed diff --git a/packages/address-mocks/package.json b/packages/address-mocks/package.json index a8035a2fe5..41aa3102d5 100644 --- a/packages/address-mocks/package.json +++ b/packages/address-mocks/package.json @@ -5,9 +5,6 @@ "description": "Address mocks for `@shopify/address`", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -28,8 +25,7 @@ "sideEffects": false, "dependencies": { "@shopify/address-consts": "^2.2.3", - "@shopify/jest-dom-mocks": "^2.11.4", - "tslib": "^1.14.1" + "@shopify/jest-dom-mocks": "^2.11.4" }, "files": [ "build/*", diff --git a/packages/address-mocks/sewing-kit.config.ts b/packages/address-mocks/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/address-mocks/sewing-kit.config.ts +++ b/packages/address-mocks/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/address/CHANGELOG.md b/packages/address/CHANGELOG.md index 1c07fb7801..ef8b05d373 100644 --- a/packages/address/CHANGELOG.md +++ b/packages/address/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 2.10.4 - 2021-04-07 diff --git a/packages/address/package.json b/packages/address/package.json index eb41faee7d..aff71c51dc 100644 --- a/packages/address/package.json +++ b/packages/address/package.json @@ -5,9 +5,6 @@ "description": "Address utilities for formatting addresses", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -28,8 +25,7 @@ }, "sideEffects": false, "dependencies": { - "@shopify/address-consts": "^2.2.3", - "tslib": "^1.14.1" + "@shopify/address-consts": "^2.2.3" }, "files": [ "build/*", diff --git a/packages/address/sewing-kit.config.ts b/packages/address/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/address/sewing-kit.config.ts +++ b/packages/address/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/admin-graphql-api-utilities/CHANGELOG.md b/packages/admin-graphql-api-utilities/CHANGELOG.md index a3921dcd44..bd3ef6f360 100644 --- a/packages/admin-graphql-api-utilities/CHANGELOG.md +++ b/packages/admin-graphql-api-utilities/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.2.2 - 2021-03-03 ### Fixed diff --git a/packages/admin-graphql-api-utilities/package.json b/packages/admin-graphql-api-utilities/package.json index 245573e4c2..49c1bd72d7 100644 --- a/packages/admin-graphql-api-utilities/package.json +++ b/packages/admin-graphql-api-utilities/package.json @@ -5,9 +5,6 @@ "description": "A set of utilities to use when consuming Shopify’s admin GraphQL API", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -23,9 +20,6 @@ }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/admin-graphql-api-utilities/README.md", "sideEffects": false, - "dependencies": { - "tslib": "^1.14.1" - }, "files": [ "build/*", "!*.tsbuildinfo", diff --git a/packages/admin-graphql-api-utilities/sewing-kit.config.ts b/packages/admin-graphql-api-utilities/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/admin-graphql-api-utilities/sewing-kit.config.ts +++ b/packages/admin-graphql-api-utilities/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/ast-utilities/CHANGELOG.md b/packages/ast-utilities/CHANGELOG.md index 07d7b8cdba..3514cb7d33 100644 --- a/packages/ast-utilities/CHANGELOG.md +++ b/packages/ast-utilities/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.2.2 - 2021-03-03 ### Fixed diff --git a/packages/ast-utilities/package.json b/packages/ast-utilities/package.json index 143e985da9..662c0d8d7e 100644 --- a/packages/ast-utilities/package.json +++ b/packages/ast-utilities/package.json @@ -5,9 +5,6 @@ "description": "Utilities for working with Abstract Syntax Trees (ASTs)", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -54,7 +51,6 @@ "jest-matcher-utils": "^26.6.2", "remark-parse": "^7.0.1", "remark-stringify": "^7.0.3", - "tslib": "^1.14.1", "unified": "^8.4.0", "unist-builder": "^1.0.4" }, diff --git a/packages/ast-utilities/sewing-kit.config.ts b/packages/ast-utilities/sewing-kit.config.ts index 1679ea4efe..deffd5bbac 100644 --- a/packages/ast-utilities/sewing-kit.config.ts +++ b/packages/ast-utilities/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({name: 'javascript', root: './src/javascript'}); pkg.entry({name: 'markdown', root: './src/markdown'}); diff --git a/packages/async/CHANGELOG.md b/packages/async/CHANGELOG.md index 55aa6ce058..4f952e9ab0 100644 --- a/packages/async/CHANGELOG.md +++ b/packages/async/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 2.2.2 - 2021-03-03 ### Fixed diff --git a/packages/async/package.json b/packages/async/package.json index b44831f562..16c64b4ef3 100644 --- a/packages/async/package.json +++ b/packages/async/package.json @@ -5,9 +5,6 @@ "description": "Primitives for loading parts of an application asynchronously", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -59,8 +56,5 @@ "require": "./index.js", "esnext": "./index.esnext" } - }, - "dependencies": { - "tslib": "^1.14.1" } } diff --git a/packages/async/sewing-kit.config.ts b/packages/async/sewing-kit.config.ts index e90e1f4072..8b65851ada 100644 --- a/packages/async/sewing-kit.config.ts +++ b/packages/async/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({name: 'babel', root: './src/babel-plugin'}); pkg.use(quiltPackage()); diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index f8afd685ad..eaf0538821 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.1.2 - 2021-03-03 ### Fixed diff --git a/packages/browser/package.json b/packages/browser/package.json index 3965a1e5b3..4ea2ff746b 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -5,9 +5,6 @@ "description": "Utilities for extracting browser information from user-agents", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -32,7 +29,6 @@ "index.d.ts" ], "dependencies": { - "tslib": "^1.14.1", "ua-parser-js": "^0.7.17" }, "module": "index.mjs", diff --git a/packages/browser/sewing-kit.config.ts b/packages/browser/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/browser/sewing-kit.config.ts +++ b/packages/browser/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/csrf-token-fetcher/CHANGELOG.md b/packages/csrf-token-fetcher/CHANGELOG.md index 116930f1d3..2807dcd27e 100644 --- a/packages/csrf-token-fetcher/CHANGELOG.md +++ b/packages/csrf-token-fetcher/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.1.2 - 2021-03-03 ### Fixed diff --git a/packages/csrf-token-fetcher/package.json b/packages/csrf-token-fetcher/package.json index f42f6076dd..68b4a8897b 100644 --- a/packages/csrf-token-fetcher/package.json +++ b/packages/csrf-token-fetcher/package.json @@ -5,9 +5,6 @@ "description": "JavaScript utility function to fetch the CSRF token required to make requests to a Rails server", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -31,9 +28,6 @@ "index.esnext", "index.d.ts" ], - "dependencies": { - "tslib": "^1.14.1" - }, "module": "index.mjs", "esnext": "index.esnext", "exports": { diff --git a/packages/csrf-token-fetcher/sewing-kit.config.ts b/packages/csrf-token-fetcher/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/csrf-token-fetcher/sewing-kit.config.ts +++ b/packages/csrf-token-fetcher/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/css-utilities/CHANGELOG.md b/packages/css-utilities/CHANGELOG.md index 72ab3e6dc5..55b34e9fcd 100644 --- a/packages/css-utilities/CHANGELOG.md +++ b/packages/css-utilities/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.1.2 - 2021-03-03 ### Fixed diff --git a/packages/css-utilities/package.json b/packages/css-utilities/package.json index da35393787..b541035d99 100644 --- a/packages/css-utilities/package.json +++ b/packages/css-utilities/package.json @@ -5,9 +5,6 @@ "description": "A set of CSS styling-related utilities", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -25,8 +22,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/css-utilities/README.md", "dependencies": { "@types/classnames": "^2.2.7", - "classnames": "^2.2.6", - "tslib": "^1.14.1" + "classnames": "^2.2.6" }, "files": [ "build/*", diff --git a/packages/css-utilities/sewing-kit.config.ts b/packages/css-utilities/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/css-utilities/sewing-kit.config.ts +++ b/packages/css-utilities/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/dates/CHANGELOG.md b/packages/dates/CHANGELOG.md index 6921e029e9..b89d3e4cbd 100644 --- a/packages/dates/CHANGELOG.md +++ b/packages/dates/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.5.3 - 2021-03-03 ### Fixed diff --git a/packages/dates/package.json b/packages/dates/package.json index 625daf3861..a4656c6ef9 100644 --- a/packages/dates/package.json +++ b/packages/dates/package.json @@ -5,9 +5,6 @@ "description": "Lightweight date operations library", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -24,8 +21,7 @@ }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/dates/README.md", "dependencies": { - "@shopify/decorators": "^1.2.4", - "tslib": "^1.14.1" + "@shopify/decorators": "^1.2.4" }, "devDependencies": { "@shopify/jest-dom-mocks": "^2.11.4" diff --git a/packages/dates/sewing-kit.config.ts b/packages/dates/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/dates/sewing-kit.config.ts +++ b/packages/dates/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/decorators/CHANGELOG.md b/packages/decorators/CHANGELOG.md index 3cbf647c1f..744b45544d 100644 --- a/packages/decorators/CHANGELOG.md +++ b/packages/decorators/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.2.2 - 2021-03-03 ### Fixed diff --git a/packages/decorators/package.json b/packages/decorators/package.json index 70bb0e02a0..d8f1b8d37b 100644 --- a/packages/decorators/package.json +++ b/packages/decorators/package.json @@ -5,9 +5,6 @@ "description": "A set of decorators to aid your JavaScript journey", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -32,8 +29,7 @@ "index.d.ts" ], "dependencies": { - "@shopify/function-enhancers": "^1.1.4", - "tslib": "^1.14.1" + "@shopify/function-enhancers": "^1.1.4" }, "module": "index.mjs", "esnext": "index.esnext", diff --git a/packages/decorators/sewing-kit.config.ts b/packages/decorators/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/decorators/sewing-kit.config.ts +++ b/packages/decorators/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/enzyme-utilities/CHANGELOG.md b/packages/enzyme-utilities/CHANGELOG.md index 591c68ea37..5696873717 100644 --- a/packages/enzyme-utilities/CHANGELOG.md +++ b/packages/enzyme-utilities/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 2.2.2 - 2021-03-03 ### Fixed diff --git a/packages/enzyme-utilities/package.json b/packages/enzyme-utilities/package.json index b7bbbc4862..16e3a1d3e6 100644 --- a/packages/enzyme-utilities/package.json +++ b/packages/enzyme-utilities/package.json @@ -5,9 +5,6 @@ "description": "Enzyme utilities for testing React components", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -23,8 +20,7 @@ }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/enzyme-utilities/README.md", "dependencies": { - "lodash": "^4.17.5", - "tslib": "^1.14.1" + "lodash": "^4.17.5" }, "sideEffects": false, "peerDependencies": { diff --git a/packages/enzyme-utilities/sewing-kit.config.ts b/packages/enzyme-utilities/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/enzyme-utilities/sewing-kit.config.ts +++ b/packages/enzyme-utilities/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/function-enhancers/CHANGELOG.md b/packages/function-enhancers/CHANGELOG.md index ffd97ae03c..ab790c9a64 100644 --- a/packages/function-enhancers/CHANGELOG.md +++ b/packages/function-enhancers/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 1.1.4 - 2021-04-07 diff --git a/packages/function-enhancers/package.json b/packages/function-enhancers/package.json index e9715e1308..7bf0ee4e25 100644 --- a/packages/function-enhancers/package.json +++ b/packages/function-enhancers/package.json @@ -5,9 +5,6 @@ "description": "A set of helpers to enhance functions", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -40,8 +37,5 @@ "require": "./index.js", "esnext": "./index.esnext" } - }, - "dependencies": { - "tslib": "^1.14.1" } } diff --git a/packages/function-enhancers/sewing-kit.config.ts b/packages/function-enhancers/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/function-enhancers/sewing-kit.config.ts +++ b/packages/function-enhancers/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/graphql-config-utilities/CHANGELOG.md b/packages/graphql-config-utilities/CHANGELOG.md index f92e6592d5..d63e6cceb9 100644 --- a/packages/graphql-config-utilities/CHANGELOG.md +++ b/packages/graphql-config-utilities/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 1.3.0 - 2021-03-11 diff --git a/packages/graphql-config-utilities/package.json b/packages/graphql-config-utilities/package.json index 75865f7c15..bf2bbac2f6 100644 --- a/packages/graphql-config-utilities/package.json +++ b/packages/graphql-config-utilities/package.json @@ -5,9 +5,6 @@ "description": "Common utilities for graphql-config", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -25,8 +22,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/graphql-config-utilities/README.md", "dependencies": { "glob": "^7.1.6", - "graphql-config": "^2.0.0", - "tslib": "^1.14.1" + "graphql-config": "^2.0.0" }, "files": [ "build/*", diff --git a/packages/graphql-config-utilities/sewing-kit.config.ts b/packages/graphql-config-utilities/sewing-kit.config.ts index 0212ac6263..825c65e509 100644 --- a/packages/graphql-config-utilities/sewing-kit.config.ts +++ b/packages/graphql-config-utilities/sewing-kit.config.ts @@ -3,6 +3,7 @@ import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/graphql-fixtures/CHANGELOG.md b/packages/graphql-fixtures/CHANGELOG.md index e4a17d6650..30ef9f3b92 100644 --- a/packages/graphql-fixtures/CHANGELOG.md +++ b/packages/graphql-fixtures/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 0.11.0 - 2021-03-11 diff --git a/packages/graphql-fixtures/package.json b/packages/graphql-fixtures/package.json index 2cc478645f..dee300f6f3 100644 --- a/packages/graphql-fixtures/package.json +++ b/packages/graphql-fixtures/package.json @@ -5,9 +5,6 @@ "description": "Utilities for generating fixture objects from GraphQL documents.", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -28,8 +25,7 @@ "@types/faker": "^4.1.2", "faker": "^4.1.0", "graphql": ">=14.5.0 <15.0.0", - "graphql-tool-utilities": "^1.4.1", - "tslib": "^1.14.1" + "graphql-tool-utilities": "^1.4.1" }, "peerDependencies": { "graphql-typed": "^0.6.1" diff --git a/packages/graphql-fixtures/sewing-kit.config.ts b/packages/graphql-fixtures/sewing-kit.config.ts index 0212ac6263..825c65e509 100644 --- a/packages/graphql-fixtures/sewing-kit.config.ts +++ b/packages/graphql-fixtures/sewing-kit.config.ts @@ -3,6 +3,7 @@ import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/graphql-mini-transforms/CHANGELOG.md b/packages/graphql-mini-transforms/CHANGELOG.md index 6838ef604a..24d442b984 100644 --- a/packages/graphql-mini-transforms/CHANGELOG.md +++ b/packages/graphql-mini-transforms/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 2.0.2 - 2021-03-23 diff --git a/packages/graphql-mini-transforms/package.json b/packages/graphql-mini-transforms/package.json index 523e7bb45a..eefc408565 100644 --- a/packages/graphql-mini-transforms/package.json +++ b/packages/graphql-mini-transforms/package.json @@ -5,9 +5,6 @@ "description": "Transformers for importing .graphql files in various build tools.", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -30,8 +27,7 @@ "fs-extra": "^9.0.0", "graphql": ">=14.5.0 <15.0.0", "graphql-typed": "^0.7.1", - "loader-utils": "^2.0.0", - "tslib": "^1.14.1" + "loader-utils": "^2.0.0" }, "devDependencies": { "@types/common-tags": "^1.8.0", diff --git a/packages/graphql-mini-transforms/sewing-kit.config.ts b/packages/graphql-mini-transforms/sewing-kit.config.ts index ea36e207a7..00190a220f 100644 --- a/packages/graphql-mini-transforms/sewing-kit.config.ts +++ b/packages/graphql-mini-transforms/sewing-kit.config.ts @@ -3,6 +3,7 @@ import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({name: 'jest', root: './src/jest'}); pkg.entry({name: 'jest-simple', root: './src/jest-simple'}); diff --git a/packages/graphql-persisted/CHANGELOG.md b/packages/graphql-persisted/CHANGELOG.md index 80cfa31395..62433d639a 100644 --- a/packages/graphql-persisted/CHANGELOG.md +++ b/packages/graphql-persisted/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 1.3.3 - 2021-03-03 diff --git a/packages/graphql-persisted/package.json b/packages/graphql-persisted/package.json index 97880d8302..1b7263c608 100644 --- a/packages/graphql-persisted/package.json +++ b/packages/graphql-persisted/package.json @@ -4,9 +4,6 @@ "license": "MIT", "description": "Apollo and Koa integrations for persisted GraphQL queries.", "sideEffects": false, - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -27,8 +24,7 @@ "@types/koa-compose": "*", "apollo-link": ">=1.0.0 <2.0.0", "koa-bodyparser": ">=4.0.0 <5.0.0", - "koa-compose": ">=3.0.0 <4.0.0", - "tslib": "^1.14.1" + "koa-compose": ">=3.0.0 <4.0.0" }, "devDependencies": { "@shopify/sewing-kit-koa": "^6.4.4" diff --git a/packages/graphql-persisted/sewing-kit.config.ts b/packages/graphql-persisted/sewing-kit.config.ts index bec5143105..87efa3974c 100644 --- a/packages/graphql-persisted/sewing-kit.config.ts +++ b/packages/graphql-persisted/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({name: 'koa', root: './src/koa-middleware'}); pkg.entry({name: 'apollo', root: './src/apollo'}); pkg.use(quiltPackage()); diff --git a/packages/graphql-testing/CHANGELOG.md b/packages/graphql-testing/CHANGELOG.md index 6ed74e25ef..70d2092f65 100644 --- a/packages/graphql-testing/CHANGELOG.md +++ b/packages/graphql-testing/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 4.4.1 - 2021-03-03 ### Fixed diff --git a/packages/graphql-testing/package.json b/packages/graphql-testing/package.json index d31c10d336..abfa49d181 100644 --- a/packages/graphql-testing/package.json +++ b/packages/graphql-testing/package.json @@ -5,9 +5,6 @@ "description": "Utilities to create mock GraphQL factories", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -28,8 +25,7 @@ "apollo-client": ">=2.0.0 <3.0.0", "apollo-link": ">=1.0.0 <2.0.0", "graphql": "^14.0.0", - "jest-matcher-utils": "^26.6.2", - "tslib": "^1.14.1" + "jest-matcher-utils": "^26.6.2" }, "devDependencies": { "@shopify/useful-types": "^2.3.3", diff --git a/packages/graphql-testing/sewing-kit.config.ts b/packages/graphql-testing/sewing-kit.config.ts index dc0b8914f3..959711e01d 100644 --- a/packages/graphql-testing/sewing-kit.config.ts +++ b/packages/graphql-testing/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({name: 'matchers', root: './src/matchers'}); pkg.use(quiltPackage()); diff --git a/packages/graphql-tool-utilities/CHANGELOG.md b/packages/graphql-tool-utilities/CHANGELOG.md index 74a4fcf04c..0b813b6c01 100644 --- a/packages/graphql-tool-utilities/CHANGELOG.md +++ b/packages/graphql-tool-utilities/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 1.4.0 - 2021-03-11 diff --git a/packages/graphql-tool-utilities/package.json b/packages/graphql-tool-utilities/package.json index 13952d3c5f..c9f28eba58 100644 --- a/packages/graphql-tool-utilities/package.json +++ b/packages/graphql-tool-utilities/package.json @@ -5,9 +5,6 @@ "description": "Common utilities for GraphQL developer tools", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -26,8 +23,7 @@ "dependencies": { "apollo-codegen-core": "0.36.5", "core-js": "^3.0.0", - "graphql": ">=14.5.0 <15.0.0", - "tslib": "^1.14.1" + "graphql": ">=14.5.0 <15.0.0" }, "files": [ "build/*", diff --git a/packages/graphql-tool-utilities/sewing-kit.config.ts b/packages/graphql-tool-utilities/sewing-kit.config.ts index 0212ac6263..825c65e509 100644 --- a/packages/graphql-tool-utilities/sewing-kit.config.ts +++ b/packages/graphql-tool-utilities/sewing-kit.config.ts @@ -3,6 +3,7 @@ import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/graphql-typed/CHANGELOG.md b/packages/graphql-typed/CHANGELOG.md index a43a3cdf2e..b5ba9c08a5 100644 --- a/packages/graphql-typed/CHANGELOG.md +++ b/packages/graphql-typed/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 0.7.0 - 2021-03-11 diff --git a/packages/graphql-typed/package.json b/packages/graphql-typed/package.json index 3d4be761ff..a988e5fcbe 100644 --- a/packages/graphql-typed/package.json +++ b/packages/graphql-typed/package.json @@ -5,9 +5,6 @@ "description": "A more strongly typed version of GraphQL's DocumentNode.", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -24,8 +21,7 @@ }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/graphql-typed/README.md", "peerDependencies": { - "graphql": ">=14.5.0 <15.0.0", - "tslib": "^1.14.1" + "graphql": ">=14.5.0 <15.0.0" }, "files": [ "build/*", diff --git a/packages/graphql-typed/sewing-kit.config.ts b/packages/graphql-typed/sewing-kit.config.ts index 0212ac6263..825c65e509 100644 --- a/packages/graphql-typed/sewing-kit.config.ts +++ b/packages/graphql-typed/sewing-kit.config.ts @@ -3,6 +3,7 @@ import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/graphql-typescript-definitions/CHANGELOG.md b/packages/graphql-typescript-definitions/CHANGELOG.md index 691d92c458..59b25bdffb 100644 --- a/packages/graphql-typescript-definitions/CHANGELOG.md +++ b/packages/graphql-typescript-definitions/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 0.23.2 - 2021-03-23 diff --git a/packages/graphql-typescript-definitions/package.json b/packages/graphql-typescript-definitions/package.json index eb6a9ed17e..476d969975 100644 --- a/packages/graphql-typescript-definitions/package.json +++ b/packages/graphql-typescript-definitions/package.json @@ -6,9 +6,6 @@ "main": "index.js", "types": "index.d.ts", "bin": "./bin/graphql-typescript-definitions", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -39,7 +36,6 @@ "graphql-config": "^2.2.1", "graphql-config-utilities": "^1.3.1", "graphql-tool-utilities": "^1.4.1", - "tslib": "^1.14.1", "upper-case-first": "^2.0.1", "yargs": "^15.3.1" }, diff --git a/packages/graphql-typescript-definitions/sewing-kit.config.ts b/packages/graphql-typescript-definitions/sewing-kit.config.ts index 164b3f4f8d..9d2315227e 100644 --- a/packages/graphql-typescript-definitions/sewing-kit.config.ts +++ b/packages/graphql-typescript-definitions/sewing-kit.config.ts @@ -3,6 +3,7 @@ import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.binary({name: 'graphql-typescript-definitions', root: './src/cli'}); pkg.use(quiltPackage()); diff --git a/packages/graphql-validate-fixtures/CHANGELOG.md b/packages/graphql-validate-fixtures/CHANGELOG.md index 67f2b29e03..7b31a04ded 100644 --- a/packages/graphql-validate-fixtures/CHANGELOG.md +++ b/packages/graphql-validate-fixtures/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 0.14.2 - 2021-03-23 diff --git a/packages/graphql-validate-fixtures/package.json b/packages/graphql-validate-fixtures/package.json index 6322e9b938..9ba8586279 100644 --- a/packages/graphql-validate-fixtures/package.json +++ b/packages/graphql-validate-fixtures/package.json @@ -6,9 +6,6 @@ "main": "index.js", "types": "index.d.ts", "bin": "./bin/graphql-validate-fixtures", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -32,7 +29,6 @@ "graphql-config": "^2.2.1", "graphql-config-utilities": "^1.3.1", "graphql-tool-utilities": "^1.4.1", - "tslib": "^1.14.1", "yargs": "^15.3.1" }, "files": [ diff --git a/packages/graphql-validate-fixtures/sewing-kit.config.ts b/packages/graphql-validate-fixtures/sewing-kit.config.ts index 6029e42ddd..7f91c74d1c 100644 --- a/packages/graphql-validate-fixtures/sewing-kit.config.ts +++ b/packages/graphql-validate-fixtures/sewing-kit.config.ts @@ -3,6 +3,7 @@ import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.binary({name: 'graphql-validate-fixtures', root: './src/cli'}); pkg.use(quiltPackage()); diff --git a/packages/i18n/CHANGELOG.md b/packages/i18n/CHANGELOG.md index a2560a270b..ecca882ac5 100644 --- a/packages/i18n/CHANGELOG.md +++ b/packages/i18n/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.2.3 - 2021-03-03 ### Fixed diff --git a/packages/i18n/package.json b/packages/i18n/package.json index e96b9b412b..c8d087d180 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -5,9 +5,6 @@ "description": "Generic i18n-related utilities", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -23,9 +20,6 @@ }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/i18n/README.md", "sideEffects": false, - "dependencies": { - "tslib": "^1.14.1" - }, "files": [ "build/*", "!*.tsbuildinfo", diff --git a/packages/i18n/sewing-kit.config.ts b/packages/i18n/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/i18n/sewing-kit.config.ts +++ b/packages/i18n/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/jest-dom-mocks/CHANGELOG.md b/packages/jest-dom-mocks/CHANGELOG.md index be39b76ca4..fc0511f109 100644 --- a/packages/jest-dom-mocks/CHANGELOG.md +++ b/packages/jest-dom-mocks/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 2.11.4 - 2021-04-07 diff --git a/packages/jest-dom-mocks/package.json b/packages/jest-dom-mocks/package.json index cf615a18b7..78e1a43651 100644 --- a/packages/jest-dom-mocks/package.json +++ b/packages/jest-dom-mocks/package.json @@ -5,9 +5,6 @@ "description": "Jest mocking utilities for working with the DOM", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -29,8 +26,7 @@ "@types/lolex": "^2.1.3", "fetch-mock": "^9.11.0", "lolex": "^2.7.5", - "promise": "^8.0.3", - "tslib": "^1.14.1" + "promise": "^8.0.3" }, "sideEffects": false, "files": [ diff --git a/packages/jest-dom-mocks/sewing-kit.config.ts b/packages/jest-dom-mocks/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/jest-dom-mocks/sewing-kit.config.ts +++ b/packages/jest-dom-mocks/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/jest-koa-mocks/CHANGELOG.md b/packages/jest-koa-mocks/CHANGELOG.md index df215e23c7..025111f5b8 100644 --- a/packages/jest-koa-mocks/CHANGELOG.md +++ b/packages/jest-koa-mocks/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 2.3.2 - 2021-03-03 ### Fixed diff --git a/packages/jest-koa-mocks/package.json b/packages/jest-koa-mocks/package.json index 6db43b7812..f23f4c5d0c 100644 --- a/packages/jest-koa-mocks/package.json +++ b/packages/jest-koa-mocks/package.json @@ -5,9 +5,6 @@ "description": "Utilities to easily stub Koa context and cookies", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -24,8 +21,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/jest-koa-mocks/README.md", "dependencies": { "koa": "^2.5.0", - "node-mocks-http": "^1.5.8", - "tslib": "^1.14.1" + "node-mocks-http": "^1.5.8" }, "devDependencies": { "@types/express": "^4.11.1", diff --git a/packages/jest-koa-mocks/sewing-kit.config.ts b/packages/jest-koa-mocks/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/jest-koa-mocks/sewing-kit.config.ts +++ b/packages/jest-koa-mocks/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/jest-mock-apollo/CHANGELOG.md b/packages/jest-mock-apollo/CHANGELOG.md index 01a9bca34b..4c776985cf 100644 --- a/packages/jest-mock-apollo/CHANGELOG.md +++ b/packages/jest-mock-apollo/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 5.1.2 - 2021-03-03 ### Fixed diff --git a/packages/jest-mock-apollo/package.json b/packages/jest-mock-apollo/package.json index dca63efb26..556c1bfc8c 100644 --- a/packages/jest-mock-apollo/package.json +++ b/packages/jest-mock-apollo/package.json @@ -5,9 +5,6 @@ "description": "Jest + Enzyme mocks for Apollo 2.x", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -25,8 +22,7 @@ "dependencies": { "apollo-link": "^1.2.3", "graphql": "^14.0.0", - "graphql-tool-utilities": "^1.4.1", - "tslib": "^1.14.1" + "graphql-tool-utilities": "^1.4.1" }, "devDependencies": { "@apollo/react-common": "^3.1.3", diff --git a/packages/jest-mock-apollo/sewing-kit.config.ts b/packages/jest-mock-apollo/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/jest-mock-apollo/sewing-kit.config.ts +++ b/packages/jest-mock-apollo/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/jest-mock-router/CHANGELOG.md b/packages/jest-mock-router/CHANGELOG.md index 78dfa6de61..ea8d7f49b8 100644 --- a/packages/jest-mock-router/CHANGELOG.md +++ b/packages/jest-mock-router/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.1.2 - 2021-03-03 ### Fixed diff --git a/packages/jest-mock-router/package.json b/packages/jest-mock-router/package.json index fd7420e798..aebfd93eb5 100644 --- a/packages/jest-mock-router/package.json +++ b/packages/jest-mock-router/package.json @@ -5,9 +5,6 @@ "description": "Jest + Enzyme mocks for React Router 3.x", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -35,9 +32,6 @@ ] }, "sideEffects": false, - "dependencies": { - "tslib": "^1.14.1" - }, "files": [ "build/*", "!*.tsbuildinfo", diff --git a/packages/jest-mock-router/sewing-kit.config.ts b/packages/jest-mock-router/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/jest-mock-router/sewing-kit.config.ts +++ b/packages/jest-mock-router/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/koa-liveness-ping/CHANGELOG.md b/packages/koa-liveness-ping/CHANGELOG.md index 18612fb2b8..0244c4732d 100644 --- a/packages/koa-liveness-ping/CHANGELOG.md +++ b/packages/koa-liveness-ping/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.2.2 - 2021-03-03 ### Fixed diff --git a/packages/koa-liveness-ping/package.json b/packages/koa-liveness-ping/package.json index 4f92a26003..4123654f86 100644 --- a/packages/koa-liveness-ping/package.json +++ b/packages/koa-liveness-ping/package.json @@ -5,9 +5,6 @@ "description": "A package for creating liveness ping middleware for use with Koa", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -30,9 +27,6 @@ "koa-mount": "^4.0.0" }, "sideEffects": false, - "dependencies": { - "tslib": "^1.14.1" - }, "files": [ "build/*", "!*.tsbuildinfo", diff --git a/packages/koa-liveness-ping/sewing-kit.config.ts b/packages/koa-liveness-ping/sewing-kit.config.ts index 22d47ba917..e0f1626d08 100644 --- a/packages/koa-liveness-ping/sewing-kit.config.ts +++ b/packages/koa-liveness-ping/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/koa-metrics/CHANGELOG.md b/packages/koa-metrics/CHANGELOG.md index e5180a32c7..8a84b202d8 100644 --- a/packages/koa-metrics/CHANGELOG.md +++ b/packages/koa-metrics/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.5.2 - 2021-03-03 ### Fixed diff --git a/packages/koa-metrics/package.json b/packages/koa-metrics/package.json index 73d082e223..82bf57b51f 100644 --- a/packages/koa-metrics/package.json +++ b/packages/koa-metrics/package.json @@ -5,9 +5,6 @@ "description": "Aims to provide standard middleware and instrumentation tooling for metrics in Koa", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -23,8 +20,7 @@ }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/koa-metrics/README.md", "dependencies": { - "@shopify/statsd": "^2.1.3", - "tslib": "^1.14.1" + "@shopify/statsd": "^2.1.3" }, "devDependencies": { "@shopify/jest-koa-mocks": "^2.3.3", diff --git a/packages/koa-metrics/sewing-kit.config.ts b/packages/koa-metrics/sewing-kit.config.ts index 22d47ba917..e0f1626d08 100644 --- a/packages/koa-metrics/sewing-kit.config.ts +++ b/packages/koa-metrics/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/koa-performance/CHANGELOG.md b/packages/koa-performance/CHANGELOG.md index 957db42329..38ae36885c 100644 --- a/packages/koa-performance/CHANGELOG.md +++ b/packages/koa-performance/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 1.4.0 - 2021-03-23 diff --git a/packages/koa-performance/package.json b/packages/koa-performance/package.json index 97df5ec663..5cbd5f85eb 100644 --- a/packages/koa-performance/package.json +++ b/packages/koa-performance/package.json @@ -5,9 +5,6 @@ "description": "Creating middleware that sends performance-related data through StatsD", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -31,8 +28,7 @@ "@types/koa-bodyparser": "*", "@types/koa-compose": "*", "koa-bodyparser": ">=4.0.0 <5.0.0", - "koa-compose": ">=3.0.0 <4.0.0", - "tslib": "^1.14.1" + "koa-compose": ">=3.0.0 <4.0.0" }, "peerDependencies": { "koa": ">=2.0.0" diff --git a/packages/koa-performance/sewing-kit.config.ts b/packages/koa-performance/sewing-kit.config.ts index 22d47ba917..e0f1626d08 100644 --- a/packages/koa-performance/sewing-kit.config.ts +++ b/packages/koa-performance/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/koa-shopify-graphql-proxy/CHANGELOG.md b/packages/koa-shopify-graphql-proxy/CHANGELOG.md index b22abc5698..4b7d8403bd 100644 --- a/packages/koa-shopify-graphql-proxy/CHANGELOG.md +++ b/packages/koa-shopify-graphql-proxy/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 4.1.2 - 2021-03-03 ### Fixed diff --git a/packages/koa-shopify-graphql-proxy/package.json b/packages/koa-shopify-graphql-proxy/package.json index c639a305ce..e538fc3dc1 100644 --- a/packages/koa-shopify-graphql-proxy/package.json +++ b/packages/koa-shopify-graphql-proxy/package.json @@ -5,9 +5,6 @@ "description": "A wrapper around `koa-better-http-proxy` which allows easy proxying of GraphQL requests from an embedded Shopify app", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -24,8 +21,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/koa-shopify-graphql-proxy/README.md", "dependencies": { "@types/koa": "^2.0.0", - "koa-better-http-proxy": "^0.2.4", - "tslib": "^1.14.1" + "koa-better-http-proxy": "^0.2.4" }, "peerDependencies": { "koa": ">=2.0.0" diff --git a/packages/koa-shopify-graphql-proxy/sewing-kit.config.ts b/packages/koa-shopify-graphql-proxy/sewing-kit.config.ts index 22d47ba917..e0f1626d08 100644 --- a/packages/koa-shopify-graphql-proxy/sewing-kit.config.ts +++ b/packages/koa-shopify-graphql-proxy/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/koa-shopify-webhooks/CHANGELOG.md b/packages/koa-shopify-webhooks/CHANGELOG.md index a41e18415b..df9db2aeb9 100644 --- a/packages/koa-shopify-webhooks/CHANGELOG.md +++ b/packages/koa-shopify-webhooks/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 2.6.2 - 2021-03-03 ### Fixed diff --git a/packages/koa-shopify-webhooks/package.json b/packages/koa-shopify-webhooks/package.json index bad7a7d9f5..691dbabd91 100644 --- a/packages/koa-shopify-webhooks/package.json +++ b/packages/koa-shopify-webhooks/package.json @@ -5,9 +5,6 @@ "description": "Receive webhooks from Shopify with ease", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -29,8 +26,7 @@ "koa-bodyparser": "^4.2.1", "koa-compose": ">=3.0.0 <4.0.0", "koa-mount": "^4.0.0", - "safe-compare": "^1.1.3", - "tslib": "^1.14.1" + "safe-compare": "^1.1.3" }, "devDependencies": { "@types/koa-bodyparser": "^4.2.1", diff --git a/packages/koa-shopify-webhooks/sewing-kit.config.ts b/packages/koa-shopify-webhooks/sewing-kit.config.ts index 22d47ba917..e0f1626d08 100644 --- a/packages/koa-shopify-webhooks/sewing-kit.config.ts +++ b/packages/koa-shopify-webhooks/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/logger/CHANGELOG.md b/packages/logger/CHANGELOG.md index 1c6aa3b5ce..af3d7ddae9 100644 --- a/packages/logger/CHANGELOG.md +++ b/packages/logger/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.2.2 - 2021-03-03 ### Fixed diff --git a/packages/logger/package.json b/packages/logger/package.json index 747d05650f..eb79be009a 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -5,9 +5,6 @@ "description": "Opinionated logger for production-scale applications", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -25,8 +22,7 @@ "dependencies": { "chalk": "^2.4.1", "log-symbols": "^2.2.0", - "pretty-ms": "^3.2.0", - "tslib": "^1.14.1" + "pretty-ms": "^3.2.0" }, "sideEffects": false, "files": [ diff --git a/packages/logger/sewing-kit.config.ts b/packages/logger/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/logger/sewing-kit.config.ts +++ b/packages/logger/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/magic-entries-webpack-plugin/CHANGELOG.md b/packages/magic-entries-webpack-plugin/CHANGELOG.md index dda5929742..10c8aa2d41 100644 --- a/packages/magic-entries-webpack-plugin/CHANGELOG.md +++ b/packages/magic-entries-webpack-plugin/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.2.3 - 2021-03-03 ### Fixed diff --git a/packages/magic-entries-webpack-plugin/package.json b/packages/magic-entries-webpack-plugin/package.json index a2b2ecf086..86d0dc9eab 100644 --- a/packages/magic-entries-webpack-plugin/package.json +++ b/packages/magic-entries-webpack-plugin/package.json @@ -5,9 +5,6 @@ "description": "A webpack plugin that automatically sets up entrypoints from filename conventions", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -25,8 +22,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/magic-entries-webpack-plugin/README.md", "dependencies": { "glob": "^7.1.6", - "glob-to-regexp": "^0.4.1", - "tslib": "^1.14.1" + "glob-to-regexp": "^0.4.1" }, "peerDependencies": { "webpack": "^4.25.1" diff --git a/packages/magic-entries-webpack-plugin/sewing-kit.config.ts b/packages/magic-entries-webpack-plugin/sewing-kit.config.ts index 22d47ba917..e0f1626d08 100644 --- a/packages/magic-entries-webpack-plugin/sewing-kit.config.ts +++ b/packages/magic-entries-webpack-plugin/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/mime-types/CHANGELOG.md b/packages/mime-types/CHANGELOG.md index bcec87f83e..e34441da23 100644 --- a/packages/mime-types/CHANGELOG.md +++ b/packages/mime-types/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.2.2 - 2021-03-03 ### Fixed diff --git a/packages/mime-types/package.json b/packages/mime-types/package.json index c49e3534b1..28e7a017d2 100644 --- a/packages/mime-types/package.json +++ b/packages/mime-types/package.json @@ -5,9 +5,6 @@ "description": "MIME type consistency", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -40,8 +37,5 @@ "require": "./index.js", "esnext": "./index.esnext" } - }, - "dependencies": { - "tslib": "^1.14.1" } } diff --git a/packages/mime-types/sewing-kit.config.ts b/packages/mime-types/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/mime-types/sewing-kit.config.ts +++ b/packages/mime-types/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/network/CHANGELOG.md b/packages/network/CHANGELOG.md index 668834d805..5c116e6280 100644 --- a/packages/network/CHANGELOG.md +++ b/packages/network/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.6.2 - 2021-03-03 ### Fixed diff --git a/packages/network/package.json b/packages/network/package.json index 78f482d487..064996b1f4 100644 --- a/packages/network/package.json +++ b/packages/network/package.json @@ -5,9 +5,6 @@ "description": "Common values related to dealing with the network", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -31,9 +28,6 @@ "index.esnext", "index.d.ts" ], - "dependencies": { - "tslib": "^1.14.1" - }, "module": "index.mjs", "esnext": "index.esnext", "exports": { diff --git a/packages/network/sewing-kit.config.ts b/packages/network/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/network/sewing-kit.config.ts +++ b/packages/network/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/performance/CHANGELOG.md b/packages/performance/CHANGELOG.md index 9338b54f8b..e1cdbcbef0 100644 --- a/packages/performance/CHANGELOG.md +++ b/packages/performance/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.3.2 - 2021-03-03 ### Fixed diff --git a/packages/performance/package.json b/packages/performance/package.json index 35ad9d5227..78d69bcbdf 100644 --- a/packages/performance/package.json +++ b/packages/performance/package.json @@ -5,9 +5,6 @@ "description": "Primitives for collecting browser performance metrics", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -40,8 +37,5 @@ "require": "./index.js", "esnext": "./index.esnext" } - }, - "dependencies": { - "tslib": "^1.14.1" } } diff --git a/packages/performance/sewing-kit.config.ts b/packages/performance/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/performance/sewing-kit.config.ts +++ b/packages/performance/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/polyfills/CHANGELOG.md b/packages/polyfills/CHANGELOG.md index 86ea22c36f..db78395f8d 100644 --- a/packages/polyfills/CHANGELOG.md +++ b/packages/polyfills/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 1.3.4 - 2021-04-07 diff --git a/packages/polyfills/package.json b/packages/polyfills/package.json index f8f63aee7c..b57b2af624 100644 --- a/packages/polyfills/package.json +++ b/packages/polyfills/package.json @@ -10,9 +10,6 @@ "access": "public", "@shopify:registry": "https://registry.npmjs.org" }, - "scripts": { - "build": "tsc --p tsconfig.json" - }, "author": "Shopify Inc.", "repository": { "type": "git", @@ -33,7 +30,6 @@ "intl-pluralrules": "^0.2.1", "mutationobserver-shim": "^0.3.3", "node-fetch": "^2.3.0", - "tslib": "^1.14.1", "url-polyfill": "^1.1.7", "whatwg-fetch": "^3.0.0" }, diff --git a/packages/polyfills/sewing-kit.config.ts b/packages/polyfills/sewing-kit.config.ts index ced8b733e6..a865e1777b 100644 --- a/packages/polyfills/sewing-kit.config.ts +++ b/packages/polyfills/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({name: 'base', root: './src/base'}); diff --git a/packages/predicates/CHANGELOG.md b/packages/predicates/CHANGELOG.md index ada1bb0d99..5124214f01 100644 --- a/packages/predicates/CHANGELOG.md +++ b/packages/predicates/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.3.2 - 2021-03-03 ### Fixed diff --git a/packages/predicates/package.json b/packages/predicates/package.json index e51fcc7bc4..172305713d 100644 --- a/packages/predicates/package.json +++ b/packages/predicates/package.json @@ -5,9 +5,6 @@ "description": "A set of common JavaScript predicates", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -40,8 +37,5 @@ "require": "./index.js", "esnext": "./index.esnext" } - }, - "dependencies": { - "tslib": "^1.14.1" } } diff --git a/packages/predicates/sewing-kit.config.ts b/packages/predicates/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/predicates/sewing-kit.config.ts +++ b/packages/predicates/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/react-app-bridge-universal-provider/CHANGELOG.md b/packages/react-app-bridge-universal-provider/CHANGELOG.md index e3773d6187..c1c752b86d 100644 --- a/packages/react-app-bridge-universal-provider/CHANGELOG.md +++ b/packages/react-app-bridge-universal-provider/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.1.4 - 2021-03-03 ### Fixed diff --git a/packages/react-app-bridge-universal-provider/package.json b/packages/react-app-bridge-universal-provider/package.json index 44ea4f57cd..1753aa05bd 100644 --- a/packages/react-app-bridge-universal-provider/package.json +++ b/packages/react-app-bridge-universal-provider/package.json @@ -5,9 +5,6 @@ "description": "A self-serializing/deserializing `app-bridge-react` provider that works for isomorphic applications", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -25,8 +22,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-app-bridge-universal-provider/README.md", "dependencies": { "@shopify/app-bridge-react": ">=1.5.0", - "@shopify/react-html": "^10.2.6", - "tslib": "^1.14.1" + "@shopify/react-html": "^10.2.6" }, "peerDependencies": { "react": ">=16.8.0 <17.0.0" diff --git a/packages/react-app-bridge-universal-provider/sewing-kit.config.ts b/packages/react-app-bridge-universal-provider/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-app-bridge-universal-provider/sewing-kit.config.ts +++ b/packages/react-app-bridge-universal-provider/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-async/CHANGELOG.md b/packages/react-async/CHANGELOG.md index 73c89c706f..61fbb37959 100644 --- a/packages/react-async/CHANGELOG.md +++ b/packages/react-async/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 3.2.2 - 2021-03-03 ### Fixed diff --git a/packages/react-async/package.json b/packages/react-async/package.json index 0332a8d673..250fc74ef1 100644 --- a/packages/react-async/package.json +++ b/packages/react-async/package.json @@ -5,9 +5,6 @@ "description": "Tools for creating powerful, asynchronously-loaded React components", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -30,8 +27,7 @@ "@shopify/react-hydrate": "^1.2.4", "@shopify/react-idle": "^1.1.3", "@shopify/react-intersection-observer": "^2.1.3", - "@shopify/useful-types": "^2.3.3", - "tslib": "^1.14.1" + "@shopify/useful-types": "^2.3.3" }, "peerDependencies": { "react": ">=16.8.0 <17.0.0" diff --git a/packages/react-async/sewing-kit.config.ts b/packages/react-async/sewing-kit.config.ts index fbd41a4667..d848521aa6 100644 --- a/packages/react-async/sewing-kit.config.ts +++ b/packages/react-async/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({name: 'testing', root: './src/testing'}); pkg.use(quiltPackage({useReact: true})); diff --git a/packages/react-bugsnag/CHANGELOG.md b/packages/react-bugsnag/CHANGELOG.md index c469ec6b67..c63ad76188 100644 --- a/packages/react-bugsnag/CHANGELOG.md +++ b/packages/react-bugsnag/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.1.2 - 2021-03-03 ### Fixed diff --git a/packages/react-bugsnag/package.json b/packages/react-bugsnag/package.json index 683b513554..20bbcd248e 100644 --- a/packages/react-bugsnag/package.json +++ b/packages/react-bugsnag/package.json @@ -5,9 +5,6 @@ "description": "An opinionated wrapper for Bugsnag's React plugin", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -25,8 +22,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-bugsnag/README.md", "dependencies": { "@bugsnag/js": "^7.1.1", - "@bugsnag/plugin-react": "^7.1.1", - "tslib": "^1.14.1" + "@bugsnag/plugin-react": "^7.1.1" }, "peerDependencies": { "react": "^16.8.1" diff --git a/packages/react-bugsnag/sewing-kit.config.ts b/packages/react-bugsnag/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-bugsnag/sewing-kit.config.ts +++ b/packages/react-bugsnag/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-compose/CHANGELOG.md b/packages/react-compose/CHANGELOG.md index 555617e5a3..ec8161a828 100644 --- a/packages/react-compose/CHANGELOG.md +++ b/packages/react-compose/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.1.2 - 2021-03-03 ### Fixed diff --git a/packages/react-compose/package.json b/packages/react-compose/package.json index d408641ae8..3f3533904d 100644 --- a/packages/react-compose/package.json +++ b/packages/react-compose/package.json @@ -5,9 +5,6 @@ "description": "Cleanly compose multiple component enhancers together with minimal fuss", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -24,8 +21,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-compose/README.md", "dependencies": { "@shopify/useful-types": "^2.3.3", - "hoist-non-react-statics": "^3.0.1", - "tslib": "^1.14.1" + "hoist-non-react-statics": "^3.0.1" }, "peerDependencies": { "react": "^16.3.2" diff --git a/packages/react-compose/sewing-kit.config.ts b/packages/react-compose/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-compose/sewing-kit.config.ts +++ b/packages/react-compose/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-cookie/CHANGELOG.md b/packages/react-cookie/CHANGELOG.md index 32a0ce9a3e..459a6a8f3d 100644 --- a/packages/react-cookie/CHANGELOG.md +++ b/packages/react-cookie/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.1.4 - 2021-03-03 ### Fixed diff --git a/packages/react-cookie/package.json b/packages/react-cookie/package.json index 03e14c0f68..510759aee3 100644 --- a/packages/react-cookie/package.json +++ b/packages/react-cookie/package.json @@ -5,9 +5,6 @@ "description": "Cookies in React for the server and client", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -26,8 +23,7 @@ "dependencies": { "@shopify/react-hooks": "^1.13.0", "@shopify/react-network": "^3.6.7", - "cookie": "^0.4.0", - "tslib": "^1.14.1" + "cookie": "^0.4.0" }, "peerDependencies": { "react": "^16.3.2", diff --git a/packages/react-cookie/sewing-kit.config.ts b/packages/react-cookie/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-cookie/sewing-kit.config.ts +++ b/packages/react-cookie/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-csrf-universal-provider/CHANGELOG.md b/packages/react-csrf-universal-provider/CHANGELOG.md index 10c6b7f96e..f6cc48fb2b 100644 --- a/packages/react-csrf-universal-provider/CHANGELOG.md +++ b/packages/react-csrf-universal-provider/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.2.4 - 2021-03-03 ### Fixed diff --git a/packages/react-csrf-universal-provider/package.json b/packages/react-csrf-universal-provider/package.json index 7b030ee363..69eb001535 100644 --- a/packages/react-csrf-universal-provider/package.json +++ b/packages/react-csrf-universal-provider/package.json @@ -5,9 +5,6 @@ "description": "A self-serializing/deserializing CSRF token provider that works for isomorphic applications", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -26,8 +23,7 @@ "dependencies": { "@shopify/react-csrf": "^1.1.3", "@shopify/react-html": "^10.2.6", - "@shopify/react-universal-provider": "^1.2.7", - "tslib": "^1.14.1" + "@shopify/react-universal-provider": "^1.2.7" }, "peerDependencies": { "react": ">=16.8.0 <17.0.0" diff --git a/packages/react-csrf-universal-provider/sewing-kit.config.ts b/packages/react-csrf-universal-provider/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-csrf-universal-provider/sewing-kit.config.ts +++ b/packages/react-csrf-universal-provider/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-csrf/CHANGELOG.md b/packages/react-csrf/CHANGELOG.md index f0d9d1481d..e17de639b0 100644 --- a/packages/react-csrf/CHANGELOG.md +++ b/packages/react-csrf/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.1.2 - 2021-03-03 ### Fixed diff --git a/packages/react-csrf/package.json b/packages/react-csrf/package.json index 9c4424da54..5c2f1281e8 100644 --- a/packages/react-csrf/package.json +++ b/packages/react-csrf/package.json @@ -5,9 +5,6 @@ "description": "Share CSRF tokens throughout a React application", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -43,8 +40,5 @@ "require": "./index.js", "esnext": "./index.esnext" } - }, - "dependencies": { - "tslib": "^1.14.1" } } diff --git a/packages/react-csrf/sewing-kit.config.ts b/packages/react-csrf/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-csrf/sewing-kit.config.ts +++ b/packages/react-csrf/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-effect/CHANGELOG.md b/packages/react-effect/CHANGELOG.md index fc7665b27d..1018b5f054 100644 --- a/packages/react-effect/CHANGELOG.md +++ b/packages/react-effect/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 3.3.2 - 2021-03-03 ### Fixed diff --git a/packages/react-effect/package.json b/packages/react-effect/package.json index 42ddfb235f..3086ce1390 100644 --- a/packages/react-effect/package.json +++ b/packages/react-effect/package.json @@ -5,9 +5,6 @@ "description": "A component and set of utilities for performing effects within a universal React app", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -23,9 +20,6 @@ "url": "https://github.com/Shopify/quilt/issues" }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-effect/README.md", - "dependencies": { - "tslib": "^1.14.1" - }, "devDependencies": { "@types/react-dom": "^16.0.11" }, diff --git a/packages/react-effect/sewing-kit.config.ts b/packages/react-effect/sewing-kit.config.ts index 2e9160fa25..90a2e4461b 100644 --- a/packages/react-effect/sewing-kit.config.ts +++ b/packages/react-effect/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({name: 'server', root: './src/server'}); pkg.use(quiltPackage({useReact: true})); diff --git a/packages/react-form-state/CHANGELOG.md b/packages/react-form-state/CHANGELOG.md index cc36009932..d40463eec1 100644 --- a/packages/react-form-state/CHANGELOG.md +++ b/packages/react-form-state/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 0.12.2 - 2021-03-03 diff --git a/packages/react-form-state/package.json b/packages/react-form-state/package.json index 013561af76..cea2040086 100644 --- a/packages/react-form-state/package.json +++ b/packages/react-form-state/package.json @@ -5,9 +5,6 @@ "description": "Manage React forms tersely and type-safely with no magic", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -24,8 +21,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-form-state/README.md", "dependencies": { "@shopify/predicates": "^1.3.3", - "fast-deep-equal": "^3.1.3", - "tslib": "^1.14.1" + "fast-deep-equal": "^3.1.3" }, "peerDependencies": { "react": "^16.4.1" diff --git a/packages/react-form-state/sewing-kit.config.ts b/packages/react-form-state/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-form-state/sewing-kit.config.ts +++ b/packages/react-form-state/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-form/CHANGELOG.md b/packages/react-form/CHANGELOG.md index e03e1a7747..47e97137a1 100644 --- a/packages/react-form/CHANGELOG.md +++ b/packages/react-form/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 0.12.6 - 2021-04-07 diff --git a/packages/react-form/package.json b/packages/react-form/package.json index f634c8a7d2..e8f94c64fe 100644 --- a/packages/react-form/package.json +++ b/packages/react-form/package.json @@ -5,9 +5,6 @@ "description": "Manage React forms tersely and safely-typed with no magic using React hooks", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -42,8 +39,7 @@ "@shopify/predicates": "^1.3.3", "@shopify/react-hooks": "^1.13.0", "fast-deep-equal": "^3.1.3", - "get-value": "^3.0.1", - "tslib": "^1.14.1" + "get-value": "^3.0.1" }, "module": "index.mjs", "esnext": "index.esnext", diff --git a/packages/react-form/sewing-kit.config.ts b/packages/react-form/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-form/sewing-kit.config.ts +++ b/packages/react-form/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-google-analytics/CHANGELOG.md b/packages/react-google-analytics/CHANGELOG.md index 54aa211275..97dbffa7f0 100644 --- a/packages/react-google-analytics/CHANGELOG.md +++ b/packages/react-google-analytics/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 3.2.4 - 2021-03-03 ### Fixed diff --git a/packages/react-google-analytics/package.json b/packages/react-google-analytics/package.json index 673d225aef..c0772928ac 100644 --- a/packages/react-google-analytics/package.json +++ b/packages/react-google-analytics/package.json @@ -5,9 +5,6 @@ "description": "Allows React apps to easily embed Google Analytics scripts", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -24,8 +21,7 @@ }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-google-analytics/README.md", "dependencies": { - "@shopify/react-import-remote": "^1.2.7", - "tslib": "^1.14.1" + "@shopify/react-import-remote": "^1.2.7" }, "peerDependencies": { "react": "^16.4.1" diff --git a/packages/react-google-analytics/sewing-kit.config.ts b/packages/react-google-analytics/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-google-analytics/sewing-kit.config.ts +++ b/packages/react-google-analytics/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-graphql-universal-provider/CHANGELOG.md b/packages/react-graphql-universal-provider/CHANGELOG.md index a3eff163ba..4964560ad0 100644 --- a/packages/react-graphql-universal-provider/CHANGELOG.md +++ b/packages/react-graphql-universal-provider/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 3.6.1 - 2021-03-03 diff --git a/packages/react-graphql-universal-provider/package.json b/packages/react-graphql-universal-provider/package.json index e537f379a2..a3da4d6541 100644 --- a/packages/react-graphql-universal-provider/package.json +++ b/packages/react-graphql-universal-provider/package.json @@ -5,9 +5,6 @@ "description": "A self-serializing/deserializing GraphQL provider that works for isomorphic applications", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -31,8 +28,7 @@ "apollo-cache-inmemory": ">=1.0.0 <2.0.0", "apollo-client": ">=2.0.0 <3.0.0", "apollo-link": ">=1.0.0 <2.0.0", - "apollo-link-context": ">=1.0.0 <2.0.0", - "tslib": "^1.14.1" + "apollo-link-context": ">=1.0.0 <2.0.0" }, "peerDependencies": { "react": ">=16.8.0 <17.0.0" diff --git a/packages/react-graphql-universal-provider/sewing-kit.config.ts b/packages/react-graphql-universal-provider/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-graphql-universal-provider/sewing-kit.config.ts +++ b/packages/react-graphql-universal-provider/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-graphql/CHANGELOG.md b/packages/react-graphql/CHANGELOG.md index cfc117f676..3a48cc3558 100644 --- a/packages/react-graphql/CHANGELOG.md +++ b/packages/react-graphql/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 6.3.1 - 2021-03-03 ### Fixed diff --git a/packages/react-graphql/package.json b/packages/react-graphql/package.json index 19cb6631c0..bdc0509b05 100644 --- a/packages/react-graphql/package.json +++ b/packages/react-graphql/package.json @@ -5,9 +5,6 @@ "description": "Tools for creating type-safe and asynchronous GraphQL components for React", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -35,8 +32,7 @@ "apollo-cache-inmemory": ">=1.0.0 <2.0.0", "apollo-client": ">=2.0.0 <3.0.0", "apollo-link": ">=1.0.0 <2.0.0", - "graphql-typed": "^0.7.1", - "tslib": "^1.14.1" + "graphql-typed": "^0.7.1" }, "devDependencies": { "@shopify/react-testing": "^2.3.0" diff --git a/packages/react-graphql/sewing-kit.config.ts b/packages/react-graphql/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-graphql/sewing-kit.config.ts +++ b/packages/react-graphql/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-hooks/CHANGELOG.md b/packages/react-hooks/CHANGELOG.md index 4c6d28f9d9..59d6fd11a8 100644 --- a/packages/react-hooks/CHANGELOG.md +++ b/packages/react-hooks/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 1.13.0 - 2021-04-07 diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index fb90d14e16..137ff2b3c0 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -5,9 +5,6 @@ "description": "A collection of primitive React hooks", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -43,8 +40,5 @@ "require": "./index.js", "esnext": "./index.esnext" } - }, - "dependencies": { - "tslib": "^1.14.1" } } diff --git a/packages/react-hooks/sewing-kit.config.ts b/packages/react-hooks/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-hooks/sewing-kit.config.ts +++ b/packages/react-hooks/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-html/CHANGELOG.md b/packages/react-html/CHANGELOG.md index 57d38f2601..92fa8e1741 100644 --- a/packages/react-html/CHANGELOG.md +++ b/packages/react-html/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 10.2.3 - 2021-03-03 diff --git a/packages/react-html/package.json b/packages/react-html/package.json index 59ce3ec736..67a37b2307 100644 --- a/packages/react-html/package.json +++ b/packages/react-html/package.json @@ -5,9 +5,6 @@ "description": "A component to render your React app with no static HTML", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -28,8 +25,7 @@ "@shopify/useful-types": "^2.3.3", "@types/multistream": "^2.1.1", "multistream": "^2.1.1", - "serialize-javascript": "^3.0.0", - "tslib": "^1.14.1" + "serialize-javascript": "^3.0.0" }, "peerDependencies": { "react": "^16.3.2", diff --git a/packages/react-html/sewing-kit.config.ts b/packages/react-html/sewing-kit.config.ts index 2e9160fa25..90a2e4461b 100644 --- a/packages/react-html/sewing-kit.config.ts +++ b/packages/react-html/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({name: 'server', root: './src/server'}); pkg.use(quiltPackage({useReact: true})); diff --git a/packages/react-hydrate/CHANGELOG.md b/packages/react-hydrate/CHANGELOG.md index 4ba455f334..c216ee9dca 100644 --- a/packages/react-hydrate/CHANGELOG.md +++ b/packages/react-hydrate/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.2.2 - 2021-03-03 ### Fixed diff --git a/packages/react-hydrate/package.json b/packages/react-hydrate/package.json index 2be68af01d..dbad1203fa 100644 --- a/packages/react-hydrate/package.json +++ b/packages/react-hydrate/package.json @@ -5,9 +5,6 @@ "description": "Utilities for hydrating server-rendered React apps", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -25,8 +22,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-hydrate/README.md", "dependencies": { "@shopify/react-effect": "^3.3.3", - "@shopify/react-hooks": "^1.13.0", - "tslib": "^1.14.1" + "@shopify/react-hooks": "^1.13.0" }, "devDependencies": { "faker": "^4.1.0" diff --git a/packages/react-hydrate/sewing-kit.config.ts b/packages/react-hydrate/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-hydrate/sewing-kit.config.ts +++ b/packages/react-hydrate/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-i18n-universal-provider/CHANGELOG.md b/packages/react-i18n-universal-provider/CHANGELOG.md index ddd4dbc4c0..93cc93248a 100644 --- a/packages/react-i18n-universal-provider/CHANGELOG.md +++ b/packages/react-i18n-universal-provider/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.1.5 - 2021-03-03 ### Fixed diff --git a/packages/react-i18n-universal-provider/package.json b/packages/react-i18n-universal-provider/package.json index 392dbd3ae7..d5e7b43a40 100644 --- a/packages/react-i18n-universal-provider/package.json +++ b/packages/react-i18n-universal-provider/package.json @@ -5,9 +5,6 @@ "description": "A self-serializing/deserializing i18n provider that works for isomorphic applications", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -26,8 +23,7 @@ "dependencies": { "@shopify/react-hooks": "^1.13.0", "@shopify/react-html": "^10.2.6", - "@shopify/react-i18n": "^5.3.3", - "tslib": "^1.14.1" + "@shopify/react-i18n": "^5.3.3" }, "peerDependencies": { "react": ">=16.8.0 <17.0.0" diff --git a/packages/react-i18n-universal-provider/sewing-kit.config.ts b/packages/react-i18n-universal-provider/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-i18n-universal-provider/sewing-kit.config.ts +++ b/packages/react-i18n-universal-provider/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-i18n/CHANGELOG.md b/packages/react-i18n/CHANGELOG.md index a6e843d104..3b2530b7f9 100644 --- a/packages/react-i18n/CHANGELOG.md +++ b/packages/react-i18n/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 5.3.2 - 2021-04-07 diff --git a/packages/react-i18n/package.json b/packages/react-i18n/package.json index c2bd8c1414..3321647151 100644 --- a/packages/react-i18n/package.json +++ b/packages/react-i18n/package.json @@ -5,9 +5,6 @@ "description": "i18n utilities for React handling translations, formatting, and more", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -46,8 +43,7 @@ "hoist-non-react-statics": "^3.0.1", "lodash.clonedeep": "^4.0.0", "lodash.merge": "^4.0.0", - "string-hash": "^1.1.3", - "tslib": "^1.14.1" + "string-hash": "^1.1.3" }, "sideEffects": false, "peerDependencies": { diff --git a/packages/react-i18n/sewing-kit.config.ts b/packages/react-i18n/sewing-kit.config.ts index cfbd276b02..576a98a05a 100644 --- a/packages/react-i18n/sewing-kit.config.ts +++ b/packages/react-i18n/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({ name: 'generate-dictionaries', diff --git a/packages/react-idle/CHANGELOG.md b/packages/react-idle/CHANGELOG.md index 8fdc9e238d..4908958823 100644 --- a/packages/react-idle/CHANGELOG.md +++ b/packages/react-idle/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.1.2 - 2021-03-03 ### Fixed diff --git a/packages/react-idle/package.json b/packages/react-idle/package.json index 650b013632..80a9fb4bd4 100644 --- a/packages/react-idle/package.json +++ b/packages/react-idle/package.json @@ -5,9 +5,6 @@ "description": "Utilities for working with idle callbacks in React", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -25,8 +22,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-idle/README.md", "dependencies": { "@shopify/async": "^2.2.3", - "@shopify/useful-types": "^2.3.3", - "tslib": "^1.14.1" + "@shopify/useful-types": "^2.3.3" }, "peerDependencies": { "react": "^16.8.0" diff --git a/packages/react-idle/sewing-kit.config.ts b/packages/react-idle/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-idle/sewing-kit.config.ts +++ b/packages/react-idle/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-import-remote/CHANGELOG.md b/packages/react-import-remote/CHANGELOG.md index c04084923f..f794ddcc32 100644 --- a/packages/react-import-remote/CHANGELOG.md +++ b/packages/react-import-remote/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.2.4 - 2021-03-03 ### Fixed diff --git a/packages/react-import-remote/package.json b/packages/react-import-remote/package.json index 51d2d96cc1..51f6d99db2 100644 --- a/packages/react-import-remote/package.json +++ b/packages/react-import-remote/package.json @@ -5,9 +5,6 @@ "description": "Asynchronous script loading for React", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -27,8 +24,7 @@ "@shopify/react-hooks": "^1.13.0", "@shopify/react-html": "^10.2.6", "@shopify/react-intersection-observer": "^2.1.3", - "@shopify/useful-types": "^2.3.3", - "tslib": "^1.14.1" + "@shopify/useful-types": "^2.3.3" }, "peerDependencies": { "react": "^16.4.1" diff --git a/packages/react-import-remote/sewing-kit.config.ts b/packages/react-import-remote/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-import-remote/sewing-kit.config.ts +++ b/packages/react-import-remote/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-intersection-observer/CHANGELOG.md b/packages/react-intersection-observer/CHANGELOG.md index 7bf9ecfc11..0ae23fd979 100644 --- a/packages/react-intersection-observer/CHANGELOG.md +++ b/packages/react-intersection-observer/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 2.1.2 - 2021-03-03 ### Fixed diff --git a/packages/react-intersection-observer/package.json b/packages/react-intersection-observer/package.json index 9968d1b5a8..bc3f0b2af5 100644 --- a/packages/react-intersection-observer/package.json +++ b/packages/react-intersection-observer/package.json @@ -5,9 +5,6 @@ "description": "A React wrapper around the Intersection Observer API", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -43,8 +40,5 @@ "require": "./index.js", "esnext": "./index.esnext" } - }, - "dependencies": { - "tslib": "^1.14.1" } } diff --git a/packages/react-intersection-observer/sewing-kit.config.ts b/packages/react-intersection-observer/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-intersection-observer/sewing-kit.config.ts +++ b/packages/react-intersection-observer/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-network/CHANGELOG.md b/packages/react-network/CHANGELOG.md index 65d96e6973..4ae900aa2d 100644 --- a/packages/react-network/CHANGELOG.md +++ b/packages/react-network/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 3.6.4 - 2021-03-03 ### Fixed diff --git a/packages/react-network/package.json b/packages/react-network/package.json index 0c6e53f100..115b26e3e7 100644 --- a/packages/react-network/package.json +++ b/packages/react-network/package.json @@ -5,9 +5,6 @@ "description": "A collection of components that allow you to set common HTTP headers from within your React application", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -32,8 +29,7 @@ "@types/cookie": "^0.3.3", "@types/koa": "^2.0.0", "accept-language-parser": "1.5.0", - "cookie": "^0.4.0", - "tslib": "^1.14.1" + "cookie": "^0.4.0" }, "devDependencies": { "@shopify/jest-koa-mocks": "^2.3.3" diff --git a/packages/react-network/sewing-kit.config.ts b/packages/react-network/sewing-kit.config.ts index 2e9160fa25..90a2e4461b 100644 --- a/packages/react-network/sewing-kit.config.ts +++ b/packages/react-network/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({name: 'server', root: './src/server'}); pkg.use(quiltPackage({useReact: true})); diff --git a/packages/react-performance/CHANGELOG.md b/packages/react-performance/CHANGELOG.md index 5aedb4b16e..ea3eefe8b5 100644 --- a/packages/react-performance/CHANGELOG.md +++ b/packages/react-performance/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.4.2 - 2021-03-03 ### Fixed diff --git a/packages/react-performance/package.json b/packages/react-performance/package.json index e80d07b375..6b14ef95fb 100644 --- a/packages/react-performance/package.json +++ b/packages/react-performance/package.json @@ -5,9 +5,6 @@ "description": "Primitives to measure your React application's performance using `@shopify/performance`", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -24,8 +21,7 @@ }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-performance/README.md", "dependencies": { - "@shopify/performance": "^1.3.3", - "tslib": "^1.14.1" + "@shopify/performance": "^1.3.3" }, "peerDependencies": { "react": ">=16.8.0 <17.0.0" diff --git a/packages/react-performance/sewing-kit.config.ts b/packages/react-performance/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-performance/sewing-kit.config.ts +++ b/packages/react-performance/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md index e29d13d428..0b9d7e3cb3 100644 --- a/packages/react-router/CHANGELOG.md +++ b/packages/react-router/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 0.2.7 - 2021-04-05 diff --git a/packages/react-router/package.json b/packages/react-router/package.json index 8d8338c569..197754b006 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -5,9 +5,6 @@ "description": "A universal router for React", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -26,8 +23,7 @@ "dependencies": { "@shopify/react-network": "^3.6.7", "@types/react-router-dom": "*", - "react-router-dom": ">=5.1.0 <6.0.0", - "tslib": "^1.14.1" + "react-router-dom": ">=5.1.0 <6.0.0" }, "peerDependencies": { "react": ">=16.8.0 <17.0.0", diff --git a/packages/react-router/sewing-kit.config.ts b/packages/react-router/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-router/sewing-kit.config.ts +++ b/packages/react-router/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-server/CHANGELOG.md b/packages/react-server/CHANGELOG.md index fb21d6a2f4..eae34ceaae 100644 --- a/packages/react-server/CHANGELOG.md +++ b/packages/react-server/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.21.4 - 2021-03-03 ### Fixed diff --git a/packages/react-server/package.json b/packages/react-server/package.json index 15cdc6c6fb..6b0c3709b1 100644 --- a/packages/react-server/package.json +++ b/packages/react-server/package.json @@ -5,9 +5,6 @@ "description": "Utilities for React server-side rendering", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -36,8 +33,7 @@ "chalk": "^2.4.2", "koa": "^2.5.0", "koa-compose": ">=3.0.0 <4.0.0", - "koa-mount": "^4.0.0", - "tslib": "^1.14.1" + "koa-mount": "^4.0.0" }, "devDependencies": { "@shopify/jest-koa-mocks": "^2.3.3", diff --git a/packages/react-server/sewing-kit.config.ts b/packages/react-server/sewing-kit.config.ts index 2a882695ff..3cba122de1 100644 --- a/packages/react-server/sewing-kit.config.ts +++ b/packages/react-server/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({name: 'webpack-plugin', root: './src/webpack-plugin'}); pkg.use(quiltPackage({useReact: true})); diff --git a/packages/react-shortcuts/CHANGELOG.md b/packages/react-shortcuts/CHANGELOG.md index 8c9043bbd2..3fdb63c00d 100644 --- a/packages/react-shortcuts/CHANGELOG.md +++ b/packages/react-shortcuts/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 3.1.2 - 2021-03-03 ### Fixed diff --git a/packages/react-shortcuts/package.json b/packages/react-shortcuts/package.json index 6e46dd8881..b34b010a5a 100644 --- a/packages/react-shortcuts/package.json +++ b/packages/react-shortcuts/package.json @@ -5,9 +5,6 @@ "description": "Declaratively and efficiently match shortcut combinations in your React application", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -25,9 +22,6 @@ "peerDependencies": { "react": ">=16.8.0 <17.0.0" }, - "dependencies": { - "tslib": "^1.14.1" - }, "sideEffects": false, "files": [ "build/*", diff --git a/packages/react-shortcuts/sewing-kit.config.ts b/packages/react-shortcuts/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-shortcuts/sewing-kit.config.ts +++ b/packages/react-shortcuts/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-testing/CHANGELOG.md b/packages/react-testing/CHANGELOG.md index 7939af1183..128c87bda9 100644 --- a/packages/react-testing/CHANGELOG.md +++ b/packages/react-testing/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) ## 2.3.0 - 2021-04-07 diff --git a/packages/react-testing/package.json b/packages/react-testing/package.json index 1ead28357d..37ce374056 100644 --- a/packages/react-testing/package.json +++ b/packages/react-testing/package.json @@ -5,9 +5,6 @@ "description": "A library for testing React components according to our conventions", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -26,8 +23,7 @@ "dependencies": { "@shopify/useful-types": "^2.3.3", "jest-matcher-utils": "^26.6.2", - "react-reconciler": "^0.20.2", - "tslib": "^1.14.1" + "react-reconciler": "^0.20.2" }, "devDependencies": { "faker": "^4.1.0" diff --git a/packages/react-testing/sewing-kit.config.ts b/packages/react-testing/sewing-kit.config.ts index d68eeec815..1dfdb21dcd 100644 --- a/packages/react-testing/sewing-kit.config.ts +++ b/packages/react-testing/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({name: 'matchers', root: './src/matchers'}); pkg.use(quiltPackage({useReact: true})); diff --git a/packages/react-tracking-pixel/CHANGELOG.md b/packages/react-tracking-pixel/CHANGELOG.md index 836c790b77..424c209b63 100644 --- a/packages/react-tracking-pixel/CHANGELOG.md +++ b/packages/react-tracking-pixel/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 3.1.4 - 2021-03-03 ### Fixed diff --git a/packages/react-tracking-pixel/package.json b/packages/react-tracking-pixel/package.json index c5b8825ddd..d3b32d4646 100644 --- a/packages/react-tracking-pixel/package.json +++ b/packages/react-tracking-pixel/package.json @@ -5,9 +5,6 @@ "description": "Allows React apps to easily embed tracking pixel iframes", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -23,8 +20,7 @@ }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-tracking-pixel/README.md", "dependencies": { - "@shopify/react-html": "^10.2.6", - "tslib": "^1.14.1" + "@shopify/react-html": "^10.2.6" }, "peerDependencies": { "react": "^16.4.1" diff --git a/packages/react-tracking-pixel/sewing-kit.config.ts b/packages/react-tracking-pixel/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-tracking-pixel/sewing-kit.config.ts +++ b/packages/react-tracking-pixel/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-universal-provider/CHANGELOG.md b/packages/react-universal-provider/CHANGELOG.md index 7ed3c7555f..1ec9eb29de 100644 --- a/packages/react-universal-provider/CHANGELOG.md +++ b/packages/react-universal-provider/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.2.4 - 2021-03-03 ### Fixed diff --git a/packages/react-universal-provider/package.json b/packages/react-universal-provider/package.json index 3333457544..78699ecc02 100644 --- a/packages/react-universal-provider/package.json +++ b/packages/react-universal-provider/package.json @@ -5,9 +5,6 @@ "description": "Factory function and utilities to create self-serializing/deserializing providers that work for isomorphic applications", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -25,8 +22,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-universal-provider/README.md", "dependencies": { "@shopify/react-effect": "^3.3.3", - "@shopify/react-html": "^10.2.6", - "tslib": "^1.14.1" + "@shopify/react-html": "^10.2.6" }, "peerDependencies": { "react": ">=16.8.0 <17.0.0" diff --git a/packages/react-universal-provider/sewing-kit.config.ts b/packages/react-universal-provider/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-universal-provider/sewing-kit.config.ts +++ b/packages/react-universal-provider/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/react-web-worker/CHANGELOG.md b/packages/react-web-worker/CHANGELOG.md index 20d5ad10fa..d22037cc57 100644 --- a/packages/react-web-worker/CHANGELOG.md +++ b/packages/react-web-worker/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.3.2 - 2021-03-03 ### Fixed diff --git a/packages/react-web-worker/package.json b/packages/react-web-worker/package.json index 17474541b8..65fabc23fe 100644 --- a/packages/react-web-worker/package.json +++ b/packages/react-web-worker/package.json @@ -5,9 +5,6 @@ "description": "A hook for using web workers in React applications", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -26,8 +23,7 @@ "dependencies": { "@shopify/react-hooks": "^1.13.0", "@shopify/useful-types": "^2.3.3", - "@shopify/web-worker": "^1.5.3", - "tslib": "^1.14.1" + "@shopify/web-worker": "^1.5.3" }, "peerDependencies": { "react": ">=16.8.0 <17.0.0", diff --git a/packages/react-web-worker/sewing-kit.config.ts b/packages/react-web-worker/sewing-kit.config.ts index 3f49f80422..7362a5f0e4 100644 --- a/packages/react-web-worker/sewing-kit.config.ts +++ b/packages/react-web-worker/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage({useReact: true})); }); diff --git a/packages/rpc/CHANGELOG.md b/packages/rpc/CHANGELOG.md index 206d48ad11..8d9388ecf1 100644 --- a/packages/rpc/CHANGELOG.md +++ b/packages/rpc/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.1.2 - 2021-03-03 ### Fixed diff --git a/packages/rpc/package.json b/packages/rpc/package.json index 2afcbc96f0..d5b0f82cf9 100644 --- a/packages/rpc/package.json +++ b/packages/rpc/package.json @@ -5,9 +5,6 @@ "description": "Utilities for `postMessage`-based remote procedure calls", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -44,8 +41,5 @@ "require": "./index.js", "esnext": "./index.esnext" } - }, - "dependencies": { - "tslib": "^1.14.1" } } diff --git a/packages/rpc/sewing-kit.config.ts b/packages/rpc/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/rpc/sewing-kit.config.ts +++ b/packages/rpc/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/semaphore/CHANGELOG.md b/packages/semaphore/CHANGELOG.md index 92fccea3c9..ba93c080f1 100644 --- a/packages/semaphore/CHANGELOG.md +++ b/packages/semaphore/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.1.2 - 2021-03-03 ### Fixed diff --git a/packages/semaphore/package.json b/packages/semaphore/package.json index ba2ba3d4cc..6bae794d76 100644 --- a/packages/semaphore/package.json +++ b/packages/semaphore/package.json @@ -5,9 +5,6 @@ "description": "Counting semaphore", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -40,8 +37,5 @@ "require": "./index.js", "esnext": "./index.esnext" } - }, - "dependencies": { - "tslib": "^1.14.1" } } diff --git a/packages/semaphore/sewing-kit.config.ts b/packages/semaphore/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/semaphore/sewing-kit.config.ts +++ b/packages/semaphore/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/sewing-kit-koa/CHANGELOG.md b/packages/sewing-kit-koa/CHANGELOG.md index 2057e0b2e1..39ae5efaa6 100644 --- a/packages/sewing-kit-koa/CHANGELOG.md +++ b/packages/sewing-kit-koa/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 6.4.3 - 2021-03-03 ### Fixed diff --git a/packages/sewing-kit-koa/package.json b/packages/sewing-kit-koa/package.json index 17376a75bc..6c3982f515 100644 --- a/packages/sewing-kit-koa/package.json +++ b/packages/sewing-kit-koa/package.json @@ -5,9 +5,6 @@ "description": "Easily access Sewing Kit assets from a Koa server", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -34,8 +31,7 @@ "koa-compose": ">=3.0.0 <4.0.0", "koa-mount": "^4.0.0", "koa-static": "^5.0.0", - "node-gzip": "^1.1.2", - "tslib": "^1.14.1" + "node-gzip": "^1.1.2" }, "devDependencies": { "@shopify/jest-koa-mocks": "^2.3.3", diff --git a/packages/sewing-kit-koa/sewing-kit.config.ts b/packages/sewing-kit-koa/sewing-kit.config.ts index 22d47ba917..e0f1626d08 100644 --- a/packages/sewing-kit-koa/sewing-kit.config.ts +++ b/packages/sewing-kit-koa/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/statsd/CHANGELOG.md b/packages/statsd/CHANGELOG.md index bf277483c3..9bb0573894 100644 --- a/packages/statsd/CHANGELOG.md +++ b/packages/statsd/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 2.1.2 - 2021-03-03 ### Fixed diff --git a/packages/statsd/package.json b/packages/statsd/package.json index 50f7ac3971..23a8d04f2b 100644 --- a/packages/statsd/package.json +++ b/packages/statsd/package.json @@ -5,9 +5,6 @@ "description": "An opinionated StatsD client for Shopify Node.js servers and other StatsD utilities", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -25,8 +22,7 @@ "homepage": "https://github.com/Shopify/quilt/blob/main/packages/statsd/README.md", "dependencies": { "change-case": "^4.1.1", - "hot-shots": "^8.2.0", - "tslib": "^1.14.1" + "hot-shots": "^8.2.0" }, "files": [ "build/*", diff --git a/packages/statsd/sewing-kit.config.ts b/packages/statsd/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/statsd/sewing-kit.config.ts +++ b/packages/statsd/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/storybook-a11y-test/CHANGELOG.md b/packages/storybook-a11y-test/CHANGELOG.md index 8e98584e39..a3d3ecbbed 100644 --- a/packages/storybook-a11y-test/CHANGELOG.md +++ b/packages/storybook-a11y-test/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 0.0.0 Initial release diff --git a/packages/storybook-a11y-test/package.json b/packages/storybook-a11y-test/package.json index d404d8f809..01c7758bbe 100644 --- a/packages/storybook-a11y-test/package.json +++ b/packages/storybook-a11y-test/package.json @@ -5,9 +5,6 @@ "description": "Test storybook pages with axe and puppeteer", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -26,8 +23,7 @@ "dependencies": { "chalk": "^4.1.0", "p-map": "^4.0.0", - "puppeteer": "^7.1.0", - "tslib": "^1.14.1" + "puppeteer": "^7.1.0" }, "files": [ "build/*", diff --git a/packages/storybook-a11y-test/sewing-kit.config.ts b/packages/storybook-a11y-test/sewing-kit.config.ts index 22d47ba917..e0f1626d08 100644 --- a/packages/storybook-a11y-test/sewing-kit.config.ts +++ b/packages/storybook-a11y-test/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/useful-types/CHANGELOG.md b/packages/useful-types/CHANGELOG.md index ac8c06c4cd..b175accd92 100644 --- a/packages/useful-types/CHANGELOG.md +++ b/packages/useful-types/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 2.3.2 - 2021-03-03 ### Fixed diff --git a/packages/useful-types/package.json b/packages/useful-types/package.json index d06dac7258..f073b40714 100644 --- a/packages/useful-types/package.json +++ b/packages/useful-types/package.json @@ -5,9 +5,6 @@ "description": "A few handy TypeScript types", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -23,9 +20,6 @@ "url": "https://github.com/Shopify/quilt/issues" }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/useful-types/README.md", - "dependencies": { - "tslib": "^1.14.1" - }, "files": [ "build/*", "!*.tsbuildinfo", diff --git a/packages/useful-types/sewing-kit.config.ts b/packages/useful-types/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/useful-types/sewing-kit.config.ts +++ b/packages/useful-types/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/packages/web-worker/CHANGELOG.md b/packages/web-worker/CHANGELOG.md index 615716090e..89d29b9740 100644 --- a/packages/web-worker/CHANGELOG.md +++ b/packages/web-worker/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Removed dependency on tslib, as we no-longer compile with `tsc`. [#1829](https://github.com/Shopify/quilt/pull/1829) + ## 1.5.2 - 2021-03-03 ### Fixed diff --git a/packages/web-worker/package.json b/packages/web-worker/package.json index fb570802f5..aa964ac4e9 100644 --- a/packages/web-worker/package.json +++ b/packages/web-worker/package.json @@ -5,9 +5,6 @@ "description": "Tools for making web workers fun to use", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "sideEffects": false, "publishConfig": { "access": "public", @@ -26,7 +23,6 @@ "dependencies": { "@shopify/rpc": "^1.1.3", "loader-utils": "^1.0.0", - "tslib": "^1.14.1", "webpack-virtual-modules": "^0.2.2" }, "devDependencies": { diff --git a/packages/web-worker/sewing-kit.config.ts b/packages/web-worker/sewing-kit.config.ts index 9c72387f6c..2077e01985 100644 --- a/packages/web-worker/sewing-kit.config.ts +++ b/packages/web-worker/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.entry({name: 'babel', root: './src/babel-plugin'}); pkg.entry({name: 'webpack', root: './src/webpack-parts'}); diff --git a/packages/with-env/package.json b/packages/with-env/package.json index 3cba832afd..8966a3cbdb 100644 --- a/packages/with-env/package.json +++ b/packages/with-env/package.json @@ -5,9 +5,6 @@ "description": "A utility for executing code under a specific `NODE_ENV`", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" @@ -23,9 +20,6 @@ }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/with-env/README.md", "sideEffects": false, - "dependencies": { - "tslib": "^1.14.1" - }, "files": [ "build/*", "!*.tsbuildinfo", diff --git a/packages/with-env/sewing-kit.config.ts b/packages/with-env/sewing-kit.config.ts index 22d47ba917..825c65e509 100644 --- a/packages/with-env/sewing-kit.config.ts +++ b/packages/with-env/sewing-kit.config.ts @@ -1,8 +1,9 @@ -import {createPackage} from '@sewing-kit/config'; +import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/templates/package.hbs.json b/templates/package.hbs.json index 35d48f9dc4..8d26f726e3 100644 --- a/templates/package.hbs.json +++ b/templates/package.hbs.json @@ -5,9 +5,7 @@ "description": "{{{description}}}", "main": "index.js", "types": "index.d.ts", - "scripts": { - "build": "tsc --p tsconfig.json" - }, + "scripts": {}, "sideEffects": false, "publishConfig": { "access": "public", @@ -23,9 +21,7 @@ "url": "https://github.com/Shopify/quilt/issues" }, "homepage": "https://github.com/Shopify/quilt/blob/main/packages/{{name}}/README.md", - "dependencies": { - "tslib": "^1.14.1" - }, + "dependencies": {}, "files": [ "build/*", "!*.tsbuildinfo", diff --git a/templates/sewing-kit.templateconfig.hbs.ts b/templates/sewing-kit.templateconfig.hbs.ts index 0212ac6263..825c65e509 100644 --- a/templates/sewing-kit.templateconfig.hbs.ts +++ b/templates/sewing-kit.templateconfig.hbs.ts @@ -3,6 +3,7 @@ import {createPackage, Runtime} from '@sewing-kit/config'; import {quiltPackage} from '../../config/sewing-kit'; export default createPackage(pkg => { + pkg.runtimes(Runtime.Browser, Runtime.Node); pkg.entry({root: './src/index'}); pkg.use(quiltPackage()); }); diff --git a/tests/consistent-package-json.test.ts b/tests/consistent-package-json.test.ts index 6e20a23de4..06a2ee1a03 100644 --- a/tests/consistent-package-json.test.ts +++ b/tests/consistent-package-json.test.ts @@ -46,7 +46,7 @@ describe('templates/package.hbs.json', () => { }); }); -const IGNORE_PACKAGES = ['tslib', '@types/']; +const IGNORE_PACKAGES = ['@types/']; packages.forEach( ({packageName, packageJSONPath, packageJSON, expectedPackageJSON}) => { @@ -59,9 +59,6 @@ packages.forEach( it('specifies Quilt Issues as bugs URL', () => { expect(packageJSON.bugs).toStrictEqual(expectedPackageJSON.bugs); }); - it('specifies dependencies', () => { - expect(packageJSON.dependencies).not.toStrictEqual({}); - }); it('specifies a description', () => { expect(packageJSON.description).not.toBeUndefined(); }); @@ -102,11 +99,6 @@ packages.forEach( expectedPackageJSON.repository, ); }); - it('specifies scripts, including build', () => { - expect(packageJSON.scripts.build).toBe( - expectedPackageJSON.scripts.build, - ); - }); it('specifies if webpack can tree-shake, via sideEffects', () => { expect(packageJSON.sideEffects).toBe( Boolean(packageJSON.sideEffects), diff --git a/yarn.lock b/yarn.lock index 62a7a1fd86..befcac102f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12650,7 +12650,7 @@ ts-node@^8, ts-node@^8.0.3: source-map-support "^0.5.17" yn "3.1.1" -tslib@^1, tslib@^1.10.0, tslib@^1.14.1, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: +tslib@^1, tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==