diff --git a/package.json b/package.json index 0c94188c..f09caf5f 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "react-is": "18.2.0", "styled-components": "5.3.6", "tslib": "2.5.0", + "vite-plugin-static-copy": "^0.13.1", "watchpack": "2.4.0" }, "devDependencies": { @@ -66,6 +67,7 @@ "@nrwl/nx-cloud": "15.2.1", "@nrwl/nx-plugin": "15.7.1", "@nrwl/react": "15.7.1", + "@nrwl/vite": "15.7.1", "@nrwl/workspace": "15.7.1", "@swc-node/register": "1.6.2", "@swc/cli": "0.1.62", @@ -82,6 +84,7 @@ "@types/watchpack": "2.4.0", "@typescript-eslint/eslint-plugin": "5.56.0", "@typescript-eslint/parser": "5.56.0", + "@vitest/ui": "^0.25.8", "babel-jest": "28.1.1", "babel-plugin-styled-components": "1.10.7", "cypress": "^12.2.0", @@ -96,6 +99,7 @@ "husky": "8.0.3", "jest": "28.1.1", "jest-environment-jsdom": "28.1.1", + "jsdom": "~20.0.3", "jsonc-eslint-parser": "2.2.0", "lint-staged": "13.2.0", "nx": "15.7.1", @@ -105,6 +109,11 @@ "ts-jest": "28.0.5", "ts-node": "10.9.1", "type-fest": "3.6.1", - "typescript": "4.8.4" + "typescript": "4.8.4", + "vite": "^4.0.1", + "vite-plugin-dts": "~1.7.1", + "vite-plugin-eslint": "^1.8.1", + "vite-tsconfig-paths": "^4.0.2", + "vitest": "^0.25.8" } } diff --git a/packages/nx-mesh/executors.json b/packages/nx-mesh/executors.json index 70050e11..5e524ab2 100644 --- a/packages/nx-mesh/executors.json +++ b/packages/nx-mesh/executors.json @@ -8,37 +8,37 @@ "hasher": "./src/executors/validate/hasher" }, "build": { - "implementation": "./src/executors/build/build.impl", + "implementation": "./src/executors/build/build", "schema": "./src/executors/build/schema.json", "description": "Builds artifacts", "hasher": "./src/executors/build/hasher" }, "build-gateway": { - "implementation": "./src/executors/build-gateway/build-gateway.impl", + "implementation": "./src/executors/build-gateway/build-gateway", "schema": "./src/executors/build-gateway/schema.json", "description": "Builds artifacts to be used as an API Gateway", "hasher": "./src/executors/build-gateway/hasher" }, "build-swc": { - "implementation": "./src/executors/build-swc/build-swc.impl", + "implementation": "./src/executors/build-swc/build-swc", "schema": "./src/executors/build-swc/schema.json", "description": "Builds artifacts using SWC.", "hasher": "./src/executors/build-swc/hasher" }, "serve": { - "implementation": "./src/executors/serve/serve.impl", + "implementation": "./src/executors/serve/serve", "schema": "./src/executors/serve/schema.json", "description": "Serves a GraphQL server.", "hasher": "./src/executors/serve/hasher" }, "start": { - "implementation": "./src/executors/start/start.impl", + "implementation": "./src/executors/start/start", "schema": "./src/executors/start/schema.json", "description": "Serves a GraphQL server with GraphQL interface based on your generated artifacts", "hasher": "./src/executors/start/hasher" }, "validate": { - "implementation": "./src/executors/validate/validate.impl", + "implementation": "./src/executors/validate/validate", "schema": "./src/executors/validate/schema.json", "description": "Validates artifacts" } diff --git a/packages/nx-mesh/package.json b/packages/nx-mesh/package.json index 6027c996..20a76c80 100644 --- a/packages/nx-mesh/package.json +++ b/packages/nx-mesh/package.json @@ -21,12 +21,7 @@ "@nrwl/workspace": "^15.7.1", "@swc-node/register": "^1.6.2", "@swc/core": "^1.3.42", - "@swc/helpers": "^0.4.14", - "fs-extra": "^10.1.0", - "get-port": "5.1.1", - "tslib": "^2.5.0", - "type-fest": "^2.18.0", - "watchpack": "^2.4.0" + "@swc/helpers": "^0.4.14" }, "keywords": [ "Monorepo", @@ -55,5 +50,6 @@ }, "exports": { "./package.json": "./package.json" - } + }, + "type": "commonjs" } diff --git a/packages/nx-mesh/project.json b/packages/nx-mesh/project.json index 05b95f52..f27829fb 100644 --- a/packages/nx-mesh/project.json +++ b/packages/nx-mesh/project.json @@ -5,6 +5,13 @@ "projectType": "library", "targets": { "build": { + "executor": "@nrwl/vite:build", + "outputs": ["{options.outputPath}"], + "options": { + "outputPath": "dist/packages/nx-mesh" + } + }, + "build-swc": { "executor": "@nrwl/js:swc", "outputs": ["{options.outputPath}"], "options": { diff --git a/packages/nx-mesh/src/executors/build-gateway/build-gateway.impl.ts b/packages/nx-mesh/src/executors/build-gateway/build-gateway.ts similarity index 96% rename from packages/nx-mesh/src/executors/build-gateway/build-gateway.impl.ts rename to packages/nx-mesh/src/executors/build-gateway/build-gateway.ts index ba1b90f9..8faea1c8 100644 --- a/packages/nx-mesh/src/executors/build-gateway/build-gateway.impl.ts +++ b/packages/nx-mesh/src/executors/build-gateway/build-gateway.ts @@ -3,7 +3,7 @@ import type { ExecutorContext } from '@nrwl/devkit'; import { logger } from '@nrwl/devkit'; import { directoryExists } from '@nrwl/workspace/src/utilities/fileutils'; import { copySync, mkdir } from 'fs-extra'; -import { join, resolve } from 'path'; +import { join, resolve } from 'node:path'; import { createPackageJson } from '../../utils'; import { runMeshCli } from '../../utils/mesh-cli'; diff --git a/packages/nx-mesh/src/executors/build-gateway/index.ts b/packages/nx-mesh/src/executors/build-gateway/index.ts new file mode 100644 index 00000000..98390255 --- /dev/null +++ b/packages/nx-mesh/src/executors/build-gateway/index.ts @@ -0,0 +1,3 @@ +export * from './build-gateway'; +export * from './hasher'; +export * from './schema'; diff --git a/packages/nx-mesh/src/executors/build-swc/build-swc.impl.ts b/packages/nx-mesh/src/executors/build-swc/build-swc.ts similarity index 98% rename from packages/nx-mesh/src/executors/build-swc/build-swc.impl.ts rename to packages/nx-mesh/src/executors/build-swc/build-swc.ts index 15ff5555..ea15dc06 100644 --- a/packages/nx-mesh/src/executors/build-swc/build-swc.impl.ts +++ b/packages/nx-mesh/src/executors/build-swc/build-swc.ts @@ -1,7 +1,7 @@ import type { ExecutorContext } from '@nrwl/devkit'; import { logger } from '@nrwl/devkit'; -import { join, resolve } from 'path'; +import { join, resolve } from 'node:path'; import { createPackageJson, watcher } from '../../utils'; import { runCodegenCli } from '../../utils/graphql-codegen-cli'; diff --git a/packages/nx-mesh/src/executors/build-swc/index.ts b/packages/nx-mesh/src/executors/build-swc/index.ts new file mode 100644 index 00000000..22d1b7c8 --- /dev/null +++ b/packages/nx-mesh/src/executors/build-swc/index.ts @@ -0,0 +1,3 @@ +export * from './build-swc'; +export * from './hasher'; +export * from './schema'; diff --git a/packages/nx-mesh/src/executors/build-swc/swc-executor/compile-swc.ts b/packages/nx-mesh/src/executors/build-swc/swc-executor/compile-swc.ts index 4c6a51b8..b4cd2f76 100644 --- a/packages/nx-mesh/src/executors/build-swc/swc-executor/compile-swc.ts +++ b/packages/nx-mesh/src/executors/build-swc/swc-executor/compile-swc.ts @@ -5,7 +5,7 @@ // @ts-nocheck import { cacheDir, ExecutorContext, logger } from '@nrwl/devkit'; -import { exec, execSync } from 'child_process'; +import { exec, execSync } from 'node:child_process'; import { removeSync } from 'fs-extra'; import { createAsyncIterable } from '@nrwl/devkit/src/utils/async-iterable'; import { diff --git a/packages/nx-mesh/src/executors/build-swc/swc-executor/swc.impl.ts b/packages/nx-mesh/src/executors/build-swc/swc-executor/swc.impl.ts index 29f7faae..d52baa68 100644 --- a/packages/nx-mesh/src/executors/build-swc/swc-executor/swc.impl.ts +++ b/packages/nx-mesh/src/executors/build-swc/swc-executor/swc.impl.ts @@ -1,7 +1,7 @@ /* eslint-disable */ // Modifed version of Nx SWC executor -// https://github.com/nrwl/nx/blob/master/packages/js/src/executors/swc/swc.impl.ts +// https://github.com/nrwl/nx/blob/master/packages/js/src/executors/swc/swc.ts // @ts-nocheck import { ExecutorContext } from '@nrwl/devkit'; import { @@ -9,7 +9,7 @@ import { FileInputOutput, } from '@nrwl/workspace/src/utilities/assets'; import { removeSync } from 'fs-extra'; -import { dirname, join, relative, resolve } from 'path'; +import { dirname, join, relative, resolve } from 'node:path'; import { copyAssets } from '@nrwl/js/src/utils/assets'; import { checkDependencies } from '@nrwl/js/src/utils/check-dependencies'; import { diff --git a/packages/nx-mesh/src/executors/build/build.impl.ts b/packages/nx-mesh/src/executors/build/build.ts similarity index 98% rename from packages/nx-mesh/src/executors/build/build.impl.ts rename to packages/nx-mesh/src/executors/build/build.ts index 89713b4f..eb6e2eb8 100644 --- a/packages/nx-mesh/src/executors/build/build.impl.ts +++ b/packages/nx-mesh/src/executors/build/build.ts @@ -2,7 +2,7 @@ import type { ExecutorContext } from '@nrwl/devkit'; import { logger } from '@nrwl/devkit'; import { tscExecutor } from '@nrwl/js/src/executors/tsc/tsc.impl'; -import { resolve } from 'path'; +import { resolve } from 'node:path'; import { createPackageJson, watcher } from '../../utils'; import { runCodegenCli } from '../../utils/graphql-codegen-cli'; diff --git a/packages/nx-mesh/src/executors/build/index.ts b/packages/nx-mesh/src/executors/build/index.ts new file mode 100644 index 00000000..f168df6f --- /dev/null +++ b/packages/nx-mesh/src/executors/build/index.ts @@ -0,0 +1,3 @@ +export * from './build'; +export * from './hasher'; +export * from './schema'; diff --git a/packages/nx-mesh/src/executors/dev/executor.ts b/packages/nx-mesh/src/executors/dev/dev.ts similarity index 97% rename from packages/nx-mesh/src/executors/dev/executor.ts rename to packages/nx-mesh/src/executors/dev/dev.ts index df7147ec..845fed9e 100644 --- a/packages/nx-mesh/src/executors/dev/executor.ts +++ b/packages/nx-mesh/src/executors/dev/dev.ts @@ -1,7 +1,7 @@ import type { ExecutorContext } from '@nrwl/devkit'; import { logger } from '@nrwl/devkit'; -import { resolve } from 'path'; +import { resolve } from 'node:path'; import { childProcess, runMeshCli } from '../../utils/mesh-cli'; import getServeLocation from './lib/get-serve-location'; diff --git a/packages/nx-mesh/src/executors/dev/index.ts b/packages/nx-mesh/src/executors/dev/index.ts new file mode 100644 index 00000000..76ac0299 --- /dev/null +++ b/packages/nx-mesh/src/executors/dev/index.ts @@ -0,0 +1,3 @@ +export * from './dev'; +export * from './hasher'; +export * from './schema'; diff --git a/packages/nx-mesh/src/executors/index.ts b/packages/nx-mesh/src/executors/index.ts new file mode 100644 index 00000000..e101d6da --- /dev/null +++ b/packages/nx-mesh/src/executors/index.ts @@ -0,0 +1,7 @@ +export * from './build'; +export * from './build-gateway'; +export * from './build-swc'; +export * from './dev'; +export * from './serve'; +export * from './start'; +export * from './validate'; diff --git a/packages/nx-mesh/src/executors/serve/index.ts b/packages/nx-mesh/src/executors/serve/index.ts new file mode 100644 index 00000000..ea66c4a5 --- /dev/null +++ b/packages/nx-mesh/src/executors/serve/index.ts @@ -0,0 +1,3 @@ +export * from './serve'; +export * from './hasher'; +export * from './schema'; diff --git a/packages/nx-mesh/src/executors/serve/serve.impl.ts b/packages/nx-mesh/src/executors/serve/serve.ts similarity index 78% rename from packages/nx-mesh/src/executors/serve/serve.impl.ts rename to packages/nx-mesh/src/executors/serve/serve.ts index 6dde03fe..339c64cc 100644 --- a/packages/nx-mesh/src/executors/serve/serve.impl.ts +++ b/packages/nx-mesh/src/executors/serve/serve.ts @@ -2,8 +2,8 @@ import type { ExecutorContext } from '@nrwl/devkit'; import type { ServeExecutorSchema } from './schema'; -import { devExecutor } from '../dev/executor'; -import { startExecutor } from '../start/start.impl'; +import { devExecutor } from '../dev/dev'; +import { startExecutor } from '../start/start'; export async function* serveExecutor( options: ServeExecutorSchema, diff --git a/packages/nx-mesh/src/executors/start/index.ts b/packages/nx-mesh/src/executors/start/index.ts new file mode 100644 index 00000000..e66f1a38 --- /dev/null +++ b/packages/nx-mesh/src/executors/start/index.ts @@ -0,0 +1,3 @@ +export * from './start'; +export * from './hasher'; +export * from './schema'; diff --git a/packages/nx-mesh/src/executors/start/start.impl.ts b/packages/nx-mesh/src/executors/start/start.ts similarity index 97% rename from packages/nx-mesh/src/executors/start/start.impl.ts rename to packages/nx-mesh/src/executors/start/start.ts index f0346f6a..b4ec0cc9 100644 --- a/packages/nx-mesh/src/executors/start/start.impl.ts +++ b/packages/nx-mesh/src/executors/start/start.ts @@ -1,7 +1,7 @@ import type { ExecutorContext } from '@nrwl/devkit'; import { logger } from '@nrwl/devkit'; -import { resolve } from 'path'; +import { resolve } from 'node:path'; import { childProcess, runMeshCli } from '../../utils/mesh-cli'; import getServeLocation from './lib/get-serve-location'; diff --git a/packages/nx-mesh/src/executors/validate/index.ts b/packages/nx-mesh/src/executors/validate/index.ts new file mode 100644 index 00000000..148183b2 --- /dev/null +++ b/packages/nx-mesh/src/executors/validate/index.ts @@ -0,0 +1,3 @@ +export * from './validate'; +export * from './hasher'; +export * from './schema'; diff --git a/packages/nx-mesh/src/executors/validate/validate.impl.ts b/packages/nx-mesh/src/executors/validate/validate.ts similarity index 95% rename from packages/nx-mesh/src/executors/validate/validate.impl.ts rename to packages/nx-mesh/src/executors/validate/validate.ts index 66b6d7ab..e251572b 100644 --- a/packages/nx-mesh/src/executors/validate/validate.impl.ts +++ b/packages/nx-mesh/src/executors/validate/validate.ts @@ -1,7 +1,7 @@ import type { ExecutorContext } from '@nrwl/devkit'; import { logger } from '@nrwl/devkit'; -import { resolve } from 'path'; +import { resolve } from 'node:path'; import { runMeshCli } from '../../utils/mesh-cli'; diff --git a/packages/nx-mesh/src/generators/application/index.ts b/packages/nx-mesh/src/generators/application/index.ts new file mode 100644 index 00000000..2b2fe9a8 --- /dev/null +++ b/packages/nx-mesh/src/generators/application/index.ts @@ -0,0 +1 @@ +export * from './application'; diff --git a/packages/nx-mesh/src/generators/base/files/app/tsconfig.app.json b/packages/nx-mesh/src/generators/base/files/app/tsconfig.app.json__tmpl__ similarity index 100% rename from packages/nx-mesh/src/generators/base/files/app/tsconfig.app.json rename to packages/nx-mesh/src/generators/base/files/app/tsconfig.app.json__tmpl__ diff --git a/packages/nx-mesh/src/generators/base/files/app/tsconfig.json b/packages/nx-mesh/src/generators/base/files/app/tsconfig.json__tmpl__ similarity index 100% rename from packages/nx-mesh/src/generators/base/files/app/tsconfig.json rename to packages/nx-mesh/src/generators/base/files/app/tsconfig.json__tmpl__ diff --git a/packages/nx-mesh/src/generators/base/lib/create-files.ts b/packages/nx-mesh/src/generators/base/lib/create-files.ts index 25114a90..426c3a2b 100644 --- a/packages/nx-mesh/src/generators/base/lib/create-files.ts +++ b/packages/nx-mesh/src/generators/base/lib/create-files.ts @@ -3,7 +3,7 @@ import type { Tree } from '@nrwl/devkit'; import type { NormalizedOptions } from './normalize-options'; import { generateFiles } from '@nrwl/devkit'; -import * as path from 'path'; +import * as path from 'node:path'; export function createFiles(tree: Tree, options: NormalizedOptions) { if (options.isApp) { @@ -11,7 +11,7 @@ export function createFiles(tree: Tree, options: NormalizedOptions) { tree, path.join(__dirname, '../files/app'), options.projectDirectory, - options + { ...options, tmpl: '' } ); } diff --git a/packages/nx-mesh/src/generators/index.ts b/packages/nx-mesh/src/generators/index.ts new file mode 100644 index 00000000..2afeaed8 --- /dev/null +++ b/packages/nx-mesh/src/generators/index.ts @@ -0,0 +1,4 @@ +export * from './application'; +export * from './base'; +export * from './preset'; +export * from './sdk'; diff --git a/packages/nx-mesh/src/generators/utils/create-mesh-example/create-codegen-files.ts b/packages/nx-mesh/src/generators/utils/create-mesh-example/create-codegen-files.ts index ebdd0470..cfec11f3 100644 --- a/packages/nx-mesh/src/generators/utils/create-mesh-example/create-codegen-files.ts +++ b/packages/nx-mesh/src/generators/utils/create-mesh-example/create-codegen-files.ts @@ -4,7 +4,7 @@ import type { SetOptional } from 'type-fest'; import type { CreateMeshExampleOptions } from './types'; import { generateFiles } from '@nrwl/devkit'; -import * as path from 'path'; +import * as path from 'node:path'; export function createCodegenFiles( tree: Tree, diff --git a/packages/nx-mesh/src/generators/utils/create-mesh-example/create-shared-files.ts b/packages/nx-mesh/src/generators/utils/create-mesh-example/create-shared-files.ts index 3b8ec01c..fd297aee 100644 --- a/packages/nx-mesh/src/generators/utils/create-mesh-example/create-shared-files.ts +++ b/packages/nx-mesh/src/generators/utils/create-mesh-example/create-shared-files.ts @@ -2,7 +2,7 @@ import type { Tree } from '@nrwl/devkit'; import type { CreateMeshExampleOptions } from './types'; import { generateFiles } from '@nrwl/devkit'; -import * as path from 'path'; +import * as path from 'node:path'; export function createSharedFiles( tree: Tree, diff --git a/packages/nx-mesh/src/index.ts b/packages/nx-mesh/src/index.ts index 04bca77e..69bcd47a 100644 --- a/packages/nx-mesh/src/index.ts +++ b/packages/nx-mesh/src/index.ts @@ -1 +1,2 @@ +export * from './executors'; export * from './utils'; diff --git a/packages/nx-mesh/src/utils/create-package-json.ts b/packages/nx-mesh/src/utils/create-package-json.ts index b5725a8f..a9ce5064 100644 --- a/packages/nx-mesh/src/utils/create-package-json.ts +++ b/packages/nx-mesh/src/utils/create-package-json.ts @@ -5,7 +5,7 @@ import { readCachedProjectGraph, writeJsonFile, } from '@nrwl/devkit'; -import { join } from 'path'; +import { join } from 'node:path'; import { meshPackages } from './mesh-packages'; import { getMeshPackages } from './get-mesh-packages'; diff --git a/packages/nx-mesh/src/utils/get-source-file.ts b/packages/nx-mesh/src/utils/get-source-file.ts index 758b1a01..bd322fa8 100644 --- a/packages/nx-mesh/src/utils/get-source-file.ts +++ b/packages/nx-mesh/src/utils/get-source-file.ts @@ -1,5 +1,5 @@ -import { readFile } from 'fs/promises'; -import { resolve, join } from 'path'; +import { readFile } from 'node:fs/promises'; +import { resolve, join } from 'node:path'; export type GetSourceFileProps = { dir: string; diff --git a/packages/nx-mesh/src/utils/graphql-codegen-cli/cli.ts b/packages/nx-mesh/src/utils/graphql-codegen-cli/cli.ts index 0dab50d8..124d0f81 100644 --- a/packages/nx-mesh/src/utils/graphql-codegen-cli/cli.ts +++ b/packages/nx-mesh/src/utils/graphql-codegen-cli/cli.ts @@ -1,9 +1,9 @@ import type { ExecutorContext } from '@nrwl/devkit'; -import type { ChildProcess, ForkOptions } from 'child_process'; +import type { ChildProcess, ForkOptions } from 'node:child_process'; import type { Arguments } from './arguments'; -import { spawn } from 'child_process'; +import { spawn } from 'node:child_process'; import { getCliArguments, flatternCliArguments } from './arguments'; diff --git a/packages/nx-mesh/src/utils/mesh-cli/cli.ts b/packages/nx-mesh/src/utils/mesh-cli/cli.ts index 13a9e40d..0c480d63 100644 --- a/packages/nx-mesh/src/utils/mesh-cli/cli.ts +++ b/packages/nx-mesh/src/utils/mesh-cli/cli.ts @@ -1,9 +1,9 @@ import type { ExecutorContext } from '@nrwl/devkit'; -import type { ChildProcess, ForkOptions } from 'child_process'; +import type { ChildProcess, ForkOptions } from 'node:child_process'; import type { Command, Options } from './commands'; -import { spawn } from 'child_process'; +import { spawn } from 'node:child_process'; import { flatternCliArguments } from './arguments'; import { getCommandOptions } from './commands'; diff --git a/packages/nx-mesh/src/utils/mesh-cli/commands.ts b/packages/nx-mesh/src/utils/mesh-cli/commands.ts index c0519783..19e31784 100644 --- a/packages/nx-mesh/src/utils/mesh-cli/commands.ts +++ b/packages/nx-mesh/src/utils/mesh-cli/commands.ts @@ -12,7 +12,7 @@ import { getCliEnv } from './env'; export type Command = 'build' | 'dev' | 'serve-source' | 'start' | 'validate'; /** - * Command Options that can be passed to a child_process. + * Command Options that can be passed to a node:child_process. */ export type CommandOptions< TArgs extends Arguments = Arguments, diff --git a/packages/nx-mesh/vite.config.ts b/packages/nx-mesh/vite.config.ts new file mode 100644 index 00000000..3734eb90 --- /dev/null +++ b/packages/nx-mesh/vite.config.ts @@ -0,0 +1,110 @@ +/// + +import { join } from 'node:path'; +import { defineConfig } from 'vite'; +import { viteStaticCopy } from 'vite-plugin-static-copy'; +import viteTsConfigPaths from 'vite-tsconfig-paths'; +import dts from 'vite-plugin-dts'; + +export default defineConfig({ + cacheDir: '../../node_modules/.vite/test', + + plugins: [ + dts({ + entryRoot: 'src', + tsConfigFilePath: join(__dirname, 'tsconfig.lib.json'), + skipDiagnostics: true, + }), + + viteTsConfigPaths({ + root: '../../', + }), + + viteStaticCopy({ + targets: [ + { + src: '../../README.md', + dest: '.', + }, + { + src: '../../LICENSE', + dest: '.', + }, + { + src: '*.md', + dest: '.', + }, + { + src: 'executors.json', + dest: '.', + }, + { + src: 'generators.json', + dest: '.', + }, + { + src: 'migrations.json', + dest: '.', + }, + ], + }), + ], + + // Uncomment this if you are using workers. + // worker: { + // plugins: [ + // viteTsConfigPaths({ + // root: '../../', + // }), + // ], + // }, + + // Configuration for building your library. + // See: https://vitejs.dev/guide/build.html#library-mode + build: { + lib: { + // Could also be a dictionary or array of multiple entry points. + entry: ['src/index.ts', 'src/'], + name: 'nx-mesh', + fileName: 'index', + // Change this to the formats you want to support. + // Don't forgot to update your package.json as well. + formats: ['es', 'cjs'], + }, + rollupOptions: { + // External packages that should not be bundled into your library. + external: [ + '@graphql-mesh/cli', + '@nrwl/cypress', + '@nrwl/devkit', + '@nrwl/devkit/src/utils/async-iterable', + '@nrwl/js', + '@nrwl/js/src/executors/tsc/tsc.impl', + '@nrwl/js/src/utils/assets', + '@nrwl/js/src/utils/check-dependencies', + '@nrwl/js/src/utils/compiler-helper-dependency', + '@nrwl/js/src/utils/inline', + '@nrwl/js/src/utils/package-json', + '@nrwl/js/src/utils/schema', + '@nrwl/js/src/utils/schema', + '@nrwl/js/src/utils/swc/get-swcrc-path', + '@nrwl/js/src/utils/swc/inline', + '@nrwl/js/src/utils/typescript/print-diagnostics', + '@nrwl/js/src/utils/typescript/run-type-check', + '@nrwl/linter', + '@nrwl/node', + '@nrwl/workspace', + '@nrwl/workspace/src/utilities/assets', + '@nrwl/workspace/src/utilities/fileutils', + '@swc-node/register', + '@swc/core', + '@swc/helpers', + 'graphql', + 'node:child_process', + 'node:fs/promises', + 'node:path', + 'nx', + ], + }, + }, +}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 13d6c662..e270db25 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,6 +36,7 @@ importers: '@nrwl/nx-cloud': 15.2.1 '@nrwl/nx-plugin': 15.7.1 '@nrwl/react': 15.7.1 + '@nrwl/vite': 15.7.1 '@nrwl/workspace': 15.7.1 '@swc-node/register': 1.6.2 '@swc/cli': 0.1.62 @@ -53,6 +54,7 @@ importers: '@types/watchpack': 2.4.0 '@typescript-eslint/eslint-plugin': 5.56.0 '@typescript-eslint/parser': 5.56.0 + '@vitest/ui': ^0.25.8 babel-jest: 28.1.1 babel-plugin-styled-components: 1.10.7 cypress: ^12.2.0 @@ -71,6 +73,7 @@ importers: jest: 28.1.1 jest-environment-jsdom: 28.1.1 jest_workaround: ^0.69.0 + jsdom: ~20.0.3 jsonc-eslint-parser: 2.2.0 lint-staged: 13.2.0 next: 13.1.1 @@ -87,6 +90,12 @@ importers: tslib: 2.5.0 type-fest: 3.6.1 typescript: 4.8.4 + vite: ^4.0.1 + vite-plugin-dts: ~1.7.1 + vite-plugin-eslint: ^1.8.1 + vite-plugin-static-copy: ^0.13.1 + vite-tsconfig-paths: ^4.0.2 + vitest: ^0.25.8 watchpack: 2.4.0 dependencies: '@graphql-codegen/cli': 3.2.2_xfoe4adolgvm4tvnio5xigcr6e @@ -118,6 +127,7 @@ importers: react-is: 18.2.0 styled-components: 5.3.6_7i5myeigehqah43i5u7wbekgba tslib: 2.5.0 + vite-plugin-static-copy: 0.13.1_vite@4.2.1 watchpack: 2.4.0 devDependencies: '@changesets/changelog-github': 0.4.8 @@ -134,6 +144,7 @@ importers: '@nrwl/nx-cloud': 15.2.1 '@nrwl/nx-plugin': 15.7.1_vcikiox2al4nh7lor6nffaclbi '@nrwl/react': 15.7.1_vrlzavbrlewom5mddifopf3ydy + '@nrwl/vite': 15.7.1_nc4yi2csj5owjlmjsrwcdxdxcm '@nrwl/workspace': 15.7.1_rjvtl4nds7aw5cb3weefmbx74u '@swc-node/register': 1.6.2_un75kqwz4lxw3jlrcmkimcdqmi '@swc/cli': 0.1.62_@swc+core@1.3.42 @@ -150,6 +161,7 @@ importers: '@types/watchpack': 2.4.0 '@typescript-eslint/eslint-plugin': 5.56.0_ldbltef7towbem5h7qak2pmw6e '@typescript-eslint/parser': 5.56.0_oy7hgmlo6357d5kkcjbkfgtg4q + '@vitest/ui': 0.25.8 babel-jest: 28.1.1 babel-plugin-styled-components: 1.10.7_styled-components@5.3.6 cypress: 12.7.0 @@ -164,6 +176,7 @@ importers: husky: 8.0.3 jest: 28.1.1_odkjkoia5xunhxkdrka32ib6vi jest-environment-jsdom: 28.1.1 + jsdom: 20.0.3 jsonc-eslint-parser: 2.2.0 lint-staged: 13.2.0 nx: 15.7.1_cuaypwimdup25vwsqc5i3ttbya @@ -174,6 +187,11 @@ importers: ts-node: 10.9.1_lnmuhae43o2bjbwuk2msdxdsym type-fest: 3.6.1 typescript: 4.8.4 + vite: 4.2.1_@types+node@18.11.9 + vite-plugin-dts: 1.7.3_ibxihpjazi5khnqkke2rzmiwcu + vite-plugin-eslint: 1.8.1_eslint@8.15.0+vite@4.2.1 + vite-tsconfig-paths: 4.0.7_ykl3btyxss5evtm5m64d6se6z4 + vitest: 0.25.8_eetf2xjpdhuqcs2dx4ndfgw7iq packages/nx-mesh: specifiers: @@ -2170,6 +2188,182 @@ packages: tslib: 2.5.0 dev: false + /@esbuild/android-arm/0.17.13: + resolution: {integrity: sha512-5tZZ/hLIfBmt7E8JsE5KbsknoAFmoElkg+A/gjyPtmSQvJjPf+9GsSJihid8VMa08lrsYyaEXOT9RLh3xXQONw==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + optional: true + + /@esbuild/android-arm64/0.17.13: + resolution: {integrity: sha512-F5DgvJMV2ZEpLNpPCO7FEk1wy8O5tg6cikWSB6uvvncsgE1xgbPlm+Boio/4820C2/mj713X83X1h01v0qoeHg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + optional: true + + /@esbuild/android-x64/0.17.13: + resolution: {integrity: sha512-5m1UUslzpfVrumG3m3Zv2x9VNAcvMOQWJy009y6jt10tcHpzIq2/b0I0k4fz0QYqGSNS1GteRIhVPN4H7OyCXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + optional: true + + /@esbuild/darwin-arm64/0.17.13: + resolution: {integrity: sha512-TXbXp/05r7heRsG8yWwbHw9diay+wXIyRNcIHFoNARRIGahYbTW/qwJzE37zkfxLIUPHgR/SyLTUlnTICg14ag==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + optional: true + + /@esbuild/darwin-x64/0.17.13: + resolution: {integrity: sha512-Ku9Db2sblCxFvQdEO7X9nBaLR/S81uch81e2Q2+Os5z1NcnsFjuqhIYH0Gm6KNNpIKaEbC7gCLbiIPbLLMX4Pg==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + optional: true + + /@esbuild/freebsd-arm64/0.17.13: + resolution: {integrity: sha512-t1T5/nIf2j+FdSf1Fa3dcU0cXycr0nK4xJe52qjWa+1I249mM5NBY1ODjiabZxZ0x3CG05y4fd9bxfDLy9kQtA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + optional: true + + /@esbuild/freebsd-x64/0.17.13: + resolution: {integrity: sha512-/zbkgEO4gY2qGZr9UNAGI38w/FwUY4bx4EC88k9VeiCKNr3ukNgwH/oIgB5Z9/OqpkNLlcS4w9e2d/MIiy5fbw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + optional: true + + /@esbuild/linux-arm/0.17.13: + resolution: {integrity: sha512-RrhjzrCF6aCDH248nUAQoldnRmN7nHMxv85GOj5AH+qkxxYvcig7fnUmgANngntRu4btXhN9WKHMgQ5seERDMw==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + optional: true + + /@esbuild/linux-arm64/0.17.13: + resolution: {integrity: sha512-siu3QZrQ7eGrSttvFaRKyjT7kNRbUuHEKzCCyqRh19MbpGokGY13jbIsBEjx6JmH3T50hds325oweS9Ey2ihAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + optional: true + + /@esbuild/linux-ia32/0.17.13: + resolution: {integrity: sha512-ADHA1PqP5gIegehVP0RvxMmNPxpLgetI8QCwYOjUheGXKIKWSdUN8ZS3rusQv3NGZmFCpYdMZzFoI0QtzzGAdw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + optional: true + + /@esbuild/linux-loong64/0.17.13: + resolution: {integrity: sha512-n1JQPxETmR0brkpWlJHeohReEPLH+m00bnJdNnFyHN3zLBt1QypevuZSmnmFWsC+7r7HTwWILj3lBDjtPH3ydg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + optional: true + + /@esbuild/linux-mips64el/0.17.13: + resolution: {integrity: sha512-d0pnD/j5KKQ43xtSIvOD+wNIy6D/Vh9GbXVRa3u4zCyiJMYWjxkPkbBzlEgNjdDmUM+5gBFen9k7B8Xscy+Myg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + optional: true + + /@esbuild/linux-ppc64/0.17.13: + resolution: {integrity: sha512-C9sMpa/VcGLjVtsT01sXtzZNS7bAZ+icUclkKkiUwBQ9hzT+J+/Xpj+EykI5hB3KgtxQVo4XUahanFoZNxbQ1g==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + optional: true + + /@esbuild/linux-riscv64/0.17.13: + resolution: {integrity: sha512-jYkc5EpNpvjccAHNYekiAtklusVGWftR0VVLtng7dJzDyy+5adAsf1fOG3LllP0WALxS55/w6boLE/728J/bXw==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + optional: true + + /@esbuild/linux-s390x/0.17.13: + resolution: {integrity: sha512-4jAJI5O6E/hATL4lsrG2A+noDjZ377KlATVFKwV3SWaNHj+OvoXe/T84ScQIXEtPI7ndJyLkMYruXj8RR5Ilyw==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + optional: true + + /@esbuild/linux-x64/0.17.13: + resolution: {integrity: sha512-eFLQhJq98qijGRcv9je/9M4Mz1suZ+pOtj62ArsLd0gubNGhhQDz6T30X2X3f1KZ8lkKkr+zN5vtZzx1GAMoFw==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + optional: true + + /@esbuild/netbsd-x64/0.17.13: + resolution: {integrity: sha512-F8PXDeT+3eQpPjf4bmNJapPLu0SKKlWRGPQvBQqVS+YDGoMKnyyYp2UENLFMV8zT7kS39zKxZRZvUL3fMz/7Ww==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + optional: true + + /@esbuild/openbsd-x64/0.17.13: + resolution: {integrity: sha512-9jWfzbFCnIZdHjNs+00KQHArUbp7kjQDNmiuqkwGOQFs67m4/dKNupBv2DP5hTqVlQY4tW4RG3qpb6Y3zOHJeA==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + optional: true + + /@esbuild/sunos-x64/0.17.13: + resolution: {integrity: sha512-ALbOMlTIBkAVi6KqYjONa7u2oH95RN7OpetFqMtjufFLBiSaayRuwUzhs2yuR9CfGT4qi0jv6HQDav+EG314TQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + optional: true + + /@esbuild/win32-arm64/0.17.13: + resolution: {integrity: sha512-FJBLYL4PkrZGeuHzEqme+0DjNetxkJ+XbB+Aoeow7aQ53JCwsA0/mo8sS5aPkDHgCnMkN4A5GLoFTlDj3BKDrQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + optional: true + + /@esbuild/win32-ia32/0.17.13: + resolution: {integrity: sha512-Qrvst9RkLz4qgi3hqswNliYuKW92/HGJnd7xLWkGaGPa8S4qsONf81FW0ebDc5iUHb0I7QJwQATutvghTabnFA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + optional: true + + /@esbuild/win32-x64/0.17.13: + resolution: {integrity: sha512-pZ/NIgz861XaUPlIkPFjP55nJ4PJa0o/CD4zgeRb1Q9FVE+8GvdB6ifJcK05jRhny5hKExhnRFIdgHmmCYH8vg==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + optional: true + /@eslint-community/eslint-utils/4.3.0_eslint@8.15.0: resolution: {integrity: sha512-v3oplH6FYCULtFuCeqyuTd9D2WKO937Dxdq+GmHOLL72TTRriLxz2VLlNfkZRsvj6PKnOPAtuT6dwrs/pA5DvA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -4344,6 +4538,36 @@ packages: read-yaml-file: 1.1.0 dev: true + /@microsoft/api-extractor-model/7.26.4_@types+node@18.11.9: + resolution: {integrity: sha512-PDCgCzXDo+SLY5bsfl4bS7hxaeEtnXj7XtuzEE+BtALp7B5mK/NrS2kHWU69pohgsRmEALycQdaQPXoyT2i5MQ==} + dependencies: + '@microsoft/tsdoc': 0.14.2 + '@microsoft/tsdoc-config': 0.16.2 + '@rushstack/node-core-library': 3.55.2_@types+node@18.11.9 + transitivePeerDependencies: + - '@types/node' + dev: true + + /@microsoft/api-extractor/7.34.4_@types+node@18.11.9: + resolution: {integrity: sha512-HOdcci2nT40ejhwPC3Xja9G+WSJmWhCUKKryRfQYsmE9cD+pxmBaKBKCbuS9jUcl6bLLb4Gz+h7xEN5r0QiXnQ==} + hasBin: true + dependencies: + '@microsoft/api-extractor-model': 7.26.4_@types+node@18.11.9 + '@microsoft/tsdoc': 0.14.2 + '@microsoft/tsdoc-config': 0.16.2 + '@rushstack/node-core-library': 3.55.2_@types+node@18.11.9 + '@rushstack/rig-package': 0.3.18 + '@rushstack/ts-command-line': 4.13.2 + colors: 1.2.5 + lodash: 4.17.21 + resolve: 1.22.1 + semver: 7.3.8 + source-map: 0.6.1 + typescript: 4.8.4 + transitivePeerDependencies: + - '@types/node' + dev: true + /@microsoft/eslint-formatter-sarif/3.0.0: resolution: {integrity: sha512-KIKkT44hEqCzqxODYwFMUvYEK0CrdHx/Ll9xiOWgFbBSRuzbxmVy4d/tzfgoucGz72HJZNOMjuyzFTBKntRK5Q==} engines: {node: '>= 14'} @@ -4356,6 +4580,19 @@ packages: - supports-color dev: true + /@microsoft/tsdoc-config/0.16.2: + resolution: {integrity: sha512-OGiIzzoBLgWWR0UdRJX98oYO+XKGf7tiK4Zk6tQ/E4IJqGCe7dvkTvgDZV5cFJUzLGDOjeAXrnZoA6QkVySuxw==} + dependencies: + '@microsoft/tsdoc': 0.14.2 + ajv: 6.12.6 + jju: 1.4.0 + resolve: 1.19.0 + dev: true + + /@microsoft/tsdoc/0.14.2: + resolution: {integrity: sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==} + dev: true + /@mole-inc/bin-wrapper/8.0.1: resolution: {integrity: sha512-sTGoeZnjI8N4KS+sW2AN95gDBErhAguvkw/tWdCjeM8bvxpz5lqrnd0vOJABA1A+Ic3zED7PYoLP/RANLgVotA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -5277,6 +5514,32 @@ packages: - debug dev: false + /@nrwl/vite/15.7.1_nc4yi2csj5owjlmjsrwcdxdxcm: + resolution: {integrity: sha512-rnud9y4rm3iD5i3JlHlKwvpRifCeKCdUF8LgQG8R7M3gQJD2mDaOFwG6Pd81p7JAhjGm42geMVhNFEW3uiaLCA==} + peerDependencies: + vite: ^4.0.1 + vitest: ^0.25.8 + dependencies: + '@nrwl/devkit': 15.7.1_nx@15.7.1+typescript@4.8.4 + '@nrwl/js': 15.7.1_vrlzavbrlewom5mddifopf3ydy + '@nrwl/workspace': 15.7.1_rjvtl4nds7aw5cb3weefmbx74u + '@phenomnomnominal/tsquery': 4.1.1_typescript@4.8.4 + '@swc/helpers': 0.4.14 + dotenv: 10.0.0 + enquirer: 2.3.6 + vite: 4.2.1_@types+node@18.11.9 + vitest: 0.25.8_eetf2xjpdhuqcs2dx4ndfgw7iq + transitivePeerDependencies: + - '@swc-node/register' + - '@swc/core' + - debug + - eslint + - nx + - prettier + - supports-color + - typescript + dev: true + /@nrwl/webpack/15.7.1_xtevnxuk7fbn4jltywqimgcx4i: resolution: {integrity: sha512-g+o/kqwtLP1E5RE04TjaM1qP7fGWV32RMSK3w5/Lb4lvL3nLgXvv8AsYsV0j9nY/cn/7EFj+zxb8hAgFsPoESg==} dependencies: @@ -5688,14 +5951,74 @@ packages: tslib: 2.5.0 dev: true + /@polka/url/1.0.0-next.21: + resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} + dev: true + /@repeaterjs/repeater/3.0.4: resolution: {integrity: sha512-AW8PKd6iX3vAZ0vA43nOUOnbq/X5ihgU+mSXXqunMkeQADGiqw/PY0JNeYtD5sr0PAy51YPgAPbDoeapv9r8WA==} dev: false + /@rollup/pluginutils/4.2.1: + resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} + engines: {node: '>= 8.0.0'} + dependencies: + estree-walker: 2.0.2 + picomatch: 2.3.1 + dev: true + + /@rollup/pluginutils/5.0.2: + resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@types/estree': 1.0.0 + estree-walker: 2.0.2 + picomatch: 2.3.1 + dev: true + /@rushstack/eslint-patch/1.2.0: resolution: {integrity: sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg==} dev: true + /@rushstack/node-core-library/3.55.2_@types+node@18.11.9: + resolution: {integrity: sha512-SaLe/x/Q/uBVdNFK5V1xXvsVps0y7h1sN7aSJllQyFbugyOaxhNRF25bwEDnicARNEjJw0pk0lYnJQ9Kr6ev0A==} + peerDependencies: + '@types/node': '*' + peerDependenciesMeta: + '@types/node': + optional: true + dependencies: + '@types/node': 18.11.9 + colors: 1.2.5 + fs-extra: 7.0.1 + import-lazy: 4.0.0 + jju: 1.4.0 + resolve: 1.22.1 + semver: 7.3.8 + z-schema: 5.0.5 + dev: true + + /@rushstack/rig-package/0.3.18: + resolution: {integrity: sha512-SGEwNTwNq9bI3pkdd01yCaH+gAsHqs0uxfGvtw9b0LJXH52qooWXnrFTRRLG1aL9pf+M2CARdrA9HLHJys3jiQ==} + dependencies: + resolve: 1.22.1 + strip-json-comments: 3.1.1 + dev: true + + /@rushstack/ts-command-line/4.13.2: + resolution: {integrity: sha512-bCU8qoL9HyWiciltfzg7GqdfODUeda/JpI0602kbN5YH22rzTxyqYvv7aRLENCM7XCQ1VRs7nMkEqgJUOU8Sag==} + dependencies: + '@types/argparse': 1.0.38 + argparse: 1.0.10 + colors: 1.2.5 + string-argv: 0.3.1 + dev: true + /@sinclair/typebox/0.24.51: resolution: {integrity: sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA==} @@ -6035,7 +6358,6 @@ packages: resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==} dependencies: tslib: 2.5.0 - dev: false /@swc/jest/0.2.20_@swc+core@1.3.42: resolution: {integrity: sha512-5qSUBYY1wyIMn7p0Vl9qqV4hMI69oJwZCIPUpBsTFWN2wlwn6RDugzdgCn+bLXVYh+Cxi8bJcZ1uumDgsoL+FA==} @@ -6093,6 +6415,15 @@ packages: resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} + /@ts-morph/common/0.18.1: + resolution: {integrity: sha512-RVE+zSRICWRsfrkAw5qCAK+4ZH9kwEFv5h0+/YeHTLieWP7F4wWq4JsKFuNWG+fYh/KF+8rAtgdj5zb2mm+DVA==} + dependencies: + fast-glob: 3.2.12 + minimatch: 5.1.6 + mkdirp: 1.0.4 + path-browserify: 1.0.1 + dev: true + /@tsconfig/node10/1.0.9: resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} @@ -6105,6 +6436,10 @@ packages: /@tsconfig/node16/1.0.3: resolution: {integrity: sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==} + /@types/argparse/1.0.38: + resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==} + dev: true + /@types/aria-query/5.0.1: resolution: {integrity: sha512-XTIieEY+gvJ39ChLcB4If5zHtPxt3Syj5rgZR+e1ctpmK8NjPf0zFqsz4JpLJT0xla9GFDKjy8Cpu331nrmE1Q==} dev: true @@ -6154,6 +6489,16 @@ packages: '@types/responselike': 1.0.0 dev: true + /@types/chai-subset/1.3.3: + resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} + dependencies: + '@types/chai': 4.3.4 + dev: true + + /@types/chai/4.3.4: + resolution: {integrity: sha512-KnRanxnpfpjUTqTCXslZSEdLfXExwgNxYPdiO2WGUj8+HDjFi8R3k5RVKPeSCzLjCcshCAtVO2QBbVuAV4kTnw==} + dev: true + /@types/connect-history-api-fallback/1.3.5: resolution: {integrity: sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw==} dependencies: @@ -6630,6 +6975,12 @@ packages: eslint-visitor-keys: 3.3.0 dev: true + /@vitest/ui/0.25.8: + resolution: {integrity: sha512-wfuhghldD5QHLYpS46GK8Ru8P3XcMrWvFjRQD21KNzc9Y/qtJsqoC8KmT6xWVkMNw4oHYixpo3a4ZySRJdserw==} + dependencies: + sirv: 2.0.2 + dev: true + /@webassemblyjs/ast/1.11.1: resolution: {integrity: sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==} dependencies: @@ -6885,6 +7236,13 @@ packages: acorn-walk: 7.2.0 dev: true + /acorn-globals/7.0.1: + resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==} + dependencies: + acorn: 8.8.2 + acorn-walk: 8.2.0 + dev: true + /acorn-import-assertions/1.8.0_acorn@8.8.2: resolution: {integrity: sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==} peerDependencies: @@ -7148,6 +7506,10 @@ packages: resolution: {integrity: sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==} engines: {node: '>=0.8'} + /assertion-error/1.1.0: + resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + dev: true + /ast-types-flow/0.0.7: resolution: {integrity: sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag==} dev: true @@ -7744,6 +8106,19 @@ packages: /caseless/0.12.0: resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} + /chai/4.3.7: + resolution: {integrity: sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==} + engines: {node: '>=4'} + dependencies: + assertion-error: 1.1.0 + check-error: 1.0.2 + deep-eql: 4.1.3 + get-func-name: 2.0.0 + loupe: 2.3.6 + pathval: 1.1.1 + type-detect: 4.0.8 + dev: true + /chalk/2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -7826,6 +8201,10 @@ packages: /chardet/0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + /check-error/1.0.2: + resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==} + dev: true + /check-more-types/2.24.0: resolution: {integrity: sha512-Pj779qHxV2tuapviy1bSZNEL1maXr13bPYpsvSDB68HlYcYuhlDrmGd63i0JHMCLKzc7rUSNIrpdJlhVlNwrxA==} engines: {node: '>= 0.8.0'} @@ -7955,6 +8334,10 @@ packages: resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} + /code-block-writer/11.0.3: + resolution: {integrity: sha512-NiujjUFB4SwScJq2bwbYUtXbZhBSlY6vYzm++3Q6oC+U+injTqfPYFK8wS9COOmb2lueqp0ZRB4nK1VYeHgNyw==} + dev: true + /collect-v8-coverage/1.0.1: resolution: {integrity: sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==} @@ -7981,6 +8364,11 @@ packages: /colorette/2.0.19: resolution: {integrity: sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==} + /colors/1.2.5: + resolution: {integrity: sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg==} + engines: {node: '>=0.1.90'} + dev: true + /combined-stream/1.0.8: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} @@ -8003,6 +8391,13 @@ packages: resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} engines: {node: '>= 10'} + /commander/9.5.0: + resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==} + engines: {node: ^12.20.0 || >=14} + requiresBuild: true + dev: true + optional: true + /common-tags/1.8.2: resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==} engines: {node: '>=4.0.0'} @@ -8617,6 +9012,13 @@ packages: /dedent/0.7.0: resolution: {integrity: sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==} + /deep-eql/4.1.3: + resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} + engines: {node: '>=6'} + dependencies: + type-detect: 4.0.8 + dev: true + /deep-equal/2.2.0: resolution: {integrity: sha512-RdpzE0Hv4lhowpIUKKMJfeH6C1pXdtT1/it80ubgWqwI3qpuxUBpC1S4hnHg+zjnuOoDkzUtUCEEkG+XG5l3Mw==} dependencies: @@ -8890,7 +9292,6 @@ packages: /entities/4.4.0: resolution: {integrity: sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==} engines: {node: '>=0.12'} - dev: false /errno/0.1.8: resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==} @@ -8984,6 +9385,35 @@ packages: is-symbol: 1.0.4 dev: true + /esbuild/0.17.13: + resolution: {integrity: sha512-4ixMwdErBcQHgTBeoxnowENCPKWFAGxgTyKHMK8gqn9sZaC7ZNWFKtim16g2rzQ2b/FYyy3lIUUJboFtjolhqg==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.17.13 + '@esbuild/android-arm64': 0.17.13 + '@esbuild/android-x64': 0.17.13 + '@esbuild/darwin-arm64': 0.17.13 + '@esbuild/darwin-x64': 0.17.13 + '@esbuild/freebsd-arm64': 0.17.13 + '@esbuild/freebsd-x64': 0.17.13 + '@esbuild/linux-arm': 0.17.13 + '@esbuild/linux-arm64': 0.17.13 + '@esbuild/linux-ia32': 0.17.13 + '@esbuild/linux-loong64': 0.17.13 + '@esbuild/linux-mips64el': 0.17.13 + '@esbuild/linux-ppc64': 0.17.13 + '@esbuild/linux-riscv64': 0.17.13 + '@esbuild/linux-s390x': 0.17.13 + '@esbuild/linux-x64': 0.17.13 + '@esbuild/netbsd-x64': 0.17.13 + '@esbuild/openbsd-x64': 0.17.13 + '@esbuild/sunos-x64': 0.17.13 + '@esbuild/win32-arm64': 0.17.13 + '@esbuild/win32-ia32': 0.17.13 + '@esbuild/win32-x64': 0.17.13 + /escalade/3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} @@ -9377,6 +9807,10 @@ packages: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} + /estree-walker/2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + dev: true + /esutils/2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -10010,6 +10444,10 @@ packages: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} + /get-func-name/2.0.0: + resolution: {integrity: sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==} + dev: true + /get-intrinsic/1.2.0: resolution: {integrity: sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==} dependencies: @@ -10672,6 +11110,11 @@ packages: engines: {node: '>=12.2'} dev: false + /import-lazy/4.0.0: + resolution: {integrity: sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==} + engines: {node: '>=8'} + dev: true + /import-local/3.1.0: resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==} engines: {node: '>=8'} @@ -11706,6 +12149,10 @@ packages: hasBin: true dev: false + /jju/1.4.0: + resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==} + dev: true + /jose/4.13.1: resolution: {integrity: sha512-MSJQC5vXco5Br38mzaQKiq9mwt7lwj2eXpgpRyQYNHYt2lq1PjkWa7DLXX0WVcQLE9HhMh3jPiufS7fhJf+CLQ==} dev: false @@ -11781,6 +12228,47 @@ packages: - utf-8-validate dev: true + /jsdom/20.0.3: + resolution: {integrity: sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==} + engines: {node: '>=14'} + peerDependencies: + canvas: ^2.5.0 + peerDependenciesMeta: + canvas: + optional: true + dependencies: + abab: 2.0.6 + acorn: 8.8.2 + acorn-globals: 7.0.1 + cssom: 0.5.0 + cssstyle: 2.3.0 + data-urls: 3.0.2 + decimal.js: 10.4.3 + domexception: 4.0.0 + escodegen: 2.0.0 + form-data: 4.0.0 + html-encoding-sniffer: 3.0.0 + http-proxy-agent: 5.0.0 + https-proxy-agent: 5.0.1 + is-potential-custom-element-name: 1.0.1 + nwsapi: 2.2.2 + parse5: 7.1.2 + saxes: 6.0.0 + symbol-tree: 3.2.4 + tough-cookie: 4.1.2 + w3c-xmlserializer: 4.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 2.0.0 + whatwg-mimetype: 3.0.0 + whatwg-url: 11.0.0 + ws: 8.13.0 + xml-name-validator: 4.0.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + dev: true + /jsesc/0.5.0: resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} hasBin: true @@ -11966,6 +12454,10 @@ packages: resolution: {integrity: sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==} engines: {node: '>= 8'} + /kolorist/1.7.0: + resolution: {integrity: sha512-ymToLHqL02udwVdbkowNpzjFd6UzozMtshPQKVi5k1EjKRqKqBrOnE9QbLEb0/pV76SAiIT13hdL8R6suc+f3g==} + dev: true + /language-subtag-registry/0.3.22: resolution: {integrity: sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==} dev: true @@ -12189,6 +12681,11 @@ packages: emojis-list: 3.0.0 json5: 2.2.3 + /local-pkg/0.4.3: + resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} + engines: {node: '>=14'} + dev: true + /localforage/1.10.0: resolution: {integrity: sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==} dependencies: @@ -12221,11 +12718,9 @@ packages: /lodash.get/4.4.2: resolution: {integrity: sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==} - dev: false /lodash.isequal/4.5.0: resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} - dev: false /lodash.isfunction/3.0.9: resolution: {integrity: sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==} @@ -12320,6 +12815,12 @@ packages: dependencies: js-tokens: 4.0.0 + /loupe/2.3.6: + resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==} + dependencies: + get-func-name: 2.0.0 + dev: true + /lower-case-first/2.0.2: resolution: {integrity: sha512-EVm/rR94FJTZi3zefZ82fLWab+GX14LJN4HrWBcuo6Evmsl9hEfnqxgcHCKb9q+mNf6EVdsjx/qucYFIIB84pg==} dependencies: @@ -12607,6 +13108,11 @@ packages: hasBin: true dev: false + /mrmime/1.0.1: + resolution: {integrity: sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==} + engines: {node: '>=10'} + dev: true + /ms/2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} @@ -13286,6 +13792,12 @@ packages: resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} dev: true + /parse5/7.1.2: + resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + dependencies: + entities: 4.4.0 + dev: true + /parseurl/1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} @@ -13299,7 +13811,6 @@ packages: /path-browserify/1.0.1: resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} - dev: false /path-case/3.0.4: resolution: {integrity: sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==} @@ -13352,6 +13863,10 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + /pathval/1.1.1: + resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + dev: true + /peek-readable/5.0.0: resolution: {integrity: sha512-YtCKvLUOvwtMGmrniQPdO7MwPjgkFBtFIrmfSbYmYuq3tKDV/mcfAhBth1+C3ru7uXIZasc/pHnb+YDYNkkj4A==} engines: {node: '>=14.16'} @@ -14188,6 +14703,13 @@ packages: resolution: {integrity: sha512-/NtpHNDN7jWhAaQ9BvBUYZ6YTXsRBgfqWFWP7BZBaoMJO/I3G5OFzvTuWNlZC3aPjins1F+TNrLKsGbH4rfsRQ==} engines: {node: '>=10'} + /resolve/1.19.0: + resolution: {integrity: sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==} + dependencies: + is-core-module: 2.11.0 + path-parse: 1.0.7 + dev: true + /resolve/1.22.1: resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} hasBin: true @@ -14242,6 +14764,21 @@ packages: hasBin: true dev: false + /rollup/2.79.1: + resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==} + engines: {node: '>=10.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /rollup/3.20.2: + resolution: {integrity: sha512-3zwkBQl7Ai7MFYQE0y1MeQ15+9jsi7XxfrqwTb/9EK8D9C9+//EBR4M+CuA1KODRaNbFez/lWxA5vhEGZp4MUg==} + engines: {node: '>=14.18.0', npm: '>=8.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.2 + /run-async/2.4.1: resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} engines: {node: '>=0.12.0'} @@ -14323,6 +14860,13 @@ packages: xmlchars: 2.2.0 dev: true + /saxes/6.0.0: + resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} + engines: {node: '>=v12.22.7'} + dependencies: + xmlchars: 2.2.0 + dev: true + /scheduler/0.23.0: resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} dependencies: @@ -14516,6 +15060,15 @@ packages: resolution: {integrity: sha512-6+eerH9fEnNmi/hyM1DXcRK3pWdoMQtlkQ+ns0ntzunjKqp5i3sKCc80ym8Fib3iaYhdJUOPdhlJWj1tvge2Ww==} dev: false + /sirv/2.0.2: + resolution: {integrity: sha512-4Qog6aE29nIjAOKe/wowFTxOdmbEZKb+3tsLljaBRzJwtqto0BChD2zzH0LhgCSXiI+V7X+Y45v14wBZQ1TK3w==} + engines: {node: '>= 10'} + dependencies: + '@polka/url': 1.0.0-next.21 + mrmime: 1.0.1 + totalist: 3.0.0 + dev: true + /sisteransi/1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} dev: true @@ -14882,6 +15435,12 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} + /strip-literal/1.0.1: + resolution: {integrity: sha512-QZTsipNpa2Ppr6v1AmJHESqJ3Uz247MUS0OjrnnZjFAvEoWqxuyFuXn2xLgMtRnijJShAa1HL0gtJyUs7u7n3Q==} + dependencies: + acorn: 8.8.2 + dev: true + /strip-outer/2.0.0: resolution: {integrity: sha512-A21Xsm1XzUkK0qK1ZrytDUvqsQWict2Cykhvi0fBQntGG5JSprESasEyV1EZ/4CiR5WB5KjzLTrP/bO37B0wPg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -15173,6 +15732,20 @@ packages: engines: {node: '>=6'} dev: false + /tinybench/2.4.0: + resolution: {integrity: sha512-iyziEiyFxX4kyxSp+MtY1oCH/lvjH3PxFN8PGCDeqcZWAJ/i+9y+nL85w99PxVzrIvew/GSkSbDYtiGVa85Afg==} + dev: true + + /tinypool/0.3.1: + resolution: {integrity: sha512-zLA1ZXlstbU2rlpA4CIeVaqvWq41MTWqLY3FfsAXgC8+f7Pk7zroaJQxDgxn1xNudKW6Kmj4808rPFShUlIRmQ==} + engines: {node: '>=14.0.0'} + dev: true + + /tinyspy/1.1.1: + resolution: {integrity: sha512-UVq5AXt/gQlti7oxoIg5oi/9r0WpF7DGEVwXgqWSMmyN16+e3tl5lIvTaOpJ3TAtu5xFzWccFRM4R5NaWHF+4g==} + engines: {node: '>=14.0.0'} + dev: true + /title-case/3.0.3: resolution: {integrity: sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA==} dependencies: @@ -15227,6 +15800,11 @@ packages: ieee754: 1.2.1 dev: true + /totalist/3.0.0: + resolution: {integrity: sha512-eM+pCBxXO/njtF7vdFsHuqb+ElbxqtI4r5EAvk6grfAFyJ6IvWlSkfZ5T9ozC6xWw3Fj1fGoSmrl0gUs46JVIw==} + engines: {node: '>=6'} + dev: true + /tough-cookie/2.5.0: resolution: {integrity: sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==} engines: {node: '>=0.8'} @@ -15333,6 +15911,13 @@ packages: resolution: {integrity: sha512-PGcnJoTBnVGy6yYNFxWVNkdcAuAMstvutN9MgDJIV6L0oG8fB+ZNNy1T+wJzah8RPGor1mZuPQkVfXNDpy9eHA==} dev: false + /ts-morph/17.0.1: + resolution: {integrity: sha512-10PkHyXmrtsTvZSL+cqtJLTgFXkU43Gd0JCc0Rw6GchWbqKe0Rwgt1v3ouobTZwQzF1mGhDeAlWYBMGRV7y+3g==} + dependencies: + '@ts-morph/common': 0.18.1 + code-block-writer: 11.0.3 + dev: true + /ts-node/10.9.1_@swc+core@1.3.42: resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true @@ -15458,6 +16043,19 @@ packages: v8-compile-cache-lib: 3.0.1 yn: 3.1.1 + /tsconfck/2.1.1_typescript@4.8.4: + resolution: {integrity: sha512-ZPCkJBKASZBmBUNqGHmRhdhM8pJYDdOXp4nRgj/O0JwUwsMq50lCDRQP/M5GBNAA0elPrq4gAeu4dkaVCuKWww==} + engines: {node: ^14.13.1 || ^16 || >=18} + hasBin: true + peerDependencies: + typescript: ^4.3.5 || ^5.0.0 + peerDependenciesMeta: + typescript: + optional: true + dependencies: + typescript: 4.8.4 + dev: true + /tsconfig-paths-webpack-plugin/4.0.0: resolution: {integrity: sha512-fw/7265mIWukrSHd0i+wSwx64kYUSAKPfxRDksjKIYTxSAp9W9/xcZVBF4Kl0eqQd5eBpAQ/oQrc5RyM/0c1GQ==} engines: {node: '>=10.13.0'} @@ -15780,6 +16378,11 @@ packages: spdx-expression-parse: 3.0.1 dev: true + /validator/13.9.0: + resolution: {integrity: sha512-B+dGG8U3fdtM0/aNK4/X8CXq/EcxU2WPrPEkJGslb47qyHsxmbggTWK0yEA4qnYVNF+nxNlN88o14hIcPmSIEA==} + engines: {node: '>= 0.10'} + dev: true + /value-or-promise/1.0.11: resolution: {integrity: sha512-41BrgH+dIbCFXClcSapVs5M6GkENd3gQOJpEfPDNa71LsUGMXDL0jMWpI/Rh7WhX+Aalfz2TTS3Zt5pUsbnhLg==} engines: {node: '>=12'} @@ -15802,6 +16405,184 @@ packages: core-util-is: 1.0.2 extsprintf: 1.3.0 + /vite-plugin-dts/1.7.3_ibxihpjazi5khnqkke2rzmiwcu: + resolution: {integrity: sha512-u3t45p6fTbzUPMkwYe0ESwuUeiRMlwdPfD3dRyDKUwLe2WmEYcFyVp2o9/ke2EMrM51lQcmNWdV9eLcgjD1/ng==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + vite: '>=2.9.0' + dependencies: + '@microsoft/api-extractor': 7.34.4_@types+node@18.11.9 + '@rollup/pluginutils': 5.0.2 + '@rushstack/node-core-library': 3.55.2_@types+node@18.11.9 + debug: 4.3.4 + fast-glob: 3.2.12 + fs-extra: 10.1.0 + kolorist: 1.7.0 + ts-morph: 17.0.1 + vite: 4.2.1_@types+node@18.11.9 + transitivePeerDependencies: + - '@types/node' + - rollup + - supports-color + dev: true + + /vite-plugin-eslint/1.8.1_eslint@8.15.0+vite@4.2.1: + resolution: {integrity: sha512-PqdMf3Y2fLO9FsNPmMX+//2BF5SF8nEWspZdgl4kSt7UvHDRHVVfHvxsD7ULYzZrJDGRxR81Nq7TOFgwMnUang==} + peerDependencies: + eslint: '>=7' + vite: '>=2' + dependencies: + '@rollup/pluginutils': 4.2.1 + '@types/eslint': 8.21.1 + eslint: 8.15.0 + rollup: 2.79.1 + vite: 4.2.1_@types+node@18.11.9 + dev: true + + /vite-plugin-static-copy/0.13.1_vite@4.2.1: + resolution: {integrity: sha512-KwIcGBT1aOxSq+laK3VmSngoEa3HXWj/6ZEXdv+y59eZ7p/XSuPahoDo+CfYW22JjTdnstgeKWiX+78KNgDu6g==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + vite: ^3.0.0 || ^4.0.0 + dependencies: + chokidar: 3.5.3 + fast-glob: 3.2.12 + fs-extra: 11.1.0 + picocolors: 1.0.0 + vite: 4.2.1_@types+node@18.11.9 + dev: false + + /vite-tsconfig-paths/4.0.7_ykl3btyxss5evtm5m64d6se6z4: + resolution: {integrity: sha512-MwIYaby6kcbQGZqMH+gAK6h0UYQGOkjsuAgw4q6bP/5vWkn8VKvnmLuCQHA2+IzHAJHnE8OFTO4lnJLFMf9+7Q==} + peerDependencies: + vite: '*' + peerDependenciesMeta: + vite: + optional: true + dependencies: + debug: 4.3.4 + globrex: 0.1.2 + tsconfck: 2.1.1_typescript@4.8.4 + vite: 4.2.1_@types+node@18.11.9 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + + /vite/4.2.1_@types+node@18.11.9: + resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} + engines: {node: ^14.18.0 || >=16.0.0} + hasBin: true + peerDependencies: + '@types/node': '>= 14' + less: '*' + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + '@types/node': 18.11.9 + esbuild: 0.17.13 + postcss: 8.4.21 + resolve: 1.22.1 + rollup: 3.20.2 + optionalDependencies: + fsevents: 2.3.2 + + /vite/4.2.1_@types+node@18.15.0: + resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} + engines: {node: ^14.18.0 || >=16.0.0} + hasBin: true + peerDependencies: + '@types/node': '>= 14' + less: '*' + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + '@types/node': 18.15.0 + esbuild: 0.17.13 + postcss: 8.4.21 + resolve: 1.22.1 + rollup: 3.20.2 + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /vitest/0.25.8_eetf2xjpdhuqcs2dx4ndfgw7iq: + resolution: {integrity: sha512-X75TApG2wZTJn299E/TIYevr4E9/nBo1sUtZzn0Ci5oK8qnpZAZyhwg0qCeMSakGIWtc6oRwcQFyFfW14aOFWg==} + engines: {node: '>=v14.16.0'} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@vitest/browser': '*' + '@vitest/ui': '*' + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + dependencies: + '@types/chai': 4.3.4 + '@types/chai-subset': 1.3.3 + '@types/node': 18.15.0 + '@vitest/ui': 0.25.8 + acorn: 8.8.2 + acorn-walk: 8.2.0 + chai: 4.3.7 + debug: 4.3.4 + jsdom: 20.0.3 + local-pkg: 0.4.3 + source-map: 0.6.1 + strip-literal: 1.0.1 + tinybench: 2.4.0 + tinypool: 0.3.1 + tinyspy: 1.1.1 + vite: 4.2.1_@types+node@18.15.0 + transitivePeerDependencies: + - less + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + /w3c-hr-time/1.0.2: resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==} deprecated: Use your platform's native performance.now() and performance.timeOrigin. @@ -15816,6 +16597,13 @@ packages: xml-name-validator: 4.0.0 dev: true + /w3c-xmlserializer/4.0.0: + resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==} + engines: {node: '>=14'} + dependencies: + xml-name-validator: 4.0.0 + dev: true + /walker/1.0.8: resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} dependencies: @@ -16250,3 +17038,15 @@ packages: /yocto-queue/0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + + /z-schema/5.0.5: + resolution: {integrity: sha512-D7eujBWkLa3p2sIpJA0d1pr7es+a7m0vFAnZLlCEKq/Ij2k0MLi9Br2UPxoxdYystm5K1yeBGzub0FlYUEWj2Q==} + engines: {node: '>=8.0.0'} + hasBin: true + dependencies: + lodash.get: 4.4.2 + lodash.isequal: 4.5.0 + validator: 13.9.0 + optionalDependencies: + commander: 9.5.0 + dev: true