diff --git a/package.json b/package.json index 1b21711fc..6691a2613 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,8 @@ "concurrently": "^8.2.1", "cpy-cli": "^5.0.0", "current-git-branch": "^1.1.0", + "esbuild": "^0.18.13", + "esbuild-plugin-file-path-extensions": "^1.0.0", "eslint": "^8.48.0", "eslint-config-prettier": "^9.0.0", "eslint-import-resolver-typescript": "^3.6.0", @@ -86,18 +88,11 @@ "react-dom": "^18.2.0", "react-dom-17": "npm:react-dom@^17.0.2", "rimraf": "^5.0.1", - "rollup": "^3.23.0", - "rollup-plugin-esbuild": "^5.0.0", - "rollup-plugin-node-externals": "^6.1.0", - "rollup-plugin-preserve-directives": "^0.2.0", - "rollup-plugin-size": "^0.2.2", - "rollup-plugin-terser": "^7.0.2", - "rollup-plugin-visualizer": "^5.9.0", - "rollup-preset-solid": "^2.0.1", "semver": "^7.3.8", + "fs-extra": "^11.1.1", "solid-js": "^1.6.13", "stream-to-array": "^2.3.0", - "tsup": "^7.0.0", + "tsup": "^7.1.0", "type-fest": "^3.11.0", "typescript": "^5.2.2", "vitest": "^0.34.3", @@ -110,11 +105,6 @@ } ] }, - "dependencies": { - "@tanstack/store": "0.1.3", - "fs-extra": "^11.1.1", - "rollup-plugin-dts": "^5.3.0" - }, "pnpm": { "patchedDependencies": { "@types/testing-library__jest-dom@5.14.5": "patches/@types__testing-library__jest-dom@5.14.5.patch" diff --git a/packages/form-core/package.json b/packages/form-core/package.json index 7b69746bf..8e8103f06 100644 --- a/packages/form-core/package.json +++ b/packages/form-core/package.json @@ -11,23 +11,36 @@ "url": "https://github.com/sponsors/tannerlinsley" }, "type": "module", - "types": "build/lib/index.d.ts", - "main": "build/lib/index.legacy.cjs", - "module": "build/lib/index.legacy.js", + "types": "build/legacy/index.d.ts", + "main": "build/legacy/index.cjs", + "module": "build/legacy/index.js", "exports": { ".": { - "types": "./build/lib/index.d.ts", - "import": "./build/lib/index.js", - "require": "./build/lib/index.cjs", - "default": "./build/lib/index.cjs" + "import": { + "types": "./build/modern/index.d.ts", + "default": "./build/modern/index.js" + }, + "require": { + "types": "./build/modern/index.d.cts", + "default": "./build/modern/index.cjs" + } }, "./package.json": "./package.json" }, "sideEffects": false, "files": [ - "build/lib/*", + "build", "src" ], + "nx": { + "targets": { + "test:build": { + "dependsOn": [ + "build" + ] + } + } + }, "scripts": { "clean": "rimraf ./build && rimraf ./coverage", "test:eslint": "eslint --ext .ts,.tsx ./src", @@ -35,9 +48,7 @@ "test:lib": "vitest run --coverage", "test:lib:dev": "pnpm run test:lib --watch", "test:build": "publint --strict", - "build": "pnpm build:rollup && pnpm build:types", - "build:rollup": "rollup --config rollup.config.js", - "build:types": "tsc --emitDeclarationOnly" + "build": "tsup" }, "dependencies": { "@tanstack/store": "0.1.3" diff --git a/packages/form-core/rollup.config.js b/packages/form-core/rollup.config.js deleted file mode 100644 index e312612d5..000000000 --- a/packages/form-core/rollup.config.js +++ /dev/null @@ -1,12 +0,0 @@ -// @ts-check - -import { defineConfig } from 'rollup' -import { buildConfigs } from '../../scripts/getRollupConfig.js' - -export default defineConfig( - buildConfigs({ - name: 'form-core', - outputFile: 'index', - entryFile: './src/index.ts', - }), -) diff --git a/packages/form-core/tsup.config.js b/packages/form-core/tsup.config.js new file mode 100644 index 000000000..5159fbe0a --- /dev/null +++ b/packages/form-core/tsup.config.js @@ -0,0 +1,9 @@ +// @ts-check + +import { defineConfig } from 'tsup' +import { legacyConfig, modernConfig } from '../../scripts/getTsupConfig.js' + +export default defineConfig([ + modernConfig({ entry: ['src/*.ts'] }), + legacyConfig({ entry: ['src/*.ts'] }), +]) diff --git a/packages/react-form/package.json b/packages/react-form/package.json index 4b892aff8..8a38e6b45 100644 --- a/packages/react-form/package.json +++ b/packages/react-form/package.json @@ -10,19 +10,6 @@ "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, - "type": "module", - "types": "build/lib/index.d.ts", - "main": "build/lib/index.legacy.cjs", - "module": "build/lib/index.legacy.js", - "exports": { - ".": { - "types": "./build/lib/index.d.ts", - "import": "./build/lib/index.js", - "require": "./build/lib/index.cjs", - "default": "./build/lib/index.cjs" - }, - "./package.json": "./package.json" - }, "sideEffects": false, "scripts": { "clean": "rimraf ./build && rimraf ./coverage", @@ -31,19 +18,38 @@ "test:lib": "vitest run --coverage", "test:lib:dev": "pnpm run test:lib --watch", "test:build": "publint --strict", - "build": "pnpm build:rollup && pnpm build:codemods && pnpm build:types", - "build:rollup": "rollup --config rollup.config.js", - "build:codemods": "cpy ../codemods/src/**/* ./build/codemods", - "build:types": "tsc --emitDeclarationOnly" + "build": "tsup" }, "files": [ - "build/lib/*", - "src", - "build/codemods", - "!build/codemods/jest.config.js", - "!build/codemods/**/__testfixtures__", - "!build/codemods/**/__tests__" + "build", + "src" ], + "type": "module", + "types": "build/legacy/index.d.ts", + "main": "build/legacy/index.cjs", + "module": "build/legacy/index.js", + "exports": { + ".": { + "import": { + "types": "./build/modern/index.d.ts", + "default": "./build/modern/index.js" + }, + "require": { + "types": "./build/modern/index.d.cts", + "default": "./build/modern/index.cjs" + } + }, + "./package.json": "./package.json" + }, + "nx": { + "targets": { + "test:build": { + "dependsOn": [ + "build" + ] + } + } + }, "devDependencies": { "@types/jscodeshift": "^0.11.3", "@types/react": "^18.0.14", diff --git a/packages/react-form/rollup.config.js b/packages/react-form/rollup.config.js deleted file mode 100644 index 685ac0463..000000000 --- a/packages/react-form/rollup.config.js +++ /dev/null @@ -1,12 +0,0 @@ -// @ts-check - -import { defineConfig } from 'rollup' -import { buildConfigs } from '../../scripts/getRollupConfig.js' - -export default defineConfig( - buildConfigs({ - name: 'react-form', - outputFile: 'index', - entryFile: './src/index.ts', - }), -) diff --git a/packages/react-form/tsup.config.js b/packages/react-form/tsup.config.js new file mode 100644 index 000000000..1031ae9d0 --- /dev/null +++ b/packages/react-form/tsup.config.js @@ -0,0 +1,9 @@ +// @ts-check + +import { defineConfig } from 'tsup' +import { legacyConfig, modernConfig } from '../../scripts/getTsupConfig.js' + +export default defineConfig([ + modernConfig({ entry: ['src/*.ts', 'src/*.tsx'] }), + legacyConfig({ entry: ['src/*.ts', 'src/*.tsx'] }), +]) diff --git a/packages/vue-form/package.json b/packages/vue-form/package.json index ffeab46a2..525b9cbab 100644 --- a/packages/vue-form/package.json +++ b/packages/vue-form/package.json @@ -11,15 +11,19 @@ "url": "https://github.com/sponsors/tannerlinsley" }, "type": "module", - "types": "build/lib/index.d.ts", - "main": "build/lib/index.legacy.cjs", - "module": "build/lib/index.legacy.js", + "types": "build/legacy/index.d.ts", + "main": "build/legacy/index.cjs", + "module": "build/legacy/index.js", "exports": { ".": { - "types": "./build/lib/index.d.ts", - "import": "./build/lib/index.js", - "require": "./build/lib/index.cjs", - "default": "./build/lib/index.cjs" + "import": { + "types": "./build/modern/index.d.ts", + "default": "./build/modern/index.js" + }, + "require": { + "types": "./build/modern/index.d.cts", + "default": "./build/modern/index.cjs" + } }, "./package.json": "./package.json" }, @@ -35,10 +39,16 @@ "test:3": "vue-demi-switch 3 && vitest", "test:lib:dev": "pnpm run test:lib --watch", "test:build": "publint --strict", - "build": "pnpm build:rollup && pnpm build:codemods && pnpm build:types", - "build:rollup": "rollup --config rollup.config.js", - "build:codemods": "cpy ../codemods/src/**/* ./build/codemods", - "build:types": "tsc --emitDeclarationOnly" + "build": "tsup" + }, + "nx": { + "targets": { + "test:build": { + "dependsOn": [ + "build" + ] + } + } }, "files": [ "build", diff --git a/packages/vue-form/rollup.config.js b/packages/vue-form/rollup.config.js deleted file mode 100644 index bccbf00ce..000000000 --- a/packages/vue-form/rollup.config.js +++ /dev/null @@ -1,12 +0,0 @@ -// @ts-check - -import { defineConfig } from 'rollup' -import { buildConfigs } from '../../scripts/getRollupConfig.js' - -export default defineConfig( - buildConfigs({ - name: 'vue-form', - outputFile: 'index', - entryFile: './src/index.ts', - }), -) diff --git a/packages/vue-form/src/sfc.d.ts b/packages/vue-form/src/sfc.d.ts deleted file mode 100644 index 01b57df84..000000000 --- a/packages/vue-form/src/sfc.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare module '*.vue' diff --git a/packages/vue-form/src/tests/useForm.test.tsx b/packages/vue-form/src/tests/useForm.test.tsx index 3342e279c..f52b03217 100644 --- a/packages/vue-form/src/tests/useForm.test.tsx +++ b/packages/vue-form/src/tests/useForm.test.tsx @@ -1,6 +1,6 @@ /// import { h, defineComponent, ref } from 'vue-demi' -import { render } from '@testing-library/vue' +import { render, waitFor } from '@testing-library/vue' import '@testing-library/jest-dom' import { createFormFactory, @@ -10,7 +10,6 @@ import { } from '../index' import userEvent from '@testing-library/user-event' import * as React from 'react' -import { waitFor } from '@testing-library/react' const user = userEvent.setup() diff --git a/packages/vue-form/tsup.config.js b/packages/vue-form/tsup.config.js new file mode 100644 index 000000000..5159fbe0a --- /dev/null +++ b/packages/vue-form/tsup.config.js @@ -0,0 +1,9 @@ +// @ts-check + +import { defineConfig } from 'tsup' +import { legacyConfig, modernConfig } from '../../scripts/getTsupConfig.js' + +export default defineConfig([ + modernConfig({ entry: ['src/*.ts'] }), + legacyConfig({ entry: ['src/*.ts'] }), +]) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 849db547b..455770241 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,16 +12,6 @@ patchedDependencies: importers: .: - dependencies: - '@tanstack/store': - specifier: 0.1.3 - version: 0.1.3 - fs-extra: - specifier: ^11.1.1 - version: 11.1.1 - rollup-plugin-dts: - specifier: ^5.3.0 - version: 5.3.0(rollup@3.23.0)(typescript@5.2.2) devDependencies: '@babel/core': specifier: ^7.21.8 @@ -40,16 +30,16 @@ importers: version: 17.6.5 '@rollup/plugin-babel': specifier: ^6.0.3 - version: 6.0.3(@babel/core@7.22.10)(rollup@3.23.0) + version: 6.0.3(@babel/core@7.22.10) '@rollup/plugin-commonjs': specifier: ^25.0.0 - version: 25.0.0(rollup@3.23.0) + version: 25.0.0 '@rollup/plugin-node-resolve': specifier: ^15.0.2 - version: 15.0.2(rollup@3.23.0) + version: 15.0.2 '@rollup/plugin-replace': specifier: ^5.0.2 - version: 5.0.2(rollup@3.23.0) + version: 5.0.2 '@testing-library/jest-dom': specifier: ^5.16.5 version: 5.16.5 @@ -128,6 +118,12 @@ importers: current-git-branch: specifier: ^1.1.0 version: 1.1.0 + esbuild: + specifier: ^0.18.13 + version: 0.18.20 + esbuild-plugin-file-path-extensions: + specifier: ^1.0.0 + version: 1.0.0 eslint: specifier: ^8.48.0 version: 8.48.0 @@ -149,6 +145,9 @@ importers: eslint-plugin-react-hooks: specifier: ^4.6.0 version: 4.6.0(eslint@8.48.0) + fs-extra: + specifier: ^11.1.1 + version: 11.1.1 git-log-parser: specifier: ^1.2.0 version: 1.2.0 @@ -188,30 +187,6 @@ importers: rimraf: specifier: ^5.0.1 version: 5.0.1 - rollup: - specifier: ^3.23.0 - version: 3.23.0 - rollup-plugin-esbuild: - specifier: ^5.0.0 - version: 5.0.0(esbuild@0.18.20)(rollup@3.23.0) - rollup-plugin-node-externals: - specifier: ^6.1.0 - version: 6.1.0(rollup@3.23.0) - rollup-plugin-preserve-directives: - specifier: ^0.2.0 - version: 0.2.0(rollup@3.23.0) - rollup-plugin-size: - specifier: ^0.2.2 - version: 0.2.2 - rollup-plugin-terser: - specifier: ^7.0.2 - version: 7.0.2(rollup@3.23.0) - rollup-plugin-visualizer: - specifier: ^5.9.0 - version: 5.9.0(rollup@3.23.0) - rollup-preset-solid: - specifier: ^2.0.1 - version: 2.0.1 semver: specifier: ^7.3.8 version: 7.3.8 @@ -222,8 +197,8 @@ importers: specifier: ^2.3.0 version: 2.3.0 tsup: - specifier: ^7.0.0 - version: 7.0.0(typescript@5.2.2) + specifier: ^7.1.0 + version: 7.2.0(typescript@5.2.2) type-fest: specifier: ^3.11.0 version: 3.11.0 @@ -536,13 +511,6 @@ packages: '@babel/types': 7.22.11 dev: true - /@babel/helper-module-imports@7.18.6: - resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.22.11 - dev: true - /@babel/helper-module-imports@7.22.15: resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} engines: {node: '>=6.9.0'} @@ -1786,15 +1754,6 @@ packages: dev: true optional: true - /@esbuild/android-arm@0.15.9: - resolution: {integrity: sha512-VZPy/ETF3fBG5PiinIkA0W/tlsvlEgJccyN2DzWZEl0DlVKRbu91PvY2D6Lxgluj4w9QtYHjOWjAT44C+oQ+EQ==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - /@esbuild/android-arm@0.18.20: resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==} engines: {node: '>=12'} @@ -1885,15 +1844,6 @@ packages: dev: true optional: true - /@esbuild/linux-loong64@0.15.9: - resolution: {integrity: sha512-O+NfmkfRrb3uSsTa4jE3WApidSe3N5++fyOVGP1SmMZi4A3BZELkhUUvj5hwmMuNdlpzAZ8iAPz2vmcR7DCFQA==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-loong64@0.18.20: resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} engines: {node: '>=12'} @@ -2208,6 +2158,7 @@ packages: dependencies: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.19 + dev: false /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} @@ -2600,7 +2551,7 @@ packages: react-native: 0.72.4(@babel/core@7.22.10)(@babel/preset-env@7.21.5)(react@18.2.0) dev: false - /@rollup/plugin-babel@6.0.3(@babel/core@7.22.10)(rollup@3.23.0): + /@rollup/plugin-babel@6.0.3(@babel/core@7.22.10): resolution: {integrity: sha512-fKImZKppa1A/gX73eg4JGo+8kQr/q1HBQaCGKECZ0v4YBBv3lFqi14+7xyApECzvkLTHCifx+7ntcrvtBIRcpg==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2615,11 +2566,10 @@ packages: dependencies: '@babel/core': 7.22.10 '@babel/helper-module-imports': 7.22.5 - '@rollup/pluginutils': 5.0.3(rollup@3.23.0) - rollup: 3.23.0 + '@rollup/pluginutils': 5.0.3 dev: true - /@rollup/plugin-commonjs@25.0.0(rollup@3.23.0): + /@rollup/plugin-commonjs@25.0.0: resolution: {integrity: sha512-hoho2Kay9TZrLu0bnDsTTCaj4Npa+THk9snajP/XDNb9a9mmjTjh52EQM9sKl3HD1LsnihX7js+eA2sd2uKAhw==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2628,16 +2578,15 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.3(rollup@3.23.0) + '@rollup/pluginutils': 5.0.3 commondir: 1.0.1 estree-walker: 2.0.2 glob: 8.1.0 is-reference: 1.2.1 magic-string: 0.27.0 - rollup: 3.23.0 dev: true - /@rollup/plugin-node-resolve@15.0.2(rollup@3.23.0): + /@rollup/plugin-node-resolve@15.0.2: resolution: {integrity: sha512-Y35fRGUjC3FaurG722uhUuG8YHOJRJQbI6/CkbRkdPotSpDj9NtIN85z1zrcyDcCQIW4qp5mgG72U+gJ0TAFEg==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2646,16 +2595,15 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.3(rollup@3.23.0) + '@rollup/pluginutils': 5.0.3 '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-builtin-module: 3.2.1 is-module: 1.0.0 resolve: 1.22.4 - rollup: 3.23.0 dev: true - /@rollup/plugin-replace@5.0.2(rollup@3.23.0): + /@rollup/plugin-replace@5.0.2: resolution: {integrity: sha512-M9YXNekv/C/iHHK+cvORzfRYfPbq0RDD8r0G+bMiTXjNGKulPnCT9O3Ss46WfhI6ZOCgApOP7xAdmCQJ+U2LAA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2664,25 +2612,11 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.3(rollup@3.23.0) + '@rollup/pluginutils': 5.0.3 magic-string: 0.27.0 - rollup: 3.23.0 dev: true - /@rollup/plugin-terser@0.1.0(rollup@3.23.0): - resolution: {integrity: sha512-N2KK+qUfHX2hBzVzM41UWGLrEmcjVC37spC8R3c9mt3oEDFKh3N2e12/lLp9aVSt86veR0TQiCNQXrm8C6aiUQ==} - engines: {node: '>=14.0.0'} - peerDependencies: - rollup: ^2.x || ^3.x - peerDependenciesMeta: - rollup: - optional: true - dependencies: - rollup: 3.23.0 - terser: 5.19.2 - dev: true - - /@rollup/pluginutils@5.0.3(rollup@3.23.0): + /@rollup/pluginutils@5.0.3: resolution: {integrity: sha512-hfllNN4a80rwNQ9QCxhxuHCGHMAvabXqxNdaChUSSadMre7t4iEUI6fFAhBOn/eIYTgYVhBv7vCLsAJ4u3lf3g==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2694,7 +2628,6 @@ packages: '@types/estree': 1.0.1 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 3.23.0 dev: true /@sideway/address@4.1.4: @@ -3674,17 +3607,6 @@ packages: es-shim-unscopables: 1.0.0 dev: true - /array.prototype.reduce@1.0.4: - resolution: {integrity: sha512-WnM+AjG/DvLRLo4DDl+r+SvCzYtD2Jd9oeBYMcEaI7t3fFrHY9M53/wdLcTvmZNQ70IU6Htj0emFkZ5TS+lrdw==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.0 - es-abstract: 1.22.1 - es-array-method-boxes-properly: 1.0.0 - is-string: 1.0.7 - dev: true - /array.prototype.tosorted@1.1.1: resolution: {integrity: sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==} dependencies: @@ -3773,15 +3695,6 @@ packages: engines: {node: '>= 0.4'} dev: true - /axios@0.19.2: - resolution: {integrity: sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==} - deprecated: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 - dependencies: - follow-redirects: 1.5.10 - transitivePeerDependencies: - - supports-color - dev: true - /axios@0.24.0: resolution: {integrity: sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==} dependencies: @@ -3901,19 +3814,6 @@ packages: html-entities: 2.3.2 dev: true - /babel-plugin-jsx-dom-expressions@0.36.10(@babel/core@7.22.10): - resolution: {integrity: sha512-QA2k/14WGw+RgcGGnEuLWwnu4em6CGhjeXtjvgOYyFHYS2a+CzPeaVQHDOlfuiBcjq/3hWMspHMIMnPEOIzdBg==} - peerDependencies: - '@babel/core': ^7.20.12 - dependencies: - '@babel/core': 7.22.10 - '@babel/helper-module-imports': 7.18.6 - '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.22.10) - '@babel/types': 7.22.11 - html-entities: 2.3.3 - validate-html-nesting: 1.2.2 - dev: true - /babel-plugin-polyfill-corejs2@0.3.3(@babel/core@7.22.10): resolution: {integrity: sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==} peerDependencies: @@ -4070,15 +3970,6 @@ packages: babel-plugin-jsx-dom-expressions: 0.34.7(@babel/core@7.22.10) dev: true - /babel-preset-solid@1.7.7(@babel/core@7.22.10): - resolution: {integrity: sha512-tdxVzx3kgcIjNXAOmGRbzIhFBPeJjSakiN9yM+IYdL/+LtXNnbGqb0Va5tJb8Sjbk+QVEriovCyuzB5T7jeTvg==} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.22.10 - babel-plugin-jsx-dom-expressions: 0.36.10(@babel/core@7.22.10) - dev: true - /balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -4115,13 +4006,6 @@ packages: dependencies: fill-range: 7.0.1 - /brotli-size@4.0.0: - resolution: {integrity: sha512-uA9fOtlTRC0iqKfzff1W34DXUA3GyVqbUaeo3Rw3d4gd1eavKVCETXrn3NzO74W+UVkG3UHu8WxUi+XvKI/huA==} - engines: {node: '>= 10.16.0'} - dependencies: - duplexer: 0.1.1 - dev: true - /browserslist@4.21.10: resolution: {integrity: sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} @@ -4139,6 +4023,7 @@ packages: /buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + dev: false /buffer@5.7.1: resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} @@ -4409,10 +4294,6 @@ packages: resolution: {integrity: sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==} dev: false - /colorette@2.0.20: - resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} - dev: true - /combined-stream@1.0.8: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} @@ -4435,6 +4316,7 @@ packages: /commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + dev: false /commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} @@ -4668,17 +4550,6 @@ packages: ms: 2.0.0 dev: false - /debug@3.1.0: - resolution: {integrity: sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - dependencies: - ms: 2.0.0 - dev: true - /debug@3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} peerDependencies: @@ -4886,10 +4757,6 @@ packages: readable-stream: 2.3.8 dev: true - /duplexer@0.1.1: - resolution: {integrity: sha512-sxNZ+ljy+RA1maXoUReeqBBpBC6RLKmg5ewzV+x+mSETmWNoKdZN6vcQjpFROemza23hGFskJtFNoUWUaQ+R4Q==} - dev: true - /duplexer@0.1.2: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} dev: true @@ -5024,10 +4891,6 @@ packages: which-typed-array: 1.1.11 dev: true - /es-array-method-boxes-properly@1.0.0: - resolution: {integrity: sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==} - dev: true - /es-get-iterator@1.1.3: resolution: {integrity: sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==} dependencies: @@ -5061,10 +4924,6 @@ packages: safe-array-concat: 1.0.0 dev: true - /es-module-lexer@1.3.0: - resolution: {integrity: sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA==} - dev: true - /es-set-tostringtag@2.0.1: resolution: {integrity: sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==} engines: {node: '>= 0.4'} @@ -5098,15 +4957,6 @@ packages: dev: true optional: true - /esbuild-android-64@0.15.9: - resolution: {integrity: sha512-HQCX7FJn9T4kxZQkhPjNZC7tBWZqJvhlLHPU2SFzrQB/7nDXjmTIFpFTjt7Bd1uFpeXmuwf5h5fZm+x/hLnhbw==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - /esbuild-android-arm64@0.15.18: resolution: {integrity: sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==} engines: {node: '>=12'} @@ -5116,15 +4966,6 @@ packages: dev: true optional: true - /esbuild-android-arm64@0.15.9: - resolution: {integrity: sha512-E6zbLfqbFVCNEKircSHnPiSTsm3fCRxeIMPfrkS33tFjIAoXtwegQfVZqMGR0FlsvVxp2NEDOUz+WW48COCjSg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - /esbuild-darwin-64@0.15.18: resolution: {integrity: sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==} engines: {node: '>=12'} @@ -5134,15 +4975,6 @@ packages: dev: true optional: true - /esbuild-darwin-64@0.15.9: - resolution: {integrity: sha512-gI7dClcDN/HHVacZhTmGjl0/TWZcGuKJ0I7/xDGJwRQQn7aafZGtvagOFNmuOq+OBFPhlPv1T6JElOXb0unkSQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - /esbuild-darwin-arm64@0.15.18: resolution: {integrity: sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==} engines: {node: '>=12'} @@ -5152,15 +4984,6 @@ packages: dev: true optional: true - /esbuild-darwin-arm64@0.15.9: - resolution: {integrity: sha512-VZIMlcRN29yg/sv7DsDwN+OeufCcoTNaTl3Vnav7dL/nvsApD7uvhVRbgyMzv0zU/PP0xRhhIpTyc7lxEzHGSw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - /esbuild-freebsd-64@0.15.18: resolution: {integrity: sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==} engines: {node: '>=12'} @@ -5170,15 +4993,6 @@ packages: dev: true optional: true - /esbuild-freebsd-64@0.15.9: - resolution: {integrity: sha512-uM4z5bTvuAXqPxrI204txhlsPIolQPWRMLenvGuCPZTnnGlCMF2QLs0Plcm26gcskhxewYo9LkkmYSS5Czrb5A==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - /esbuild-freebsd-arm64@0.15.18: resolution: {integrity: sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==} engines: {node: '>=12'} @@ -5188,15 +5002,6 @@ packages: dev: true optional: true - /esbuild-freebsd-arm64@0.15.9: - resolution: {integrity: sha512-HHDjT3O5gWzicGdgJ5yokZVN9K9KG05SnERwl9nBYZaCjcCgj/sX8Ps1jvoFSfNCO04JSsHSOWo4qvxFuj8FoA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-32@0.15.18: resolution: {integrity: sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==} engines: {node: '>=12'} @@ -5206,15 +5011,6 @@ packages: dev: true optional: true - /esbuild-linux-32@0.15.9: - resolution: {integrity: sha512-AQIdE8FugGt1DkcekKi5ycI46QZpGJ/wqcMr7w6YUmOmp2ohQ8eO4sKUsOxNOvYL7hGEVwkndSyszR6HpVHLFg==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-64@0.15.18: resolution: {integrity: sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==} engines: {node: '>=12'} @@ -5224,15 +5020,6 @@ packages: dev: true optional: true - /esbuild-linux-64@0.15.9: - resolution: {integrity: sha512-4RXjae7g6Qs7StZyiYyXTZXBlfODhb1aBVAjd+ANuPmMhWthQilWo7rFHwJwL7DQu1Fjej2sODAVwLbcIVsAYQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-arm64@0.15.18: resolution: {integrity: sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==} engines: {node: '>=12'} @@ -5242,15 +5029,6 @@ packages: dev: true optional: true - /esbuild-linux-arm64@0.15.9: - resolution: {integrity: sha512-a+bTtxJmYmk9d+s2W4/R1SYKDDAldOKmWjWP0BnrWtDbvUBNOm++du0ysPju4mZVoEFgS1yLNW+VXnG/4FNwdQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-arm@0.15.18: resolution: {integrity: sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==} engines: {node: '>=12'} @@ -5260,15 +5038,6 @@ packages: dev: true optional: true - /esbuild-linux-arm@0.15.9: - resolution: {integrity: sha512-3Zf2GVGUOI7XwChH3qrnTOSqfV1V4CAc/7zLVm4lO6JT6wbJrTgEYCCiNSzziSju+J9Jhf9YGWk/26quWPC6yQ==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-mips64le@0.15.18: resolution: {integrity: sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==} engines: {node: '>=12'} @@ -5278,15 +5047,6 @@ packages: dev: true optional: true - /esbuild-linux-mips64le@0.15.9: - resolution: {integrity: sha512-Zn9HSylDp89y+TRREMDoGrc3Z4Hs5u56ozZLQCiZAUx2+HdbbXbWdjmw3FdTJ/i7t5Cew6/Q+6kfO3KCcFGlyw==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-ppc64le@0.15.18: resolution: {integrity: sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==} engines: {node: '>=12'} @@ -5296,15 +5056,6 @@ packages: dev: true optional: true - /esbuild-linux-ppc64le@0.15.9: - resolution: {integrity: sha512-OEiOxNAMH9ENFYqRsWUj3CWyN3V8P3ZXyfNAtX5rlCEC/ERXrCEFCJji/1F6POzsXAzxvUJrTSTCy7G6BhA6Fw==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-riscv64@0.15.18: resolution: {integrity: sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==} engines: {node: '>=12'} @@ -5314,15 +5065,6 @@ packages: dev: true optional: true - /esbuild-linux-riscv64@0.15.9: - resolution: {integrity: sha512-ukm4KsC3QRausEFjzTsOZ/qqazw0YvJsKmfoZZm9QW27OHjk2XKSQGGvx8gIEswft/Sadp03/VZvAaqv5AIwNA==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-s390x@0.15.18: resolution: {integrity: sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==} engines: {node: '>=12'} @@ -5332,15 +5074,6 @@ packages: dev: true optional: true - /esbuild-linux-s390x@0.15.9: - resolution: {integrity: sha512-uDOQEH55wQ6ahcIKzQr3VyjGc6Po/xblLGLoUk3fVL1qjlZAibtQr6XRfy5wPJLu/M2o0vQKLq4lyJ2r1tWKcw==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-netbsd-64@0.15.18: resolution: {integrity: sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==} engines: {node: '>=12'} @@ -5350,15 +5083,6 @@ packages: dev: true optional: true - /esbuild-netbsd-64@0.15.9: - resolution: {integrity: sha512-yWgxaYTQz+TqX80wXRq6xAtb7GSBAp6gqLKfOdANg9qEmAI1Bxn04IrQr0Mzm4AhxvGKoHzjHjMgXbCCSSDxcw==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - /esbuild-openbsd-64@0.15.18: resolution: {integrity: sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==} engines: {node: '>=12'} @@ -5368,14 +5092,10 @@ packages: dev: true optional: true - /esbuild-openbsd-64@0.15.9: - resolution: {integrity: sha512-JmS18acQl4iSAjrEha1MfEmUMN4FcnnrtTaJ7Qg0tDCOcgpPPQRLGsZqhes0vmx8VA6IqRyScqXvaL7+Q0Uf3A==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true + /esbuild-plugin-file-path-extensions@1.0.0: + resolution: {integrity: sha512-v5LpSkml+CbsC0+xAaETEGDECdvKp1wKkD4aXMdI4zLjXP0EYfK4GjGhphumt4N+kjR3A8Q+DIkpgxX1XTqO4Q==} + engines: {node: '>=v14.0.0', npm: '>=7.0.0'} dev: true - optional: true /esbuild-sunos-64@0.15.18: resolution: {integrity: sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==} @@ -5386,15 +5106,6 @@ packages: dev: true optional: true - /esbuild-sunos-64@0.15.9: - resolution: {integrity: sha512-UKynGSWpzkPmXW3D2UMOD9BZPIuRaSqphxSCwScfEE05Be3KAmvjsBhht1fLzKpiFVJb0BYMd4jEbWMyJ/z1hQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - /esbuild-windows-32@0.15.18: resolution: {integrity: sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==} engines: {node: '>=12'} @@ -5404,15 +5115,6 @@ packages: dev: true optional: true - /esbuild-windows-32@0.15.9: - resolution: {integrity: sha512-aqXvu4/W9XyTVqO/hw3rNxKE1TcZiEYHPsXM9LwYmKSX9/hjvfIJzXwQBlPcJ/QOxedfoMVH0YnhhQ9Ffb0RGA==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - /esbuild-windows-64@0.15.18: resolution: {integrity: sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==} engines: {node: '>=12'} @@ -5422,15 +5124,6 @@ packages: dev: true optional: true - /esbuild-windows-64@0.15.9: - resolution: {integrity: sha512-zm7h91WUmlS4idMtjvCrEeNhlH7+TNOmqw5dJPJZrgFaxoFyqYG6CKDpdFCQXdyKpD5yvzaQBOMVTCBVKGZDEg==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - /esbuild-windows-arm64@0.15.18: resolution: {integrity: sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==} engines: {node: '>=12'} @@ -5440,15 +5133,6 @@ packages: dev: true optional: true - /esbuild-windows-arm64@0.15.9: - resolution: {integrity: sha512-yQEVIv27oauAtvtuhJVfSNMztJJX47ismRS6Sv2QMVV9RM+6xjbMWuuwM2nxr5A2/gj/mu2z9YlQxiwoFRCfZA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - /esbuild@0.15.18: resolution: {integrity: sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==} engines: {node: '>=12'} @@ -5479,36 +5163,6 @@ packages: esbuild-windows-arm64: 0.15.18 dev: true - /esbuild@0.15.9: - resolution: {integrity: sha512-OnYr1rkMVxtmMHIAKZLMcEUlJmqcbxBz9QoBU8G9v455na0fuzlT/GLu6l+SRghrk0Mm2fSSciMmzV43Q8e0Gg==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.15.9 - '@esbuild/linux-loong64': 0.15.9 - esbuild-android-64: 0.15.9 - esbuild-android-arm64: 0.15.9 - esbuild-darwin-64: 0.15.9 - esbuild-darwin-arm64: 0.15.9 - esbuild-freebsd-64: 0.15.9 - esbuild-freebsd-arm64: 0.15.9 - esbuild-linux-32: 0.15.9 - esbuild-linux-64: 0.15.9 - esbuild-linux-arm: 0.15.9 - esbuild-linux-arm64: 0.15.9 - esbuild-linux-mips64le: 0.15.9 - esbuild-linux-ppc64le: 0.15.9 - esbuild-linux-riscv64: 0.15.9 - esbuild-linux-s390x: 0.15.9 - esbuild-netbsd-64: 0.15.9 - esbuild-openbsd-64: 0.15.9 - esbuild-sunos-64: 0.15.9 - esbuild-windows-32: 0.15.9 - esbuild-windows-64: 0.15.9 - esbuild-windows-arm64: 0.15.9 - dev: true - /esbuild@0.18.20: resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==} engines: {node: '>=12'} @@ -6036,15 +5690,6 @@ packages: optional: true dev: true - /follow-redirects@1.5.10: - resolution: {integrity: sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==} - engines: {node: '>=4.0'} - dependencies: - debug: 3.1.0 - transitivePeerDependencies: - - supports-color - dev: true - /for-each@0.3.3: resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} dependencies: @@ -6084,6 +5729,7 @@ packages: graceful-fs: 4.2.10 jsonfile: 6.1.0 universalify: 2.0.0 + dev: true /fs-extra@8.1.0: resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} @@ -6092,6 +5738,7 @@ packages: graceful-fs: 4.2.11 jsonfile: 4.0.0 universalify: 0.1.2 + dev: false /fs-minipass@2.1.0: resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} @@ -6305,6 +5952,7 @@ packages: /graceful-fs@4.2.10: resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} + dev: true /graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} @@ -6314,14 +5962,6 @@ packages: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} dev: true - /gzip-size@5.1.1: - resolution: {integrity: sha512-FNHi6mmoHvs1mxZAds4PpdCS6QG8B4C1krxJsMutgxl5t3+GlRTzzI3NEkifXx2pVsOvJdOGSmIgDhQ55FwdPA==} - engines: {node: '>=6'} - dependencies: - duplexer: 0.1.2 - pify: 4.0.1 - dev: true - /gzip-size@6.0.0: resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==} engines: {node: '>=10'} @@ -6421,10 +6061,6 @@ packages: resolution: {integrity: sha512-c3Ab/url5ksaT0WyleslpBEthOzWhrjQbg75y7XUsfSzi3Dgzt0l8w5e7DylRn15MTlMMD58dTfzddNS2kcAjQ==} dev: true - /html-entities@2.3.3: - resolution: {integrity: sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA==} - dev: true - /html-escaper@2.0.2: resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} dev: true @@ -6827,11 +6463,6 @@ packages: get-intrinsic: 1.2.1 dev: true - /is-what@4.1.15: - resolution: {integrity: sha512-uKua1wfy3Yt+YqsD6mTUEa2zSi3G1oPlqTflgaPJ7z63vUGN5pxFpnQfeSLMFnJDEsdvOtkp1rUWkYjB4YfhgA==} - engines: {node: '>=12.13'} - dev: true - /is-wsl@1.1.0: resolution: {integrity: sha512-gfygJYZ2gLTDlmbWMI0CE2MwnFzSN/2SZfkMlItC4K/JBlsWVDB0bO6XhqcY13YXE7iMcAJnzTCJjPiTeJJ0Mw==} engines: {node: '>=4'} @@ -7060,15 +6691,6 @@ packages: pretty-format: 29.6.3 dev: false - /jest-worker@26.6.2: - resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} - engines: {node: '>= 10.13.0'} - dependencies: - '@types/node': 17.0.45 - merge-stream: 2.0.0 - supports-color: 7.2.0 - dev: true - /jest-worker@27.5.1: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} @@ -7245,6 +6867,7 @@ packages: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} optionalDependencies: graceful-fs: 4.2.11 + dev: false /jsonfile@6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} @@ -7252,6 +6875,7 @@ packages: universalify: 2.0.0 optionalDependencies: graceful-fs: 4.2.11 + dev: true /jsonpack@1.1.5: resolution: {integrity: sha512-d2vwomK605ks7Q+uCpbwGyoIF5j+UZuJjlYcugISBt3CxM+eBo/W6y63yVPIyIvbYON+pvJYsYZjCYbzqJj/xQ==} @@ -7460,12 +7084,6 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true - /magic-string@0.30.0: - resolution: {integrity: sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - /magic-string@0.30.3: resolution: {integrity: sha512-B7xGbll2fG/VjP+SWg4sX3JynwIU0mjoTc6MPpKNuIvftk6u6vqhDnk1R80b8C2GBR6ywqy+1DcKBrevBg+bmw==} engines: {node: '>=12'} @@ -7541,13 +7159,6 @@ packages: yargs-parser: 20.2.9 dev: true - /merge-anything@5.1.7: - resolution: {integrity: sha512-eRtbOb1N5iyH0tkQDAoQ4Ipsp/5qSR79Dzrz8hEPxRX10RWWR/iQXdoKmBSRCThY1Fh5EhISDtpSc93fpxUniQ==} - engines: {node: '>=12.13'} - dependencies: - is-what: 4.1.15 - dev: true - /merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} @@ -8033,6 +7644,7 @@ packages: /ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} + dev: false /ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} @@ -8347,16 +7959,6 @@ packages: es-abstract: 1.22.1 dev: true - /object.getownpropertydescriptors@2.1.4: - resolution: {integrity: sha512-sccv3L/pMModT6dJAYF3fzGMVcb38ysQ0tEE6ixv2yXJDtEIPph268OlAdJj5/qZMZDq2g/jqvwppt36uS/uQQ==} - engines: {node: '>= 0.8'} - dependencies: - array.prototype.reduce: 1.0.4 - call-bind: 1.0.2 - define-properties: 1.2.0 - es-abstract: 1.22.1 - dev: true - /object.groupby@1.0.0: resolution: {integrity: sha512-70MWG6NfRH9GnbZOikuhPPYzpUpof9iW2J9E4dW7FXTqPNb6rllE6u39SKwwiNh8lCwX3DDb5OgcKGiEBrTTyw==} dependencies: @@ -8637,6 +8239,7 @@ packages: /pify@4.0.1: resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} engines: {node: '>=6'} + dev: false /pirates@4.0.6: resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} @@ -8701,11 +8304,6 @@ packages: hasBin: true dev: true - /pretty-bytes@5.6.0: - resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} - engines: {node: '>=6'} - dev: true - /pretty-format@26.6.2: resolution: {integrity: sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==} engines: {node: '>= 10'} @@ -8816,12 +8414,6 @@ packages: engines: {node: '>=12'} dev: true - /randombytes@2.1.0: - resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} - dependencies: - safe-buffer: 5.2.1 - dev: true - /range-parser@1.2.1: resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} engines: {node: '>= 0.6'} @@ -9215,114 +8807,6 @@ packages: glob: 10.3.3 dev: true - /rollup-plugin-dts@5.3.0(rollup@3.23.0)(typescript@5.2.2): - resolution: {integrity: sha512-8FXp0ZkyZj1iU5klkIJYLjIq/YZSwBoERu33QBDxm/1yw5UU4txrEtcmMkrq+ZiKu3Q4qvPCNqc3ovX6rjqzbQ==} - engines: {node: '>=v14'} - peerDependencies: - rollup: ^3.0.0 - typescript: ^4.1 || ^5.0 - dependencies: - magic-string: 0.30.0 - rollup: 3.23.0 - typescript: 5.2.2 - optionalDependencies: - '@babel/code-frame': 7.22.13 - dev: false - - /rollup-plugin-esbuild@5.0.0(esbuild@0.18.20)(rollup@3.23.0): - resolution: {integrity: sha512-1cRIOHAPh8WQgdQQyyvFdeOdxuiyk+zB5zJ5+YOwrZP4cJ0MT3Fs48pQxrZeyZHcn+klFherytILVfE4aYrneg==} - engines: {node: '>=14.18.0', npm: '>=8.0.0'} - peerDependencies: - esbuild: '>=0.10.1' - rollup: ^1.20.0 || ^2.0.0 || ^3.0.0 - dependencies: - '@rollup/pluginutils': 5.0.3(rollup@3.23.0) - debug: 4.3.4 - es-module-lexer: 1.3.0 - esbuild: 0.18.20 - joycon: 3.1.1 - jsonc-parser: 3.2.0 - rollup: 3.23.0 - transitivePeerDependencies: - - supports-color - dev: true - - /rollup-plugin-node-externals@6.1.0(rollup@3.23.0): - resolution: {integrity: sha512-lFgwuW2zkHpoACW8afsjFUBxcBfAX8HMRkz9jyezsXLba5Ii46SxiJG3wGztFzL1QpQQaMoUnXdwz4YJScue7Q==} - engines: {node: '>=16.0.0'} - peerDependencies: - rollup: ^3.0.0 - dependencies: - rollup: 3.23.0 - dev: true - - /rollup-plugin-preserve-directives@0.2.0(rollup@3.23.0): - resolution: {integrity: sha512-KUwbBaFvD1zFIDNnOkR+u64sSod3m0l6q46/SzTOa4GTQ6hp6w0FRr2u7x99YkY9qhlna5panmTmuLWeJ/2KWw==} - peerDependencies: - rollup: 2.x || 3.x - dependencies: - magic-string: 0.30.0 - rollup: 3.23.0 - dev: true - - /rollup-plugin-size@0.2.2: - resolution: {integrity: sha512-XIQpfwp1dLXzr4qCopY5ZSEEPB3bgZLkGw2BB3+TXmfH2jxGSmuN/+sRxnA5MvJe+Z4atW0x0qTQz5EuTQy01Q==} - engines: {node: '>=10.0.0'} - dependencies: - size-plugin-core: 0.0.7 - transitivePeerDependencies: - - supports-color - dev: true - - /rollup-plugin-terser@7.0.2(rollup@3.23.0): - resolution: {integrity: sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==} - peerDependencies: - rollup: ^2.0.0 - dependencies: - '@babel/code-frame': 7.18.6 - jest-worker: 26.6.2 - rollup: 3.23.0 - serialize-javascript: 4.0.0 - terser: 5.14.1 - dev: true - - /rollup-plugin-visualizer@5.9.0(rollup@3.23.0): - resolution: {integrity: sha512-bbDOv47+Bw4C/cgs0czZqfm8L82xOZssk4ayZjG40y9zbXclNk7YikrZTDao6p7+HDiGxrN0b65SgZiVm9k1Cg==} - engines: {node: '>=14'} - hasBin: true - peerDependencies: - rollup: 2.x || 3.x - peerDependenciesMeta: - rollup: - optional: true - dependencies: - open: 8.4.2 - picomatch: 2.3.1 - rollup: 3.23.0 - source-map: 0.7.4 - yargs: 17.7.2 - dev: true - - /rollup-preset-solid@2.0.1: - resolution: {integrity: sha512-CPJn3SqADlIxhAW3jwZuAFRyZcz7HPeUAz4f+6BzulxHnK4v6tgoTbMvk8vEsfsvHwiTmX93KHIKdf79aTdVSA==} - dependencies: - '@babel/core': 7.22.10 - '@babel/preset-env': 7.21.5(@babel/core@7.22.10) - '@babel/preset-typescript': 7.21.5(@babel/core@7.22.10) - '@rollup/plugin-babel': 6.0.3(@babel/core@7.22.10)(rollup@3.23.0) - '@rollup/plugin-node-resolve': 15.0.2(rollup@3.23.0) - '@rollup/plugin-terser': 0.1.0(rollup@3.23.0) - babel-preset-solid: 1.7.7(@babel/core@7.22.10) - colorette: 2.0.20 - esbuild: 0.15.18 - merge-anything: 5.1.7 - rollup: 3.23.0 - typescript: 4.9.5 - transitivePeerDependencies: - - '@types/babel__core' - - supports-color - dev: true - /rollup@2.78.1: resolution: {integrity: sha512-VeeCgtGi4P+o9hIg+xz4qQpRl6R401LWEXBmxYKOV4zlF82lyhgh2hTZnheFUbANE8l2A41F458iwj2vEYaXJg==} engines: {node: '>=10.0.0'} @@ -9331,13 +8815,6 @@ packages: fsevents: 2.3.3 dev: true - /rollup@3.23.0: - resolution: {integrity: sha512-h31UlwEi7FHihLe1zbk+3Q7z1k/84rb9BSwmBSr/XjOCEaBJ2YyedQDuM0t/kfOS0IxM+vk1/zI9XxYj9V+NJQ==} - engines: {node: '>=14.18.0', npm: '>=8.0.0'} - hasBin: true - optionalDependencies: - fsevents: 2.3.3 - /rollup@3.28.1: resolution: {integrity: sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} @@ -9479,12 +8956,6 @@ packages: engines: {node: '>=0.10.0'} dev: false - /serialize-javascript@4.0.0: - resolution: {integrity: sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==} - dependencies: - randombytes: 2.1.0 - dev: true - /serve-static@1.15.0: resolution: {integrity: sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==} engines: {node: '>= 0.8.0'} @@ -9561,31 +9032,6 @@ packages: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} dev: false - /size-plugin-core@0.0.7: - resolution: {integrity: sha512-vMX3AhK3hh5vxfOL5VgEIxUkcm0MFfiPsZ9LqZsZRH7iQ+erU669zYsx+WCF4EQ+nn11GYXL91U/sEvS1FnPug==} - dependencies: - brotli-size: 4.0.0 - chalk: 2.4.2 - fs-extra: 8.1.0 - glob: 7.2.3 - gzip-size: 5.1.1 - minimatch: 3.1.2 - pretty-bytes: 5.6.0 - size-plugin-store: 0.0.5 - util.promisify: 1.0.0 - transitivePeerDependencies: - - supports-color - dev: true - - /size-plugin-store@0.0.5: - resolution: {integrity: sha512-SIFBv0wMMMfdqg1Po8vem90OaXe2Cftfo0AiXYU9m9JxDhOd726K+0BfNcYyOmDyrH2uUM7zMlnU2OhbbsDv5Q==} - dependencies: - axios: 0.19.2 - ci-env: 1.17.0 - transitivePeerDependencies: - - supports-color - dev: true - /slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} @@ -9619,6 +9065,7 @@ packages: dependencies: buffer-from: 1.1.2 source-map: 0.6.1 + dev: false /source-map@0.5.7: resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} @@ -9632,6 +9079,7 @@ packages: /source-map@0.7.4: resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} engines: {node: '>= 8'} + dev: false /source-map@0.8.0-beta.0: resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} @@ -9967,17 +9415,6 @@ packages: rimraf: 2.6.3 dev: false - /terser@5.14.1: - resolution: {integrity: sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==} - engines: {node: '>=10'} - hasBin: true - dependencies: - '@jridgewell/source-map': 0.3.5 - acorn: 8.10.0 - commander: 2.20.3 - source-map-support: 0.5.21 - dev: true - /terser@5.19.2: resolution: {integrity: sha512-qC5+dmecKJA4cpYxRa5aVkKehYsQKc+AHeKl0Oe62aYjBL8ZA33tTljktDHJSaxxMnbI5ZYw+o/S2DxxLu8OfA==} engines: {node: '>=10'} @@ -9987,6 +9424,7 @@ packages: acorn: 8.10.0 commander: 2.20.3 source-map-support: 0.5.21 + dev: false /test-exclude@6.0.0: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} @@ -10158,8 +9596,8 @@ packages: /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - /tsup@7.0.0(typescript@5.2.2): - resolution: {integrity: sha512-yYARDRkPq07mO3YUXTvF12ISwWQG57Odve8aFEgLdHyeGungxuKxb19yf9G0W8y59SZFkLnRj1gkoVk1gd5fbQ==} + /tsup@7.2.0(typescript@5.2.2): + resolution: {integrity: sha512-vDHlczXbgUvY3rWvqFEbSqmC1L7woozbzngMqTtL2PGBODTtWlRwGDDawhvWzr5c1QjKe4OAKqJGfE1xeXUvtQ==} engines: {node: '>=16.14'} hasBin: true peerDependencies: @@ -10184,7 +9622,7 @@ packages: joycon: 3.1.1 postcss-load-config: 4.0.1 resolve-from: 5.0.0 - rollup: 3.23.0 + rollup: 3.28.1 source-map: 0.8.0-beta.0 sucrase: 3.34.0 tree-kill: 1.2.2 @@ -10284,16 +9722,11 @@ packages: is-typedarray: 1.0.0 dev: true - /typescript@4.9.5: - resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==} - engines: {node: '>=4.2.0'} - hasBin: true - dev: true - /typescript@5.2.2: resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} engines: {node: '>=14.17'} hasBin: true + dev: true /ufo@1.3.0: resolution: {integrity: sha512-bRn3CsoojyNStCZe0BG0Mt4Nr/4KF+rhFlnNXybgqt5pXHNFRlqinSoQaTrGyzE4X8aHplSb+TorH+COin9Yxw==} @@ -10340,6 +9773,7 @@ packages: /universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} + dev: false /universalify@0.2.0: resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} @@ -10349,6 +9783,7 @@ packages: /universalify@2.0.0: resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} engines: {node: '>= 10.0.0'} + dev: true /unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} @@ -10389,13 +9824,6 @@ packages: /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - /util.promisify@1.0.0: - resolution: {integrity: sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==} - dependencies: - define-properties: 1.2.0 - object.getownpropertydescriptors: 2.1.4 - dev: true - /utils-merge@1.0.1: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} @@ -10405,10 +9833,6 @@ packages: resolution: {integrity: sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==} dev: true - /validate-html-nesting@1.2.2: - resolution: {integrity: sha512-hGdgQozCsQJMyfK5urgFcWEqsSSrK63Awe0t/IMR0bZ0QMtnuaiHzThW81guu3qx9abLi99NEuiaN6P9gVYsNg==} - dev: true - /validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} dependencies: @@ -10462,7 +9886,7 @@ packages: terser: optional: true dependencies: - esbuild: 0.15.9 + esbuild: 0.15.18 postcss: 8.4.16 resolve: 1.22.1 rollup: 2.78.1 diff --git a/scripts/config.js b/scripts/config.js index 2d26bf35e..d08838c5d 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -18,29 +18,19 @@ export const packages = [ packageDir: 'packages/react-form', entries: ['main', 'module', 'types'], }, + { + name: '@tanstack/vue-form', + packageDir: 'packages/vue-form', + entries: ['main', 'module', 'types'], + }, // { - // name: '@tanstack/react-form-devtools', - // packageDir: 'packages/react-form-devtools', - // entries: ['main', 'module', 'types'], - // }, - // { - // name: '@tanstack/react-form-persist-client', - // packageDir: 'packages/react-form-persist-client', - // entries: ['main', 'module', 'types'], - // }, - // { - // name: '@tanstack/solid-form', - // packageDir: 'packages/solid-form', - // entries: ['main', 'module', 'types'], - // }, - // { - // name: '@tanstack/svelte-form', - // packageDir: 'packages/svelte-form', + // name: '@tanstack/solid-store', + // packageDir: 'packages/solid-store', // entries: ['main', 'module', 'types'], // }, // { - // name: '@tanstack/vue-form', - // packageDir: 'packages/vue-form', + // name: '@tanstack/svelte-store', + // packageDir: 'packages/svelte-store', // entries: ['main', 'module', 'types'], // }, ] diff --git a/scripts/getRollupConfig.js b/scripts/getRollupConfig.js deleted file mode 100644 index a845282e1..000000000 --- a/scripts/getRollupConfig.js +++ /dev/null @@ -1,240 +0,0 @@ -// @ts-check - -import { resolve } from 'node:path' -import { babel } from '@rollup/plugin-babel' -import { visualizer } from 'rollup-plugin-visualizer' -import replace from '@rollup/plugin-replace' -import { nodeResolve } from '@rollup/plugin-node-resolve' -import commonJS from '@rollup/plugin-commonjs' -import externals from 'rollup-plugin-node-externals' -import preserveDirectives from 'rollup-plugin-preserve-directives' -import { rootDir } from './config.js' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' -import esbuild from 'rollup-plugin-esbuild' - -/** @param {'development' | 'production'} type */ -const forceEnvPlugin = (type) => - replace({ - 'process.env.NODE_ENV': `"${type}"`, - delimiters: ['', ''], - preventAssignment: true, - }) - -/** @param {'legacy' | 'modern'} type */ -const babelPlugin = (type) => - babel({ - configFile: resolve(rootDir, 'babel.config.cjs'), - browserslistConfigFile: type === 'modern' ? true : false, - targets: - type === 'modern' - ? '' - : { - chrome: '73', - firefox: '78', - edge: '79', - safari: '12', - ios: '12', - opera: '53', - }, - babelHelpers: 'bundled', - exclude: /node_modules/, - extensions: ['.ts', '.tsx'], - }) - -/** - * @param {Object} opts - Options for building configurations. - * @param {string} opts.name - The name. - * @param {string} opts.outputFile - The output file. - * @param {string} opts.entryFile - The entry file. - * @param {boolean} [opts.bundleDeps] - Flag indicating whether to make all deps external. - * @param {boolean} [opts.forceDevEnv] - Flag indicating whether to force development environment. - * @param {boolean} [opts.forceBundle] - Flag indicating whether to force bundling. - * @returns {import('rollup').RollupOptions[]} - */ -export function buildConfigs(opts) { - return [modernConfig(opts), legacyConfig(opts)] -} - -/** - * @param {Object} opts - Options for building configurations. - * @param {string} opts.name - The name. - * @param {string} opts.outputFile - The output file. - * @param {string} opts.entryFile - The entry file. - * @param {boolean} [opts.bundleDeps] - Flag indicating whether to make all deps external. - * @param {boolean} [opts.forceDevEnv] - Flag indicating whether to force development environment. - * @param {boolean} [opts.forceBundle] - Flag indicating whether to force bundling. - * @returns {import('rollup').RollupOptions} - */ -function modernConfig(opts) { - const forceDevEnv = opts.forceDevEnv || false - const forceBundle = opts.forceBundle || false - const bundleDeps = opts.bundleDeps || false - - /** @type {import('rollup').OutputOptions[]} */ - const bundleOutput = [ - { - format: 'esm', - file: `./build/lib/${opts.outputFile}.js`, - sourcemap: true, - }, - { - format: 'cjs', - file: `./build/lib/${opts.outputFile}.cjs`, - sourcemap: true, - exports: 'named', - }, - ] - - /** @type {import('rollup').OutputOptions[]} */ - const normalOutput = [ - { - format: 'esm', - dir: `./build/lib`, - sourcemap: true, - preserveModules: true, - entryFileNames: '[name].js', - }, - { - format: 'cjs', - dir: `./build/lib`, - sourcemap: true, - exports: 'named', - preserveModules: true, - entryFileNames: '[name].cjs', - }, - ] - - return { - input: [opts.entryFile], - output: forceBundle ? bundleOutput : normalOutput, - plugins: [ - vue({ - isProduction: true, - }), - vueJsx({ - exclude: [ - './packages/solid-form/**', - './packages/svelte-form/**', - './packages/react-form/**', - ], - }), - commonJS(), - esbuild({ - exclude: [], - loaders: { - '.vue': 'ts', - }, - define: { - 'process.env.NODE_ENV': JSON.stringify('production'), - }, - }), - babelPlugin('modern'), - nodeResolve({ extensions: ['.ts', '.tsx'] }), - forceDevEnv ? forceEnvPlugin('development') : undefined, - bundleDeps - ? undefined - : externals({ - packagePath: './package.json', - deps: true, - devDeps: true, - peerDeps: true, - }), - preserveDirectives(), - visualizer({ - filename: `./build/stats.html`, - template: 'treemap', - gzipSize: true, - }), - ], - } -} - -/** - * @param {Object} opts - Options for building configurations. - * @param {string} opts.name - The name. - * @param {string} opts.outputFile - The output file. - * @param {string} opts.entryFile - The entry file. - * @param {boolean} [opts.bundleDeps] - Flag indicating whether to make all deps external. - * @param {boolean} [opts.forceDevEnv] - Flag indicating whether to force development environment. - * @param {boolean} [opts.forceBundle] - Flag indicating whether to force bundling. - * @returns {import('rollup').RollupOptions} - */ -function legacyConfig(opts) { - const forceDevEnv = opts.forceDevEnv || false - const forceBundle = opts.forceBundle || false - const bundleDeps = opts.bundleDeps || false - - /** @type {import('rollup').OutputOptions[]} */ - const bundleOutput = [ - { - format: 'esm', - file: `./build/lib/${opts.outputFile}.legacy.js`, - sourcemap: true, - }, - { - format: 'cjs', - file: `./build/lib/${opts.outputFile}.legacy.cjs`, - sourcemap: true, - exports: 'named', - }, - ] - - /** @type {import('rollup').OutputOptions[]} */ - const normalOutput = [ - { - format: 'esm', - dir: `./build/lib`, - sourcemap: true, - preserveModules: true, - entryFileNames: '[name].legacy.js', - }, - { - format: 'cjs', - dir: `./build/lib`, - sourcemap: true, - exports: 'named', - preserveModules: true, - entryFileNames: '[name].legacy.cjs', - }, - ] - - return { - input: [opts.entryFile], - output: forceBundle ? bundleOutput : normalOutput, - plugins: [ - vue({ - isProduction: true, - }), - vueJsx({ - exclude: [ - './packages/solid-form/**', - './packages/svelte-form/**', - './packages/react-form/**', - ], - }), - commonJS(), - esbuild({ - exclude: [], - loaders: { - '.vue': 'ts', - }, - define: { - 'process.env.NODE_ENV': JSON.stringify('production'), - }, - }), - babelPlugin('legacy'), - nodeResolve({ extensions: ['.ts', '.tsx'] }), - forceDevEnv ? forceEnvPlugin('development') : undefined, - bundleDeps - ? undefined - : externals({ - packagePath: './package.json', - deps: true, - devDeps: true, - peerDeps: true, - }), - preserveDirectives(), - ], - } -} diff --git a/scripts/getTsupConfig.js b/scripts/getTsupConfig.js new file mode 100644 index 000000000..28fd7edde --- /dev/null +++ b/scripts/getTsupConfig.js @@ -0,0 +1,39 @@ +// @ts-check + +import { esbuildPluginFilePathExtensions } from 'esbuild-plugin-file-path-extensions' + +/** + * @param {Object} opts - Options for building configurations. + * @param {string[]} opts.entry - The entry array. + * @returns {import('tsup').Options} + */ +export function modernConfig(opts) { + return { + entry: opts.entry, + format: ['cjs', 'esm'], + target: ['chrome91', 'firefox90', 'edge91', 'safari15', 'ios15', 'opera77'], + outDir: 'build/modern', + dts: true, + sourcemap: true, + clean: true, + esbuildPlugins: [esbuildPluginFilePathExtensions({ esmExtension: 'js' })], + } +} + +/** + * @param {Object} opts - Options for building configurations. + * @param {string[]} opts.entry - The entry array. + * @returns {import('tsup').Options} + */ +export function legacyConfig(opts) { + return { + entry: opts.entry, + format: ['cjs', 'esm'], + target: ['es2020', 'node16'], + outDir: 'build/legacy', + dts: true, + sourcemap: true, + clean: true, + esbuildPlugins: [esbuildPluginFilePathExtensions({ esmExtension: 'js' })], + } +} diff --git a/scripts/publish.js b/scripts/publish.js index a3742f096..609d08648 100644 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -18,8 +18,9 @@ import { branchConfigs, packages, rootDir } from './config.js' const releaseCommitMsg = (version) => `release: v${version}` async function run() { - const branchName = - /** @type {string} */ process.env.BRANCH ?? currentGitBranch() + const branchName = /** @type {string} */ ( + process.env.BRANCH ?? currentGitBranch() + ) const isMainBranch = branchName === 'main' const npmTag = isMainBranch ? 'latest' : branchName @@ -42,7 +43,7 @@ async function run() { .sort(semver.compare) // Get the latest tag - let latestTag = /** @type {string} */ [...tags].pop() + let latestTag = /** @type {string} */ ([...tags].pop()) let range = `${latestTag}..HEAD` // let range = ``; @@ -174,6 +175,7 @@ async function run() { // If a package has a dependency that has been updated, we need to update the // package that depends on it as well. // run this multiple times so that dependencies of dependencies are also included + // changes to query-core affect query-persist-client-core, which affects react-query-persist-client and then indirectly the sync/async persisters for (let runs = 0; runs < 3; runs++) { for (const pkg of packages) { const packageJson = await readPackageJson( @@ -223,17 +225,14 @@ async function run() { ? `Manual Release: ${process.env.TAG}` : await Promise.all( Object.entries( - commitsSinceLatestTag.reduce( - (acc, next) => { - const type = next.parsed.type?.toLowerCase() ?? 'other' - - return { - ...acc, - [type]: [...(acc[type] || []), next], - } - }, - /** @type {Record} */ {}, - ), + commitsSinceLatestTag.reduce((acc, next) => { + const type = next.parsed.type?.toLowerCase() ?? 'other' + + return { + ...acc, + [type]: [...(acc[type] || []), next], + } + }, /** @type {Record} */ ({})), ) .sort( getSorterFn([ @@ -287,7 +286,7 @@ async function run() { : `by ${commit.author.name || commit.author.email}` }` }), - ).then((c) => /** @type {const} */ [type, c]) + ).then((c) => /** @type {const} */ ([type, c])) }), ).then((groups) => { return groups @@ -312,7 +311,7 @@ async function run() { const releaseType = branchConfig.prerelease ? 'prerelease' - : /** @type {const} */ { 0: 'patch', 1: 'minor', 2: 'major' }[ + : /** @type {const} */ ({ 0: 'patch', 1: 'minor', 2: 'major' })[ recommendedReleaseLevel ] diff --git a/scripts/types.d.ts b/scripts/types.d.ts index 1018585a4..d01a0efc2 100644 --- a/scripts/types.d.ts +++ b/scripts/types.d.ts @@ -29,9 +29,9 @@ export type Parsed = { header: string body?: null footer?: null - notes?: null[] | null - references?: null[] | null - mentions?: null[] | null + notes?: Array | null + references?: Array | null + mentions?: Array | null revert?: null raw: string }