diff --git a/.eslintrc.js b/.eslintrc.js index f423516..0802769 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -9,8 +9,6 @@ module.exports = { { devDependencies: [ ".eslintrc.js", - "babel-register.js", - "babel.config.js", "config/**/*", "typings/**/*", "**/es/**/*", diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a4ed822..0000000 --- a/.travis.yml +++ /dev/null @@ -1,42 +0,0 @@ -if: tag IS blank - -env: - - secure: "Pgsru9+3WGPHzZ19PTLHl1UnM19EvX2BE1KccExPUc4hnqTNub0cFB05dPyK0I7NuTmmJ+mejLfSnKEK0XSMbntLL/3LdNt3nYuOIleQdzPxv9KBRaS1mMp3c71lshhezq0jYe/8lF5M4MZqSka0dT/xSs3j3AXBpd/tJzUEX0NQGnb3ZxHFg+K2bMrh7dJ6Umazdz7Gs5WSIe+u/TN3EcDfH+5D4JCT+JFHPRs4HIMx7WhIG+Um18C9o/Texr9GpxItDQvCK9JIW/caqy8MfxcU/RGDosob6+LcO030W8RB1eEJXSWiVFIQKM7yo8pkTWf6RD0DWPV8x3lWRzNV5rnuJm/iWRPBruKE91MkZe3T/IJCnkh0UwhzBctQwv+oijNxKVEkUvbj+LX82O+lTHfK3G4VvVKw/VZWcM8k00Rvha/F2W3FfrmXo7fTDZ+sXD0Jnk+4CTEG+ZnrF2pChdfE78WgodZ9XxzhrTfEn6zwkz4qirBv0GdYTrt+9YiCQqMkyibrRApCFjU3+VH8z1vVu4kXi2M65mGQ0o+vzGGMCi49gRRanYkItUQ812ZPwGsSXolhEY+WEDeoQZ4GdR/kPjOtKrma6CJscapfU6P0mRrtNtXovMR0W7GUCGJZ3AZFSjdvMWnA+HNQBOJvkXEwUrer8kEKACq/gZCXpjc=" - -language: node_js - -node_js: - - "10" - -os: - - linux - -cache: yarn - -sudo: false -before_install: - - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0 - - export PATH=$HOME/.yarn/bin:$PATH - -script: - - yarn run prettier:check - - yarn run test:coverage - - yarn run build - -before_deploy: - - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null - -# When a commit lands in master attempt to publish our packages. -deploy: - provider: script - skip_cleanup: true - script: - - | - for f in ./packages/*; do ([ -d $$f ] && \ - cd $$f && \ - yarn publish --non-interactive --no-git-tag-version --no-commit-hooks | exit 0 && \ - done; - on: - branch: master - -tags: true diff --git a/.yarnrc b/.yarnrc deleted file mode 100644 index 19daaca..0000000 --- a/.yarnrc +++ /dev/null @@ -1 +0,0 @@ -workspaces-experimental true diff --git a/babel-register.js b/babel-register.js deleted file mode 100644 index 4f5ed33..0000000 --- a/babel-register.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file needs to Vanilla JavaScript that can be executed in the current Node environment as Babel cannot know what - * transformations it would need to apply before reading this file - */ - -require("@babel/register")({ - extensions: [".js", ".ts"], -}); - -require("core-js/features/promise/with-resolvers"); diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index c7ca503..0000000 --- a/babel.config.js +++ /dev/null @@ -1,6 +0,0 @@ -/** - * This file needs to Vanilla JavaScript that can be executed in the current Node environment as Babel cannot know what - * transformations it would need to apply before reading this file - */ - -module.exports = require("./config/generateBabelConfig")(); diff --git a/config/generateBabelConfig.js b/config/generateBabelConfig.js deleted file mode 100644 index 9be9860..0000000 --- a/config/generateBabelConfig.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * This file needs to Vanilla JavaScript that can be executed in the current Node environment as Babel cannot know what - * transformations it would need to apply before reading this file - */ - -/** - * @typedef {import("@babel/core").TransformOptions} TransformOptions - */ - -/** - * Generate the Babel config - * @param {"commonjs" | false} modules - * @returns {TransformOptions} - */ -function generateBabelConfig(modules = "commonjs") { - return { - presets: [ - ["@babel/preset-env", { modules }], - "@babel/preset-react", - "@babel/preset-typescript", - ], - plugins: [ - "@babel/plugin-transform-runtime", - [ - "babel-plugin-import", - { - libraryName: "lodash", - libraryDirectory: "", - camel2DashComponentName: false, - }, - ], - ], - }; -} - -module.exports = generateBabelConfig; diff --git a/packages/eslint-plugin/src/test/rule-tester.ts b/packages/eslint-plugin/src/test/rule-tester.ts index f13c4c9..de6a208 100644 --- a/packages/eslint-plugin/src/test/rule-tester.ts +++ b/packages/eslint-plugin/src/test/rule-tester.ts @@ -1,21 +1,14 @@ import { RuleTester } from "eslint"; export default new RuleTester({ - parser: require.resolve("@babel/eslint-parser"), + parser: require.resolve("@typescript-eslint/parser"), parserOptions: { - parserOptions: { - ecmaVersion: 6, - sourceType: "module", - ecmaFeatures: { - jsx: true, - }, + requireConfigFile: false, + ecmaVersion: 6, + sourceType: "module", + ecmaFeatures: { + jsx: true, }, plugins: ["react"], - settings: { - react: { - pragma: "React", - version: "16.0.0", - }, - }, }, }); diff --git a/packages/kerosene-test/package.json b/packages/kerosene-test/package.json index 0990ad2..37f770f 100644 --- a/packages/kerosene-test/package.json +++ b/packages/kerosene-test/package.json @@ -1,6 +1,6 @@ { "name": "@kablamo/kerosene-test", - "version": "0.0.13", + "version": "0.0.14", "repository": "https://github.com/KablamoOSS/kerosene/tree/master/packages/kerosene-test", "bugs": { "url": "https://github.com/KablamoOSS/kerosene/issues" @@ -46,7 +46,7 @@ "utils" ], "dependencies": { - "@kablamo/kerosene": "^0.0.35", + "@kablamo/kerosene": "^0.0.38", "@types/lodash": "^4.14.202", "@types/sinon": "^17.0.2", "lodash": "^4.17.21", diff --git a/packages/kerosene-ui/babel.config.js b/packages/kerosene-ui/babel.config.js deleted file mode 100644 index 75ddf99..0000000 --- a/packages/kerosene-ui/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("../../babel.config"); diff --git a/packages/kerosene-ui/package.json b/packages/kerosene-ui/package.json index 921ef8d..c95bebc 100644 --- a/packages/kerosene-ui/package.json +++ b/packages/kerosene-ui/package.json @@ -1,6 +1,6 @@ { "name": "@kablamo/kerosene-ui", - "version": "0.0.37", + "version": "0.0.38", "repository": "https://github.com/KablamoOSS/kerosene/tree/master/packages/kerosene-ui", "bugs": { "url": "https://github.com/KablamoOSS/kerosene/issues" @@ -35,15 +35,15 @@ "node": ">=18.12.0" }, "dependencies": { - "@babel/runtime": "^7.23.4", - "@kablamo/kerosene": "^0.0.35", + "@kablamo/kerosene": "^0.0.38", "@types/lodash": "^4.14.202", + "esbuild-register": "^3.5.0", "lodash": "^4.17.21", "use-sync-external-store": "^1.2.0" }, "devDependencies": { - "@kablamo/kerosene-test": "^0.0.13", - "@rollup/plugin-babel": "^6.0.4", + "@kablamo/kerosene-test": "^0.0.14", + "@optimize-lodash/rollup-plugin": "^4.0.4", "@sinonjs/fake-timers": "^11.2.2", "@tanstack/react-query": "^5.12.2", "@testing-library/dom": "^9.3.3", @@ -51,13 +51,14 @@ "@testing-library/user-event": "^14.5.1", "@types/sinonjs__fake-timers": "^8.1.5", "@types/use-sync-external-store": "^0.0.6", + "esbuild": "^0.19.11", "jest-sandbox": "^1.1.2", "jest-when": "^3.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^4.0.11", "rollup": "^4.5.1", - "rollup-plugin-node-resolve": "^5.2.0" + "rollup-plugin-esbuild": "^6.1.0" }, "peerDependencies": { "@tanstack/react-query": ">=5.0.0 <6.0.0", diff --git a/packages/kerosene-ui/rollup-config.ts b/packages/kerosene-ui/rollup-config.ts index 3af0739..ce20189 100644 --- a/packages/kerosene-ui/rollup-config.ts +++ b/packages/kerosene-ui/rollup-config.ts @@ -1,9 +1,7 @@ -import babel from "@rollup/plugin-babel"; +import { optimizeLodashImports } from "@optimize-lodash/rollup-plugin"; import path from "path"; import type { RollupOptions, ExternalOption } from "rollup"; -import resolve from "rollup-plugin-node-resolve"; -// eslint-disable-next-line import/no-relative-packages -import generateBabelConfig from "../../config/generateBabelConfig"; +import esbuild from "rollup-plugin-esbuild"; import packageJson from "./package.json"; const input = [ @@ -22,23 +20,7 @@ const external: ExternalOption = (source) => externals.includes(source) || externals.some((mod) => source.startsWith(`${mod}/`)); -const extensions = [".js", ".jsx", ".ts", ".tsx"]; - -const plugins = [ - resolve({ - customResolveOptions: { - moduleDirectory: __dirname, - }, - extensions, - }), - babel({ - ...generateBabelConfig(false), - babelrc: false, - configFile: false, - extensions, - babelHelpers: "runtime", - }), -]; +const plugins = [esbuild(), optimizeLodashImports()]; export default [ { @@ -48,13 +30,14 @@ export default [ entryFileNames: "[name].cjs", dir: outputDir, format: "commonjs", + interop: "auto", preserveModules: true, sourcemap: true, }, { entryFileNames: "[name].mjs", dir: outputDir, - format: "esm", + format: "es", preserveModules: true, sourcemap: true, }, diff --git a/packages/kerosene-ui/rollup.config.js b/packages/kerosene-ui/rollup.config.js index 14e7b1a..e6c3b4f 100644 --- a/packages/kerosene-ui/rollup.config.js +++ b/packages/kerosene-ui/rollup.config.js @@ -1,3 +1,3 @@ -require("../../babel-register"); +require("esbuild-register/dist/node").register(); // eslint-disable-next-line import/extensions module.exports = require("./rollup-config.ts"); diff --git a/packages/kerosene/.npmignore b/packages/kerosene/.npmignore index ac74439..d251757 100644 --- a/packages/kerosene/.npmignore +++ b/packages/kerosene/.npmignore @@ -1,6 +1,5 @@ __snapshots__ config -babel.config.js rollup-config.ts rollup.config.js **.spec.ts diff --git a/packages/kerosene/babel.config.js b/packages/kerosene/babel.config.js deleted file mode 100644 index 75ddf99..0000000 --- a/packages/kerosene/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("../../babel.config"); diff --git a/packages/kerosene/package.json b/packages/kerosene/package.json index 038646b..8bbe34f 100644 --- a/packages/kerosene/package.json +++ b/packages/kerosene/package.json @@ -1,6 +1,6 @@ { "name": "@kablamo/kerosene", - "version": "0.0.35", + "version": "0.0.38", "repository": "https://github.com/KablamoOSS/kerosene/tree/master/packages/kerosene", "bugs": { "url": "https://github.com/KablamoOSS/kerosene/issues" @@ -30,7 +30,6 @@ "node": ">=18.12.0" }, "dependencies": { - "@babel/runtime": "^7.23.4", "@types/lodash": "^4.14.202", "content-type": "^1.0.5", "core-js-pure": "^3.33.3", @@ -38,12 +37,14 @@ "lodash": "^4.17.21" }, "devDependencies": { - "@rollup/plugin-babel": "^6.0.4", + "@optimize-lodash/rollup-plugin": "^4.0.4", "@sinonjs/fake-timers": "^11.2.2", "@types/seed-random": "^2.2.4", + "esbuild": "^0.19.11", + "esbuild-register": "^3.5.0", "jest-when": "^3.6.0", "rollup": "^4.5.1", - "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-esbuild": "^6.1.0", "seed-random": "^2.2.0" }, "peerDependencies": {}, diff --git a/packages/kerosene/rollup-config.ts b/packages/kerosene/rollup-config.ts index cacff64..4d61409 100644 --- a/packages/kerosene/rollup-config.ts +++ b/packages/kerosene/rollup-config.ts @@ -1,9 +1,7 @@ -import babel from "@rollup/plugin-babel"; +import { optimizeLodashImports } from "@optimize-lodash/rollup-plugin"; import path from "path"; import type { ExternalOption, RollupOptions } from "rollup"; -import resolve from "rollup-plugin-node-resolve"; -// eslint-disable-next-line import/no-relative-packages -import generateBabelConfig from "../../config/generateBabelConfig"; +import esbuild from "rollup-plugin-esbuild"; import packageJson from "./package.json"; const input = path.join(__dirname, "src", "index.ts"); @@ -19,23 +17,7 @@ const external: ExternalOption = (source) => externals.includes(source) || externals.some((mod) => source.startsWith(`${mod}/`)); -const extensions = [".js", ".ts"]; - -const plugins = [ - resolve({ - customResolveOptions: { - moduleDirectory: __dirname, - }, - extensions, - }), - babel({ - ...generateBabelConfig(false), - configFile: false, - babelrc: false, - extensions, - babelHelpers: "runtime", - }), -]; +const plugins = [esbuild(), optimizeLodashImports()]; export default [ { @@ -45,13 +27,14 @@ export default [ entryFileNames: "[name].cjs", dir: outputDir, format: "commonjs", + interop: "auto", preserveModules: true, sourcemap: true, }, { entryFileNames: "[name].mjs", dir: outputDir, - format: "esm", + format: "es", preserveModules: true, sourcemap: true, }, diff --git a/packages/kerosene/rollup.config.js b/packages/kerosene/rollup.config.js index 14e7b1a..e6c3b4f 100644 --- a/packages/kerosene/rollup.config.js +++ b/packages/kerosene/rollup.config.js @@ -1,3 +1,3 @@ -require("../../babel-register"); +require("esbuild-register/dist/node").register(); // eslint-disable-next-line import/extensions module.exports = require("./rollup-config.ts"); diff --git a/tsconfig.json b/tsconfig.json index 00efbb8..592395a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,8 @@ "noImplicitOverride": true, "noUncheckedIndexedAccess": true, "esModuleInterop": true, - "jsx": "react" + "jsx": "react", + "skipLibCheck": true }, "include": ["**/*", "**/.*", "**/.*/**/*", "**/.*/**/.*"], "exclude": [ diff --git a/typings/rollup-pugin-babel.d.ts b/typings/rollup-pugin-babel.d.ts deleted file mode 100644 index 54df188..0000000 --- a/typings/rollup-pugin-babel.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare module "@rollup/plugin-babel" { - import type { TransformOptions } from "@babel/core"; - // eslint-disable-next-line import/no-extraneous-dependencies - import type { Plugin } from "rollup"; - - export default function babel( - options?: TransformOptions & { - extensions?: string[]; - babelHelpers?: "bundled" | "runtime" | "inline" | "external"; - skipPreflightCheck?: boolean; - }, - ): Plugin; -} diff --git a/yarn.lock b/yarn.lock index f4dd9fd..41d93e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1284,13 +1284,6 @@ dependencies: regenerator-runtime "^0.14.0" -"@babel/runtime@^7.23.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.4.tgz#36fa1d2b36db873d25ec631dcc4923fdc1cf2e2e" - integrity sha512-2Yv65nlWnWlSpe3fXEyX5i7fx5kIKo4Qbcj+hMO0odwaneFjfXw5fdum+4yL20O0QiaHpia0cYQ9xpNMqrBwHg== - dependencies: - regenerator-runtime "^0.14.0" - "@babel/runtime@^7.9.2": version "7.21.0" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673" @@ -1623,6 +1616,121 @@ human-id "^1.0.2" prettier "^2.7.1" +"@esbuild/aix-ppc64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz#2acd20be6d4f0458bc8c784103495ff24f13b1d3" + integrity sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g== + +"@esbuild/android-arm64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz#b45d000017385c9051a4f03e17078abb935be220" + integrity sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q== + +"@esbuild/android-arm@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.19.11.tgz#f46f55414e1c3614ac682b29977792131238164c" + integrity sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw== + +"@esbuild/android-x64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.19.11.tgz#bfc01e91740b82011ef503c48f548950824922b2" + integrity sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg== + +"@esbuild/darwin-arm64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz#533fb7f5a08c37121d82c66198263dcc1bed29bf" + integrity sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ== + +"@esbuild/darwin-x64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz#62f3819eff7e4ddc656b7c6815a31cf9a1e7d98e" + integrity sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g== + +"@esbuild/freebsd-arm64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz#d478b4195aa3ca44160272dab85ef8baf4175b4a" + integrity sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA== + +"@esbuild/freebsd-x64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz#7bdcc1917409178257ca6a1a27fe06e797ec18a2" + integrity sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw== + +"@esbuild/linux-arm64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz#58ad4ff11685fcc735d7ff4ca759ab18fcfe4545" + integrity sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg== + +"@esbuild/linux-arm@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz#ce82246d873b5534d34de1e5c1b33026f35e60e3" + integrity sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q== + +"@esbuild/linux-ia32@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz#cbae1f313209affc74b80f4390c4c35c6ab83fa4" + integrity sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA== + +"@esbuild/linux-loong64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz#5f32aead1c3ec8f4cccdb7ed08b166224d4e9121" + integrity sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg== + +"@esbuild/linux-mips64el@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz#38eecf1cbb8c36a616261de858b3c10d03419af9" + integrity sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg== + +"@esbuild/linux-ppc64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz#9c5725a94e6ec15b93195e5a6afb821628afd912" + integrity sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA== + +"@esbuild/linux-riscv64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz#2dc4486d474a2a62bbe5870522a9a600e2acb916" + integrity sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ== + +"@esbuild/linux-s390x@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz#4ad8567df48f7dd4c71ec5b1753b6f37561a65a8" + integrity sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q== + +"@esbuild/linux-x64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz#b7390c4d5184f203ebe7ddaedf073df82a658766" + integrity sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA== + +"@esbuild/netbsd-x64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz#d633c09492a1721377f3bccedb2d821b911e813d" + integrity sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ== + +"@esbuild/openbsd-x64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz#17388c76e2f01125bf831a68c03a7ffccb65d1a2" + integrity sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw== + +"@esbuild/sunos-x64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz#e320636f00bb9f4fdf3a80e548cb743370d41767" + integrity sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ== + +"@esbuild/win32-arm64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz#c778b45a496e90b6fc373e2a2bb072f1441fe0ee" + integrity sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ== + +"@esbuild/win32-ia32@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz#481a65fee2e5cce74ec44823e6b09ecedcc5194c" + integrity sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg== + +"@esbuild/win32-x64@0.19.11": + version "0.19.11" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz#a5d300008960bb39677c46bf16f53ec70d8dee04" + integrity sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw== + "@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": version "4.4.0" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" @@ -1949,7 +2057,7 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== -"@jridgewell/sourcemap-codec@^1.4.10": +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.15": version "1.4.15" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== @@ -2071,6 +2179,22 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@optimize-lodash/rollup-plugin@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@optimize-lodash/rollup-plugin/-/rollup-plugin-4.0.4.tgz#6de5d9644f3277ba45873ae33d3dc4181a4f96e3" + integrity sha512-zcbnqx7oQWmGA3Xaf6I8m64+Rufebz4fnSuOHf0++aGqHdwbf19t5OdIebn8Deeb1DoyHbaWVezuTZyKw0vBJw== + dependencies: + "@optimize-lodash/transform" "3.0.3" + "@rollup/pluginutils" "~5.0.2" + +"@optimize-lodash/transform@3.0.3": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@optimize-lodash/transform/-/transform-3.0.3.tgz#d7ca5fb0306ce8e4af9ba55258024d1dc5c792eb" + integrity sha512-LeH2C2nYPfwKLQ1OX7jrfZOYTyRajOhhgoCdz47+5d2oBP8YKL/NknCAcDt2QkzLDLbtZ5QHhKZN56S2D/I1JA== + dependencies: + estree-walker "2.x" + magic-string "0.30.x" + "@pkgjs/parseargs@^0.11.0": version "0.11.0" resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" @@ -2088,18 +2212,19 @@ picocolors "^1.0.0" tslib "^2.5.0" -"@rollup/plugin-babel@^6.0.4": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-6.0.4.tgz#bd698e351fa9aa9619fcae780aea2a603d98e4c4" - integrity sha512-YF7Y52kFdFT/xVSuVdjkV5ZdX/3YtmX0QulG+x0taQOtJdHYzVU61aSSkAgVJ7NOv6qPkIYiJSgSWWN/DM5sGw== +"@rollup/pluginutils@^5.0.5": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.1.0.tgz#7e53eddc8c7f483a4ad0b94afb1f7f5fd3c771e0" + integrity sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g== dependencies: - "@babel/helper-module-imports" "^7.18.6" - "@rollup/pluginutils" "^5.0.1" + "@types/estree" "^1.0.0" + estree-walker "^2.0.2" + picomatch "^2.3.1" -"@rollup/pluginutils@^5.0.1": - version "5.0.2" - resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.0.2.tgz#012b8f53c71e4f6f9cb317e311df1404f56e7a33" - integrity sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA== +"@rollup/pluginutils@~5.0.2": + version "5.0.5" + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.0.5.tgz#bbb4c175e19ebfeeb8c132c2eea0ecb89941a66c" + integrity sha512-6aEYR910NyP73oHiJglti74iRyOwgFU4x3meH/H8OJx6Ry0j6cOVZ5X/wTvub7G7Ao6qaHBEaNsV3GLJkSsF+Q== dependencies: "@types/estree" "^1.0.0" estree-walker "^2.0.2" @@ -2516,13 +2641,6 @@ "@types/scheduler" "*" csstype "^3.0.2" -"@types/resolve@0.0.8": - version "0.0.8" - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.8.tgz#f26074d238e02659e323ce1a13d041eee280e194" - integrity sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ== - dependencies: - "@types/node" "*" - "@types/scheduler@*": version "0.16.3" resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.3.tgz#cef09e3ec9af1d63d2a6cc5b383a737e24e6dcf5" @@ -3151,11 +3269,6 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -builtin-modules@^3.1.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" - integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw== - builtins@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" @@ -4008,6 +4121,11 @@ es-iterator-helpers@^1.0.15: iterator.prototype "^1.1.2" safe-array-concat "^1.0.1" +es-module-lexer@^1.3.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.4.1.tgz#41ea21b43908fe6a287ffcbe4300f790555331f5" + integrity sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w== + es-set-tostringtag@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8" @@ -4033,6 +4151,42 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" +esbuild-register@^3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/esbuild-register/-/esbuild-register-3.5.0.tgz#449613fb29ab94325c722f560f800dd946dc8ea8" + integrity sha512-+4G/XmakeBAsvJuDugJvtyF1x+XJT4FMocynNpxrvEBViirpfUn2PgNpCHedfWhF4WokNsO/OvMKrmJOIJsI5A== + dependencies: + debug "^4.3.4" + +esbuild@^0.19.11: + version "0.19.11" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.19.11.tgz#4a02dca031e768b5556606e1b468fe72e3325d96" + integrity sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA== + optionalDependencies: + "@esbuild/aix-ppc64" "0.19.11" + "@esbuild/android-arm" "0.19.11" + "@esbuild/android-arm64" "0.19.11" + "@esbuild/android-x64" "0.19.11" + "@esbuild/darwin-arm64" "0.19.11" + "@esbuild/darwin-x64" "0.19.11" + "@esbuild/freebsd-arm64" "0.19.11" + "@esbuild/freebsd-x64" "0.19.11" + "@esbuild/linux-arm" "0.19.11" + "@esbuild/linux-arm64" "0.19.11" + "@esbuild/linux-ia32" "0.19.11" + "@esbuild/linux-loong64" "0.19.11" + "@esbuild/linux-mips64el" "0.19.11" + "@esbuild/linux-ppc64" "0.19.11" + "@esbuild/linux-riscv64" "0.19.11" + "@esbuild/linux-s390x" "0.19.11" + "@esbuild/linux-x64" "0.19.11" + "@esbuild/netbsd-x64" "0.19.11" + "@esbuild/openbsd-x64" "0.19.11" + "@esbuild/sunos-x64" "0.19.11" + "@esbuild/win32-arm64" "0.19.11" + "@esbuild/win32-ia32" "0.19.11" + "@esbuild/win32-x64" "0.19.11" + escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -4326,12 +4480,7 @@ estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== -estree-walker@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" - integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w== - -estree-walker@^2.0.2: +estree-walker@2.x, estree-walker@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== @@ -4691,6 +4840,13 @@ get-tsconfig@^4.5.0: dependencies: resolve-pkg-maps "^1.0.0" +get-tsconfig@^4.7.2: + version "4.7.2" + resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.7.2.tgz#0dcd6fb330391d46332f4c6c1bf89a6514c2ddce" + integrity sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A== + dependencies: + resolve-pkg-maps "^1.0.0" + glob-parent@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" @@ -5131,11 +5287,6 @@ is-map@^2.0.1, is-map@^2.0.2: resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.2.tgz#00922db8c9bf73e81b7a335827bc2a43f2b91127" integrity sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg== -is-module@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" - integrity sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g== - is-negative-zero@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" @@ -6155,6 +6306,13 @@ lz-string@^1.5.0: resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.5.0.tgz#c1ab50f77887b712621201ba9fd4e3a6ed099941" integrity sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ== +magic-string@0.30.x: + version "0.30.5" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.5.tgz#1994d980bd1c8835dc6e78db7cbd4ae4f24746f9" + integrity sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA== + dependencies: + "@jridgewell/sourcemap-codec" "^1.4.15" + make-dir@^2.0.0, make-dir@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" @@ -7157,7 +7315,7 @@ resolve@^1.10.0, resolve@^1.14.2: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -resolve@^1.11.1, resolve@^1.20.0: +resolve@^1.20.0: version "1.22.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== @@ -7210,23 +7368,15 @@ rimraf@^5.0.5: dependencies: glob "^10.3.7" -rollup-plugin-node-resolve@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-5.2.0.tgz#730f93d10ed202473b1fb54a5997a7db8c6d8523" - integrity sha512-jUlyaDXts7TW2CqQ4GaO5VJ4PwwaV8VUGA7+km3n6k6xtOEacf61u0VXwN80phY/evMcaS+9eIeJ9MOyDxt5Zw== - dependencies: - "@types/resolve" "0.0.8" - builtin-modules "^3.1.0" - is-module "^1.0.0" - resolve "^1.11.1" - rollup-pluginutils "^2.8.1" - -rollup-pluginutils@^2.8.1: - version "2.8.2" - resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e" - integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ== +rollup-plugin-esbuild@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/rollup-plugin-esbuild/-/rollup-plugin-esbuild-6.1.0.tgz#966d297fe9edea3e6ba5dfd8ca3208825c82d7ce" + integrity sha512-HPpXU65V8bSpW8eSYPahtUJaJHmbxJGybuf/M8B3bz/6i11YaYHlNNJIQ38gSEV0FyohQOgVxJ2YMEEZtEmwvA== dependencies: - estree-walker "^0.6.1" + "@rollup/pluginutils" "^5.0.5" + debug "^4.3.4" + es-module-lexer "^1.3.1" + get-tsconfig "^4.7.2" rollup@^4.5.1: version "4.5.1"