From 46b6e12c30e3a24d8462a124d99c1771437b4649 Mon Sep 17 00:00:00 2001 From: Bret Little Date: Fri, 16 Feb 2024 13:43:55 -0500 Subject: [PATCH] Fix type check --- package-lock.json | 840 +--------------------------------------------- package.json | 3 +- 2 files changed, 15 insertions(+), 828 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9c8787a005..e6dd60f656 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,6 @@ "packages/hydrogen-react", "packages/mini-oxygen", "packages/remix-oxygen", - "templates/demo-store", "templates/hello-world", "templates/skeleton" ], @@ -39,6 +38,7 @@ "lint-staged": "^10.5.4", "prettier": "^2.8.4", "rimraf": "^3.0.2", + "tiny-invariant": "^1.3.1", "tsup": "7.2.0", "turbo": "1.12.0", "typescript": "^5.2.2", @@ -746,21 +746,6 @@ "semver": "bin/semver.js" } }, - "node_modules/@babel/eslint-plugin": { - "version": "7.19.1", - "dev": true, - "license": "MIT", - "dependencies": { - "eslint-rule-composer": "^0.3.0" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || >=14.0.0" - }, - "peerDependencies": { - "@babel/eslint-parser": ">=7.11.0", - "eslint": ">=7.5.0" - } - }, "node_modules/@babel/generator": { "version": "7.23.6", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", @@ -5146,17 +5131,6 @@ "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, - "node_modules/@headlessui/react": { - "version": "1.7.2", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "react": "^16 || ^17 || ^18", - "react-dom": "^16 || ^17 || ^18" - } - }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.10", "dev": true, @@ -10970,84 +10944,6 @@ "resolved": "packages/create-hydrogen", "link": true }, - "node_modules/@shopify/eslint-plugin": { - "version": "42.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/eslint-parser": "^7.16.3", - "@babel/eslint-plugin": "^7.14.5", - "@typescript-eslint/eslint-plugin": "^5.4.0", - "@typescript-eslint/parser": "^5.4.0", - "change-case": "^4.1.2", - "common-tags": "^1.8.2", - "doctrine": "^2.1.0", - "eslint-config-prettier": "^8.3.0", - "eslint-module-utils": "^2.7.1", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-import": "^2.25.3", - "eslint-plugin-jest": "^25.3.0", - "eslint-plugin-jest-formatting": "^3.1.0", - "eslint-plugin-jsx-a11y": "^6.5.0", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-prettier": "^4.1.0", - "eslint-plugin-promise": "^6.0.0", - "eslint-plugin-react": "^7.30.0", - "eslint-plugin-react-hooks": "^4.3.0", - "eslint-plugin-sort-class-members": "^1.14.0", - "jsx-ast-utils": "^3.2.1", - "pkg-dir": "^5.0.0", - "pluralize": "^8.0.0" - }, - "peerDependencies": { - "eslint": "^8.3.0" - } - }, - "node_modules/@shopify/eslint-plugin/node_modules/doctrine": { - "version": "2.1.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@shopify/eslint-plugin/node_modules/eslint-plugin-jest": { - "version": "25.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/experimental-utils": "^5.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - }, - "peerDependencies": { - "@typescript-eslint/eslint-plugin": "^4.0.0 || ^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "@typescript-eslint/eslint-plugin": { - "optional": true - }, - "jest": { - "optional": true - } - } - }, - "node_modules/@shopify/eslint-plugin/node_modules/pkg-dir": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "find-up": "^5.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@shopify/generate-docs": { "version": "0.11.1", "resolved": "https://registry.npmjs.org/@shopify/generate-docs/-/generate-docs-0.11.1.tgz", @@ -11907,10 +11803,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/js-cookie": { - "version": "2.2.7", - "license": "MIT" - }, "node_modules/@types/js-yaml": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.8.tgz", @@ -12826,10 +12718,6 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, - "node_modules/@xobotyi/scrollbar-width": { - "version": "1.9.5", - "license": "MIT" - }, "node_modules/@xstate/fsm": { "version": "2.0.0", "license": "MIT" @@ -14361,13 +14249,6 @@ "node": ">=0.8" } }, - "node_modules/clsx": { - "version": "1.2.1", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/co": { "version": "4.6.0", "dev": true, @@ -14761,13 +14642,6 @@ "node": ">= 0.8" } }, - "node_modules/copy-to-clipboard": { - "version": "3.3.2", - "license": "MIT", - "dependencies": { - "toggle-selection": "^1.0.6" - } - }, "node_modules/core-util-is": { "version": "1.0.3", "license": "MIT" @@ -15160,14 +15034,6 @@ "postcss": "^8.4" } }, - "node_modules/css-in-js-utils": { - "version": "2.0.1", - "license": "MIT", - "dependencies": { - "hyphenate-style-name": "^1.0.2", - "isobject": "^3.0.1" - } - }, "node_modules/css-prefers-color-scheme": { "version": "8.0.2", "dev": true, @@ -15183,24 +15049,6 @@ "postcss": "^8.4" } }, - "node_modules/css-tree": { - "version": "1.1.3", - "license": "MIT", - "dependencies": { - "mdn-data": "2.0.14", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/css-tree/node_modules/source-map": { - "version": "0.6.1", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/css-what": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", @@ -15240,6 +15088,7 @@ }, "node_modules/csstype": { "version": "3.1.1", + "devOptional": true, "license": "MIT" }, "node_modules/csv": { @@ -15606,10 +15455,6 @@ "dev": true, "license": "MIT" }, - "node_modules/demo-store": { - "resolved": "templates/demo-store", - "link": true - }, "node_modules/depd": { "version": "2.0.0", "license": "MIT", @@ -16850,17 +16695,6 @@ "eslint": "^6.8.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/eslint-plugin-jest-formatting": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": ">=0.8.0" - } - }, "node_modules/eslint-plugin-jsx-a11y": { "version": "6.7.1", "dev": true, @@ -16969,17 +16803,6 @@ } } }, - "node_modules/eslint-plugin-promise": { - "version": "6.1.0", - "dev": true, - "license": "ISC", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" - } - }, "node_modules/eslint-plugin-react": { "version": "7.32.2", "dev": true, @@ -17064,17 +16887,6 @@ "eslint": ">=5.0.0" } }, - "node_modules/eslint-plugin-sort-class-members": { - "version": "1.15.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4.0.0" - }, - "peerDependencies": { - "eslint": ">=0.8.0" - } - }, "node_modules/eslint-plugin-testing-library": { "version": "5.11.0", "dev": true, @@ -17099,14 +16911,6 @@ "@microsoft/tsdoc-config": "0.16.2" } }, - "node_modules/eslint-rule-composer": { - "version": "0.3.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/eslint-scope": { "version": "5.1.1", "dev": true, @@ -17679,9 +17483,6 @@ "fast-decode-uri-component": "^1.0.1" } }, - "node_modules/fast-shallow-equal": { - "version": "1.0.0" - }, "node_modules/fast-url-parser": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz", @@ -17695,10 +17496,6 @@ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==" }, - "node_modules/fastest-stable-stringify": { - "version": "2.0.2", - "license": "MIT" - }, "node_modules/fastq": { "version": "1.13.0", "license": "ISC", @@ -19109,10 +18906,6 @@ "node": ">=4" } }, - "node_modules/hyphenate-style-name": { - "version": "1.0.4", - "license": "BSD-3-Clause" - }, "node_modules/iconv-lite": { "version": "0.4.24", "license": "MIT", @@ -19595,13 +19388,6 @@ "dev": true, "license": "MIT" }, - "node_modules/inline-style-prefixer": { - "version": "6.0.1", - "license": "MIT", - "dependencies": { - "css-in-js-utils": "^2.0.0" - } - }, "node_modules/inquirer": { "version": "8.2.6", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.6.tgz", @@ -20292,13 +20078,6 @@ "version": "2.0.0", "license": "ISC" }, - "node_modules/isobject": { - "version": "3.0.1", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/isomorphic-ws": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz", @@ -20624,10 +20403,6 @@ "node": ">=10" } }, - "node_modules/js-cookie": { - "version": "2.2.1", - "license": "MIT" - }, "node_modules/js-tokens": { "version": "4.0.0", "license": "MIT" @@ -21859,10 +21634,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdn-data": { - "version": "2.0.14", - "license": "CC0-1.0" - }, "node_modules/media-query-parser": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/media-query-parser/-/media-query-parser-2.0.2.tgz", @@ -23087,24 +22858,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/nano-css": { - "version": "5.3.5", - "license": "Unlicense", - "dependencies": { - "css-tree": "^1.1.2", - "csstype": "^3.0.6", - "fastest-stable-stringify": "^2.0.2", - "inline-style-prefixer": "^6.0.0", - "rtl-css-js": "^1.14.0", - "sourcemap-codec": "^1.4.8", - "stacktrace-js": "^2.0.2", - "stylis": "^4.0.6" - }, - "peerDependencies": { - "react": "*", - "react-dom": "*" - } - }, "node_modules/nanoid": { "version": "3.3.7", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", @@ -24586,14 +24339,6 @@ "semver-compare": "^1.0.0" } }, - "node_modules/pluralize": { - "version": "8.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/postcss": { "version": "8.4.35", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.35.tgz", @@ -25730,13 +25475,6 @@ "react": "^16.8.4 || ^17.0.0 || ^18.0.0" } }, - "node_modules/react-intersection-observer": { - "version": "9.4.1", - "license": "MIT", - "peerDependencies": { - "react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/react-is": { "version": "17.0.2", "dev": true, @@ -25810,42 +25548,6 @@ "react": ">= 0.14.0" } }, - "node_modules/react-universal-interface": { - "version": "0.6.2", - "peerDependencies": { - "react": "*", - "tslib": "*" - } - }, - "node_modules/react-use": { - "version": "17.4.0", - "license": "Unlicense", - "dependencies": { - "@types/js-cookie": "^2.2.6", - "@xobotyi/scrollbar-width": "^1.9.5", - "copy-to-clipboard": "^3.3.1", - "fast-deep-equal": "^3.1.3", - "fast-shallow-equal": "^1.0.0", - "js-cookie": "^2.2.1", - "nano-css": "^5.3.1", - "react-universal-interface": "^0.6.2", - "resize-observer-polyfill": "^1.5.1", - "screenfull": "^5.1.0", - "set-harmonic-interval": "^1.0.1", - "throttle-debounce": "^3.0.1", - "ts-easing": "^0.2.0", - "tslib": "^2.1.0" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/react-use/node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - }, "node_modules/read-cache": { "version": "1.0.0", "dev": true, @@ -26535,10 +26237,6 @@ "node": ">=0.10.5" } }, - "node_modules/resize-observer-polyfill": { - "version": "1.5.1", - "license": "MIT" - }, "node_modules/resolve": { "version": "1.22.8", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", @@ -26679,13 +26377,6 @@ "fsevents": "~2.3.2" } }, - "node_modules/rtl-css-js": { - "version": "1.16.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.1.2" - } - }, "node_modules/run-applescript": { "version": "5.0.0", "dev": true, @@ -26864,21 +26555,12 @@ }, "node_modules/schema-dts": { "version": "1.1.0", + "dev": true, "license": "Apache-2.0", "peerDependencies": { "typescript": ">=4.1.0" } }, - "node_modules/screenfull": { - "version": "5.2.0", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/scroll-into-view-if-needed": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.1.0.tgz", @@ -27033,13 +26715,6 @@ "node": ">= 0.4" } }, - "node_modules/set-harmonic-interval": { - "version": "1.0.1", - "license": "Unlicense", - "engines": { - "node": ">=6.9" - } - }, "node_modules/setimmediate": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", @@ -27431,10 +27106,6 @@ "node": ">=0.10.0" } }, - "node_modules/sourcemap-codec": { - "version": "1.4.8", - "license": "MIT" - }, "node_modules/space-separated-tokens": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", @@ -27619,30 +27290,6 @@ "version": "1.3.4", "license": "MIT" }, - "node_modules/stacktrace-gps": { - "version": "3.1.2", - "license": "MIT", - "dependencies": { - "source-map": "0.5.6", - "stackframe": "^1.3.4" - } - }, - "node_modules/stacktrace-gps/node_modules/source-map": { - "version": "0.5.6", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/stacktrace-js": { - "version": "2.0.2", - "license": "MIT", - "dependencies": { - "error-stack-parser": "^2.0.6", - "stack-generator": "^2.0.5", - "stacktrace-gps": "^3.0.4" - } - }, "node_modules/stacktracey": { "version": "2.1.8", "resolved": "https://registry.npmjs.org/stacktracey/-/stacktracey-2.1.8.tgz", @@ -27951,10 +27598,6 @@ "inline-style-parser": "0.1.1" } }, - "node_modules/stylis": { - "version": "4.1.2", - "license": "MIT" - }, "node_modules/sucrase": { "version": "3.29.0", "dev": true, @@ -28371,10 +28014,6 @@ "dev": true, "license": "MIT" }, - "node_modules/textr": { - "version": "0.3.0", - "license": "MIT" - }, "node_modules/thenify": { "version": "3.3.1", "dev": true, @@ -28398,13 +28037,6 @@ "version": "0.139.2", "license": "MIT" }, - "node_modules/throttle-debounce": { - "version": "3.0.1", - "license": "MIT", - "engines": { - "node": ">=10" - } - }, "node_modules/through": { "version": "2.3.8", "license": "MIT" @@ -28529,10 +28161,6 @@ "node": ">=8.0" } }, - "node_modules/toggle-selection": { - "version": "1.0.6", - "license": "MIT" - }, "node_modules/toidentifier": { "version": "1.0.1", "license": "MIT", @@ -28599,10 +28227,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/ts-easing": { - "version": "0.2.0", - "license": "Unlicense" - }, "node_modules/ts-error": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/ts-error/-/ts-error-1.0.6.tgz", @@ -28727,6 +28351,7 @@ }, "node_modules/tslib": { "version": "1.14.1", + "dev": true, "license": "0BSD" }, "node_modules/tsscmp": { @@ -29091,6 +28716,7 @@ "version": "5.3.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "devOptional": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -29099,92 +28725,6 @@ "node": ">=14.17" } }, - "node_modules/typographic-apostrophes": { - "version": "1.1.1", - "license": "MIT" - }, - "node_modules/typographic-apostrophes-for-possessive-plurals": { - "version": "1.0.5", - "license": "MIT" - }, - "node_modules/typographic-arrows": { - "version": "1.0.3", - "license": "MIT" - }, - "node_modules/typographic-base": { - "version": "1.0.4", - "license": "MIT", - "dependencies": { - "textr": "^0.3.0", - "typographic-apostrophes": "^1.1.1", - "typographic-apostrophes-for-possessive-plurals": "^1.0.5", - "typographic-arrows": "^1.0.0", - "typographic-copyright": "^1.0.1", - "typographic-currency": "^1.1.0", - "typographic-ellipses": "^1.0.11", - "typographic-em-dashes": "^1.0.2", - "typographic-en-dashes": "^1.0.1", - "typographic-math-symbols": "^1.1.5", - "typographic-quotes": "^1.2.1", - "typographic-registered-trademark": "^1.0.1", - "typographic-single-spaces": "^1.0.2", - "typographic-trademark": "^1.0.1" - } - }, - "node_modules/typographic-copyright": { - "version": "1.0.1", - "license": "MIT" - }, - "node_modules/typographic-currency": { - "version": "1.1.2", - "license": "MIT", - "dependencies": { - "typographic-currency-db": "1.0.0" - } - }, - "node_modules/typographic-currency-db": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/typographic-ellipses": { - "version": "1.0.11", - "license": "MIT" - }, - "node_modules/typographic-em-dashes": { - "version": "1.0.2", - "license": "MIT" - }, - "node_modules/typographic-en-dashes": { - "version": "1.0.1", - "license": "MIT" - }, - "node_modules/typographic-math-symbols": { - "version": "1.1.5", - "license": "MIT" - }, - "node_modules/typographic-quotes": { - "version": "1.2.2", - "license": "MIT", - "dependencies": { - "typographic-quotes-l10n-db": "^1.0.0" - } - }, - "node_modules/typographic-quotes-l10n-db": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/typographic-registered-trademark": { - "version": "1.0.1", - "license": "MIT" - }, - "node_modules/typographic-single-spaces": { - "version": "1.0.2", - "license": "MIT" - }, - "node_modules/typographic-trademark": { - "version": "1.0.1", - "license": "MIT" - }, "node_modules/ua-parser-js": { "version": "1.0.37", "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.37.tgz", @@ -31619,6 +31159,7 @@ }, "templates/demo-store": { "version": "2.1.6", + "extraneous": true, "dependencies": { "@headlessui/react": "^1.7.2", "@remix-run/react": "^2.8.0", @@ -32134,13 +31675,6 @@ } } }, - "@babel/eslint-plugin": { - "version": "7.19.1", - "dev": true, - "requires": { - "eslint-rule-composer": "^0.3.0" - } - }, "@babel/generator": { "version": "7.23.6", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", @@ -35030,10 +34564,6 @@ "integrity": "sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==", "requires": {} }, - "@headlessui/react": { - "version": "1.7.2", - "requires": {} - }, "@humanwhocodes/config-array": { "version": "0.11.10", "dev": true, @@ -38951,58 +38481,6 @@ "@shopify/cli-hydrogen": "^7.1.0" } }, - "@shopify/eslint-plugin": { - "version": "42.0.1", - "dev": true, - "requires": { - "@babel/eslint-parser": "^7.16.3", - "@babel/eslint-plugin": "^7.14.5", - "@typescript-eslint/eslint-plugin": "^5.4.0", - "@typescript-eslint/parser": "^5.4.0", - "change-case": "^4.1.2", - "common-tags": "^1.8.2", - "doctrine": "^2.1.0", - "eslint-config-prettier": "^8.3.0", - "eslint-module-utils": "^2.7.1", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-import": "^2.25.3", - "eslint-plugin-jest": "^25.3.0", - "eslint-plugin-jest-formatting": "^3.1.0", - "eslint-plugin-jsx-a11y": "^6.5.0", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-prettier": "^4.1.0", - "eslint-plugin-promise": "^6.0.0", - "eslint-plugin-react": "^7.30.0", - "eslint-plugin-react-hooks": "^4.3.0", - "eslint-plugin-sort-class-members": "^1.14.0", - "jsx-ast-utils": "^3.2.1", - "pkg-dir": "^5.0.0", - "pluralize": "^8.0.0" - }, - "dependencies": { - "doctrine": { - "version": "2.1.0", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "eslint-plugin-jest": { - "version": "25.7.0", - "dev": true, - "requires": { - "@typescript-eslint/experimental-utils": "^5.0.0" - } - }, - "pkg-dir": { - "version": "5.0.0", - "dev": true, - "requires": { - "find-up": "^5.0.0" - } - } - } - }, "@shopify/generate-docs": { "version": "0.11.1", "resolved": "https://registry.npmjs.org/@shopify/generate-docs/-/generate-docs-0.11.1.tgz", @@ -39854,9 +39332,6 @@ } } }, - "@types/js-cookie": { - "version": "2.2.7" - }, "@types/js-yaml": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.8.tgz", @@ -40540,9 +40015,6 @@ } } }, - "@xobotyi/scrollbar-width": { - "version": "1.9.5" - }, "@xstate/fsm": { "version": "2.0.0" }, @@ -41532,9 +41004,6 @@ "clone": { "version": "1.0.4" }, - "clsx": { - "version": "1.2.1" - }, "co": { "version": "4.6.0", "dev": true @@ -41823,12 +41292,6 @@ "keygrip": "~1.1.0" } }, - "copy-to-clipboard": { - "version": "3.3.2", - "requires": { - "toggle-selection": "^1.0.6" - } - }, "core-util-is": { "version": "1.0.3" }, @@ -42049,30 +41512,11 @@ "postcss-value-parser": "^4.2.0" } }, - "css-in-js-utils": { - "version": "2.0.1", - "requires": { - "hyphenate-style-name": "^1.0.2", - "isobject": "^3.0.1" - } - }, "css-prefers-color-scheme": { "version": "8.0.2", "dev": true, "requires": {} }, - "css-tree": { - "version": "1.1.3", - "requires": { - "mdn-data": "2.0.14", - "source-map": "^0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1" - } - } - }, "css-what": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", @@ -42092,7 +41536,8 @@ "dev": true }, "csstype": { - "version": "3.1.1" + "version": "3.1.1", + "devOptional": true }, "csv": { "version": "5.5.3", @@ -42332,51 +41777,6 @@ "version": "1.0.0", "dev": true }, - "demo-store": { - "version": "file:templates/demo-store", - "requires": { - "@headlessui/react": "^1.7.2", - "@playwright/test": "^1.40.1", - "@remix-run/dev": "^2.8.0", - "@remix-run/eslint-config": "^2.8.0", - "@remix-run/react": "^2.8.0", - "@remix-run/server-runtime": "^2.8.0", - "@shopify/cli": "3.56.3", - "@shopify/cli-hydrogen": "^7.1.0", - "@shopify/eslint-plugin": "^42.0.1", - "@shopify/hydrogen": "~2024.1.2", - "@shopify/oxygen-workers-types": "^4.0.0", - "@shopify/prettier-config": "^1.1.2", - "@shopify/remix-oxygen": "^2.0.3", - "@tailwindcss/forms": "^0.5.3", - "@tailwindcss/typography": "^0.5.9", - "@total-typescript/ts-reset": "^0.4.2", - "@types/eslint": "^8.4.10", - "@types/react": "^18.2.22", - "@types/react-dom": "^18.2.7", - "clsx": "^1.2.1", - "cross-env": "^7.0.3", - "eslint": "^8.20.0", - "eslint-plugin-hydrogen": "0.12.2", - "graphql": "^16.6.0", - "graphql-tag": "^2.12.6", - "isbot": "^3.6.5", - "postcss": "^8.4.21", - "postcss-import": "^15.1.0", - "postcss-preset-env": "^8.2.0", - "prettier": "^2.8.4", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-intersection-observer": "^9.4.1", - "react-use": "^17.4.0", - "rimraf": "^3.0.2", - "schema-dts": "^1.1.0", - "tailwindcss": "^3.3.0", - "tiny-invariant": "^1.2.0", - "typescript": "^5.2.2", - "typographic-base": "^1.0.4" - } - }, "depd": { "version": "2.0.0" }, @@ -43203,11 +42603,6 @@ "requireindex": "^1.2.0" } }, - "eslint-plugin-jest-formatting": { - "version": "3.1.0", - "dev": true, - "requires": {} - }, "eslint-plugin-jsx-a11y": { "version": "6.7.1", "dev": true, @@ -43276,11 +42671,6 @@ "prettier-linter-helpers": "^1.0.0" } }, - "eslint-plugin-promise": { - "version": "6.1.0", - "dev": true, - "requires": {} - }, "eslint-plugin-react": { "version": "7.32.2", "dev": true, @@ -43338,11 +42728,6 @@ "dev": true, "requires": {} }, - "eslint-plugin-sort-class-members": { - "version": "1.15.2", - "dev": true, - "requires": {} - }, "eslint-plugin-testing-library": { "version": "5.11.0", "dev": true, @@ -43358,10 +42743,6 @@ "@microsoft/tsdoc-config": "0.16.2" } }, - "eslint-rule-composer": { - "version": "0.3.0", - "dev": true - }, "eslint-scope": { "version": "5.1.1", "dev": true, @@ -43836,9 +43217,6 @@ "fast-decode-uri-component": "^1.0.1" } }, - "fast-shallow-equal": { - "version": "1.0.0" - }, "fast-url-parser": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz", @@ -43854,9 +43232,6 @@ } } }, - "fastest-stable-stringify": { - "version": "2.0.2" - }, "fastq": { "version": "1.13.0", "requires": { @@ -44840,9 +44215,6 @@ "hyperlinker": { "version": "1.0.0" }, - "hyphenate-style-name": { - "version": "1.0.4" - }, "iconv-lite": { "version": "0.4.24", "requires": { @@ -45112,12 +44484,6 @@ "version": "0.1.1", "dev": true }, - "inline-style-prefixer": { - "version": "6.0.1", - "requires": { - "css-in-js-utils": "^2.0.0" - } - }, "inquirer": { "version": "8.2.6", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.6.tgz", @@ -45519,9 +44885,6 @@ "isexe": { "version": "2.0.0" }, - "isobject": { - "version": "3.0.1" - }, "isomorphic-ws": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz", @@ -45746,9 +45109,6 @@ "version": "3.1.1", "dev": true }, - "js-cookie": { - "version": "2.2.1" - }, "js-tokens": { "version": "4.0.0" }, @@ -46603,9 +45963,6 @@ "version": "3.1.0", "dev": true }, - "mdn-data": { - "version": "2.0.14" - }, "media-query-parser": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/media-query-parser/-/media-query-parser-2.0.2.tgz", @@ -47329,19 +46686,6 @@ "resolved": "https://registry.npmjs.org/n-gram/-/n-gram-2.0.2.tgz", "integrity": "sha512-S24aGsn+HLBxUGVAUFOwGpKs7LBcG4RudKU//eWzt/mQ97/NMKQxDWHyHx63UNWk/OOdihgmzoETn1tf5nQDzQ==" }, - "nano-css": { - "version": "5.3.5", - "requires": { - "css-tree": "^1.1.2", - "csstype": "^3.0.6", - "fastest-stable-stringify": "^2.0.2", - "inline-style-prefixer": "^6.0.0", - "rtl-css-js": "^1.14.0", - "sourcemap-codec": "^1.4.8", - "stacktrace-js": "^2.0.2", - "stylis": "^4.0.6" - } - }, "nanoid": { "version": "3.3.7", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", @@ -48328,10 +47672,6 @@ "semver-compare": "^1.0.0" } }, - "pluralize": { - "version": "8.0.0", - "dev": true - }, "postcss": { "version": "8.4.35", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.35.tgz", @@ -48957,10 +48297,6 @@ "dev": true, "requires": {} }, - "react-intersection-observer": { - "version": "9.4.1", - "requires": {} - }, "react-is": { "version": "17.0.2", "dev": true @@ -49007,36 +48343,6 @@ "refractor": "^3.6.0" } }, - "react-universal-interface": { - "version": "0.6.2", - "requires": {} - }, - "react-use": { - "version": "17.4.0", - "requires": { - "@types/js-cookie": "^2.2.6", - "@xobotyi/scrollbar-width": "^1.9.5", - "copy-to-clipboard": "^3.3.1", - "fast-deep-equal": "^3.1.3", - "fast-shallow-equal": "^1.0.0", - "js-cookie": "^2.2.1", - "nano-css": "^5.3.1", - "react-universal-interface": "^0.6.2", - "resize-observer-polyfill": "^1.5.1", - "screenfull": "^5.1.0", - "set-harmonic-interval": "^1.0.1", - "throttle-debounce": "^3.0.1", - "ts-easing": "^0.2.0", - "tslib": "^2.1.0" - }, - "dependencies": { - "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - } - } - }, "read-cache": { "version": "1.0.0", "dev": true, @@ -49503,9 +48809,6 @@ "version": "1.2.0", "dev": true }, - "resize-observer-polyfill": { - "version": "1.5.1" - }, "resolve": { "version": "1.22.8", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", @@ -49587,12 +48890,6 @@ "fsevents": "~2.3.2" } }, - "rtl-css-js": { - "version": "1.16.0", - "requires": { - "@babel/runtime": "^7.1.2" - } - }, "run-applescript": { "version": "5.0.0", "dev": true, @@ -49701,11 +48998,9 @@ }, "schema-dts": { "version": "1.1.0", + "dev": true, "requires": {} }, - "screenfull": { - "version": "5.2.0" - }, "scroll-into-view-if-needed": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.1.0.tgz", @@ -49827,9 +49122,6 @@ "has-property-descriptors": "^1.0.0" } }, - "set-harmonic-interval": { - "version": "1.0.1" - }, "setimmediate": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", @@ -50136,9 +49428,6 @@ } } }, - "sourcemap-codec": { - "version": "1.4.8" - }, "space-separated-tokens": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", @@ -50282,26 +49571,6 @@ "stackframe": { "version": "1.3.4" }, - "stacktrace-gps": { - "version": "3.1.2", - "requires": { - "source-map": "0.5.6", - "stackframe": "^1.3.4" - }, - "dependencies": { - "source-map": { - "version": "0.5.6" - } - } - }, - "stacktrace-js": { - "version": "2.0.2", - "requires": { - "error-stack-parser": "^2.0.6", - "stack-generator": "^2.0.5", - "stacktrace-gps": "^3.0.4" - } - }, "stacktracey": { "version": "2.1.8", "resolved": "https://registry.npmjs.org/stacktracey/-/stacktracey-2.1.8.tgz", @@ -50519,9 +49788,6 @@ "inline-style-parser": "0.1.1" } }, - "stylis": { - "version": "4.1.2" - }, "sucrase": { "version": "3.29.0", "dev": true, @@ -50802,9 +50068,6 @@ "version": "0.2.0", "dev": true }, - "textr": { - "version": "0.3.0" - }, "thenify": { "version": "3.3.1", "dev": true, @@ -50822,9 +50085,6 @@ "three": { "version": "0.139.2" }, - "throttle-debounce": { - "version": "3.0.1" - }, "through": { "version": "2.3.8" }, @@ -50925,9 +50185,6 @@ "is-number": "^7.0.0" } }, - "toggle-selection": { - "version": "1.0.6" - }, "toidentifier": { "version": "1.0.1" }, @@ -50965,9 +50222,6 @@ "version": "2.1.0", "dev": true }, - "ts-easing": { - "version": "0.2.0" - }, "ts-error": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/ts-error/-/ts-error-1.0.6.tgz", @@ -51046,7 +50300,8 @@ } }, "tslib": { - "version": "1.14.1" + "version": "1.14.1", + "dev": true }, "tsscmp": { "version": "1.0.6", @@ -51259,77 +50514,8 @@ "typescript": { "version": "5.3.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", - "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==" - }, - "typographic-apostrophes": { - "version": "1.1.1" - }, - "typographic-apostrophes-for-possessive-plurals": { - "version": "1.0.5" - }, - "typographic-arrows": { - "version": "1.0.3" - }, - "typographic-base": { - "version": "1.0.4", - "requires": { - "textr": "^0.3.0", - "typographic-apostrophes": "^1.1.1", - "typographic-apostrophes-for-possessive-plurals": "^1.0.5", - "typographic-arrows": "^1.0.0", - "typographic-copyright": "^1.0.1", - "typographic-currency": "^1.1.0", - "typographic-ellipses": "^1.0.11", - "typographic-em-dashes": "^1.0.2", - "typographic-en-dashes": "^1.0.1", - "typographic-math-symbols": "^1.1.5", - "typographic-quotes": "^1.2.1", - "typographic-registered-trademark": "^1.0.1", - "typographic-single-spaces": "^1.0.2", - "typographic-trademark": "^1.0.1" - } - }, - "typographic-copyright": { - "version": "1.0.1" - }, - "typographic-currency": { - "version": "1.1.2", - "requires": { - "typographic-currency-db": "1.0.0" - } - }, - "typographic-currency-db": { - "version": "1.0.0" - }, - "typographic-ellipses": { - "version": "1.0.11" - }, - "typographic-em-dashes": { - "version": "1.0.2" - }, - "typographic-en-dashes": { - "version": "1.0.1" - }, - "typographic-math-symbols": { - "version": "1.1.5" - }, - "typographic-quotes": { - "version": "1.2.2", - "requires": { - "typographic-quotes-l10n-db": "^1.0.0" - } - }, - "typographic-quotes-l10n-db": { - "version": "1.0.0" - }, - "typographic-registered-trademark": { - "version": "1.0.1" - }, - "typographic-single-spaces": { - "version": "1.0.2" - }, - "typographic-trademark": { - "version": "1.0.1" + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "devOptional": true }, "ua-parser-js": { "version": "1.0.37", diff --git a/package.json b/package.json index 7d7c357fbc..a5f6e76dc5 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,8 @@ "tsup": "7.2.0", "turbo": "1.12.0", "typescript": "^5.2.2", - "yorkie": "^2.0.0" + "yorkie": "^2.0.0", + "tiny-invariant":"^1.3.1" }, "engines": { "node": ">=18.0.0"