diff --git a/lib/reactotron-apollo-client/package.json b/lib/reactotron-apollo-client/package.json index b55403582..58c7111d5 100644 --- a/lib/reactotron-apollo-client/package.json +++ b/lib/reactotron-apollo-client/package.json @@ -35,8 +35,8 @@ "build:dev": "yarn tsc && yarn compile:dev", "clean": "trash dist", "lint": "eslint 'src/**/**.{ts,tsx}'", - "compile": "NODE_ENV=production rollup -c rollup.config.ts", - "compile:dev": "NODE_ENV=development rollup -c rollup.config.ts", + "compile": "NODE_ENV=production rollup -c --strictDeprecations --bundleConfigAsCjs", + "compile:dev": "NODE_ENV=development rollup -c --strictDeprecations --bundleConfigAsCjs", "tsc": "tsc", "typecheck": "tsc", "ci:test": "yarn test --runInBand" @@ -50,10 +50,12 @@ }, "devDependencies": { "@apollo/client": "^3.8.3", - "@babel/core": "^7.21.0", - "@babel/preset-env": "^7.20.2", - "@babel/preset-typescript": "^7.21.0", - "@types/jest": "^29.4.0", + "@babel/core": "^7.23.2", + "@babel/eslint-parser": "^7.23.10", + "@babel/preset-typescript": "^7.23.2", + "@rollup/plugin-replace": "^5.0.5", + "@rollup/plugin-typescript": "11.1.1", + "@types/jest": "^29.5.12", "@types/node": "^11.9.5", "@types/ramda": "^0.25.50", "@typescript-eslint/eslint-plugin": "^5.54.0", @@ -70,15 +72,12 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-standard": "^5.0.0", "graphql": "^16.8.0", - "jest": "^29.4.3", + "jest": "^29.7.0", "prettier": "^2.8.4", "reactotron-core-client": "workspace:*", - "rollup": "^1.1.2", - "rollup-plugin-babel": "^4.3.2", - "rollup-plugin-babel-minify": "^7.0.0", - "rollup-plugin-filesize": "^6.0.1", - "rollup-plugin-node-resolve": "^4.0.0", - "rollup-plugin-resolve": "^0.0.1-predev.1", + "rollup": "^4.9.6", + "rollup-plugin-filesize": "^10.0.0", + "rollup-plugin-terser": "^7.0.2", "testdouble": "^3.16.8", "trash-cli": "^5.0.0", "ts-jest": "^29.0.5", diff --git a/lib/reactotron-apollo-client/rollup.config.cjs b/lib/reactotron-apollo-client/rollup.config.cjs new file mode 100644 index 000000000..ba244acd8 --- /dev/null +++ b/lib/reactotron-apollo-client/rollup.config.cjs @@ -0,0 +1,30 @@ +import replace from "@rollup/plugin-replace" +import filesize from "rollup-plugin-filesize" +import { terser } from "rollup-plugin-terser" +import typescript from "@rollup/plugin-typescript" + +const pkg = require("./package.json") + +/** @type {import('rollup').RollupOptions} */ +export default { + input: "src/reactotron-apollo-client.ts", + output: [ + { + file: pkg.main, + format: "cjs", + }, + { + file: pkg.module, + format: "esm", + }, + ], + plugins: [ + typescript(), + replace({ + REACTOTRON_CORE_CLIENT_VERSION: pkg.version, + }), + process.env.NODE_ENV === "production" ? terser() : null, + filesize(), + ], + external: ["@apollo/client", "reactotron-core-client", "graphql"], +} diff --git a/lib/reactotron-apollo-client/rollup.config.ts b/lib/reactotron-apollo-client/rollup.config.ts deleted file mode 100644 index d0ce8b473..000000000 --- a/lib/reactotron-apollo-client/rollup.config.ts +++ /dev/null @@ -1,41 +0,0 @@ -import resolve from "rollup-plugin-node-resolve" -import babel from "rollup-plugin-babel" -import filesize from "rollup-plugin-filesize" -// import minify from "rollup-plugin-babel-minify" - -const pkg = require("./package.json") - -const LIBRARY_NAME = "reactotron-apollo-client" -const GLOBALS = ["@apollo/client", "graphql"] - -export default { - input: "src/reactotron-apollo-client.ts", - output: [ - { - file: pkg.main, - name: LIBRARY_NAME, - format: "umd", - sourcemap: true, - globals: GLOBALS, - }, - { - file: pkg.module, - format: "es", - sourcemap: true, - globals: GLOBALS, - }, - ], - plugins: [ - resolve({ extensions: [".ts"] }), - babel({ extensions: [".ts"], runtimeHelpers: true }), - // TODO fix minification via rollup-plugin-terser? - // rollout-plugin-babel-minify is deprecated and causing build to fail - // process.env.NODE_ENV === "production" - // ? minify({ - // comments: false, - // }) - // : null, - filesize(), - ], - external: ["@apollo/client", "reactotron-core-client", "graphql"], -} diff --git a/scripts/generate-plugin.mjs b/scripts/generate-plugin.mjs index 5a9636581..0c8832402 100644 --- a/scripts/generate-plugin.mjs +++ b/scripts/generate-plugin.mjs @@ -53,7 +53,7 @@ fs.writeFileSync( ); fs.writeFileSync( - path.join(targetDir, `rollup.config.ts`), + path.join(targetDir, `rollup.config.cjs`), createTemplateRollupConfig({ pluginName }) ); diff --git a/yarn.lock b/yarn.lock index d438dd9fc..5fc9d20ed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -122,29 +122,6 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.0.0, @babel/core@npm:^7.21.0": - version: 7.23.9 - resolution: "@babel/core@npm:7.23.9" - dependencies: - "@ampproject/remapping": "npm:^2.2.0" - "@babel/code-frame": "npm:^7.23.5" - "@babel/generator": "npm:^7.23.6" - "@babel/helper-compilation-targets": "npm:^7.23.6" - "@babel/helper-module-transforms": "npm:^7.23.3" - "@babel/helpers": "npm:^7.23.9" - "@babel/parser": "npm:^7.23.9" - "@babel/template": "npm:^7.23.9" - "@babel/traverse": "npm:^7.23.9" - "@babel/types": "npm:^7.23.9" - convert-source-map: "npm:^2.0.0" - debug: "npm:^4.1.0" - gensync: "npm:^1.0.0-beta.2" - json5: "npm:^2.2.3" - semver: "npm:^6.3.1" - checksum: 10/268cdbb86bef1b8ea5b1300f2f325e56a1740a5051360cb228ffeaa0f80282b6674f3a2b4d6466adb0691183759b88d4c37b4a4f77232c84a49ed771c84cdc27 - languageName: node - linkType: hard - "@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.13.16, @babel/core@npm:^7.20.0, @babel/core@npm:^7.23.2, @babel/core@npm:^7.4.5, @babel/core@npm:^7.7.5, @babel/core@npm:^7.9.0": version: 7.23.7 resolution: "@babel/core@npm:7.23.7" @@ -182,6 +159,20 @@ __metadata: languageName: node linkType: hard +"@babel/eslint-parser@npm:^7.23.10": + version: 7.23.10 + resolution: "@babel/eslint-parser@npm:7.23.10" + dependencies: + "@nicolo-ribaudo/eslint-scope-5-internals": "npm:5.1.1-v1" + eslint-visitor-keys: "npm:^2.1.0" + semver: "npm:^6.3.1" + peerDependencies: + "@babel/core": ^7.11.0 + eslint: ^7.5.0 || ^8.0.0 + checksum: 10/eb62ad6a1098836331317be978ebd5991a9257d58118062f252b002e995b4f35b76a5dc976b07d84d21e64c8395587a044c5e6e444b3b69ab53e50a18facf2af + languageName: node + linkType: hard + "@babel/generator@npm:^7.12.11, @babel/generator@npm:^7.20.0, @babel/generator@npm:^7.23.6, @babel/generator@npm:^7.7.2": version: 7.23.6 resolution: "@babel/generator@npm:7.23.6" @@ -468,17 +459,6 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.23.9": - version: 7.23.9 - resolution: "@babel/helpers@npm:7.23.9" - dependencies: - "@babel/template": "npm:^7.23.9" - "@babel/traverse": "npm:^7.23.9" - "@babel/types": "npm:^7.23.9" - checksum: 10/dd56daac8bbd7ed174bb00fd185926fd449e591d9a00edaceb7ac6edbdd7a8db57e2cb365b4fafda382201752789ced2f7ae010f667eab0f198a4571cda4d2c5 - languageName: node - linkType: hard - "@babel/highlight@npm:^7.0.0, @babel/highlight@npm:^7.10.4, @babel/highlight@npm:^7.23.4": version: 7.23.4 resolution: "@babel/highlight@npm:7.23.4" @@ -499,15 +479,6 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.23.9": - version: 7.23.9 - resolution: "@babel/parser@npm:7.23.9" - bin: - parser: ./bin/babel-parser.js - checksum: 10/727a7a807100f6a26df859e2f009c4ddbd0d3363287b45daa50bd082ccd0d431d0c4d0e610a91f806e04a1918726cd0f5a0592c9b902a815337feed12e1cafd9 - languageName: node - linkType: hard - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.23.3": version: 7.23.3 resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.23.3" @@ -982,20 +953,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-async-generator-functions@npm:^7.23.9": - version: 7.23.9 - resolution: "@babel/plugin-transform-async-generator-functions@npm:7.23.9" - dependencies: - "@babel/helper-environment-visitor": "npm:^7.22.20" - "@babel/helper-plugin-utils": "npm:^7.22.5" - "@babel/helper-remap-async-to-generator": "npm:^7.22.20" - "@babel/plugin-syntax-async-generators": "npm:^7.8.4" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10/d402494087a6b803803eb5ab46b837aab100a04c4c5148e38bfa943ea1bbfc1ecfb340f1ced68972564312d3580f550c125f452372e77607a558fbbaf98c31c0 - languageName: node - linkType: hard - "@babel/plugin-transform-async-to-generator@npm:^7.20.0, @babel/plugin-transform-async-to-generator@npm:^7.23.3": version: 7.23.3 resolution: "@babel/plugin-transform-async-to-generator@npm:7.23.3" @@ -1278,20 +1235,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-modules-systemjs@npm:^7.23.9": - version: 7.23.9 - resolution: "@babel/plugin-transform-modules-systemjs@npm:7.23.9" - dependencies: - "@babel/helper-hoist-variables": "npm:^7.22.5" - "@babel/helper-module-transforms": "npm:^7.23.3" - "@babel/helper-plugin-utils": "npm:^7.22.5" - "@babel/helper-validator-identifier": "npm:^7.22.20" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10/4bb800e5a9d0d668d7421ae3672fccff7d5f2a36621fd87414d7ece6d6f4d93627f9644cfecacae934bc65ffc131c8374242aaa400cca874dcab9b281a21aff0 - languageName: node - linkType: hard - "@babel/plugin-transform-modules-umd@npm:^7.23.3": version: 7.23.3 resolution: "@babel/plugin-transform-modules-umd@npm:7.23.3" @@ -1806,96 +1749,6 @@ __metadata: languageName: node linkType: hard -"@babel/preset-env@npm:^7.20.2": - version: 7.23.9 - resolution: "@babel/preset-env@npm:7.23.9" - dependencies: - "@babel/compat-data": "npm:^7.23.5" - "@babel/helper-compilation-targets": "npm:^7.23.6" - "@babel/helper-plugin-utils": "npm:^7.22.5" - "@babel/helper-validator-option": "npm:^7.23.5" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "npm:^7.23.3" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "npm:^7.23.3" - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "npm:^7.23.7" - "@babel/plugin-proposal-private-property-in-object": "npm:7.21.0-placeholder-for-preset-env.2" - "@babel/plugin-syntax-async-generators": "npm:^7.8.4" - "@babel/plugin-syntax-class-properties": "npm:^7.12.13" - "@babel/plugin-syntax-class-static-block": "npm:^7.14.5" - "@babel/plugin-syntax-dynamic-import": "npm:^7.8.3" - "@babel/plugin-syntax-export-namespace-from": "npm:^7.8.3" - "@babel/plugin-syntax-import-assertions": "npm:^7.23.3" - "@babel/plugin-syntax-import-attributes": "npm:^7.23.3" - "@babel/plugin-syntax-import-meta": "npm:^7.10.4" - "@babel/plugin-syntax-json-strings": "npm:^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators": "npm:^7.10.4" - "@babel/plugin-syntax-nullish-coalescing-operator": "npm:^7.8.3" - "@babel/plugin-syntax-numeric-separator": "npm:^7.10.4" - "@babel/plugin-syntax-object-rest-spread": "npm:^7.8.3" - "@babel/plugin-syntax-optional-catch-binding": "npm:^7.8.3" - "@babel/plugin-syntax-optional-chaining": "npm:^7.8.3" - "@babel/plugin-syntax-private-property-in-object": "npm:^7.14.5" - "@babel/plugin-syntax-top-level-await": "npm:^7.14.5" - "@babel/plugin-syntax-unicode-sets-regex": "npm:^7.18.6" - "@babel/plugin-transform-arrow-functions": "npm:^7.23.3" - "@babel/plugin-transform-async-generator-functions": "npm:^7.23.9" - "@babel/plugin-transform-async-to-generator": "npm:^7.23.3" - "@babel/plugin-transform-block-scoped-functions": "npm:^7.23.3" - "@babel/plugin-transform-block-scoping": "npm:^7.23.4" - "@babel/plugin-transform-class-properties": "npm:^7.23.3" - "@babel/plugin-transform-class-static-block": "npm:^7.23.4" - "@babel/plugin-transform-classes": "npm:^7.23.8" - "@babel/plugin-transform-computed-properties": "npm:^7.23.3" - "@babel/plugin-transform-destructuring": "npm:^7.23.3" - "@babel/plugin-transform-dotall-regex": "npm:^7.23.3" - "@babel/plugin-transform-duplicate-keys": "npm:^7.23.3" - "@babel/plugin-transform-dynamic-import": "npm:^7.23.4" - "@babel/plugin-transform-exponentiation-operator": "npm:^7.23.3" - "@babel/plugin-transform-export-namespace-from": "npm:^7.23.4" - "@babel/plugin-transform-for-of": "npm:^7.23.6" - "@babel/plugin-transform-function-name": "npm:^7.23.3" - "@babel/plugin-transform-json-strings": "npm:^7.23.4" - "@babel/plugin-transform-literals": "npm:^7.23.3" - "@babel/plugin-transform-logical-assignment-operators": "npm:^7.23.4" - "@babel/plugin-transform-member-expression-literals": "npm:^7.23.3" - "@babel/plugin-transform-modules-amd": "npm:^7.23.3" - "@babel/plugin-transform-modules-commonjs": "npm:^7.23.3" - "@babel/plugin-transform-modules-systemjs": "npm:^7.23.9" - "@babel/plugin-transform-modules-umd": "npm:^7.23.3" - "@babel/plugin-transform-named-capturing-groups-regex": "npm:^7.22.5" - "@babel/plugin-transform-new-target": "npm:^7.23.3" - "@babel/plugin-transform-nullish-coalescing-operator": "npm:^7.23.4" - "@babel/plugin-transform-numeric-separator": "npm:^7.23.4" - "@babel/plugin-transform-object-rest-spread": "npm:^7.23.4" - "@babel/plugin-transform-object-super": "npm:^7.23.3" - "@babel/plugin-transform-optional-catch-binding": "npm:^7.23.4" - "@babel/plugin-transform-optional-chaining": "npm:^7.23.4" - "@babel/plugin-transform-parameters": "npm:^7.23.3" - "@babel/plugin-transform-private-methods": "npm:^7.23.3" - "@babel/plugin-transform-private-property-in-object": "npm:^7.23.4" - "@babel/plugin-transform-property-literals": "npm:^7.23.3" - "@babel/plugin-transform-regenerator": "npm:^7.23.3" - "@babel/plugin-transform-reserved-words": "npm:^7.23.3" - "@babel/plugin-transform-shorthand-properties": "npm:^7.23.3" - "@babel/plugin-transform-spread": "npm:^7.23.3" - "@babel/plugin-transform-sticky-regex": "npm:^7.23.3" - "@babel/plugin-transform-template-literals": "npm:^7.23.3" - "@babel/plugin-transform-typeof-symbol": "npm:^7.23.3" - "@babel/plugin-transform-unicode-escapes": "npm:^7.23.3" - "@babel/plugin-transform-unicode-property-regex": "npm:^7.23.3" - "@babel/plugin-transform-unicode-regex": "npm:^7.23.3" - "@babel/plugin-transform-unicode-sets-regex": "npm:^7.23.3" - "@babel/preset-modules": "npm:0.1.6-no-external-plugins" - babel-plugin-polyfill-corejs2: "npm:^0.4.8" - babel-plugin-polyfill-corejs3: "npm:^0.9.0" - babel-plugin-polyfill-regenerator: "npm:^0.5.5" - core-js-compat: "npm:^3.31.0" - semver: "npm:^6.3.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10/0214ac9434a2496eac7f56c0c91164421232ff2083a66e1ccab633ca91e262828e54a5cbdb9036e8fe53d53530b6597aa98c99de8ff07b5193ffd95f21dc9d2c - languageName: node - linkType: hard - "@babel/preset-flow@npm:^7.0.0, @babel/preset-flow@npm:^7.12.1, @babel/preset-flow@npm:^7.13.13": version: 7.23.3 resolution: "@babel/preset-flow@npm:7.23.3" @@ -1954,7 +1807,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-typescript@npm:^7.12.1, @babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.16.7, @babel/preset-typescript@npm:^7.21.0, @babel/preset-typescript@npm:^7.23.2": +"@babel/preset-typescript@npm:^7.12.1, @babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.16.7, @babel/preset-typescript@npm:^7.23.2": version: 7.23.3 resolution: "@babel/preset-typescript@npm:7.23.3" dependencies: @@ -2011,17 +1864,6 @@ __metadata: languageName: node linkType: hard -"@babel/template@npm:^7.23.9": - version: 7.23.9 - resolution: "@babel/template@npm:7.23.9" - dependencies: - "@babel/code-frame": "npm:^7.23.5" - "@babel/parser": "npm:^7.23.9" - "@babel/types": "npm:^7.23.9" - checksum: 10/1b011ba9354dc2e646561d54b6862e0df51760e6179faadd79be05825b0b6da04911e4e192df943f1766748da3037fd8493615b38707f7cadb0cf0c96601c170 - languageName: node - linkType: hard - "@babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.20.0, @babel/traverse@npm:^7.23.7, @babel/traverse@npm:^7.7.0": version: 7.23.7 resolution: "@babel/traverse@npm:7.23.7" @@ -2040,24 +1882,6 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.23.9": - version: 7.23.9 - resolution: "@babel/traverse@npm:7.23.9" - dependencies: - "@babel/code-frame": "npm:^7.23.5" - "@babel/generator": "npm:^7.23.6" - "@babel/helper-environment-visitor": "npm:^7.22.20" - "@babel/helper-function-name": "npm:^7.23.0" - "@babel/helper-hoist-variables": "npm:^7.22.5" - "@babel/helper-split-export-declaration": "npm:^7.22.6" - "@babel/parser": "npm:^7.23.9" - "@babel/types": "npm:^7.23.9" - debug: "npm:^4.3.1" - globals: "npm:^11.1.0" - checksum: 10/e2bb845f7f229feb7c338f7e150f5f1abc5395dcd3a6a47f63a25242ec3ec6b165f04a6df7d4849468547faee34eb3cf52487eb0bd867a7d3c42fec2a648266f - languageName: node - linkType: hard - "@babel/types@npm:7.0.0-beta.35": version: 7.0.0-beta.35 resolution: "@babel/types@npm:7.0.0-beta.35" @@ -2080,17 +1904,6 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.23.9": - version: 7.23.9 - resolution: "@babel/types@npm:7.23.9" - dependencies: - "@babel/helper-string-parser": "npm:^7.23.4" - "@babel/helper-validator-identifier": "npm:^7.22.20" - to-fast-properties: "npm:^2.0.0" - checksum: 10/bed9634e5fd0f9dc63c84cfa83316c4cb617192db9fedfea464fca743affe93736d7bf2ebf418ee8358751a9d388e303af87a0c050cb5d87d5870c1b0154f6cb - languageName: node - linkType: hard - "@bcoe/v8-coverage@npm:^0.2.3": version: 0.2.3 resolution: "@bcoe/v8-coverage@npm:0.2.3" @@ -2098,15 +1911,6 @@ __metadata: languageName: node linkType: hard -"@comandeer/babel-plugin-banner@npm:^4.0.0": - version: 4.1.0 - resolution: "@comandeer/babel-plugin-banner@npm:4.1.0" - peerDependencies: - "@babel/core": ">=7.0.0" - checksum: 10/97ec5a5a2fdb17af286656f68438b0d9f6513b567559de91e41cb6b5b1971674e7cae8d88f36728d69a9d09f86219f6b7effd4312e0b4153ddb0d44a0b923368 - languageName: node - linkType: hard - "@cspotcode/source-map-support@npm:^0.8.0": version: 0.8.1 resolution: "@cspotcode/source-map-support@npm:0.8.1" @@ -6274,7 +6078,7 @@ __metadata: languageName: node linkType: hard -"@types/jest@npm:^29.4.0, @types/jest@npm:^29.5.12": +"@types/jest@npm:^29.5.12": version: 29.5.12 resolution: "@types/jest@npm:29.5.12" dependencies: @@ -6681,15 +6485,6 @@ __metadata: languageName: node linkType: hard -"@types/resolve@npm:0.0.8": - version: 0.0.8 - resolution: "@types/resolve@npm:0.0.8" - dependencies: - "@types/node": "npm:*" - checksum: 10/cfbfea900778e43fa5ce5dbca0d6e82509c0edd3c950e6349080242ba176ef34a4cd380e9391cd31994df04161f563798e068a2a8a9e577d9270950305b3bf9d - languageName: node - linkType: hard - "@types/resolve@npm:1.20.2": version: 1.20.2 resolution: "@types/resolve@npm:1.20.2" @@ -7621,15 +7416,6 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^7.1.0": - version: 7.4.1 - resolution: "acorn@npm:7.4.1" - bin: - acorn: bin/acorn - checksum: 10/8be2a40714756d713dfb62544128adce3b7102c6eb94bc312af196c2cc4af76e5b93079bd66b05e9ca31b35a9b0ce12171d16bc55f366cafdb794fdab9d753ec - languageName: node - linkType: hard - "acorn@npm:^8.1.0, acorn@npm:^8.4.1, acorn@npm:^8.5.0, acorn@npm:^8.8.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": version: 8.11.3 resolution: "acorn@npm:8.11.3" @@ -8736,18 +8522,6 @@ __metadata: languageName: node linkType: hard -"babel-plugin-minify-dead-code-elimination@npm:^0.5.2": - version: 0.5.2 - resolution: "babel-plugin-minify-dead-code-elimination@npm:0.5.2" - dependencies: - babel-helper-evaluate-path: "npm:^0.5.0" - babel-helper-mark-eval-scopes: "npm:^0.4.3" - babel-helper-remove-or-void: "npm:^0.4.3" - lodash: "npm:^4.17.11" - checksum: 10/6f7e7c86ffea4d85d3ad277a8679921e1acdd9ef48439d4e15c19675a63715b560c4e8f4fb77a42df808ceec666f5b06a4375ef005d6583b6b972e6cb1b2d8e4 - languageName: node - linkType: hard - "babel-plugin-minify-dead-code-elimination@npm:^0.6.0-alpha.5+245949f": version: 0.6.0-alpha.5 resolution: "babel-plugin-minify-dead-code-elimination@npm:0.6.0-alpha.5" @@ -8769,7 +8543,7 @@ __metadata: languageName: node linkType: hard -"babel-plugin-minify-guarded-expressions@npm:^0.4.3, babel-plugin-minify-guarded-expressions@npm:^0.4.4": +"babel-plugin-minify-guarded-expressions@npm:^0.4.3": version: 0.4.4 resolution: "babel-plugin-minify-guarded-expressions@npm:0.4.4" dependencies: @@ -8786,7 +8560,7 @@ __metadata: languageName: node linkType: hard -"babel-plugin-minify-mangle-names@npm:^0.5.0, babel-plugin-minify-mangle-names@npm:^0.5.1": +"babel-plugin-minify-mangle-names@npm:^0.5.0": version: 0.5.1 resolution: "babel-plugin-minify-mangle-names@npm:0.5.1" dependencies: @@ -8809,7 +8583,7 @@ __metadata: languageName: node linkType: hard -"babel-plugin-minify-simplify@npm:^0.5.0, babel-plugin-minify-simplify@npm:^0.5.1": +"babel-plugin-minify-simplify@npm:^0.5.0": version: 0.5.1 resolution: "babel-plugin-minify-simplify@npm:0.5.1" dependencies: @@ -8955,7 +8729,7 @@ __metadata: languageName: node linkType: hard -"babel-plugin-transform-merge-sibling-variables@npm:^6.9.4, babel-plugin-transform-merge-sibling-variables@npm:^6.9.5": +"babel-plugin-transform-merge-sibling-variables@npm:^6.9.4": version: 6.9.5 resolution: "babel-plugin-transform-merge-sibling-variables@npm:6.9.5" checksum: 10/6182f79703170b473fe4872cfe0df144057d94632be9972076265d3aae05e37aab3fb98ed932ce6d663c722d9aabb48ee2046b2f820ccc73dc45260173ba36e2 @@ -9109,37 +8883,6 @@ __metadata: languageName: node linkType: hard -"babel-preset-minify@npm:^0.5.0": - version: 0.5.2 - resolution: "babel-preset-minify@npm:0.5.2" - dependencies: - babel-plugin-minify-builtins: "npm:^0.5.0" - babel-plugin-minify-constant-folding: "npm:^0.5.0" - babel-plugin-minify-dead-code-elimination: "npm:^0.5.2" - babel-plugin-minify-flip-comparisons: "npm:^0.4.3" - babel-plugin-minify-guarded-expressions: "npm:^0.4.4" - babel-plugin-minify-infinity: "npm:^0.4.3" - babel-plugin-minify-mangle-names: "npm:^0.5.1" - babel-plugin-minify-numeric-literals: "npm:^0.4.3" - babel-plugin-minify-replace: "npm:^0.5.0" - babel-plugin-minify-simplify: "npm:^0.5.1" - babel-plugin-minify-type-constructors: "npm:^0.4.3" - babel-plugin-transform-inline-consecutive-adds: "npm:^0.4.3" - babel-plugin-transform-member-expression-literals: "npm:^6.9.4" - babel-plugin-transform-merge-sibling-variables: "npm:^6.9.5" - babel-plugin-transform-minify-booleans: "npm:^6.9.4" - babel-plugin-transform-property-literals: "npm:^6.9.4" - babel-plugin-transform-regexp-constructors: "npm:^0.4.3" - babel-plugin-transform-remove-console: "npm:^6.9.4" - babel-plugin-transform-remove-debugger: "npm:^6.9.4" - babel-plugin-transform-remove-undefined: "npm:^0.5.0" - babel-plugin-transform-simplify-comparison-operators: "npm:^6.9.4" - babel-plugin-transform-undefined-to-void: "npm:^6.9.4" - lodash: "npm:^4.17.11" - checksum: 10/7750cea38c457fb689d46f8caae16018b24f870ec674f92738c142550617aa6d5fc89752b21dad5225c32cc8ee47e92b3bb2fc8b2eb7a2e460c3c6f653c1d822 - languageName: node - linkType: hard - "babel-preset-minify@npm:^0.5.0 || 0.6.0-alpha.5": version: 0.6.0-alpha.5 resolution: "babel-preset-minify@npm:0.6.0-alpha.5" @@ -9773,7 +9516,7 @@ __metadata: languageName: node linkType: hard -"builtin-modules@npm:^3.1.0, builtin-modules@npm:^3.3.0": +"builtin-modules@npm:^3.3.0": version: 3.3.0 resolution: "builtin-modules@npm:3.3.0" checksum: 10/62e063ab40c0c1efccbfa9ffa31873e4f9d57408cb396a2649981a0ecbce56aabc93c28feaccbc5658c95aab2703ad1d11980e62ec2e5e72637404e1eb60f39e @@ -10719,7 +10462,7 @@ __metadata: languageName: node linkType: hard -"colors@npm:1.4.0, colors@npm:^1.1.2, colors@npm:^1.3.3": +"colors@npm:1.4.0, colors@npm:^1.1.2": version: 1.4.0 resolution: "colors@npm:1.4.0" checksum: 10/90b2d5465159813a3983ea72ca8cff75f784824ad70f2cc2b32c233e95bcfbcda101ebc6d6766bc50f57263792629bfb4f1f8a4dfbd1d240f229fc7f69b785fc @@ -13796,13 +13539,6 @@ __metadata: languageName: node linkType: hard -"estree-walker@npm:^0.6.1": - version: 0.6.1 - resolution: "estree-walker@npm:0.6.1" - checksum: 10/b8da7815030c4e0b735f5f8af370af09525e052ee14e539cecabc24ad6da1782448778361417e7c438091a59e7ca9f4a0c11642f7da4f2ebf1ba7a150a590bcc - languageName: node - linkType: hard - "estree-walker@npm:^2.0.2": version: 2.0.2 resolution: "estree-walker@npm:2.0.2" @@ -14654,13 +14390,6 @@ __metadata: languageName: node linkType: hard -"filesize@npm:^4.1.2": - version: 4.2.1 - resolution: "filesize@npm:4.2.1" - checksum: 10/dc123dab6124f25ce456d53e9b3e6f21f55c61ec84296df30655feba721ce4cea4e7d6d4b10eb13aa7ce08f1cbc544732ff52a5ac40d899456bd78d8b2fb5a3a - languageName: node - linkType: hard - "filesize@npm:^6.1.0": version: 6.4.0 resolution: "filesize@npm:6.4.0" @@ -15847,7 +15576,7 @@ __metadata: languageName: node linkType: hard -"gzip-size@npm:5.1.1, gzip-size@npm:^5.1.1": +"gzip-size@npm:5.1.1": version: 5.1.1 resolution: "gzip-size@npm:5.1.1" dependencies: @@ -18307,7 +18036,7 @@ __metadata: languageName: node linkType: hard -"jest@npm:^29.2.1, jest@npm:^29.4.3, jest@npm:^29.7.0": +"jest@npm:^29.2.1, jest@npm:^29.7.0": version: 29.7.0 resolution: "jest@npm:29.7.0" dependencies: @@ -24018,10 +23747,12 @@ __metadata: resolution: "reactotron-apollo-client@workspace:lib/reactotron-apollo-client" dependencies: "@apollo/client": "npm:^3.8.3" - "@babel/core": "npm:^7.21.0" - "@babel/preset-env": "npm:^7.20.2" - "@babel/preset-typescript": "npm:^7.21.0" - "@types/jest": "npm:^29.4.0" + "@babel/core": "npm:^7.23.2" + "@babel/eslint-parser": "npm:^7.23.10" + "@babel/preset-typescript": "npm:^7.23.2" + "@rollup/plugin-replace": "npm:^5.0.5" + "@rollup/plugin-typescript": "npm:11.1.1" + "@types/jest": "npm:^29.5.12" "@types/node": "npm:^11.9.5" "@types/ramda": "npm:^0.25.50" "@typescript-eslint/eslint-plugin": "npm:^5.54.0" @@ -24038,16 +23769,13 @@ __metadata: eslint-plugin-react-hooks: "npm:^4.6.0" eslint-plugin-standard: "npm:^5.0.0" graphql: "npm:^16.8.0" - jest: "npm:^29.4.3" + jest: "npm:^29.7.0" prettier: "npm:^2.8.4" ramda: "npm:^0.25.0" reactotron-core-client: "workspace:*" - rollup: "npm:^1.1.2" - rollup-plugin-babel: "npm:^4.3.2" - rollup-plugin-babel-minify: "npm:^7.0.0" - rollup-plugin-filesize: "npm:^6.0.1" - rollup-plugin-node-resolve: "npm:^4.0.0" - rollup-plugin-resolve: "npm:^0.0.1-predev.1" + rollup: "npm:^4.9.6" + rollup-plugin-filesize: "npm:^10.0.0" + rollup-plugin-terser: "npm:^7.0.2" testdouble: "npm:^3.16.8" trash-cli: "npm:^5.0.0" ts-jest: "npm:^29.0.5" @@ -25315,34 +25043,6 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-babel-minify@npm:^7.0.0": - version: 7.0.0 - resolution: "rollup-plugin-babel-minify@npm:7.0.0" - dependencies: - "@babel/core": "npm:^7.0.0" - "@babel/plugin-syntax-dynamic-import": "npm:^7.2.0" - "@comandeer/babel-plugin-banner": "npm:^4.0.0" - babel-preset-minify: "npm:^0.5.0" - sourcemap-codec: "npm:^1.4.3" - peerDependencies: - rollup: ^1.0.0 - checksum: 10/34ce673c5ece5c9fd71fb633248c3a4e06df0e799eaf549b25c3f9acffabf6d96bcf48b459830ec2271400d26c0c2e4511f29bd5450500dd3dcb50c0fe555819 - languageName: node - linkType: hard - -"rollup-plugin-babel@npm:^4.3.2": - version: 4.4.0 - resolution: "rollup-plugin-babel@npm:4.4.0" - dependencies: - "@babel/helper-module-imports": "npm:^7.0.0" - rollup-pluginutils: "npm:^2.8.1" - peerDependencies: - "@babel/core": 7 || ^7.0.0-rc.2 - rollup: ">=0.60.0 <3" - checksum: 10/4e88176fc609739d50aeb28c1bcbdc81f83880045e38222416c2adcdac95d1474b0005e409f7b354a8162916b491c789fee76e4067b9f57c969b9751ef5e2b20 - languageName: node - linkType: hard - "rollup-plugin-filesize@npm:^10.0.0": version: 10.0.0 resolution: "rollup-plugin-filesize@npm:10.0.0" @@ -25359,33 +25059,6 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-filesize@npm:^6.0.1": - version: 6.2.1 - resolution: "rollup-plugin-filesize@npm:6.2.1" - dependencies: - boxen: "npm:^4.1.0" - brotli-size: "npm:4.0.0" - colors: "npm:^1.3.3" - filesize: "npm:^4.1.2" - gzip-size: "npm:^5.1.1" - lodash.merge: "npm:^4.6.2" - terser: "npm:^4.1.3" - checksum: 10/8ad48c416ee3cddbe4c6aa0bb6912934473aadc7adac6a0be5f09123c0802346e7d2f5f8f530be5b6920672754bd5d4ee5457c4437500a6d7342a8753f2fac0b - languageName: node - linkType: hard - -"rollup-plugin-node-resolve@npm:^4.0.0": - version: 4.2.4 - resolution: "rollup-plugin-node-resolve@npm:4.2.4" - dependencies: - "@types/resolve": "npm:0.0.8" - builtin-modules: "npm:^3.1.0" - is-module: "npm:^1.0.0" - resolve: "npm:^1.10.0" - checksum: 10/fd900817d8a9b16b2fb6e20636be111c18e111ef4cdafb2fac99a497be9e437c6674b9b97734316f6178134df470773d9fa75380fa60528168ad88fcef955353 - languageName: node - linkType: hard - "rollup-plugin-peer-deps-external@npm:^2.2.4": version: 2.2.4 resolution: "rollup-plugin-peer-deps-external@npm:2.2.4" @@ -25395,13 +25068,6 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-resolve@npm:^0.0.1-predev.1": - version: 0.0.1-predev.1 - resolution: "rollup-plugin-resolve@npm:0.0.1-predev.1" - checksum: 10/e1d7db6a84ac8864ebb736a1b3bf9d240c18317a839a8af259c36ea302c0b07c057db2b88f47baf85ff3f8aed3a90dfcdbc958cc4b0e8808fe5f2173fe85202a - languageName: node - linkType: hard - "rollup-plugin-terser@npm:^7.0.2": version: 7.0.2 resolution: "rollup-plugin-terser@npm:7.0.2" @@ -25416,28 +25082,6 @@ __metadata: languageName: node linkType: hard -"rollup-pluginutils@npm:^2.8.1": - version: 2.8.2 - resolution: "rollup-pluginutils@npm:2.8.2" - dependencies: - estree-walker: "npm:^0.6.1" - checksum: 10/f3dc20a8731523aff43e07fa50ed84857e9dd3ab81e2cfb0351d517c46820e585bfbd1530a5dddec3ac14d61d41eb9bf50b38ded987e558292790331cc5b0628 - languageName: node - linkType: hard - -"rollup@npm:^1.1.2": - version: 1.32.1 - resolution: "rollup@npm:1.32.1" - dependencies: - "@types/estree": "npm:*" - "@types/node": "npm:*" - acorn: "npm:^7.1.0" - bin: - rollup: dist/bin/rollup - checksum: 10/c9b726580995b976cc69e2050bc55828f69522e925ad59cd0f8888e5d4d51ed22a432b534fe9f337893b699c314804b4a77a350df61a5c8913d0427db818fde9 - languageName: node - linkType: hard - "rollup@npm:^4.9.6": version: 4.9.6 resolution: "rollup@npm:4.9.6" @@ -26435,13 +26079,6 @@ __metadata: languageName: node linkType: hard -"sourcemap-codec@npm:^1.4.3": - version: 1.4.8 - resolution: "sourcemap-codec@npm:1.4.8" - checksum: 10/6fc57a151e982b5c9468362690c6d062f3a0d4d8520beb68a82f319c79e7a4d7027eeb1e396de0ecc2cd19491e1d602b2d06fd444feac9b63dd43fea4c55a857 - languageName: node - linkType: hard - "space-separated-tokens@npm:^1.0.0": version: 1.1.5 resolution: "space-separated-tokens@npm:1.1.5" @@ -27532,7 +27169,7 @@ __metadata: languageName: node linkType: hard -"terser@npm:^4.1.2, terser@npm:^4.1.3, terser@npm:^4.6.12, terser@npm:^4.6.3, terser@npm:^4.8.0": +"terser@npm:^4.1.2, terser@npm:^4.6.12, terser@npm:^4.6.3, terser@npm:^4.8.0": version: 4.8.1 resolution: "terser@npm:4.8.1" dependencies: