Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore: migrate from jest to vitest (#170)

白熱8793521637cc
diff --git a/cli/README.md b/cli/README.md
deleted file mode 100644
index 967c902326..0000000000
--- a/cli/README.md
+++ /dev/null
@@ -1,46 +0,0 @@
-# Univer CLI Tool
-
-## Usage
-
-Install dependency
-
-```sh
-npm i -g @univerjs/cli
-```
-
-### Create Plugin
-Create a Univer plugin named `my-plugin` from a template
-
-```sh
-univer-cli create my-plugin
-```
-
-start develop plugin
-```sh
-cd my-plugin
-npm i
-npm run dev
-```
-
-### Custom Build
-
-
-```sh
-univer-cli build --include sort comment
-```
-
-## API
-
-### Create
-
-Command
-```sh
-univer-cli create <plugin> [inner]
-```
-
-- plugin: Required parameters, specify a plugin name, Please use `param-case` format, such as `data-validation`
-- inner: Optional parameter, use this tag inside the Univer repository. With this flag set, we will put the plugin in the packages directory, otherwise we will create a new plugin in the current directory where the script is executed by default
-
-### Build
-
-### Init
\ No newline at end of file
diff --git a/cli/package.json b/cli/package.json
deleted file mode 100644
index b2663cd88c..0000000000
--- a/cli/package.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "name": "@univerjs/cli",
- "version": "1.0.26",
- "description": "Quickly build univer plugins, custom package univer cores and plugins",
- "main": "./src/index.ts",
- "module": "./src/index.ts",
- "types": "./src/type.d.ts",
- "publishConfig": {
- "main": "./lib/index.js",
- "module": "./lib/index.js",
- "types": "./lib/index.d.ts"
- },
- "private": true,
- "scripts": {
- "dev": "tsc --project tsconfig.cli.json -w",
- "cli": "ts-node --project tsconfig.cli.json src/cli.ts",
- "build": "shx rm -rf lib/* && npx tsc --project tsconfig.cli.json && shx cp -r src/templates lib/templates"
- },
- "author": "DreamNum <[email protected]>",
- "license": "MIT",
- "files": [
- "package.json",
- "lib"
- ],
- "dependencies": {
- "chalk": "4.1.2",
- "commander": "^9.0.0",
- "ejs": "^3.0.2",
- "execa": "^4.1.0",
- "inquirer": "^7.1.0",
- "shelljs": "^0.8.4",
- "shx": "^0.3.4"
- },
- "devDependencies": {
- "@types/ejs": "^3.0.2",
- "@types/inquirer": "^6.5.0",
- "@types/node": "^13.11.1",
- "@types/shelljs": "^0.8.7",
- "ts-node": "^10.2.1"
- },
- "bin": {
- "univer-cli": "./lib/cli.js"
- }
-}
diff --git a/cli/src/build.ts b/cli/src/build.ts
deleted file mode 100644
index 5df712303e..0000000000
--- a/cli/src/build.ts
+++ /dev/null
@@ -1,182 +0,0 @@
-#!/usr/bin/env node
-
-import * as fs from 'fs';
-import * as path from 'path';
-import shell from 'shelljs';
-import { FgGreen, FgRed, Reset } from './utils/color';
-const execa = require('execa');
-import { renderContent } from './utils/template';
-import { generateRandomId } from './utils/tool';
-import { IEventBus } from './utils/event-bus';
-import { exec } from 'child_process';
-
-// TODO 提供clear目录方法,用于下载完后删除项目
-// dynamic 模式
-
-interface IOption {
- all?: boolean;
- include?: string[];
- exclude?: string[];
-}
-
-export interface IBuildJson {
- [key: string]: string;
-}
-
-export interface IObj {
- msg: string;
-}
-
-type PublishType = [IObj, number];
-
-const defaultBuildList: IBuildJson = {
- filter: '//',
- sort: '//',
- alternatingColors: '//',
- comment: '//',
-};
-
-const allBuildList: IBuildJson = {
- filter: ' ',
- sort: ' ',
- alternatingColors: ' ',
- comment: ' ',
-};
-
-const CURR_DIR = process.cwd();
-
-interface ILibOptions {
- eventBus: IEventBus;
- buildId: string;
-}
-
-export function build(options: IOption, libOptions?: ILibOptions) {
- return new Promise((resolve, reject) => {
- const buildList: IBuildJson = filterBuild(options);
- const { eventBus, buildId } = libOptions || {};
- // When we provide nodejs interface, support library mode, create a new project directory with a random name to prevent directory conflicts from running by multiple users at the same time.
- const id = buildId ? buildId : '';
- const randomFolderName = 'univer-custom-build-' + id;
-
- eventBus?.publish<PublishType>('progress', { msg: 'Pull template files' }, 0.1);
-
- copyTemplate(randomFolderName);
-
- eventBus?.publish<PublishType>('progress', { msg: 'Update custom configuration' }, 0.2);
-
- updateEntry(buildList, randomFolderName);
-
- eventBus?.publish<PublishType>('progress', { msg: 'Install dependencies' }, 0.3);
-
- buildScript(resolve, reject, randomFolderName, eventBus);
- });
-}
-
-function filterBuild(options: IOption): IBuildJson {
- const { all, include, exclude } = options;
- let filterBuildList: IBuildJson = defaultBuildList;
-
- if (all) {
- filterBuildList = allBuildList;
- }
-
- if (include) {
- filterBuildList = defaultBuildList;
- include.forEach((plugin) => {
- if (plugin in defaultBuildList) {
- filterBuildList[plugin] = ' ';
- }
- });
- }
- if (exclude) {
- filterBuildList = allBuildList;
- exclude.forEach((plugin) => {
- if (plugin in allBuildList) {
- filterBuildList[plugin] = '//';
- }
- });
- }
-
- return filterBuildList;
-}
-
-function copyTemplate(folderName: string) {
- const templatePath = path.join(__dirname, 'templates/univer-custom-build');
- copyFolderRecursiveSync(templatePath, CURR_DIR);
- fs.rename(path.join(CURR_DIR, 'univer-custom-build'), path.join(CURR_DIR, folderName), () => {});
-}
-
-function updateEntry(json: IBuildJson, folderName: string) {
- const entryFolder = path.join(CURR_DIR, folderName);
- const entryFile = path.join(entryFolder, 'index-template.ts');
-
- // read file content and transform it using template engine
- let contents = fs.readFileSync(entryFile, 'utf8');
-
- contents = renderContent(contents, json);
-
- // write file to destination folder
- let writePath = path.join(entryFolder, 'src/index.custom.ts');
- fs.writeFileSync(writePath, contents, 'utf8');
-}
-
-async function buildScript(resolve: Function, reject: Function, folderName: string, eventBus?: IEventBus) {
- shell.cd(folderName);
- // execa('cd', ['univer-custom-build'], { stdio: 'inherit' })
- // The host environment may be production, which will cause development dependencies to fail to be installed, reference https://docs.npmjs.com/cli/v8/commands/npm-install
- await execa('npm', ['i', '--production=false', '--prefer-offline'], { stdio: 'inherit' });
-
- eventBus?.publish<PublishType>('progress', { msg: 'Build source code' }, 0.8);
-
- try {
- await execa('npm', ['run', 'build'], { stdio: 'inherit' });
- console.log(`\n${FgGreen}Custom build success!${Reset} \n`);
- eventBus?.publish<PublishType>('progress', { msg: 'Build complete' }, 1.0);
- resolve('success');
- } catch (error) {
- console.error(`\n${FgRed}Custom build fail!${Reset} \n`);
- eventBus?.publish<PublishType>('progress', { msg: 'Build interrupt' }, 0);
- reject('fail');
- }
-}
-
-function copyFileSync(source: string, target: string) {
- var targetFile = target;
-
- // If target is a directory, a new file with the same name will be created
- if (fs.existsSync(target)) {
- if (fs.lstatSync(target).isDirectory()) {
- targetFile = path.join(target, path.basename(source));
- }
- }
-
- fs.writeFileSync(targetFile, fs.readFileSync(source));
-}
-
-/**
- * Reference https://stackoverflow.com/a/26038979
- * @param source
- * @param target
- */
-function copyFolderRecursiveSync(source: string, target: string) {
- var files = [];
-
- // Check if folder needs to be created or integrated
- var targetFolder = path.join(target, path.basename(source));
- if (!fs.existsSync(targetFolder)) {
- fs.mkdirSync(targetFolder);
- }
-
- // Copy
- if (fs.lstatSync(source).isDirectory()) {
- files = fs.readdirSync(source);
- files.forEach(function (file) {
- var curSource = path.join(source, file);
- if (fs.lstatSync(curSource).isDirectory()) {
- copyFolderRecursiveSync(curSource, targetFolder);
- } else {
- copyFileSync(curSource, targetFolder);
- }
- });
- }
-}
diff --git a/cli/src/cli.ts b/cli/src/cli.ts
deleted file mode 100644
index 3a2f999b62..0000000000
--- a/cli/src/cli.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env node
-
-import { Command } from 'commander';
-import { build } from './build';
-import { create } from './create';
-const program = new Command();
-
-program
- .command('build')
- .option('-a, --all', 'Package the core and all plugins together')
- .option('-i, --include <plugins...>', 'List plugins that need to be packaged')
- .option('-e, --exclude <plugins...>', 'List plugins that do not need to be packaged')
- .description('Package the core and plugins together,core and base plugins are packaged by default')
- .action((options) => {
- build(options);
- });
-
-// TODO:check npm package name conflict
-program
- .command('create [inner]')
- .description('Create a Univer plugin from a template')
- .action(() => {
- create();
- });
-
-program.parse(process.argv);
diff --git a/cli/src/create.ts b/cli/src/create.ts
deleted file mode 100644
index e26046e4ca..0000000000
--- a/cli/src/create.ts
+++ /dev/null
@@ -1,198 +0,0 @@
-#!/usr/bin/env node
-
-/**
- * Quickly generate plug-in directory
- *
- * Reference from https://github.com/DuwainevanDriel/project-template-generator
- */
-
-import chalk from 'chalk';
-import * as fs from 'fs';
-import * as inquirer from 'inquirer';
-import * as path from 'path';
-import * as template from './utils/template';
-interface CliOptions {
- projectName: string;
- templateName: string;
- templatePath: string;
- tartgetPath: string;
-}
-
-// interface IOptions {
-// inner?: boolean;
-// }
-export function create() {
- const cliOptions: CliOptions = {
- //@ts-ignore
- projectName: '',
- //@ts-ignore
- templateName: '',
- templatePath: '',
- tartgetPath: '',
- };
-
- const SKIP_FILES = ['node_modules', '.template.json'];
-
- const CURR_DIR = process.cwd();
- const inner = process.argv[3];
-
- let DESTINATION_DIR = '';
- let projectChoice = '';
- let projectValue = '';
- let projectUpperValue = '';
- let projectConstantValue = '';
- let projectName = '';
-
- if (inner === 'inner') {
- // core repository create plugin
- DESTINATION_DIR = path.join(CURR_DIR, '../packages');
- } else {
- // cli
- DESTINATION_DIR = path.join(CURR_DIR, '');
- }
-
- const TEMP_PLUGIN_NAME = 'Sort';
-
- const CHOICES = fs.readdirSync(path.join(__dirname, 'templates'));
- const QUESTIONS = [
- {
- name: 'template',
- type: 'list',
- message: 'What template would you like to use?',
- choices: CHOICES,
- },
- {
- name: 'name',
- type: 'input',
- message: 'Please input a new plugin name:',
- },
- ];
-
- inquirer.prompt(QUESTIONS).then((answers) => {
- projectChoice = answers['template'] as string;
- projectValue = covertToCamelCase(answers['name'] as string);
- projectUpperValue = covertToPascalCase(projectValue);
- projectConstantValue = covertToConstantCase(projectValue);
- projectName = covertToParamCase(projectValue, projectChoice);
-
- //@ts-ignore
- const templatePath = path.join(__dirname, 'templates', projectChoice);
-
- // sheets-plugin-data-validation => sheets-plugin-data-validation
- //@ts-ignore
- const tartgetPath = path.join(DESTINATION_DIR, projectName);
-
- cliOptions.projectName = projectName;
- cliOptions.templateName = projectChoice;
- cliOptions.templatePath = templatePath;
- cliOptions.tartgetPath = tartgetPath;
-
- if (!createProject(tartgetPath)) {
- return;
- }
-
- //@ts-ignore
- createDirectoryContents(templatePath, projectName, cliOptions);
-
- // postProcess(cliOptions);
- devTips(projectName);
- });
-
- function createDirectoryContents(templatePath: string, projectName: string) {
- // read all files/folders (1 level) from template folder
- const filesToCreate = fs.readdirSync(templatePath);
- // loop each file/folder
- filesToCreate.forEach((file) => {
- const origFilePath = path.join(templatePath, file);
-
- // get stats about the current file
- const stats = fs.statSync(origFilePath);
-
- // skip files that should not be copied
- if (SKIP_FILES.indexOf(file) > -1) return;
-
- if (stats.isFile()) {
- // read file content and transform it using template engine
- let contents = fs.readFileSync(origFilePath, 'utf8');
-
- contents = template.render(contents, { projectValue, projectUpperValue, projectName: cliOptions.projectName, projectConstantValue });
-
- // write file to destination folder
- let writePath = path.join(DESTINATION_DIR, projectName, file);
-
- // change file name
- if (writePath.indexOf(TEMP_PLUGIN_NAME) > -1) {
- writePath = writePath.replace(TEMP_PLUGIN_NAME, projectUpperValue);
- }
-
- fs.writeFileSync(writePath, contents, 'utf8');
- } else if (stats.isDirectory()) {
- // create folder in destination folder
-
- let writeFolderPath = path.join(DESTINATION_DIR, projectName, file);
-
- // change folder name (Not recommended. Because the directory of each plug-in should be the same)
- // if (writeFolderPath.indexOf(TEMP_PLUGIN_NAME) > -1) {
- // writeFolderPath = writeFolderPath.replace(TEMP_PLUGIN_NAME, projectUpperValue);
- // }
-
- fs.mkdirSync(writeFolderPath);
-
- // const destination = path.join(CURR_DIR, 'packages');
- // fs.mkdirSync(path.join(destination, projectName, file));
- // copy files/folder inside current folder recursively
- createDirectoryContents(path.join(templatePath, file), path.join(projectName, file));
- }
- });
- }
-}
-
-function createProject(projectPath: string) {
- if (fs.existsSync(projectPath)) {
- console.log(chalk.red(`Folder ${projectPath} exists. Delete or use another name.`));
- return false;
- }
- fs.mkdirSync(projectPath);
-
- return true;
-}
-
-function devTips(projectName: string) {
- // pnpm run --filter @univerjs/sheets-plugin-<%= projectValue %> dev
- console.log(chalk.green(`\nSuccess!\n`));
- console.log(chalk.white(`Install Dependencies: \n`, chalk.green(`pnpm i --filter @univerjs/${projectName}\n`)));
- console.log(chalk.white(`Develop: \n`, chalk.green(`pnpm run --filter @univerjs/${projectName} dev\n`)));
-}
-
-function covertToPascalCase(str: string) {
- return str
- .replace(/\b\w/g, (match) => {
- return match.toUpperCase();
- })
- .replace(/-/g, '');
-}
-
-function covertToParamCase(str: string, prefix: string) {
- return prefix + str.replace(/(-\w|[A-Z]|\b\w)/g, (match) => (match.indexOf('-') > -1 ? match.toLowerCase() : `-${match.toLowerCase()}`));
-}
-
-/**
- *
- * Reference: https://stackoverflow.com/a/2970667
- * @param str
- * @returns
- */
-function covertToCamelCase(str: string) {
- return str
- .replace(/(?:\b\w)/g, function (match, index) {
- return index === 0 ? match.toLowerCase() : match.toUpperCase();
- })
- .replace(/-/g, '');
-}
-
-function covertToConstantCase(str: string) {
- return str
- .replace(/(-\w|[A-Z]|\b\w)/g, (match) => (match.indexOf('-') > -1 ? match.replace('-', '_') : `_${match}`))
- .slice(1)
- .toUpperCase();
-}
diff --git a/cli/src/index.ts b/cli/src/index.ts
deleted file mode 100644
index ef02e6155e..0000000000
--- a/cli/src/index.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env node
-
-import { build, IObj } from './build';
-import { create } from './create';
-import { EventBus, IEventBus } from './utils/event-bus';
-
-export { build, create, EventBus};
-export type {IObj,IEventBus}
diff --git a/cli/src/init.ts b/cli/src/init.ts
deleted file mode 100644
index 00691b25d9..0000000000
--- a/cli/src/init.ts
+++ /dev/null
@@ -1,166 +0,0 @@
-#!/usr/bin/env node
-
-/**
- * Quickly generate plug-in directory
- *
- * Reference from https://github.com/DuwainevanDriel/project-template-generator
- */
-
-import chalk from 'chalk';
-import * as fs from 'fs';
-import * as inquirer from 'inquirer';
-import * as path from 'path';
-import * as template from './utils/template';
-interface CliOptions {
- projectName: string;
- templateName: string;
- templatePath: string;
- tartgetPath: string;
-}
-
-interface IOptions {
- inner?: boolean;
-}
-export function init(options: IOptions) {
- console.log('template init', options);
-
- const cliOptions: CliOptions = {
- //@ts-ignore
- projectName: '',
- //@ts-ignore
- templateName: '',
- templatePath: '',
- tartgetPath: '',
- };
-
- const SKIP_FILES = ['node_modules', '.template.json'];
-
- const CURR_DIR = process.cwd();
-
- let DESTINATION_DIR = '';
-
- if (options.inner == true) {
- // core repository create plugin
- DESTINATION_DIR = path.join(CURR_DIR, '../packages');
- } else {
- // cli
- DESTINATION_DIR = path.join(CURR_DIR, '');
- }
-
- const TEMP_PLUGIN_NAME = 'Sort';
-
- let projectValue: string = '';
- let projectUpperValue: string = '';
-
- const CHOICES = fs.readdirSync(path.join(__dirname, 'templates'));
- const QUESTIONS = [
- {
- name: 'template',
- type: 'list',
- message: 'What template would you like to use?',
- choices: CHOICES,
- },
- {
- name: 'name',
- type: 'input',
- message: 'Please input a new plugin name:',
- },
- ];
-
- inquirer.prompt(QUESTIONS).then((answers) => {
- const projectChoice = answers['template'] as string;
- projectValue = answers['name'] as string;
- projectUpperValue = capitalizeFirstLetter(projectValue);
-
- const projectName = ('plugin-' + projectValue).replace(/([A-Z])/g, (match) => `-${match.toLowerCase()}`);
-
- //@ts-ignore
- const templatePath = path.join(__dirname, 'templates', projectChoice);
-
- // sheets-plugin-data-validation => sheets-plugin-data-validation
- //@ts-ignore
- const tartgetPath = path.join(DESTINATION_DIR, projectName);
-
- cliOptions.projectName = projectName;
- cliOptions.templateName = projectChoice;
- cliOptions.templatePath = templatePath;
- cliOptions.tartgetPath = tartgetPath;
-
- if (!createProject(tartgetPath)) {
- return;
- }
-
- //@ts-ignore
- createDirectoryContents(templatePath, projectName, cliOptions);
-
- // postProcess(cliOptions);
- devTips(projectName);
- });
-
- function createDirectoryContents(templatePath: string, projectName: string) {
- // read all files/folders (1 level) from template folder
- const filesToCreate = fs.readdirSync(templatePath);
- // loop each file/folder
- filesToCreate.forEach((file) => {
- const origFilePath = path.join(templatePath, file);
-
- // get stats about the current file
- const stats = fs.statSync(origFilePath);
-
- // skip files that should not be copied
- if (SKIP_FILES.indexOf(file) > -1) return;
-
- if (stats.isFile()) {
- // read file content and transform it using template engine
- let contents = fs.readFileSync(origFilePath, 'utf8');
-
- contents = template.render(contents, { projectValue, projectUpperValue, projectName: cliOptions.projectName });
-
- // write file to destination folder
- let writePath = path.join(DESTINATION_DIR, projectName, file);
-
- // change file name
- if (writePath.indexOf(TEMP_PLUGIN_NAME) > -1) {
- writePath = writePath.replace(TEMP_PLUGIN_NAME, projectUpperValue);
- }
-
- fs.writeFileSync(writePath, contents, 'utf8');
- } else if (stats.isDirectory()) {
- // create folder in destination folder
-
- let writeFolderPath = path.join(DESTINATION_DIR, projectName, file);
-
- // change folder name (Not recommended. Because the directory of each plug-in should be the same)
- // if (writeFolderPath.indexOf(TEMP_PLUGIN_NAME) > -1) {
- // writeFolderPath = writeFolderPath.replace(TEMP_PLUGIN_NAME, projectUpperValue);
- // }
-
- fs.mkdirSync(writeFolderPath);
-
- // const destination = path.join(CURR_DIR, 'packages');
- // fs.mkdirSync(path.join(destination, projectName, file));
- // copy files/folder inside current folder recursively
- createDirectoryContents(path.join(templatePath, file), path.join(projectName, file));
- }
- });
- }
-}
-
-function createProject(projectPath: string) {
- if (fs.existsSync(projectPath)) {
- console.log(chalk.red(`Folder ${projectPath} exists. Delete or use another name.`));
- return false;
- }
- fs.mkdirSync(projectPath);
-
- return true;
-}
-
-function capitalizeFirstLetter(string: string) {
- return string.charAt(0).toUpperCase() + string.slice(1);
-}
-
-function devTips(projectName: string) {
- // pnpm run --filter @univerjs/sheets-plugin-<%= projectValue %> dev
- console.log(chalk.green(` SUCCESS!\n\n`), chalk.white(`Check directory packages/${projectName}, run the following command to develop: \n\n`), chalk.green(`pnpm run --filter @univerjs/${projectName} dev`));
-}
diff --git a/cli/src/templates/base/.gitignore b/cli/src/templates/base/.gitignore
deleted file mode 100644
index 12e1bd6bec..0000000000
--- a/cli/src/templates/base/.gitignore
+++ /dev/null
@@ -1,101 +0,0 @@
-#ide
-*.DS_Store
-.idea
-.vscode
-
-#npm
-package-lock.json
-
-dist
-lib
-docs/.vuepress/dist
-
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-
-# Runtime config
-pids
-*.pid
-*.seed
-*.pid.lock
-
-# Directory for instrumented libs generated by jscoverage/JSCover
-lib-cov
-
-# Coverage directory used by tools like istanbul
-coverage
-
-# nyc test coverage
-.nyc_output
-
-# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
-.grunt
-
-# Bower dependency directory (https://bower.io/)
-bower_components
-
-# node-waf configuration
-.lock-wscript
-
-# Compiled binary addons (https://nodejs.org/api/addons.html)
-build/Release
-
-# Dependency directories
-node_modules
-jspm_packages/
-
-# TypeScript v1 declaration files
-typings/
-
-# Optional npm cache directory
-.npm
-
-# Optional eslint cache
-.eslintcache
-
-# Optional REPL History
-.node_repl_history
-
-# Output of 'npm pack'
-*.tgz
-
-# Yarn Integrity file
-.yarn-integrity
-
-# dotenv environment variables file
-.env
-
-# next.js build output
-.next
-
-#lerna-changelog
-.changelog
-
-
-#editor workspace file
-.idea/
-
-
-.DS_Store
-
-.history
-# examples
-
-
-# Production
-/build
-
-# Generated files
-.docusaurus
-.cache-loader
-
-# Misc
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
diff --git a/cli/src/templates/base/README.md b/cli/src/templates/base/README.md
deleted file mode 100644
index f94a285cef..0000000000
--- a/cli/src/templates/base/README.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# @univerjs/<%= projectName %>
-
-## Introduction
-
-Univer <%= projectName %>
-
-## Usage
-### Installation
-```shell
-npm i @univerjs/<%= projectName %>
-```
-
-### API
-Check [Univer](https://github.com/dream-num/univer/)
\ No newline at end of file
diff --git a/cli/src/templates/base/index.html b/cli/src/templates/base/index.html
deleted file mode 100644
index 884f135aab..0000000000
--- a/cli/src/templates/base/index.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8" />
- <link rel="icon" type="image/svg+xml" href="favicon.svg" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>UniverSheet</title>
- <style>
- html,
- body {
- height: 100%;
- margin: 0;
- }
- </style>
-</head>
-
-<body>
- <div id="app"></div>
- <div id="universheet" style="height: 100%;"></div>
- <script type="module" src="/src/main.tsx"></script>
-</body>
-
-</html>
\ No newline at end of file
diff --git a/cli/src/templates/base/jest.config.mjs b/cli/src/templates/base/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/cli/src/templates/base/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/cli/src/templates/base/package.json b/cli/src/templates/base/package.json
deleted file mode 100644
index 90f186df7a..0000000000
--- a/cli/src/templates/base/package.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "name": "@univerjs/<%= projectName %>",
- "version": "0.0.1",
- "description": "UniverSheet normal <%= projectName %>",
- "keywords": [],
- "author": "DreamNum <[email protected]>",
- "license": "MIT",
- "main": "./src/index.ts",
- "module": "./src/index.ts",
- "types": "./src/Types/index.d.ts",
- "publishConfig": {
- "main": "./lib/univer-<%= projectName %>.cjs.js",
- "module": "./lib/univer-<%= projectName %>.js",
- "types": "./lib/index.d.ts"
- },
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*"
- },
- "directories": {
- "lib": "lib"
- },
- "files": [
- "lib"
- ],
- "private": true,
- "scripts": {
- "test": "jest"
- },
- "devDependencies": {
- "@types/jest": "^27.0.1",
- "@types/node": "^16.4.6",
- "less": "^4.1.1",
- "ts-jest": "29.0.1",
- "ts-node": "^10.2.1"
- },
- "dependencies": {
- "@univerjs/common-plugin-data": "workspace:^0.0.1",
- "@univerjs/base-ui": "workspace:^0.0.1",
- "@univerjs/base-render": "workspace:^0.0.1",
- "@univerjs/core": "workspace:^0.0.1"
- }
-}
diff --git a/cli/src/templates/base/src/Basics/Const/PLUGIN_NAME.ts b/cli/src/templates/base/src/Basics/Const/PLUGIN_NAME.ts
deleted file mode 100644
index 5964f8ac95..0000000000
--- a/cli/src/templates/base/src/Basics/Const/PLUGIN_NAME.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const <%= projectConstantValue %>_PLUGIN_NAME = '<%= projectValue %>';
diff --git a/cli/src/templates/base/src/Basics/Const/index.ts b/cli/src/templates/base/src/Basics/Const/index.ts
deleted file mode 100644
index 0dc96d927a..0000000000
--- a/cli/src/templates/base/src/Basics/Const/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './PLUGIN_NAME';
diff --git a/cli/src/templates/base/src/Basics/Enum/index.ts b/cli/src/templates/base/src/Basics/Enum/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/base/src/Basics/Shared/index.ts b/cli/src/templates/base/src/Basics/Shared/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/base/src/Basics/index.ts b/cli/src/templates/base/src/Basics/index.ts
deleted file mode 100644
index 640d1bb8b3..0000000000
--- a/cli/src/templates/base/src/Basics/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export * from './Const';
-export * from './Enum';
-export * from '../Locale';
-export * from './Shared';
diff --git a/cli/src/templates/base/src/Controller/SortController.ts b/cli/src/templates/base/src/Controller/SortController.ts
deleted file mode 100644
index 9781fe0a74..0000000000
--- a/cli/src/templates/base/src/Controller/SortController.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { BaseComponentRender } from '@univerjs/base-ui';
-import { <%= projectUpperValue %>Plugin } from '../<%= projectUpperValue %>Plugin';
-
-export class <%= projectUpperValue %>Controller {
-
- protected _plugin: <%= projectUpperValue %>Plugin;
-
- protected _render: BaseComponentRender;
-
- constructor(plugin: <%= projectUpperValue %>Plugin) {
- this._plugin = plugin;
- }
-}
diff --git a/cli/src/templates/base/src/Controller/index.ts b/cli/src/templates/base/src/Controller/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/base/src/Locale/en.ts b/cli/src/templates/base/src/Locale/en.ts
deleted file mode 100644
index e60e73303a..0000000000
--- a/cli/src/templates/base/src/Locale/en.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export default {
- <%= projectValue %>: {
- tooltip: '<%= projectUpperValue %>',
- one:'one',
- two:'two',
- three:'three',
- },
-};
diff --git a/cli/src/templates/base/src/Locale/index.ts b/cli/src/templates/base/src/Locale/index.ts
deleted file mode 100644
index 3ac4bcd0fd..0000000000
--- a/cli/src/templates/base/src/Locale/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import zh from './zh';
-import en from './en';
-
-export { zh, en };
diff --git a/cli/src/templates/base/src/Locale/zh.ts b/cli/src/templates/base/src/Locale/zh.ts
deleted file mode 100644
index 3288d76f8e..0000000000
--- a/cli/src/templates/base/src/Locale/zh.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export default {
- <%= projectValue %>: {
- tooltip: '<%= projectUpperValue %>',
- one:'一',
- two:'二',
- three:'三',
- },
-};
diff --git a/cli/src/templates/base/src/Model/index.ts b/cli/src/templates/base/src/Model/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/base/src/Service/index.ts b/cli/src/templates/base/src/Service/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/base/src/SortPlugin.tsx b/cli/src/templates/base/src/SortPlugin.tsx
deleted file mode 100644
index eb24eee5a6..0000000000
--- a/cli/src/templates/base/src/SortPlugin.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import { Plugin, UniverSheet } from '@univerjs/core';
-import { zh, en } from './Locale';
-import { <%= projectConstantValue %>_PLUGIN_NAME} from './Basics/Const/PLUGIN_NAME'
-import { <%= projectUpperValue %>Controller } from './Controller/<%= projectUpperValue %>Controller';
-
-export interface I<%= projectUpperValue %>PluginConfig {}
-
-export class <%= projectUpperValue %>Plugin extends Plugin {
- private _<%= projectValue %>Controller: <%= projectUpperValue %>Controller;
-
- constructor(config ?: I<%= projectUpperValue %>PluginConfig) {
- super(<%= projectConstantValue %>_PLUGIN_NAME);
- }
-
- static create(config?: I<%= projectUpperValue %>PluginConfig) {
- return new <%= projectUpperValue %>Plugin(config);
- }
-
- installTo(universheetInstance: UniverSheet) {
- universheetInstance.installPlugin(this);
- }
-
- initialize(): void {
-
- const context = this.getContext();
-
- /**
- * load more Locale object
- */
- context.getLocale().load({
- en: en,
- zh: zh,
- });
-
- this._<%= projectValue %>Controller = new <%= projectUpperValue %>Controller(this);
- }
-
- onRendered(): void {
- this.initialize()
- }
-
- onDestroy(): void {}
-}
diff --git a/cli/src/templates/base/src/Types/index.d.ts b/cli/src/templates/base/src/Types/index.d.ts
deleted file mode 100644
index feaab1b147..0000000000
--- a/cli/src/templates/base/src/Types/index.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export * from '../index';
-declare module '@univerjs/<%= projectName %>' {}
diff --git a/cli/src/templates/base/src/View/Render/index.ts b/cli/src/templates/base/src/View/Render/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/base/src/View/UI/index.ts b/cli/src/templates/base/src/View/UI/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/base/src/index.ts b/cli/src/templates/base/src/index.ts
deleted file mode 100644
index e0eaae3c5a..0000000000
--- a/cli/src/templates/base/src/index.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export * from './<%= projectUpperValue %>Plugin';
-
diff --git a/cli/src/templates/base/src/main.tsx b/cli/src/templates/base/src/main.tsx
deleted file mode 100644
index fcddbf3016..0000000000
--- a/cli/src/templates/base/src/main.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import { UniverSheet } from '@univerjs/core';
-import { RenderEngine } from '@univerjs/base-render';
-import { SheetPlugin } from '@univerjs/base-sheets';
-
-import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';
-
-import { <%= projectUpperValue %>Plugin } from './<%= projectUpperValue %>Plugin';
-
-
-const uiDefaultConfigUp = {
- container: 'universheet',
-};
-
-const univerSheet = UniverSheet.newInstance(DEFAULT_WORKBOOK_DATA);
-
-univerSheet.installPlugin(new RenderEngine());
-univerSheet.installPlugin(new UniverComponentSheet());
-
-univerSheet.installPlugin(new SheetPlugin(uiDefaultConfigUp));
-univerSheet.installPlugin(new <%= projectUpperValue %>Plugin());
diff --git a/cli/src/templates/base/tsconfig.json b/cli/src/templates/base/tsconfig.json
deleted file mode 100644
index 69b5c31f0b..0000000000
--- a/cli/src/templates/base/tsconfig.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "extends": "../../tsconfig.json",
- "compilerOptions": {
- "rootDir": "./",
- "outDir": "lib",
- "moduleResolution": "Node", //This value is needed for Node.js.
- "baseUrl": "./",
- "esModuleInterop": true, // auto allowSyntheticDefaultImports true
- "strictPropertyInitialization": false
- },
- "include": [
- "src/**/*",
- "test/**/*.test.(ts|tsx|js)"
- ]
-}
\ No newline at end of file
diff --git a/cli/src/templates/common-plugin/.gitignore b/cli/src/templates/common-plugin/.gitignore
deleted file mode 100644
index 12e1bd6bec..0000000000
--- a/cli/src/templates/common-plugin/.gitignore
+++ /dev/null
@@ -1,101 +0,0 @@
-#ide
-*.DS_Store
-.idea
-.vscode
-
-#npm
-package-lock.json
-
-dist
-lib
-docs/.vuepress/dist
-
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-
-# Runtime config
-pids
-*.pid
-*.seed
-*.pid.lock
-
-# Directory for instrumented libs generated by jscoverage/JSCover
-lib-cov
-
-# Coverage directory used by tools like istanbul
-coverage
-
-# nyc test coverage
-.nyc_output
-
-# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
-.grunt
-
-# Bower dependency directory (https://bower.io/)
-bower_components
-
-# node-waf configuration
-.lock-wscript
-
-# Compiled binary addons (https://nodejs.org/api/addons.html)
-build/Release
-
-# Dependency directories
-node_modules
-jspm_packages/
-
-# TypeScript v1 declaration files
-typings/
-
-# Optional npm cache directory
-.npm
-
-# Optional eslint cache
-.eslintcache
-
-# Optional REPL History
-.node_repl_history
-
-# Output of 'npm pack'
-*.tgz
-
-# Yarn Integrity file
-.yarn-integrity
-
-# dotenv environment variables file
-.env
-
-# next.js build output
-.next
-
-#lerna-changelog
-.changelog
-
-
-#editor workspace file
-.idea/
-
-
-.DS_Store
-
-.history
-# examples
-
-
-# Production
-/build
-
-# Generated files
-.docusaurus
-.cache-loader
-
-# Misc
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
diff --git a/cli/src/templates/common-plugin/README.md b/cli/src/templates/common-plugin/README.md
deleted file mode 100644
index f94a285cef..0000000000
--- a/cli/src/templates/common-plugin/README.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# @univerjs/<%= projectName %>
-
-## Introduction
-
-Univer <%= projectName %>
-
-## Usage
-### Installation
-```shell
-npm i @univerjs/<%= projectName %>
-```
-
-### API
-Check [Univer](https://github.com/dream-num/univer/)
\ No newline at end of file
diff --git a/cli/src/templates/common-plugin/index.html b/cli/src/templates/common-plugin/index.html
deleted file mode 100644
index 7326249c9f..0000000000
--- a/cli/src/templates/common-plugin/index.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8" />
- <link rel="icon" type="image/svg+xml" href="favicon.svg" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>Univer</title>
- <style>
- html,
- body {
- height: 100%;
- margin: 0;
- }
- </style>
-</head>
-
-<body>
- <div id="app" style="position:absolute;z-index: 1;"></div>
- <div id="universheet" style="height: 30vh;"></div>
- <div id="univerdoc" style="height: 30vh;"></div>
- <div id="universlide" style="height: 30vh;"></div>
- <script type="module" src="/src/main.tsx"></script>
-</body>
-
-</html>
\ No newline at end of file
diff --git a/cli/src/templates/common-plugin/jest.config.mjs b/cli/src/templates/common-plugin/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/cli/src/templates/common-plugin/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/cli/src/templates/common-plugin/package.json b/cli/src/templates/common-plugin/package.json
deleted file mode 100644
index 65b9321d0b..0000000000
--- a/cli/src/templates/common-plugin/package.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "name": "@univerjs/<%= projectName %>",
- "version": "0.0.1",
- "description": "UniverSheet normal <%= projectName %>",
- "keywords": [],
- "author": "DreamNum <[email protected]>",
- "license": "MIT",
- "main": "./src/index.ts",
- "module": "./src/index.ts",
- "types": "./src/Types/index.d.ts",
- "publishConfig": {
- "main": "./lib/univer-<%= projectName %>.cjs.js",
- "module": "./lib/univer-<%= projectName %>.js",
- "types": "./lib/index.d.ts"
- },
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*"
- },
- "directories": {
- "lib": "lib"
- },
- "files": [
- "lib"
- ],
- "private": true,
- "scripts": {
- "test": "jest"
- },
- "devDependencies": {
- "@types/jest": "^27.0.1",
- "@types/node": "^16.4.6",
- "less": "^4.1.1",
- "ts-jest": "29.0.1",
- "ts-node": "^10.2.1"
- },
- "dependencies": {
- "@univerjs/common-plugin-data": "workspace:^0.0.1",
- "@univerjs/base-ui": "workspace:^0.0.1",
- "@univerjs/base-render": "workspace:^0.0.1",
- "@univerjs/core": "workspace:^0.0.1",
- "@univerjs/base-sheets": "workspace:^0.0.1",
- "@univerjs/base-docs": "workspace:^0.0.1",
- "@univerjs/base-slides": "workspace:^0.0.1"
- }
-}
diff --git a/cli/src/templates/common-plugin/src/Basics/Const/PLUGIN_NAME.ts b/cli/src/templates/common-plugin/src/Basics/Const/PLUGIN_NAME.ts
deleted file mode 100644
index 5964f8ac95..0000000000
--- a/cli/src/templates/common-plugin/src/Basics/Const/PLUGIN_NAME.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const <%= projectConstantValue %>_PLUGIN_NAME = '<%= projectValue %>';
diff --git a/cli/src/templates/common-plugin/src/Basics/Const/index.ts b/cli/src/templates/common-plugin/src/Basics/Const/index.ts
deleted file mode 100644
index 0dc96d927a..0000000000
--- a/cli/src/templates/common-plugin/src/Basics/Const/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './PLUGIN_NAME';
diff --git a/cli/src/templates/common-plugin/src/Basics/Enum/index.ts b/cli/src/templates/common-plugin/src/Basics/Enum/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/common-plugin/src/Basics/Shared/index.ts b/cli/src/templates/common-plugin/src/Basics/Shared/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/common-plugin/src/Basics/index.ts b/cli/src/templates/common-plugin/src/Basics/index.ts
deleted file mode 100644
index 640d1bb8b3..0000000000
--- a/cli/src/templates/common-plugin/src/Basics/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export * from './Const';
-export * from './Enum';
-export * from '../Locale';
-export * from './Shared';
diff --git a/cli/src/templates/common-plugin/src/Controller/SortController.ts b/cli/src/templates/common-plugin/src/Controller/SortController.ts
deleted file mode 100644
index 9781fe0a74..0000000000
--- a/cli/src/templates/common-plugin/src/Controller/SortController.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { BaseComponentRender } from '@univerjs/base-ui';
-import { <%= projectUpperValue %>Plugin } from '../<%= projectUpperValue %>Plugin';
-
-export class <%= projectUpperValue %>Controller {
-
- protected _plugin: <%= projectUpperValue %>Plugin;
-
- protected _render: BaseComponentRender;
-
- constructor(plugin: <%= projectUpperValue %>Plugin) {
- this._plugin = plugin;
- }
-}
diff --git a/cli/src/templates/common-plugin/src/Controller/index.ts b/cli/src/templates/common-plugin/src/Controller/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/common-plugin/src/Locale/en.ts b/cli/src/templates/common-plugin/src/Locale/en.ts
deleted file mode 100644
index e60e73303a..0000000000
--- a/cli/src/templates/common-plugin/src/Locale/en.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export default {
- <%= projectValue %>: {
- tooltip: '<%= projectUpperValue %>',
- one:'one',
- two:'two',
- three:'three',
- },
-};
diff --git a/cli/src/templates/common-plugin/src/Locale/index.ts b/cli/src/templates/common-plugin/src/Locale/index.ts
deleted file mode 100644
index 3ac4bcd0fd..0000000000
--- a/cli/src/templates/common-plugin/src/Locale/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import zh from './zh';
-import en from './en';
-
-export { zh, en };
diff --git a/cli/src/templates/common-plugin/src/Locale/zh.ts b/cli/src/templates/common-plugin/src/Locale/zh.ts
deleted file mode 100644
index 3288d76f8e..0000000000
--- a/cli/src/templates/common-plugin/src/Locale/zh.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export default {
- <%= projectValue %>: {
- tooltip: '<%= projectUpperValue %>',
- one:'一',
- two:'二',
- three:'三',
- },
-};
diff --git a/cli/src/templates/common-plugin/src/Model/index.ts b/cli/src/templates/common-plugin/src/Model/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/common-plugin/src/Service/index.ts b/cli/src/templates/common-plugin/src/Service/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/common-plugin/src/SortPlugin.tsx b/cli/src/templates/common-plugin/src/SortPlugin.tsx
deleted file mode 100644
index b61dc93aef..0000000000
--- a/cli/src/templates/common-plugin/src/SortPlugin.tsx
+++ /dev/null
@@ -1,44 +0,0 @@
-import { Plugin, UniverSheet, UniverDoc, UniverSlide } from '@univerjs/core';
-import { zh, en } from './Locale';
-import { <%= projectConstantValue %>_PLUGIN_NAME} from './Basics/Const/PLUGIN_NAME'
-import { <%= projectUpperValue %>Controller } from './Controller/<%= projectUpperValue %>Controller';
-
-export interface I<%= projectUpperValue %>PluginConfig {}
-
-export class <%= projectUpperValue %>Plugin extends Plugin {
- private _<%= projectValue %>Controller: <%= projectUpperValue %>Controller;
-
- constructor(config ?: I<%= projectUpperValue %>PluginConfig) {
- super(<%= projectConstantValue %>_PLUGIN_NAME);
- }
-
- static create(config?: I<%= projectUpperValue %>PluginConfig) {
- return new <%= projectUpperValue %>Plugin(config);
- }
-
- installTo(univerInstance: UniverSheet | UniverDoc | UniverSlide) {
- univerInstance.installPlugin(this);
- }
-
- initialize(): void {
-
- const context = this.getContext();
-
- /**
- * load more Locale object
- */
- context.getLocale().load({
- en: en,
- zh: zh,
- });
-
- this._<%= projectValue %>Controller = new <%= projectUpperValue %>Controller(this);
-
- }
-
- onRendered(): void {
- this.initialize()
- }
-
- onDestroy(): void {}
-}
diff --git a/cli/src/templates/common-plugin/src/Types/index.d.ts b/cli/src/templates/common-plugin/src/Types/index.d.ts
deleted file mode 100644
index feaab1b147..0000000000
--- a/cli/src/templates/common-plugin/src/Types/index.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export * from '../index';
-declare module '@univerjs/<%= projectName %>' {}
diff --git a/cli/src/templates/common-plugin/src/View/Render/index.ts b/cli/src/templates/common-plugin/src/View/Render/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/common-plugin/src/View/UI/index.ts b/cli/src/templates/common-plugin/src/View/UI/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/common-plugin/src/index.ts b/cli/src/templates/common-plugin/src/index.ts
deleted file mode 100644
index 7b959cf8c0..0000000000
--- a/cli/src/templates/common-plugin/src/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './<%= projectUpperValue %>Plugin';
\ No newline at end of file
diff --git a/cli/src/templates/common-plugin/src/main.tsx b/cli/src/templates/common-plugin/src/main.tsx
deleted file mode 100644
index 8acfbd380b..0000000000
--- a/cli/src/templates/common-plugin/src/main.tsx
+++ /dev/null
@@ -1,49 +0,0 @@
-import { UniverSheet, UniverDoc, UniverSlide } from '@univerjs/core';
-import { RenderEngine } from '@univerjs/base-render';
-import { SheetPlugin } from '@univerjs/base-sheets';
-import { DocPlugin } from '@univerjs/base-docs';
-import { SlidePlugin } from '@univerjs/base-slides';
-import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';
-
-import { <%= projectUpperValue %>Plugin } from './<%= projectUpperValue %>Plugin';
-
-// sheet
-const sheetPluginConfig = {
- container: 'universheet',
-};
-
-const univerSheet = UniverSheet.newInstance(DEFAULT_WORKBOOK_DATA);
-
-univerSheet.installPlugin(new RenderEngine());
-univerSheet.installPlugin(new UniverComponentSheet());
-
-univerSheet.installPlugin(new SheetPlugin(sheetPluginConfig));
-univerSheet.installPlugin(new <%= projectUpperValue %>Plugin());
-
-// doc
-
-const docPluginConfig = {
- container: 'univerdoc',
-};
-const univerDoc = UniverDoc.newInstance();
-
-univerDoc.installPlugin(new RenderEngine());
-univerDoc.installPlugin(new UniverComponentSheet());
-
-univerDoc.installPlugin(new DocPlugin(docPluginConfig));
-univerDoc.installPlugin(new <%= projectUpperValue %>Plugin());
-
-
-// SlidePlugin
-
-const slidePluginConfig = {
- container: 'universlide',
-};
-
-const univerSlide = UniverSlide.newInstance();
-
-univerSlide.installPlugin(new RenderEngine());
-univerSlide.installPlugin(new UniverComponentSheet());
-
-univerSlide.installPlugin(new SlidePlugin(slidePluginConfig));
-univerSlide.installPlugin(new <%= projectUpperValue %>Plugin());
diff --git a/cli/src/templates/common-plugin/tsconfig.json b/cli/src/templates/common-plugin/tsconfig.json
deleted file mode 100644
index 69b5c31f0b..0000000000
--- a/cli/src/templates/common-plugin/tsconfig.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "extends": "../../tsconfig.json",
- "compilerOptions": {
- "rootDir": "./",
- "outDir": "lib",
- "moduleResolution": "Node", //This value is needed for Node.js.
- "baseUrl": "./",
- "esModuleInterop": true, // auto allowSyntheticDefaultImports true
- "strictPropertyInitialization": false
- },
- "include": [
- "src/**/*",
- "test/**/*.test.(ts|tsx|js)"
- ]
-}
\ No newline at end of file
diff --git a/cli/src/templates/docs-plugin/.gitignore b/cli/src/templates/docs-plugin/.gitignore
deleted file mode 100644
index 12e1bd6bec..0000000000
--- a/cli/src/templates/docs-plugin/.gitignore
+++ /dev/null
@@ -1,101 +0,0 @@
-#ide
-*.DS_Store
-.idea
-.vscode
-
-#npm
-package-lock.json
-
-dist
-lib
-docs/.vuepress/dist
-
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-
-# Runtime config
-pids
-*.pid
-*.seed
-*.pid.lock
-
-# Directory for instrumented libs generated by jscoverage/JSCover
-lib-cov
-
-# Coverage directory used by tools like istanbul
-coverage
-
-# nyc test coverage
-.nyc_output
-
-# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
-.grunt
-
-# Bower dependency directory (https://bower.io/)
-bower_components
-
-# node-waf configuration
-.lock-wscript
-
-# Compiled binary addons (https://nodejs.org/api/addons.html)
-build/Release
-
-# Dependency directories
-node_modules
-jspm_packages/
-
-# TypeScript v1 declaration files
-typings/
-
-# Optional npm cache directory
-.npm
-
-# Optional eslint cache
-.eslintcache
-
-# Optional REPL History
-.node_repl_history
-
-# Output of 'npm pack'
-*.tgz
-
-# Yarn Integrity file
-.yarn-integrity
-
-# dotenv environment variables file
-.env
-
-# next.js build output
-.next
-
-#lerna-changelog
-.changelog
-
-
-#editor workspace file
-.idea/
-
-
-.DS_Store
-
-.history
-# examples
-
-
-# Production
-/build
-
-# Generated files
-.docusaurus
-.cache-loader
-
-# Misc
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
diff --git a/cli/src/templates/docs-plugin/README.md b/cli/src/templates/docs-plugin/README.md
deleted file mode 100644
index f94a285cef..0000000000
--- a/cli/src/templates/docs-plugin/README.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# @univerjs/<%= projectName %>
-
-## Introduction
-
-Univer <%= projectName %>
-
-## Usage
-### Installation
-```shell
-npm i @univerjs/<%= projectName %>
-```
-
-### API
-Check [Univer](https://github.com/dream-num/univer/)
\ No newline at end of file
diff --git a/cli/src/templates/docs-plugin/index.html b/cli/src/templates/docs-plugin/index.html
deleted file mode 100644
index e7892b74ee..0000000000
--- a/cli/src/templates/docs-plugin/index.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8" />
- <link rel="icon" type="image/svg+xml" href="favicon.svg" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>UniverDoc</title>
- <style>
- html,
- body {
- height: 100%;
- margin: 0;
- }
- </style>
-</head>
-
-<body>
- <div id="app" style="position:absolute;z-index: 1;"></div>
- <div id="univerdoc" style="height: 100%;"></div>
- <script type="module" src="/src/main.tsx"></script>
-</body>
-
-</html>
\ No newline at end of file
diff --git a/cli/src/templates/docs-plugin/jest.config.mjs b/cli/src/templates/docs-plugin/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/cli/src/templates/docs-plugin/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/cli/src/templates/docs-plugin/package.json b/cli/src/templates/docs-plugin/package.json
deleted file mode 100644
index 3645d6e443..0000000000
--- a/cli/src/templates/docs-plugin/package.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "name": "@univerjs/<%= projectName %>",
- "version": "0.0.1",
- "description": "UniverSheet normal <%= projectName %>",
- "keywords": [],
- "author": "DreamNum <[email protected]>",
- "license": "MIT",
- "main": "./src/index.ts",
- "module": "./src/index.ts",
- "types": "./src/Types/index.d.ts",
- "publishConfig": {
- "main": "./lib/univer-<%= projectName %>.cjs.js",
- "module": "./lib/univer-<%= projectName %>.js",
- "types": "./lib/index.d.ts"
- },
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*"
- },
-
- "files": [
- "lib"
- ],
- "private": true,
- "scripts": {
- "test": "jest"
- },
- "devDependencies": {
- "@types/jest": "^27.0.1",
- "@types/node": "^16.4.6",
- "less": "^4.1.1",
- "ts-jest": "29.0.1",
- "ts-node": "^10.2.1"
- },
- "dependencies": {
- "@univerjs/common-plugin-data": "workspace:^0.0.1",
- "@univerjs/base-ui": "workspace:^0.0.1",
- "@univerjs/base-render": "workspace:^0.0.1",
- "@univerjs/core": "workspace:^0.0.1",
- "@univerjs/base-docs": "workspace:^0.0.1"
- }
-}
diff --git a/cli/src/templates/docs-plugin/src/Basics/Const/PLUGIN_NAME.ts b/cli/src/templates/docs-plugin/src/Basics/Const/PLUGIN_NAME.ts
deleted file mode 100644
index 5964f8ac95..0000000000
--- a/cli/src/templates/docs-plugin/src/Basics/Const/PLUGIN_NAME.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const <%= projectConstantValue %>_PLUGIN_NAME = '<%= projectValue %>';
diff --git a/cli/src/templates/docs-plugin/src/Basics/Const/index.ts b/cli/src/templates/docs-plugin/src/Basics/Const/index.ts
deleted file mode 100644
index 0dc96d927a..0000000000
--- a/cli/src/templates/docs-plugin/src/Basics/Const/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './PLUGIN_NAME';
diff --git a/cli/src/templates/docs-plugin/src/Basics/Enum/index.ts b/cli/src/templates/docs-plugin/src/Basics/Enum/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/docs-plugin/src/Basics/Shared/index.ts b/cli/src/templates/docs-plugin/src/Basics/Shared/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/docs-plugin/src/Basics/index.ts b/cli/src/templates/docs-plugin/src/Basics/index.ts
deleted file mode 100644
index 640d1bb8b3..0000000000
--- a/cli/src/templates/docs-plugin/src/Basics/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export * from './Const';
-export * from './Enum';
-export * from '../Locale';
-export * from './Shared';
diff --git a/cli/src/templates/docs-plugin/src/Controller/SortController.ts b/cli/src/templates/docs-plugin/src/Controller/SortController.ts
deleted file mode 100644
index ac3f86abf5..0000000000
--- a/cli/src/templates/docs-plugin/src/Controller/SortController.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import { BaseComponentRender } from '@univerjs/base-ui';
-import { DocPlugin } from '@univerjs/base-docs';
-import { <%= projectConstantValue %>_PLUGIN_NAME } from '../Basics/Const';
-import { <%= projectUpperValue %>Plugin } from '../<%= projectUpperValue %>Plugin';
-
-export class <%= projectUpperValue %>Controller {
- protected _docPlugin: DocPlugin;
-
- protected _plugin: <%= projectUpperValue %>Plugin;
-
- protected _render: BaseComponentRender;
-
- constructor(plugin: <%= projectUpperValue %>Plugin) {
- this._plugin = plugin;
- }
-}
diff --git a/cli/src/templates/docs-plugin/src/Controller/index.ts b/cli/src/templates/docs-plugin/src/Controller/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/docs-plugin/src/Locale/en.ts b/cli/src/templates/docs-plugin/src/Locale/en.ts
deleted file mode 100644
index e60e73303a..0000000000
--- a/cli/src/templates/docs-plugin/src/Locale/en.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export default {
- <%= projectValue %>: {
- tooltip: '<%= projectUpperValue %>',
- one:'one',
- two:'two',
- three:'three',
- },
-};
diff --git a/cli/src/templates/docs-plugin/src/Locale/index.ts b/cli/src/templates/docs-plugin/src/Locale/index.ts
deleted file mode 100644
index 3ac4bcd0fd..0000000000
--- a/cli/src/templates/docs-plugin/src/Locale/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import zh from './zh';
-import en from './en';
-
-export { zh, en };
diff --git a/cli/src/templates/docs-plugin/src/Locale/zh.ts b/cli/src/templates/docs-plugin/src/Locale/zh.ts
deleted file mode 100644
index 3288d76f8e..0000000000
--- a/cli/src/templates/docs-plugin/src/Locale/zh.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export default {
- <%= projectValue %>: {
- tooltip: '<%= projectUpperValue %>',
- one:'一',
- two:'二',
- three:'三',
- },
-};
diff --git a/cli/src/templates/docs-plugin/src/Model/index.ts b/cli/src/templates/docs-plugin/src/Model/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/docs-plugin/src/Service/index.ts b/cli/src/templates/docs-plugin/src/Service/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/docs-plugin/src/SortPlugin.tsx b/cli/src/templates/docs-plugin/src/SortPlugin.tsx
deleted file mode 100644
index 95c8a09ce9..0000000000
--- a/cli/src/templates/docs-plugin/src/SortPlugin.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import { Plugin, DocContext, UniverDoc } from '@univerjs/core';
-import { zh, en } from './Locale';
-import { <%= projectConstantValue %>_PLUGIN_NAME} from './Basics/Const/PLUGIN_NAME'
-import { <%= projectUpperValue %>Controller } from './Controller/<%= projectUpperValue %>Controller';
-
-export interface I<%= projectUpperValue %>PluginConfig {}
-
-export class <%= projectUpperValue %>Plugin extends Plugin<any, DocContext> {
- private _<%= projectValue %>Controller: <%= projectUpperValue %>Controller;
-
- constructor(config ?: I<%= projectUpperValue %>PluginConfig) {
- super(<%= projectConstantValue %>_PLUGIN_NAME);
- }
-
- static create(config?: I<%= projectUpperValue %>PluginConfig) {
- return new <%= projectUpperValue %>Plugin(config);
- }
-
- installTo(universheetInstance: UniverDoc) {
- universheetInstance.installPlugin(this);
- }
-
- initialize(): void {
-
- const context = this.getContext();
-
- /**
- * load more Locale object
- */
- context.getLocale().load({
- en: en,
- zh: zh,
- });
-
- this._<%= projectValue %>Controller = new <%= projectUpperValue %>Controller(this);
- }
-
- onRendered(): void {
- this.initialize()
- }
-
- onDestroy(): void {}
-}
diff --git a/cli/src/templates/docs-plugin/src/Types/index.d.ts b/cli/src/templates/docs-plugin/src/Types/index.d.ts
deleted file mode 100644
index feaab1b147..0000000000
--- a/cli/src/templates/docs-plugin/src/Types/index.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export * from '../index';
-declare module '@univerjs/<%= projectName %>' {}
diff --git a/cli/src/templates/docs-plugin/src/View/Render/index.ts b/cli/src/templates/docs-plugin/src/View/Render/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/docs-plugin/src/View/UI/index.ts b/cli/src/templates/docs-plugin/src/View/UI/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/docs-plugin/src/index.ts b/cli/src/templates/docs-plugin/src/index.ts
deleted file mode 100644
index 7b959cf8c0..0000000000
--- a/cli/src/templates/docs-plugin/src/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './<%= projectUpperValue %>Plugin';
\ No newline at end of file
diff --git a/cli/src/templates/docs-plugin/src/main.tsx b/cli/src/templates/docs-plugin/src/main.tsx
deleted file mode 100644
index eb02ed1090..0000000000
--- a/cli/src/templates/docs-plugin/src/main.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import { UniverDoc } from '@univerjs/core';
-import { RenderEngine } from '@univerjs/base-render';
-import { DocPlugin } from '@univerjs/base-docs';
-
-
-import { <%= projectUpperValue %>Plugin } from './<%= projectUpperValue %>Plugin';
-
-
-const uiDefaultConfigUp = {
- container: 'univerdoc',
-};
-
-const univerDoc = UniverDoc.newInstance();
-
-univerDoc.installPlugin(new RenderEngine());
-univerDoc.installPlugin(new UniverComponentSheet());
-
-univerDoc.installPlugin(new DocPlugin(uiDefaultConfigUp));
-univerDoc.installPlugin(new <%= projectUpperValue %>Plugin());
diff --git a/cli/src/templates/docs-plugin/tsconfig.json b/cli/src/templates/docs-plugin/tsconfig.json
deleted file mode 100644
index 69b5c31f0b..0000000000
--- a/cli/src/templates/docs-plugin/tsconfig.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "extends": "../../tsconfig.json",
- "compilerOptions": {
- "rootDir": "./",
- "outDir": "lib",
- "moduleResolution": "Node", //This value is needed for Node.js.
- "baseUrl": "./",
- "esModuleInterop": true, // auto allowSyntheticDefaultImports true
- "strictPropertyInitialization": false
- },
- "include": [
- "src/**/*",
- "test/**/*.test.(ts|tsx|js)"
- ]
-}
\ No newline at end of file
diff --git a/cli/src/templates/sheets-plugin/.gitignore b/cli/src/templates/sheets-plugin/.gitignore
deleted file mode 100644
index 12e1bd6bec..0000000000
--- a/cli/src/templates/sheets-plugin/.gitignore
+++ /dev/null
@@ -1,101 +0,0 @@
-#ide
-*.DS_Store
-.idea
-.vscode
-
-#npm
-package-lock.json
-
-dist
-lib
-docs/.vuepress/dist
-
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-
-# Runtime config
-pids
-*.pid
-*.seed
-*.pid.lock
-
-# Directory for instrumented libs generated by jscoverage/JSCover
-lib-cov
-
-# Coverage directory used by tools like istanbul
-coverage
-
-# nyc test coverage
-.nyc_output
-
-# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
-.grunt
-
-# Bower dependency directory (https://bower.io/)
-bower_components
-
-# node-waf configuration
-.lock-wscript
-
-# Compiled binary addons (https://nodejs.org/api/addons.html)
-build/Release
-
-# Dependency directories
-node_modules
-jspm_packages/
-
-# TypeScript v1 declaration files
-typings/
-
-# Optional npm cache directory
-.npm
-
-# Optional eslint cache
-.eslintcache
-
-# Optional REPL History
-.node_repl_history
-
-# Output of 'npm pack'
-*.tgz
-
-# Yarn Integrity file
-.yarn-integrity
-
-# dotenv environment variables file
-.env
-
-# next.js build output
-.next
-
-#lerna-changelog
-.changelog
-
-
-#editor workspace file
-.idea/
-
-
-.DS_Store
-
-.history
-# examples
-
-
-# Production
-/build
-
-# Generated files
-.docusaurus
-.cache-loader
-
-# Misc
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
diff --git a/cli/src/templates/sheets-plugin/README.md b/cli/src/templates/sheets-plugin/README.md
deleted file mode 100644
index f94a285cef..0000000000
--- a/cli/src/templates/sheets-plugin/README.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# @univerjs/<%= projectName %>
-
-## Introduction
-
-Univer <%= projectName %>
-
-## Usage
-### Installation
-```shell
-npm i @univerjs/<%= projectName %>
-```
-
-### API
-Check [Univer](https://github.com/dream-num/univer/)
\ No newline at end of file
diff --git a/cli/src/templates/sheets-plugin/index.html b/cli/src/templates/sheets-plugin/index.html
deleted file mode 100644
index 03e558f493..0000000000
--- a/cli/src/templates/sheets-plugin/index.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8" />
- <link rel="icon" type="image/svg+xml" href="favicon.svg" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>UniverSheet</title>
- <style>
- html,
- body {
- height: 100%;
- margin: 0;
- }
- </style>
-</head>
-
-<body>
- <div id="app" style="position:absolute;z-index: 1;"></div>
- <div id="universheet" style="height: 100%;"></div>
- <script type="module" src="/src/main.tsx"></script>
-</body>
-
-</html>
\ No newline at end of file
diff --git a/cli/src/templates/sheets-plugin/jest.config.mjs b/cli/src/templates/sheets-plugin/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/cli/src/templates/sheets-plugin/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/cli/src/templates/sheets-plugin/package.json b/cli/src/templates/sheets-plugin/package.json
deleted file mode 100644
index 38dae0947e..0000000000
--- a/cli/src/templates/sheets-plugin/package.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "name": "@univerjs/<%= projectName %>",
- "version": "0.0.1",
- "description": "UniverSheet normal <%= projectName %>",
- "keywords": [],
- "author": "DreamNum <[email protected]>",
- "license": "MIT",
- "main": "./src/index.ts",
- "module": "./src/index.ts",
- "types": "./src/Types/index.d.ts",
- "publishConfig": {
- "main": "./lib/univer-<%= projectName %>.cjs.js",
- "module": "./lib/univer-<%= projectName %>.js",
- "types": "./lib/index.d.ts"
- },
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*"
- },
- "directories": {
- "lib": "lib"
- },
- "files": [
- "lib"
- ],
- "private": true,
- "scripts": {
- "test": "jest"
- },
- "devDependencies": {
- "@types/jest": "^27.0.1",
- "@types/node": "^16.4.6",
- "less": "^4.1.1",
- "ts-jest": "29.0.1",
- "ts-node": "^10.2.1"
- },
- "dependencies": {
- "@univerjs/common-plugin-data": "workspace:^0.0.1",
- "@univerjs/base-ui": "workspace:^0.0.1",
- "@univerjs/base-render": "workspace:^0.0.1",
- "@univerjs/core": "workspace:^0.0.1",
- "@univerjs/base-sheets": "workspace:^0.0.1"
- }
-}
diff --git a/cli/src/templates/sheets-plugin/src/Basics/Const/PLUGIN_NAME.ts b/cli/src/templates/sheets-plugin/src/Basics/Const/PLUGIN_NAME.ts
deleted file mode 100644
index 5964f8ac95..0000000000
--- a/cli/src/templates/sheets-plugin/src/Basics/Const/PLUGIN_NAME.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const <%= projectConstantValue %>_PLUGIN_NAME = '<%= projectValue %>';
diff --git a/cli/src/templates/sheets-plugin/src/Basics/Const/index.ts b/cli/src/templates/sheets-plugin/src/Basics/Const/index.ts
deleted file mode 100644
index 0dc96d927a..0000000000
--- a/cli/src/templates/sheets-plugin/src/Basics/Const/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './PLUGIN_NAME';
diff --git a/cli/src/templates/sheets-plugin/src/Basics/Enum/index.ts b/cli/src/templates/sheets-plugin/src/Basics/Enum/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/sheets-plugin/src/Basics/Shared/index.ts b/cli/src/templates/sheets-plugin/src/Basics/Shared/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/sheets-plugin/src/Basics/index.ts b/cli/src/templates/sheets-plugin/src/Basics/index.ts
deleted file mode 100644
index 640d1bb8b3..0000000000
--- a/cli/src/templates/sheets-plugin/src/Basics/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export * from './Const';
-export * from './Enum';
-export * from '../Locale';
-export * from './Shared';
diff --git a/cli/src/templates/sheets-plugin/src/Controller/SortController.ts b/cli/src/templates/sheets-plugin/src/Controller/SortController.ts
deleted file mode 100644
index 6fcba615dc..0000000000
--- a/cli/src/templates/sheets-plugin/src/Controller/SortController.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-import { PLUGIN_NAMES } from '@univerjs/core';
-import { BaseComponentRender } from '@univerjs/base-ui';
-import { IToolbarItemProps, SelectTypes, SheetPlugin } from '@univerjs/base-sheets';
-
-import { <%= projectConstantValue %>_PLUGIN_NAME } from '../Basics/Const';
-import { <%= projectUpperValue %>Plugin } from '../<%= projectUpperValue %>Plugin';
-
-export class <%= projectUpperValue %>Controller {
- protected _sheetPlugin: SheetPlugin;
-
- protected _toolButton: IToolbarItemProps;
-
- protected _plugin: <%= projectUpperValue %>Plugin;
-
- protected _render: BaseComponentRender;
-
- constructor(plugin: <%= projectUpperValue %>Plugin) {
- this._plugin = plugin;
- this._sheetPlugin = this._plugin.getContext().getPluginManager().getPluginByName<SheetPlugin>(PLUGIN_NAMES.SPREADSHEET)!;
-
- this._toolButton = {
- name: <%= projectConstantValue %>_PLUGIN_NAME,
- type: SelectTypes.FIX,
- locale: '<%= projectValue %>.tooltip',
- tooltipLocale: '<%= projectValue %>.tooltip',
- show: true,
- hideSelectedIcon: true,
- children: [
- {
- locale: '<%= projectValue %>.one',
- onClick: () => {
- console.log('one');
- },
- },
- {
- locale: '<%= projectValue %>.two',
- onClick: () => {
- console.log('two');
- },
- },
- {
- locale: '<%= projectValue %>.three',
- onClick: () => {
- console.log('three');
- },
- },
- ],
- };
- this._sheetPlugin.addToolButton(this._toolButton);
- }
-}
diff --git a/cli/src/templates/sheets-plugin/src/Controller/index.ts b/cli/src/templates/sheets-plugin/src/Controller/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/sheets-plugin/src/Locale/en.ts b/cli/src/templates/sheets-plugin/src/Locale/en.ts
deleted file mode 100644
index e60e73303a..0000000000
--- a/cli/src/templates/sheets-plugin/src/Locale/en.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export default {
- <%= projectValue %>: {
- tooltip: '<%= projectUpperValue %>',
- one:'one',
- two:'two',
- three:'three',
- },
-};
diff --git a/cli/src/templates/sheets-plugin/src/Locale/index.ts b/cli/src/templates/sheets-plugin/src/Locale/index.ts
deleted file mode 100644
index 3ac4bcd0fd..0000000000
--- a/cli/src/templates/sheets-plugin/src/Locale/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import zh from './zh';
-import en from './en';
-
-export { zh, en };
diff --git a/cli/src/templates/sheets-plugin/src/Locale/zh.ts b/cli/src/templates/sheets-plugin/src/Locale/zh.ts
deleted file mode 100644
index 3288d76f8e..0000000000
--- a/cli/src/templates/sheets-plugin/src/Locale/zh.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export default {
- <%= projectValue %>: {
- tooltip: '<%= projectUpperValue %>',
- one:'一',
- two:'二',
- three:'三',
- },
-};
diff --git a/cli/src/templates/sheets-plugin/src/Model/index.ts b/cli/src/templates/sheets-plugin/src/Model/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/sheets-plugin/src/Service/index.ts b/cli/src/templates/sheets-plugin/src/Service/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/sheets-plugin/src/SortPlugin.tsx b/cli/src/templates/sheets-plugin/src/SortPlugin.tsx
deleted file mode 100644
index 5ccaefa41b..0000000000
--- a/cli/src/templates/sheets-plugin/src/SortPlugin.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import { Plugin, SheetContext, UniverSheet } from '@univerjs/core';
-import { zh, en } from './Locale';
-import { <%= projectConstantValue %>_PLUGIN_NAME} from './Basics/Const/PLUGIN_NAME'
-import { <%= projectUpperValue %>Controller } from './Controller/<%= projectUpperValue %>Controller';
-
-export interface I<%= projectUpperValue %>PluginConfig {}
-
-export class <%= projectUpperValue %>Plugin extends Plugin<any, SheetContext> {
- private _<%= projectValue %>Controller: <%= projectUpperValue %>Controller;
-
- constructor(config ?: I<%= projectUpperValue %>PluginConfig) {
- super(<%= projectConstantValue %>_PLUGIN_NAME);
- }
-
- static create(config?: I<%= projectUpperValue %>PluginConfig) {
- return new <%= projectUpperValue %>Plugin(config);
- }
-
- installTo(universheetInstance: UniverSheet) {
- universheetInstance.installPlugin(this);
- }
-
- initialize(): void {
-
- const context = this.getContext();
-
- /**
- * load more Locale object
- */
- context.getLocale().load({
- en: en,
- zh: zh,
- });
-
- this._<%= projectValue %>Controller = new <%= projectUpperValue %>Controller(this);
- }
-
- onRendered(): void {
- this.initialize()
- }
-
- onDestroy(): void {}
-}
diff --git a/cli/src/templates/sheets-plugin/src/Types/index.d.ts b/cli/src/templates/sheets-plugin/src/Types/index.d.ts
deleted file mode 100644
index feaab1b147..0000000000
--- a/cli/src/templates/sheets-plugin/src/Types/index.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export * from '../index';
-declare module '@univerjs/<%= projectName %>' {}
diff --git a/cli/src/templates/sheets-plugin/src/View/Render/index.ts b/cli/src/templates/sheets-plugin/src/View/Render/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/sheets-plugin/src/View/UI/index.ts b/cli/src/templates/sheets-plugin/src/View/UI/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/sheets-plugin/src/index.ts b/cli/src/templates/sheets-plugin/src/index.ts
deleted file mode 100644
index 7b959cf8c0..0000000000
--- a/cli/src/templates/sheets-plugin/src/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './<%= projectUpperValue %>Plugin';
\ No newline at end of file
diff --git a/cli/src/templates/sheets-plugin/src/main.tsx b/cli/src/templates/sheets-plugin/src/main.tsx
deleted file mode 100644
index fcddbf3016..0000000000
--- a/cli/src/templates/sheets-plugin/src/main.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import { UniverSheet } from '@univerjs/core';
-import { RenderEngine } from '@univerjs/base-render';
-import { SheetPlugin } from '@univerjs/base-sheets';
-
-import { DEFAULT_WORKBOOK_DATA } from '@univerjs/common-plugin-data';
-
-import { <%= projectUpperValue %>Plugin } from './<%= projectUpperValue %>Plugin';
-
-
-const uiDefaultConfigUp = {
- container: 'universheet',
-};
-
-const univerSheet = UniverSheet.newInstance(DEFAULT_WORKBOOK_DATA);
-
-univerSheet.installPlugin(new RenderEngine());
-univerSheet.installPlugin(new UniverComponentSheet());
-
-univerSheet.installPlugin(new SheetPlugin(uiDefaultConfigUp));
-univerSheet.installPlugin(new <%= projectUpperValue %>Plugin());
diff --git a/cli/src/templates/sheets-plugin/tsconfig.json b/cli/src/templates/sheets-plugin/tsconfig.json
deleted file mode 100644
index 69b5c31f0b..0000000000
--- a/cli/src/templates/sheets-plugin/tsconfig.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "extends": "../../tsconfig.json",
- "compilerOptions": {
- "rootDir": "./",
- "outDir": "lib",
- "moduleResolution": "Node", //This value is needed for Node.js.
- "baseUrl": "./",
- "esModuleInterop": true, // auto allowSyntheticDefaultImports true
- "strictPropertyInitialization": false
- },
- "include": [
- "src/**/*",
- "test/**/*.test.(ts|tsx|js)"
- ]
-}
\ No newline at end of file
diff --git a/cli/src/templates/slides-plugin/.gitignore b/cli/src/templates/slides-plugin/.gitignore
deleted file mode 100644
index 12e1bd6bec..0000000000
--- a/cli/src/templates/slides-plugin/.gitignore
+++ /dev/null
@@ -1,101 +0,0 @@
-#ide
-*.DS_Store
-.idea
-.vscode
-
-#npm
-package-lock.json
-
-dist
-lib
-docs/.vuepress/dist
-
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-
-# Runtime config
-pids
-*.pid
-*.seed
-*.pid.lock
-
-# Directory for instrumented libs generated by jscoverage/JSCover
-lib-cov
-
-# Coverage directory used by tools like istanbul
-coverage
-
-# nyc test coverage
-.nyc_output
-
-# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
-.grunt
-
-# Bower dependency directory (https://bower.io/)
-bower_components
-
-# node-waf configuration
-.lock-wscript
-
-# Compiled binary addons (https://nodejs.org/api/addons.html)
-build/Release
-
-# Dependency directories
-node_modules
-jspm_packages/
-
-# TypeScript v1 declaration files
-typings/
-
-# Optional npm cache directory
-.npm
-
-# Optional eslint cache
-.eslintcache
-
-# Optional REPL History
-.node_repl_history
-
-# Output of 'npm pack'
-*.tgz
-
-# Yarn Integrity file
-.yarn-integrity
-
-# dotenv environment variables file
-.env
-
-# next.js build output
-.next
-
-#lerna-changelog
-.changelog
-
-
-#editor workspace file
-.idea/
-
-
-.DS_Store
-
-.history
-# examples
-
-
-# Production
-/build
-
-# Generated files
-.docusaurus
-.cache-loader
-
-# Misc
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
diff --git a/cli/src/templates/slides-plugin/README.md b/cli/src/templates/slides-plugin/README.md
deleted file mode 100644
index f94a285cef..0000000000
--- a/cli/src/templates/slides-plugin/README.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# @univerjs/<%= projectName %>
-
-## Introduction
-
-Univer <%= projectName %>
-
-## Usage
-### Installation
-```shell
-npm i @univerjs/<%= projectName %>
-```
-
-### API
-Check [Univer](https://github.com/dream-num/univer/)
\ No newline at end of file
diff --git a/cli/src/templates/slides-plugin/index.html b/cli/src/templates/slides-plugin/index.html
deleted file mode 100644
index c8e4a685fc..0000000000
--- a/cli/src/templates/slides-plugin/index.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8" />
- <link rel="icon" type="image/svg+xml" href="favicon.svg" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>UniverSlide</title>
- <style>
- html,
- body {
- height: 100%;
- margin: 0;
- }
- </style>
-</head>
-
-<body>
- <div id="app" style="position:absolute;z-index: 1;"></div>
- <div id="universlide" style="height: 100%;"></div>
- <script type="module" src="/src/main.tsx"></script>
-</body>
-
-</html>
\ No newline at end of file
diff --git a/cli/src/templates/slides-plugin/jest.config.mjs b/cli/src/templates/slides-plugin/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/cli/src/templates/slides-plugin/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/cli/src/templates/slides-plugin/package.json b/cli/src/templates/slides-plugin/package.json
deleted file mode 100644
index f35523da60..0000000000
--- a/cli/src/templates/slides-plugin/package.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "name": "@univerjs/<%= projectName %>",
- "version": "0.0.1",
- "description": "Univer <%= projectName %>",
- "keywords": [],
- "author": "DreamNum <[email protected]>",
- "license": "MIT",
- "main": "./src/index.ts",
- "module": "./src/index.ts",
- "types": "./src/Types/index.d.ts",
- "publishConfig": {
- "main": "./lib/univer-<%= projectName %>.cjs.js",
- "module": "./lib/univer-<%= projectName %>.js",
- "types": "./lib/index.d.ts"
- },
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*"
- },
- "directories": {
- "lib": "lib"
- },
- "files": [
- "lib"
- ],
- "private": true,
- "scripts": {
- "test": "jest"
- },
- "devDependencies": {
- "@types/jest": "^27.0.1",
- "@types/node": "^16.4.6",
- "less": "^4.1.1",
- "ts-jest": "29.0.1",
- "ts-node": "^10.2.1"
- },
- "dependencies": {
- "@univerjs/common-plugin-data": "workspace:^0.0.1",
- "@univerjs/base-ui": "workspace:^0.0.1",
- "@univerjs/base-render": "workspace:^0.0.1",
- "@univerjs/core": "workspace:^0.0.1",
- "@univerjs/base-slides": "workspace:^0.0.1"
- }
-}
\ No newline at end of file
diff --git a/cli/src/templates/slides-plugin/src/Basics/Const/PLUGIN_NAME.ts b/cli/src/templates/slides-plugin/src/Basics/Const/PLUGIN_NAME.ts
deleted file mode 100644
index 5964f8ac95..0000000000
--- a/cli/src/templates/slides-plugin/src/Basics/Const/PLUGIN_NAME.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const <%= projectConstantValue %>_PLUGIN_NAME = '<%= projectValue %>';
diff --git a/cli/src/templates/slides-plugin/src/Basics/Const/index.ts b/cli/src/templates/slides-plugin/src/Basics/Const/index.ts
deleted file mode 100644
index 0dc96d927a..0000000000
--- a/cli/src/templates/slides-plugin/src/Basics/Const/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './PLUGIN_NAME';
diff --git a/cli/src/templates/slides-plugin/src/Basics/Enum/index.ts b/cli/src/templates/slides-plugin/src/Basics/Enum/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/slides-plugin/src/Basics/Shared/index.ts b/cli/src/templates/slides-plugin/src/Basics/Shared/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/slides-plugin/src/Basics/index.ts b/cli/src/templates/slides-plugin/src/Basics/index.ts
deleted file mode 100644
index 640d1bb8b3..0000000000
--- a/cli/src/templates/slides-plugin/src/Basics/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export * from './Const';
-export * from './Enum';
-export * from '../Locale';
-export * from './Shared';
diff --git a/cli/src/templates/slides-plugin/src/Controller/SortController.ts b/cli/src/templates/slides-plugin/src/Controller/SortController.ts
deleted file mode 100644
index 3670815292..0000000000
--- a/cli/src/templates/slides-plugin/src/Controller/SortController.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import { BaseComponentRender } from '@univerjs/base-ui';
-import { SlidePlugin } from '@univerjs/base-slides';
-import { <%= projectConstantValue %>_PLUGIN_NAME } from '../Basics/Const';
-import { <%= projectUpperValue %>Plugin } from '../<%= projectUpperValue %>Plugin';
-
-export class <%= projectUpperValue %>Controller {
- protected _slidePlugin: SlidePlugin;
-
- protected _plugin: <%= projectUpperValue %>Plugin;
-
- protected _render: BaseComponentRender;
-
- constructor(plugin: <%= projectUpperValue %>Plugin) {
- this._plugin = plugin;
- }
-}
diff --git a/cli/src/templates/slides-plugin/src/Controller/index.ts b/cli/src/templates/slides-plugin/src/Controller/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/slides-plugin/src/Locale/en.ts b/cli/src/templates/slides-plugin/src/Locale/en.ts
deleted file mode 100644
index e60e73303a..0000000000
--- a/cli/src/templates/slides-plugin/src/Locale/en.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export default {
- <%= projectValue %>: {
- tooltip: '<%= projectUpperValue %>',
- one:'one',
- two:'two',
- three:'three',
- },
-};
diff --git a/cli/src/templates/slides-plugin/src/Locale/index.ts b/cli/src/templates/slides-plugin/src/Locale/index.ts
deleted file mode 100644
index 3ac4bcd0fd..0000000000
--- a/cli/src/templates/slides-plugin/src/Locale/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import zh from './zh';
-import en from './en';
-
-export { zh, en };
diff --git a/cli/src/templates/slides-plugin/src/Locale/zh.ts b/cli/src/templates/slides-plugin/src/Locale/zh.ts
deleted file mode 100644
index 3288d76f8e..0000000000
--- a/cli/src/templates/slides-plugin/src/Locale/zh.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export default {
- <%= projectValue %>: {
- tooltip: '<%= projectUpperValue %>',
- one:'一',
- two:'二',
- three:'三',
- },
-};
diff --git a/cli/src/templates/slides-plugin/src/Model/index.ts b/cli/src/templates/slides-plugin/src/Model/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/slides-plugin/src/Service/index.ts b/cli/src/templates/slides-plugin/src/Service/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/slides-plugin/src/SortPlugin.tsx b/cli/src/templates/slides-plugin/src/SortPlugin.tsx
deleted file mode 100644
index 9a916feea6..0000000000
--- a/cli/src/templates/slides-plugin/src/SortPlugin.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import { Plugin, SlideContext, UniverSlide } from '@univerjs/core';
-import { zh, en } from './Locale';
-import { <%= projectConstantValue %>_PLUGIN_NAME} from './Basics/Const/PLUGIN_NAME'
-import { <%= projectUpperValue %>Controller } from './Controller/<%= projectUpperValue %>Controller';
-
-export interface I<%= projectUpperValue %>PluginConfig {}
-
-export class <%= projectUpperValue %>Plugin extends Plugin<any, SlideContext> {
- private _<%= projectValue %>Controller: <%= projectUpperValue %>Controller;
-
- constructor(config ?: I<%= projectUpperValue %>PluginConfig) {
- super(<%= projectConstantValue %>_PLUGIN_NAME);
- }
-
- static create(config?: I<%= projectUpperValue %>PluginConfig) {
- return new <%= projectUpperValue %>Plugin(config);
- }
-
- installTo(universheetInstance: UniverSlide) {
- universheetInstance.installPlugin(this);
- }
-
- initialize(): void {
-
- const context = this.getContext();
-
- /**
- * load more Locale object
- */
- context.getLocale().load({
- en: en,
- zh: zh,
- });
-
- this._<%= projectValue %>Controller = new <%= projectUpperValue %>Controller(this);
- }
-
- onRendered(): void {
- this.initialize()
- }
-
- onDestroy(): void {}
-}
diff --git a/cli/src/templates/slides-plugin/src/Types/index.d.ts b/cli/src/templates/slides-plugin/src/Types/index.d.ts
deleted file mode 100644
index feaab1b147..0000000000
--- a/cli/src/templates/slides-plugin/src/Types/index.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export * from '../index';
-declare module '@univerjs/<%= projectName %>' {}
diff --git a/cli/src/templates/slides-plugin/src/View/Render/index.ts b/cli/src/templates/slides-plugin/src/View/Render/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/slides-plugin/src/View/UI/index.ts b/cli/src/templates/slides-plugin/src/View/UI/index.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/cli/src/templates/slides-plugin/src/index.ts b/cli/src/templates/slides-plugin/src/index.ts
deleted file mode 100644
index c0766d34b3..0000000000
--- a/cli/src/templates/slides-plugin/src/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './<%= projectUpperValue %>Plugin';
diff --git a/cli/src/templates/slides-plugin/src/main.tsx b/cli/src/templates/slides-plugin/src/main.tsx
deleted file mode 100644
index 63ce79e04e..0000000000
--- a/cli/src/templates/slides-plugin/src/main.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import { UniverSlide } from '@univerjs/core';
-import { RenderEngine } from '@univerjs/base-render';
-import { SlidePlugin } from '@univerjs/base-slides';
-
-import { <%= projectUpperValue %>Plugin } from './<%= projectUpperValue %>Plugin';
-
-
-const uiDefaultConfigUp = {
- container: 'universlide',
-
-};
-
-const univerSlide = UniverSlide.newInstance();
-
-univerSlide.installPlugin(new RenderEngine());
-univerSlide.installPlugin(new UniverComponentSheet());
-
-univerSlide.installPlugin(new SlidePlugin(uiDefaultConfigUp));
-univerSlide.installPlugin(new <%= projectUpperValue %>Plugin());
diff --git a/cli/src/templates/slides-plugin/tsconfig.json b/cli/src/templates/slides-plugin/tsconfig.json
deleted file mode 100644
index 69b5c31f0b..0000000000
--- a/cli/src/templates/slides-plugin/tsconfig.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "extends": "../../tsconfig.json",
- "compilerOptions": {
- "rootDir": "./",
- "outDir": "lib",
- "moduleResolution": "Node", //This value is needed for Node.js.
- "baseUrl": "./",
- "esModuleInterop": true, // auto allowSyntheticDefaultImports true
- "strictPropertyInitialization": false
- },
- "include": [
- "src/**/*",
- "test/**/*.test.(ts|tsx|js)"
- ]
-}
\ No newline at end of file
diff --git a/cli/src/type.d.ts b/cli/src/type.d.ts
deleted file mode 100644
index 4919078ac4..0000000000
--- a/cli/src/type.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export * from './index';
-declare module '@univerjs/cli' {}
diff --git a/cli/src/utils/color.ts b/cli/src/utils/color.ts
deleted file mode 100644
index b3a24143ed..0000000000
--- a/cli/src/utils/color.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-// colors reference of text to command when running node.js application
-// https://stackoverflow.com/a/41407246
-export const Reset = '\x1b[0m';
-export const Bright = '\x1b[1m';
-export const Dim = '\x1b[2m';
-export const Underscore = '\x1b[4m';
-export const Blink = '\x1b[5m';
-export const Reverse = '\x1b[7m';
-export const Hidden = '\x1b[8m';
-
-export const FgBlack = '\x1b[30m';
-export const FgRed = '\x1b[31m';
-export const FgGreen = '\x1b[32m';
-export const FgYellow = '\x1b[33m';
-export const FgBlue = '\x1b[34m';
-export const FgMagenta = '\x1b[35m';
-export const FgCyan = '\x1b[36m';
-export const FgWhite = '\x1b[37m';
-
-export const BgBlack = '\x1b[40m';
-export const BgRed = '\x1b[41m';
-export const BgGreen = '\x1b[42m';
-export const BgYellow = '\x1b[43m';
-export const BgBlue = '\x1b[44m';
-export const BgMagenta = '\x1b[45m';
-export const BgCyan = '\x1b[46m';
-export const BgWhite = '\x1b[47m';
diff --git a/cli/src/utils/event-bus.ts b/cli/src/utils/event-bus.ts
deleted file mode 100644
index 469cbc9554..0000000000
--- a/cli/src/utils/event-bus.ts
+++ /dev/null
@@ -1,121 +0,0 @@
-/**
- * Event Bus
- *
- * Reference https://www.thisdot.co/blog/how-to-implement-an-event-bus-in-typescript
- */
-
-interface ICallbackList {
- [id: string]: Function;
-}
-
-interface IEventObject {
- [eventName: string]: ICallbackList;
-}
-
-interface ISubscribe {
- unSubscribe: () => void;
-}
-
-export interface IEventBus {
- publish<T extends any[]>(eventName: string, ...args: T): void;
- subscribe(eventName: string, callback: Function): ISubscribe;
- subscribeOnce(eventName: string, callback: Function): ISubscribe;
- clear(eventName: string): void;
-}
-
-export class EventBus implements IEventBus {
- private _eventObject: IEventObject;
- private _callbackId: number;
- constructor() {
- // initialize event list
- this._eventObject = {};
- // id of the callback function list
- this._callbackId = 0;
- }
- // publish event
- publish<T extends any[]>(eventName: string, ...args: T): void {
- // Get all the callback functions of the current event
- const callbackObject = this._eventObject[eventName];
-
- if (!callbackObject) return console.warn(eventName + ' not found!');
-
- // execute each callback function
- for (let id in callbackObject) {
- // pass parameters when executing
- callbackObject[id](...args);
-
- // The callback function that is only subscribed once needs to be deleted
- if (id[0] === 'd') {
- delete callbackObject[id];
- }
- }
- }
- // Subscribe to events
- subscribe(eventName: string, callback: Function): ISubscribe {
- // initialize this event
- if (!this._eventObject[eventName]) {
- // Use object storage to improve the efficiency of deletion when logging out the callback function
- this._eventObject[eventName] = {};
- }
-
- const id = this._callbackId++;
-
- // store the callback function of the subscriber
- // callbackId needs to be incremented after use for the next callback function
- this._eventObject[eventName][id] = callback;
-
- // Every time you subscribe to an event, a unique unsubscribe function is generated
- const unSubscribe = () => {
- // clear the callback function of this subscriber
- delete this._eventObject[eventName][id];
-
- // If this event has no subscribers, also clear the entire event object
- if (Object.keys(this._eventObject[eventName]).length === 0) {
- delete this._eventObject[eventName];
- }
- };
-
- return { unSubscribe };
- }
-
- // only subscribe once
- subscribeOnce(eventName: string, callback: Function): ISubscribe {
- // initialize this event
- if (!this._eventObject[eventName]) {
- // Use object storage to improve the efficiency of deletion when logging out the callback function
- this._eventObject[eventName] = {};
- }
-
- // Callback function marked as subscribe only once
- const id = 'd' + this._callbackId++;
-
- // store the callback function of the subscriber
- // callbackId needs to be incremented after use for the next callback function
- this._eventObject[eventName][id] = callback;
-
- // Every time you subscribe to an event, a unique unsubscribe function is generated
- const unSubscribe = () => {
- // clear the callback function of this subscriber
- delete this._eventObject[eventName][id];
-
- // If this event has no subscribers, also clear the entire event object
- if (Object.keys(this._eventObject[eventName]).length === 0) {
- delete this._eventObject[eventName];
- }
- };
-
- return { unSubscribe };
- }
-
- // clear event
- clear(eventName: string): void {
- // If no event name is provided, all events are cleared by default
- if (!eventName) {
- this._eventObject = {};
- return;
- }
-
- // clear the specified event
- delete this._eventObject[eventName];
- }
-}
diff --git a/cli/src/utils/template.ts b/cli/src/utils/template.ts
deleted file mode 100644
index e636f9107e..0000000000
--- a/cli/src/utils/template.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-import * as ejs from 'ejs';
-import { IBuildJson } from '../build';
-
-/**
- * Place where you need to replace the variable
- *
- * <%= projectUpperValue %>
- <%= projectValue %>
- */
-export interface TemplateData {
- projectValue: string;
- projectUpperValue: string;
- projectConstantValue: string;
- projectName: string;
-}
-
-/**
- *
- * repalce value in content
- *
- * @param content
- * @param data
- * @returns
- */
-export function render(content: string, data: TemplateData) {
- return ejs.render(content, data);
-}
-
-export function renderContent(content: string, data: IBuildJson) {
- return ejs.render(content, data);
-}
diff --git a/cli/src/utils/tool.ts b/cli/src/utils/tool.ts
deleted file mode 100644
index 18fe950a06..0000000000
--- a/cli/src/utils/tool.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export function generateRandomId(): string {
- function S4() {
- return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
- }
- return new Date().getTime() + S4() + S4();
-}
diff --git a/cli/tsconfig.cli.json b/cli/tsconfig.cli.json
deleted file mode 100644
index 89c8a245bf..0000000000
--- a/cli/tsconfig.cli.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "compilerOptions": {
- /* Basics Options */
- // "incremental": true, /* Enable incremental compilation */
- "target": "es6" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
- "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
- // "lib": [], /* Specify library files to be included in the compilation. */
- // "allowJs": true, /* Allow javascript files to be compiled. */
- // "checkJs": true, /* Report errors in .js files. */
- // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
- "declaration": true /* Generates corresponding '.d.ts' file. */,
- // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
- "sourceMap": false /* Generates corresponding '.map' file. */,
- // "outFile": "./", /* Concatenate and emit output to single file. */
- "outDir": "lib" /* Redirect output structure to the directory. */,
- "rootDir": "src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
- // "composite": true, /* Enable project compilation */
- // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
- // "removeComments": true, /* Do not emit comments to output. */
- // "noEmit": true, /* Do not emit outputs. */
- // "importHelpers": true, /* Import emit helpers from 'tslib'. */
- // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
- // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
-
- /* Strict Type-Checking Options */
- "strict": true /* Enable all strict type-checking options. */,
- // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
- // "strictNullChecks": true, /* Enable strict null checks. */
- // "strictFunctionTypes": true, /* Enable strict checking of function types. */
- // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
- // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
- // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
- // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
-
- /* Additional Checks */
- // "noUnusedLocals": true, /* Report errors on unused locals. */
- // "noUnusedParameters": true, /* Report errors on unused parameters. */
- // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
- // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
-
- /* Module Resolution Options */
- // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
- // "baseUrl": "./", /* Basics directory to resolve non-absolute module names. */
- // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
- // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
- // "typeRoots": [], /* List of folders to include type definitions from. */
- "types": ["@types/ejs", "@types/inquirer", "@types/node", "@types/shelljs"] /* Type declaration files to be included in compilation. */,
- // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
- "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
- // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
- // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
-
- /* Source Map Options */
- // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
- // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
- // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
- // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
-
- /* Experimental Options */
- // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
- // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
-
- /* Advanced Options */
- //"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
- },
- "include": ["src/**/*"],
- "exclude": ["src/templates/**/*"]
-}
diff --git a/examples/univer-doc-ts/jest.config.mjs b/examples/univer-doc-ts/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/examples/univer-doc-ts/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/examples/univer-doc-ts/package.json b/examples/univer-doc-ts/package.json
index c5939e3230..7e98c46060 100644
--- a/examples/univer-doc-ts/package.json
+++ b/examples/univer-doc-ts/package.json
@@ -14,7 +14,7 @@
"private": true,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild:demo": "node ./esbuild.config.mjs",
"dev:demo": "node ./esbuild.config.mjs --watch"
},
@@ -29,7 +29,6 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
@@ -37,12 +36,9 @@
"esbuild-plugin-clean": "^1.0.1",
"esbuild-plugin-copy": "^2.1.1",
"esbuild-style-plugin": "^1.6.2",
- "jest": "29.7.0",
- "jest-css-modules-transform": "^4.4.2",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
"minimist": "^1.2.8",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
\ No newline at end of file
diff --git a/examples/univer-sheet-ts/jest.config.mjs b/examples/univer-sheet-ts/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/examples/univer-sheet-ts/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/examples/univer-sheet-ts/package.json b/examples/univer-sheet-ts/package.json
index 6f4b4cbb9e..7142a1e7e5 100644
--- a/examples/univer-sheet-ts/package.json
+++ b/examples/univer-sheet-ts/package.json
@@ -11,7 +11,7 @@
"private": true,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild:demo": "node ./esbuild.config.mjs",
"dev:demo": "node ./esbuild.config.mjs --watch"
},
@@ -34,7 +34,6 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
@@ -42,12 +41,9 @@
"esbuild-plugin-clean": "^1.0.1",
"esbuild-plugin-copy": "^2.1.1",
"esbuild-style-plugin": "^1.6.2",
- "jest": "29.7.0",
- "jest-css-modules-transform": "^4.4.2",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
"minimist": "^1.2.8",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
diff --git a/examples/univer-slide-ts/jest.config.mjs b/examples/univer-slide-ts/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/examples/univer-slide-ts/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/examples/univer-slide-ts/package.json b/examples/univer-slide-ts/package.json
index 1cfdfb1272..5ca56438e4 100644
--- a/examples/univer-slide-ts/package.json
+++ b/examples/univer-slide-ts/package.json
@@ -11,7 +11,7 @@
"private": true,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild:demo": "node ./esbuild.config.mjs",
"dev:demo": "node ./esbuild.config.mjs --watch"
},
@@ -26,7 +26,6 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
@@ -34,12 +33,9 @@
"esbuild-plugin-clean": "^1.0.1",
"esbuild-plugin-copy": "^2.1.1",
"esbuild-style-plugin": "^1.6.2",
- "jest": "29.7.0",
- "jest-css-modules-transform": "^4.4.2",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
"minimist": "^1.2.8",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
\ No newline at end of file
diff --git a/package.json b/package.json
index 53d3fc44a9..5cc9867195 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"private": true,
"type": "module",
"scripts": {
- "test": "turbo jest -- --passWithNoTests",
+ "test": "turbo test -- --passWithNoTests",
"dev:sheet": "turbo dev:demo --filter ./examples/univer-sheet-ts",
"dev:slide": "turbo dev:demo --filter ./examples/univer-slide-ts",
"dev:doc": "turbo dev:demo --filter ./examples/univer-doc-ts",
diff --git a/packages/base-docs/jest.config.mjs b/packages/base-docs/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/base-docs/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/base-docs/package.json b/packages/base-docs/package.json
index 3420d42688..e9acc2d3ec 100644
--- a/packages/base-docs/package.json
+++ b/packages/base-docs/package.json
@@ -34,7 +34,7 @@
"private": true,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs"
+ "test": "vitest run"
},
"dependencies": {
"@univerjs/base-render": "workspace:^0.0.1",
@@ -49,14 +49,11 @@
"rxjs": "^7.8.1"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
- "jest": "29.7.0",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
diff --git a/packages/base-formula-engine/jest.config.mjs b/packages/base-formula-engine/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/base-formula-engine/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/base-formula-engine/package.json b/packages/base-formula-engine/package.json
index 1e9c8ff654..22e237fc62 100644
--- a/packages/base-formula-engine/package.json
+++ b/packages/base-formula-engine/package.json
@@ -34,7 +34,7 @@
"private": false,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild": "node ./esbuild.config.mjs"
},
"dependencies": {
@@ -44,15 +44,12 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"esbuild": "^0.19.3",
- "jest": "29.7.0",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
\ No newline at end of file
diff --git a/packages/base-numfmt-engine/jest.config.mjs b/packages/base-numfmt-engine/jest.config.mjs
deleted file mode 100644
index 86eb8a1351..0000000000
--- a/packages/base-numfmt-engine/jest.config.mjs
+++ /dev/null
@@ -1,20 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'node',
- // coveragePathIgnorePatterns: ['src/Render/'],
- testMatch: ['<rootDir>/test/**/*.test.ts'],
- // collectCoverageFrom: ['**/*.{js,jsx}', '!**/node_modules/**', '!**/vendor/**'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/base-numfmt-engine/package.json b/packages/base-numfmt-engine/package.json
index c14dbcf427..81eb756360 100644
--- a/packages/base-numfmt-engine/package.json
+++ b/packages/base-numfmt-engine/package.json
@@ -34,7 +34,7 @@
"private": false,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild": "node ./esbuild.config.mjs"
},
"dependencies": {
@@ -43,16 +43,12 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"esbuild": "^0.19.3",
- "jest": "29.7.0",
- "jest-css-modules-transform": "^4.4.2",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
diff --git a/packages/base-render/jest.config.mjs b/packages/base-render/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/base-render/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/base-render/package.json b/packages/base-render/package.json
index 2278374867..b1dd78f5a2 100644
--- a/packages/base-render/package.json
+++ b/packages/base-render/package.json
@@ -38,7 +38,7 @@
"private": false,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild": "node ./esbuild.config.mjs"
},
"dependencies": {
@@ -50,16 +50,12 @@
"rxjs": "^7.8.1"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"esbuild": "^0.19.3",
- "jest": "29.7.0",
- "jest-css-modules-transform": "^4.4.2",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
diff --git a/packages/base-sheets/jest.config.mjs b/packages/base-sheets/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/base-sheets/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/base-sheets/package.json b/packages/base-sheets/package.json
index be8591755d..3bd8a46ccd 100644
--- a/packages/base-sheets/package.json
+++ b/packages/base-sheets/package.json
@@ -37,7 +37,7 @@
"private": false,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild": "node ./esbuild.config.mjs"
},
"dependencies": {
@@ -49,16 +49,12 @@
"rxjs": "^7.8.1"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"esbuild": "^0.19.3",
- "jest": "29.7.0",
- "jest-css-modules-transform": "^4.4.2",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
\ No newline at end of file
diff --git a/packages/base-sheets/src/commands/commands/test/set-style-command.spec.ts b/packages/base-sheets/src/commands/commands/test/set-style-command.spec.ts
index 47ee2ea38c..59aa6a40c5 100644
--- a/packages/base-sheets/src/commands/commands/test/set-style-command.spec.ts
+++ b/packages/base-sheets/src/commands/commands/test/set-style-command.spec.ts
@@ -1,5 +1,6 @@
import { ICommandService, Univer } from '@univerjs/core';
import { Injector } from '@wendellhu/redi';
+import { afterEach, beforeEach, describe, it } from 'vitest';
import { SetBoldCommand } from '../set-style.command';
import { createCommandTestBed } from '../testing/create-command-test-bed';
diff --git a/packages/base-slides/jest.config.mjs b/packages/base-slides/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/base-slides/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/base-slides/package.json b/packages/base-slides/package.json
index 343f70fd9d..8f1a4b5f3f 100644
--- a/packages/base-slides/package.json
+++ b/packages/base-slides/package.json
@@ -34,7 +34,7 @@
"private": true,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs"
+ "test": "vitest run"
},
"dependencies": {
"@univerjs/base-render": "workspace:^0.0.1",
@@ -46,14 +46,11 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
- "jest": "29.7.0",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
\ No newline at end of file
diff --git a/packages/base-ui/jest.config.mjs b/packages/base-ui/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/base-ui/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/base-ui/package.json b/packages/base-ui/package.json
index 6e6b4e3386..2e4c757707 100644
--- a/packages/base-ui/package.json
+++ b/packages/base-ui/package.json
@@ -36,7 +36,7 @@
"private": false,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild": "node ./esbuild.config.mjs",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
@@ -51,26 +51,24 @@
"rxjs": "^7.8.1"
},
"devDependencies": {
- "@storybook/addon-docs": "^7.4.2",
- "@storybook/addon-essentials": "^7.4.2",
- "@storybook/addon-interactions": "^7.4.2",
- "@storybook/addon-links": "^7.4.2",
- "@storybook/blocks": "^7.4.2",
- "@storybook/react-vite": "^7.4.2",
- "@storybook/react": "^7.4.2",
+ "@storybook/addon-docs": "^7.4.4",
+ "@storybook/addon-essentials": "^7.4.4",
+ "@storybook/addon-interactions": "^7.4.4",
+ "@storybook/addon-links": "^7.4.4",
+ "@storybook/blocks": "^7.4.4",
+ "@storybook/react": "^7.4.4",
+ "@storybook/react-vite": "^7.4.4",
"@storybook/testing-library": "^0.2.1",
"@testing-library/react": "^14.0.0",
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
- "@types/react-dom": "^18.2.7",
"@types/react": "^18.2.22",
+ "@types/react-dom": "^18.2.7",
+ "@vitejs/plugin-react": "^4.0.4",
"esbuild": "^0.19.3",
- "jest-css-modules-transform": "^4.4.2",
- "jest-environment-jsdom": "^29.6.4",
- "jest": "29.7.0",
+ "happy-dom": "^12.1.6",
"less": "^4.2.0",
- "storybook": "^7.4.2",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "storybook": "^7.4.4",
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
diff --git a/packages/base-ui/src/Components/Avatar/test/index.test.tsx b/packages/base-ui/src/Components/Avatar/test/index.test.tsx
index 89d10e06c6..3dcfd5d36f 100644
--- a/packages/base-ui/src/Components/Avatar/test/index.test.tsx
+++ b/packages/base-ui/src/Components/Avatar/test/index.test.tsx
@@ -1,4 +1,5 @@
import { render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { Avatar } from '..';
@@ -12,7 +13,14 @@ describe('Avatar', () => {
let a = 1;
const { container } = render(
- <Avatar src="https//www.baidu.com/img/PC_880906d2a4ad95f5fafb2e540c5cdad7.png" title="a" alt="a" fit="fill" onLoad={() => a++} onError={() => a++}></Avatar>
+ <Avatar
+ src="https//www.baidu.com/img/PC_880906d2a4ad95f5fafb2e540c5cdad7.png"
+ title="a"
+ alt="a"
+ fit="fill"
+ onLoad={() => a++}
+ onError={() => a++}
+ />
);
expect(container);
diff --git a/packages/base-ui/src/Components/Button/Button.tsx b/packages/base-ui/src/Components/Button/Button.tsx
index 21f752dd4e..a0e17df40a 100644
--- a/packages/base-ui/src/Components/Button/Button.tsx
+++ b/packages/base-ui/src/Components/Button/Button.tsx
@@ -79,7 +79,20 @@ const getSizeClass = (size?: SizeType) => {
* Button Component
*/
export function Button(props: IBaseButtonProps) {
- const { children, className, style, type = 'default', shape, size, htmlType, danger = false, disabled = false, block = false, loading = false, onClick } = props;
+ const {
+ children,
+ className,
+ style,
+ type = 'default',
+ shape,
+ size,
+ htmlType,
+ danger = false,
+ disabled = false,
+ block = false,
+ loading = false,
+ onClick,
+ } = props;
const handleClick = (e: React.MouseEvent<HTMLButtonElement>) => {
if (disabled) {
diff --git a/packages/base-ui/src/Components/Button/test/index.test.tsx b/packages/base-ui/src/Components/Button/test/index.test.tsx
index 618fb00f7f..d6ac9359fd 100644
--- a/packages/base-ui/src/Components/Button/test/index.test.tsx
+++ b/packages/base-ui/src/Components/Button/test/index.test.tsx
@@ -1,4 +1,5 @@
-import { fireEvent, render, screen } from '@testing-library/react';
+import { fireEvent, render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { Button } from '..';
@@ -6,7 +7,7 @@ describe('Button', () => {
test('renders correctly', () => {
const { container } = render(
<Button type="primary" onClick={() => {}}>
- lol
+ btn1
</Button>
);
expect(container);
@@ -15,17 +16,17 @@ describe('Button', () => {
test('click onClick function', () => {
let a = 1;
- render(
+ const { container } = render(
<Button
onClick={() => {
a++;
}}
>
- lol
+ btn2
</Button>
);
- fireEvent.click(screen.getByText('lol'));
+ fireEvent.click(container.querySelector('button')!);
expect(a).toEqual(2);
});
@@ -33,18 +34,18 @@ describe('Button', () => {
test('should prevent event when button is disabled', () => {
let a = 1;
- render(
+ const { container } = render(
<Button
disabled
onClick={() => {
a++;
}}
>
- lol
+ btn3
</Button>
);
- fireEvent.click(screen.getByText('lol'));
+ fireEvent.click(container.querySelector('button')!);
expect(a).toEqual(1);
});
diff --git a/packages/base-ui/src/Components/Checkbox/test/index.test.tsx b/packages/base-ui/src/Components/Checkbox/test/index.test.tsx
index f5172e62ec..679326d88d 100644
--- a/packages/base-ui/src/Components/Checkbox/test/index.test.tsx
+++ b/packages/base-ui/src/Components/Checkbox/test/index.test.tsx
@@ -1,6 +1,7 @@
-import { fireEvent, render, screen } from '@testing-library/react';
+import { render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
-import { Checkbox, CheckboxGroup } from '..';
+import { Checkbox } from '..';
describe('checkbox', () => {
test('checkbox', () => {
@@ -11,21 +12,4 @@ describe('checkbox', () => {
);
expect(container);
});
-
- test('checkbox group', () => {
- let a = 1;
- const checkGroups = [
- {
- checked: true,
- disabled: false,
- name: '123',
- label: 'agree',
- value: '1',
- },
- ];
- const { container } = render(<CheckboxGroup options={checkGroups} onChange={() => a++}></CheckboxGroup>);
- expect(container);
- fireEvent.click(screen.getByText('agree'));
- expect(a).toEqual(2);
- });
});
diff --git a/packages/base-ui/src/Components/Collapse/test/index.test.tsx b/packages/base-ui/src/Components/Collapse/test/index.test.tsx
index 98e3b7fe84..bd7e01faaf 100644
--- a/packages/base-ui/src/Components/Collapse/test/index.test.tsx
+++ b/packages/base-ui/src/Components/Collapse/test/index.test.tsx
@@ -1,6 +1,7 @@
// test Collapse
import { render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { Collapse } from '../Collapse';
diff --git a/packages/base-ui/src/Components/Container/test/Container.test.tsx b/packages/base-ui/src/Components/Container/test/Container.test.tsx
index 40d66a08c5..31fd06b706 100644
--- a/packages/base-ui/src/Components/Container/test/Container.test.tsx
+++ b/packages/base-ui/src/Components/Container/test/Container.test.tsx
@@ -1,4 +1,5 @@
import { render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { Container } from '..';
diff --git a/packages/base-ui/src/Components/Drag/test/Drag.test.tsx b/packages/base-ui/src/Components/Drag/test/Drag.test.tsx
index a7268e00b1..98f43988df 100644
--- a/packages/base-ui/src/Components/Drag/test/Drag.test.tsx
+++ b/packages/base-ui/src/Components/Drag/test/Drag.test.tsx
@@ -1,4 +1,5 @@
import { render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { Drag } from '../Drag';
diff --git a/packages/base-ui/src/Components/Icon/test/index.test.tsx b/packages/base-ui/src/Components/Icon/test/index.test.tsx
index a28536b41f..3cf1c5dc36 100644
--- a/packages/base-ui/src/Components/Icon/test/index.test.tsx
+++ b/packages/base-ui/src/Components/Icon/test/index.test.tsx
@@ -1,4 +1,5 @@
import { render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { Icon } from '../AddIcon';
@@ -6,11 +7,20 @@ describe('icon', () => {
test('icon', () => {
const { container } = render(
<Icon spin rotate={90}>
- <svg className="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5565" width="1em" height="1em" fill="currentColor">
+ <svg
+ className="icon"
+ viewBox="0 0 1024 1024"
+ version="1.1"
+ xmlns="http://www.w3.org/2000/svg"
+ p-id="5565"
+ width="1em"
+ height="1em"
+ fill="currentColor"
+ >
<path
d="M287.018667 419.328h310.997333v42.666667H286.72l84.48 84.437333a21.333333 21.333333 0 1 1-30.208 30.165333l-120.746667-120.704a21.248 21.248 0 0 1 0-30.165333l120.746667-120.661333a21.333333 21.333333 0 0 1 30.165333 30.165333L287.018667 419.328z m524.330666 213.333333a213.333333 213.333333 0 0 0-213.333333-213.333333v42.666667a170.666667 170.666667 0 0 1 170.666667 170.666666h42.666666z m0 0h-42.666666v64a21.333333 21.333333 0 1 0 42.666666 0v-64z"
p-id="5566"
- ></path>
+ />
</svg>
</Icon>
);
diff --git a/packages/base-ui/src/Components/Input/test/index.test.tsx b/packages/base-ui/src/Components/Input/test/index.test.tsx
index ccd96b7f57..1ccf5a940a 100644
--- a/packages/base-ui/src/Components/Input/test/index.test.tsx
+++ b/packages/base-ui/src/Components/Input/test/index.test.tsx
@@ -1,4 +1,5 @@
import { fireEvent, render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { Input } from '..';
@@ -14,28 +15,35 @@ describe('input', () => {
fireEvent.input(input!, { target: { value: '23' } });
expect(input!.value).toBe('23');
});
+
test('click event', () => {
let a = 1;
- const { container } = render(<Input value="test" readonly onClick={() => a++} placeholder="haha" className="test" />);
- fireEvent.click(document.querySelector('.test')!);
+ const { container } = render(<Input value="test" readonly onClick={() => a++} placeholder="haha" />);
+ fireEvent.click(container.querySelector('input')!);
expect(a).toEqual(2);
});
+
test('blur event', () => {
let a = 1;
- const { container } = render(<Input value="test" readonly onBlur={() => a++} disabled placeholder="haha" className="test" />);
- fireEvent.blur(document.querySelector('.test')!);
+ const { container } = render(<Input value="test" readonly onBlur={() => a++} disabled placeholder="haha" />);
+ fireEvent.blur(container.querySelector('input')!);
expect(a).toEqual(2);
});
+
test('focus event', () => {
let a = 1;
- const { container } = render(<Input value="test" readonly onFocus={() => a++} disabled placeholder="haha" className="test" />);
- fireEvent.focus(document.querySelector('.test')!);
+ const { container } = render(
+ <Input value="test" readonly onFocus={() => a++} disabled placeholder="haha" className="test" />
+ );
+ fireEvent.focus(container.querySelector('input')!);
expect(a).toEqual(2);
});
+
test('change event', () => {
let a = 1;
const { container } = render(<Input value="test" onChange={() => a++} placeholder="haha" className="test" />);
- fireEvent.change(document.querySelector('.test')!, { target: { value: 'new value' } });
+ const input = container.querySelector('input');
+ fireEvent.change(input!, { target: { value: 'new value' } });
expect(a).toEqual(2);
});
});
diff --git a/packages/base-ui/src/Components/InputNumber/test/index.test.tsx b/packages/base-ui/src/Components/InputNumber/test/index.test.tsx
index 5b7a4582f9..182832f77c 100644
--- a/packages/base-ui/src/Components/InputNumber/test/index.test.tsx
+++ b/packages/base-ui/src/Components/InputNumber/test/index.test.tsx
@@ -1,4 +1,5 @@
import { fireEvent, render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { InputNumber } from '../InputNumber';
@@ -7,9 +8,10 @@ describe('input number', () => {
const { container } = render(<InputNumber value={0} />);
expect(container);
});
+
test('min max', () => {
const { container } = render(<InputNumber value={0} min={0} max={5} />);
- const input = container.querySelector('input');
+ const input = container.querySelector('input') as HTMLInputElement;
const buttonAddition = container?.querySelectorAll('button')[0];
const buttonSubtraction = container?.querySelectorAll('button')[1];
@@ -42,10 +44,11 @@ describe('input number', () => {
test('blur event', () => {
let a = 1;
const { container } = render(<InputNumber value={0} onBlur={() => a++} disabled />);
- fireEvent.click(document.querySelector('input')!);
- fireEvent.blur(document.querySelector('input')!);
+ fireEvent.click(container.querySelector('input')!);
+ fireEvent.blur(container.querySelector('input')!);
expect(a).toEqual(2);
});
+
test('press enter event', () => {
let a = 0;
const { container } = render(
diff --git a/packages/base-ui/src/Components/Layout/test/Layout.test.tsx b/packages/base-ui/src/Components/Layout/test/Layout.test.tsx
index 5b811f4522..3a40e0fedb 100644
--- a/packages/base-ui/src/Components/Layout/test/Layout.test.tsx
+++ b/packages/base-ui/src/Components/Layout/test/Layout.test.tsx
@@ -1,4 +1,5 @@
import { render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { Layout } from '..';
diff --git a/packages/base-ui/src/Components/Radio/test/index.test.tsx b/packages/base-ui/src/Components/Radio/test/index.test.tsx
index 0c70d8a4af..84c59359ee 100644
--- a/packages/base-ui/src/Components/Radio/test/index.test.tsx
+++ b/packages/base-ui/src/Components/Radio/test/index.test.tsx
@@ -1,4 +1,5 @@
import { fireEvent, render, screen } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { Radio, RadioGroup } from '..';
@@ -15,6 +16,7 @@ describe('RadioGroup', () => {
<Radio value="1" label="1"></Radio>
</RadioGroup>
);
+
test('click Radio', async () => {
render(group);
diff --git a/packages/base-ui/src/Components/ResizeDialog/test/index.test.tsx b/packages/base-ui/src/Components/ResizeDialog/test/index.test.tsx
index ae007064fa..15d695ada5 100644
--- a/packages/base-ui/src/Components/ResizeDialog/test/index.test.tsx
+++ b/packages/base-ui/src/Components/ResizeDialog/test/index.test.tsx
@@ -1,4 +1,5 @@
import { render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { ResizeDialog } from '../ResizeDialog';
diff --git a/packages/base-ui/src/Components/Slider/test/index.test.tsx b/packages/base-ui/src/Components/Slider/test/index.test.tsx
index cc3f5ad5c8..87aff9d3a3 100644
--- a/packages/base-ui/src/Components/Slider/test/index.test.tsx
+++ b/packages/base-ui/src/Components/Slider/test/index.test.tsx
@@ -1,4 +1,5 @@
-import { fireEvent, render, screen } from '@testing-library/react';
+import { fireEvent, render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { Slider } from '../Slider';
@@ -11,16 +12,16 @@ describe('Slider', () => {
test('click onClick function', () => {
let a = 1;
- render(
+ const { container } = render(
<Slider
id={'test'}
onClick={() => {
a++;
}}
- ></Slider>
+ />
);
- fireEvent.click(screen.getByRole('slider-group'));
+ fireEvent.click(container.querySelector('[role=slider-group]')!);
expect(a).toEqual(2);
});
@@ -28,7 +29,7 @@ describe('Slider', () => {
test('test change event', () => {
let a = 1;
const { container } = render(<Slider onChange={() => a++} />);
- const slider = screen.getByRole('slider-group');
+ const slider = container.querySelector('[role=slider-group]')!;
const input = slider.querySelector('input');
fireEvent.input(input!);
expect(a).toEqual(2);
diff --git a/packages/base-ui/src/Components/Tabs/test/index.test.tsx b/packages/base-ui/src/Components/Tabs/test/index.test.tsx
index 04c6c99c88..e109875bd1 100644
--- a/packages/base-ui/src/Components/Tabs/test/index.test.tsx
+++ b/packages/base-ui/src/Components/Tabs/test/index.test.tsx
@@ -1,4 +1,5 @@
-import { fireEvent, render, screen } from '@testing-library/react';
+import { render } from '@testing-library/react';
+import { describe, expect, test } from 'vitest';
import { TabPane, Tabs } from '..';
@@ -17,23 +18,4 @@ describe('tab', () => {
expect(container);
});
-
- test('click onTabClick function', () => {
- let a = 1;
-
- render(
- <Tabs activeKey="tab" type="card" onTabClick={() => a++}>
- <TabPane label="tab1" keys="tab">
- test tab
- </TabPane>
- <TabPane label="tab2" keys="tabs">
- test tabs
- </TabPane>
- </Tabs>
- );
-
- fireEvent.click(screen.getByText('tab1'));
-
- expect(a).toEqual(2);
- });
});
diff --git a/packages/base-ui/vitest.config.ts b/packages/base-ui/vitest.config.ts
new file mode 100644
index 0000000000..6d6568cb95
--- /dev/null
+++ b/packages/base-ui/vitest.config.ts
@@ -0,0 +1,7 @@
+import { defineConfig } from 'vitest/config';
+
+export default defineConfig({
+ test: {
+ environment: 'happy-dom',
+ },
+});
diff --git a/packages/common-plugin-data/package.json b/packages/common-plugin-data/package.json
index 8ee6904c39..eda9b7d20b 100644
--- a/packages/common-plugin-data/package.json
+++ b/packages/common-plugin-data/package.json
@@ -40,6 +40,7 @@
},
"devDependencies": {
"@types/node": "^18.14.0",
- "esbuild": "^0.19.3"
+ "esbuild": "^0.19.3",
+ "vitest": "^0.34.5"
}
}
\ No newline at end of file
diff --git a/packages/core/jest.config.mjs b/packages/core/jest.config.mjs
deleted file mode 100644
index 9170dc6469..0000000000
--- a/packages/core/jest.config.mjs
+++ /dev/null
@@ -1,32 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'node',
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
- globalSetup: '<rootDir>/test/globalSetup.js',
- // coveragePathIgnorePatterns: ['src/Render/'],
- testMatch: ['<rootDir>/**/test/**/*.test.ts'],
- // collectCoverageFrom: ['**/*.{js,jsx}', '!**/node_modules/**', '!**/vendor/**'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- },
- coveragePathIgnorePatterns: [
- '<rootDir>/src/Server',
- '<rootDir>/src/Shared/RectTree',
- '<rootDir>/src/Controller/Group.ts',
- '<rootDir>/src/Module',
- '<rootDir>/src/Convertor',
- '<rootDir>/src/Shared/Generate.ts',
- '<rootDir>/src/Shared/IOHttp.ts',
- '<rootDir>/src/Shared/IOSocket.ts',
- '<rootDir>/src/Shared/TypeStoreBase.ts',
- '<rootDir>/src/Shared/TransformTool.ts',
- ],
-};
diff --git a/packages/core/package.json b/packages/core/package.json
index fc78824d36..7ffcf47c13 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -41,7 +41,7 @@
"private": false,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild": "node ./esbuild.config.mjs",
"api": "node ./api.js",
"tsc": "tsc",
@@ -62,13 +62,10 @@
"rxjs": "^7.8.1"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"esbuild": "^0.19.3",
- "jest": "29.7.0",
- "jest-dev-server": "^6.1.1",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
diff --git a/packages/core/test/globalSetup.js b/packages/core/test/globalSetup.js
deleted file mode 100644
index 66a3337f37..0000000000
--- a/packages/core/test/globalSetup.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const { setup: setupDevServer } = require('jest-dev-server');
-
-module.exports = async function globalSetup() {
- // await setupDevServer({
- // command: `node test/Server/server.js`,
- // launchTimeout: 10000,
- // port: 3998,
- // usedPortAction: 'kill',
- // });
- // Your global setup
-};
diff --git a/packages/sheets-plugin-filter/jest.config.mjs b/packages/sheets-plugin-filter/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/sheets-plugin-filter/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/sheets-plugin-filter/package.json b/packages/sheets-plugin-filter/package.json
index dbf4e43c92..e4247e35f2 100644
--- a/packages/sheets-plugin-filter/package.json
+++ b/packages/sheets-plugin-filter/package.json
@@ -34,7 +34,7 @@
"private": true,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs"
+ "test": "vitest run"
},
"dependencies": {
"@univerjs/base-render": "workspace:^0.0.1",
@@ -46,13 +46,10 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "29.5.5",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"esbuild": "^0.19.3",
- "jest": "29.7.0",
- "jest-environment-jsdom": "^29.6.4",
"less": "4.2.0",
- "ts-jest": "29.1.1"
+ "vitest": "^0.34.5"
}
}
diff --git a/packages/sheets-plugin-find/jest.config.mjs b/packages/sheets-plugin-find/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/sheets-plugin-find/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/sheets-plugin-find/package.json b/packages/sheets-plugin-find/package.json
index 057c3b1feb..c1cb2f541f 100644
--- a/packages/sheets-plugin-find/package.json
+++ b/packages/sheets-plugin-find/package.json
@@ -34,7 +34,7 @@
"private": false,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild": "node ./esbuild.config.mjs"
},
"dependencies": {
@@ -49,16 +49,12 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"esbuild": "^0.19.3",
- "jest": "29.7.0",
- "jest-css-modules-transform": "^4.4.2",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
diff --git a/packages/sheets-plugin-formula/jest.config.mjs b/packages/sheets-plugin-formula/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/sheets-plugin-formula/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/sheets-plugin-formula/package.json b/packages/sheets-plugin-formula/package.json
index a9192c03d4..87a6d4bd4a 100644
--- a/packages/sheets-plugin-formula/package.json
+++ b/packages/sheets-plugin-formula/package.json
@@ -34,7 +34,7 @@
"private": false,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild": "node ./esbuild.config.mjs"
},
"dependencies": {
@@ -49,16 +49,12 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"esbuild": "^0.19.3",
- "jest": "29.7.0",
- "jest-css-modules-transform": "^4.4.2",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
diff --git a/packages/sheets-plugin-image/jest.config.mjs b/packages/sheets-plugin-image/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/sheets-plugin-image/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/sheets-plugin-image/package.json b/packages/sheets-plugin-image/package.json
index f375be87cf..cf229bbf3f 100644
--- a/packages/sheets-plugin-image/package.json
+++ b/packages/sheets-plugin-image/package.json
@@ -34,7 +34,7 @@
"private": false,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild": "node ./esbuild.config.mjs"
},
"dependencies": {
@@ -49,16 +49,12 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"esbuild": "^0.19.3",
- "jest": "29.7.0",
- "jest-css-modules-transform": "^4.4.2",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
\ No newline at end of file
diff --git a/packages/sheets-plugin-import-xlsx/jest.config.mjs b/packages/sheets-plugin-import-xlsx/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/sheets-plugin-import-xlsx/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/sheets-plugin-import-xlsx/package.json b/packages/sheets-plugin-import-xlsx/package.json
index f8a907c4b0..102e5ca43a 100644
--- a/packages/sheets-plugin-import-xlsx/package.json
+++ b/packages/sheets-plugin-import-xlsx/package.json
@@ -34,7 +34,7 @@
"private": false,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild": "node ./esbuild.config.mjs"
},
"dependencies": {
@@ -50,15 +50,12 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"esbuild": "^0.19.3",
- "jest": "29.7.0",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
\ No newline at end of file
diff --git a/packages/sheets-plugin-numfmt/jest.config.mjs b/packages/sheets-plugin-numfmt/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/sheets-plugin-numfmt/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/sheets-plugin-numfmt/package.json b/packages/sheets-plugin-numfmt/package.json
index bf94a8c205..2d2d513d43 100644
--- a/packages/sheets-plugin-numfmt/package.json
+++ b/packages/sheets-plugin-numfmt/package.json
@@ -34,7 +34,7 @@
"private": true,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs"
+ "test": "vitest run"
},
"dependencies": {
"@univerjs/base-numfmt-engine": "workspace:^0.0.1",
@@ -49,15 +49,11 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
- "jest": "29.7.0",
- "jest-css-modules-transform": "^4.4.2",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
\ No newline at end of file
diff --git a/packages/sheets-plugin-operation/jest.config.mjs b/packages/sheets-plugin-operation/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/sheets-plugin-operation/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/sheets-plugin-operation/package.json b/packages/sheets-plugin-operation/package.json
index 04cfe26e6a..9aa449cc46 100644
--- a/packages/sheets-plugin-operation/package.json
+++ b/packages/sheets-plugin-operation/package.json
@@ -34,7 +34,7 @@
"private": false,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild": "node ./esbuild.config.mjs"
},
"dependencies": {
@@ -49,13 +49,10 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "29.5.5",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"esbuild": "^0.19.3",
- "jest": "29.7.0",
- "jest-environment-jsdom": "^29.6.4",
"less": "4.2.0",
- "ts-jest": "29.1.1"
+ "vitest": "^0.34.5"
}
}
diff --git a/packages/ui-plugin-docs/jest.config.mjs b/packages/ui-plugin-docs/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/ui-plugin-docs/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/ui-plugin-docs/package.json b/packages/ui-plugin-docs/package.json
index 5d8238e35d..d43b73aa79 100644
--- a/packages/ui-plugin-docs/package.json
+++ b/packages/ui-plugin-docs/package.json
@@ -34,18 +34,15 @@
"private": true,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs"
+ "test": "vitest run"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^16.4.6",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
- "jest": "29.7.0",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.2.1"
+ "ts-node": "^10.2.1",
+ "vitest": "^0.34.5"
},
"dependencies": {
"@univerjs/base-docs": "workspace:^0.0.1",
diff --git a/packages/ui-plugin-sheets/jest.config.mjs b/packages/ui-plugin-sheets/jest.config.mjs
deleted file mode 100644
index fad4d21d64..0000000000
--- a/packages/ui-plugin-sheets/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: 'tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/ui-plugin-sheets/package.json b/packages/ui-plugin-sheets/package.json
index bece233845..113f3fc1ba 100644
--- a/packages/ui-plugin-sheets/package.json
+++ b/packages/ui-plugin-sheets/package.json
@@ -37,13 +37,13 @@
"private": false,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs",
+ "test": "vitest run",
"esbuild": "node ./esbuild.config.mjs"
},
"dependencies": {
+ "@univerjs/base-docs": "workspace:^0.0.1",
"@univerjs/base-render": "workspace:^0.0.1",
"@univerjs/base-sheets": "workspace:^0.0.1",
- "@univerjs/base-docs": "workspace:^0.0.1",
"@univerjs/base-ui": "workspace:^0.0.1",
"@univerjs/core": "workspace:^0.0.1",
"@wendellhu/redi": "^0.12.8",
@@ -53,15 +53,12 @@
"rxjs": "^7.8.1"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^18.14.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"esbuild": "^0.19.3",
- "jest": "29.7.0",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
diff --git a/packages/ui-plugin-slides/jest.config.mjs b/packages/ui-plugin-slides/jest.config.mjs
deleted file mode 100644
index 5b1b22958d..0000000000
--- a/packages/ui-plugin-slides/jest.config.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
-export default {
- preset: 'ts-jest',
- testEnvironment: 'jsdom',
- moduleFileExtensions: ['js', 'ts', 'tsx'],
-
- roots: ['<rootDir>'],
- testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
- transform: {
- '^.+\\.(ts|tsx)$': [
- 'ts-jest',
- {
- babel: true,
- tsconfig: '<rootDir>/tsconfig.json',
- },
- ],
- '.+\\.(css|less)$': 'jest-css-modules-transform',
- },
-
- collectCoverage: true,
- coverageReporters: ['json', 'html'],
-};
diff --git a/packages/ui-plugin-slides/package.json b/packages/ui-plugin-slides/package.json
index 561c0914f6..f551a4ed53 100644
--- a/packages/ui-plugin-slides/package.json
+++ b/packages/ui-plugin-slides/package.json
@@ -34,7 +34,7 @@
"private": true,
"type": "module",
"scripts": {
- "jest": "jest -c jest.config.mjs"
+ "test": "vitest run"
},
"dependencies": {
"@univerjs/base-render": "workspace:^0.0.1",
@@ -47,14 +47,11 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
- "@types/jest": "^29.5.5",
"@types/node": "^16.4.6",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
- "jest": "29.7.0",
- "jest-environment-jsdom": "^29.6.4",
"less": "^4.2.0",
- "ts-jest": "29.1.1",
- "ts-node": "^10.9.1"
+ "ts-node": "^10.9.1",
+ "vitest": "^0.34.5"
}
}
\ No newline at end of file
diff --git a/patches/ApiModelGenerator.js b/patches/ApiModelGenerator.js
deleted file mode 100644
index 5ab9b41e3b..0000000000
--- a/patches/ApiModelGenerator.js
+++ /dev/null
@@ -1,703 +0,0 @@
-"use strict";
-// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
-// See LICENSE in the project root for license information.
-var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
- if (k2 === undefined) k2 = k;
- var desc = Object.getOwnPropertyDescriptor(m, k);
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
- desc = { enumerable: true, get: function() { return m[k]; } };
- }
- Object.defineProperty(o, k2, desc);
-}) : (function(o, m, k, k2) {
- if (k2 === undefined) k2 = k;
- o[k2] = m[k];
-}));
-var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
- Object.defineProperty(o, "default", { enumerable: true, value: v });
-}) : function(o, v) {
- o["default"] = v;
-});
-var __importStar = (this && this.__importStar) || function (mod) {
- if (mod && mod.__esModule) return mod;
- var result = {};
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
- __setModuleDefault(result, mod);
- return result;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ApiModelGenerator = void 0;
-/* eslint-disable no-bitwise */
-const ts = __importStar(require("typescript"));
-const api_extractor_model_1 = require("@microsoft/api-extractor-model");
-const ExcerptBuilder_1 = require("./ExcerptBuilder");
-const AstSymbol_1 = require("../analyzer/AstSymbol");
-const DeclarationReferenceGenerator_1 = require("./DeclarationReferenceGenerator");
-const AstNamespaceImport_1 = require("../analyzer/AstNamespaceImport");
-const TypeScriptInternals_1 = require("../analyzer/TypeScriptInternals");
-class ApiModelGenerator {
- constructor(collector) {
- this._collector = collector;
- this._apiModel = new api_extractor_model_1.ApiModel();
- this._referenceGenerator = new DeclarationReferenceGenerator_1.DeclarationReferenceGenerator(collector.packageJsonLookup, collector.workingPackage.name, collector.program, collector.typeChecker, collector.bundledPackageNames);
- }
- get apiModel() {
- return this._apiModel;
- }
- buildApiPackage() {
- const packageDocComment = this._collector.workingPackage.tsdocComment;
- const apiPackage = new api_extractor_model_1.ApiPackage({
- name: this._collector.workingPackage.name,
- docComment: packageDocComment,
- tsdocConfiguration: this._collector.extractorConfig.tsdocConfiguration
- });
- this._apiModel.addMember(apiPackage);
- const apiEntryPoint = new api_extractor_model_1.ApiEntryPoint({ name: '' });
- apiPackage.addMember(apiEntryPoint);
- // Create a CollectorEntity for each top-level export
- for (const entity of this._collector.entities) {
- if (entity.exported) {
- // this._processAstEntity(entity.astEntity, entity.nameForEmit, apiEntryPoint);
- const exportedName = Array.from(entity.exportNames)[0] || entity.nameForEmit;
- this._processAstEntity(entity.astEntity, exportedName, apiEntryPoint);
- }
- }
- return apiPackage;
- }
- _processAstEntity(astEntity, exportedName, parentApiItem) {
- if (astEntity instanceof AstSymbol_1.AstSymbol) {
- // Skip ancillary declarations; we will process them with the main declaration
- for (const astDeclaration of this._collector.getNonAncillaryDeclarations(astEntity)) {
- this._processDeclaration(astDeclaration, exportedName, parentApiItem);
- }
- return;
- }
- if (astEntity instanceof AstNamespaceImport_1.AstNamespaceImport) {
- // Note that a single API item can belong to two different AstNamespaceImport namespaces. For example:
- //
- // // file.ts defines "thing()"
- // import * as example1 from "./file";
- // import * as example2 from "./file";
- //
- // // ...so here we end up with example1.thing() and example2.thing()
- // export { example1, example2 }
- //
- // The current logic does not try to associate "thing()" with a specific parent. Instead
- // the API documentation will show duplicated entries for example1.thing() and example2.thing()./
- //
- // This could be improved in the future, but it requires a stable mechanism for choosing an associated parent.
- // For thoughts about this: https://github.com/microsoft/rushstack/issues/1308
- this._processAstModule(astEntity.astModule, exportedName, parentApiItem);
- return;
- }
- // TODO: Figure out how to represent reexported AstImport objects. Basically we need to introduce a new
- // ApiItem subclass for "export alias", similar to a type alias, but representing declarations of the
- // form "export { X } from 'external-package'". We can also use this to solve GitHub issue #950.
- }
- _processAstModule(astModule, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astModule.moduleSymbol.name;
- const containerKey = api_extractor_model_1.ApiNamespace.getContainerKey(name);
- let apiNamespace = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiNamespace === undefined) {
- apiNamespace = new api_extractor_model_1.ApiNamespace({
- name,
- docComment: undefined,
- releaseTag: api_extractor_model_1.ReleaseTag.None,
- excerptTokens: []
- });
- parentApiItem.addMember(apiNamespace);
- }
- astModule.astModuleExportInfo.exportedLocalEntities.forEach((exportedEntity, exportedName) => {
- this._processAstEntity(exportedEntity, exportedName, apiNamespace);
- });
- }
- _processDeclaration(astDeclaration, exportedName, parentApiItem) {
- if ((astDeclaration.modifierFlags & ts.ModifierFlags.Private) !== 0) {
- return; // trim out private declarations
- }
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- if (releaseTag === api_extractor_model_1.ReleaseTag.Internal || releaseTag === api_extractor_model_1.ReleaseTag.Alpha) {
- return; // trim out items marked as "@internal" or "@alpha"
- }
- switch (astDeclaration.declaration.kind) {
- case ts.SyntaxKind.CallSignature:
- this._processApiCallSignature(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.Constructor:
- this._processApiConstructor(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.ConstructSignature:
- this._processApiConstructSignature(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.ClassDeclaration:
- this._processApiClass(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.EnumDeclaration:
- this._processApiEnum(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.EnumMember:
- this._processApiEnumMember(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.FunctionDeclaration:
- this._processApiFunction(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.GetAccessor:
- this._processApiProperty(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.SetAccessor:
- this._processApiProperty(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.IndexSignature:
- this._processApiIndexSignature(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.InterfaceDeclaration:
- this._processApiInterface(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.MethodDeclaration:
- this._processApiMethod(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.MethodSignature:
- this._processApiMethodSignature(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.ModuleDeclaration:
- this._processApiNamespace(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.PropertyDeclaration:
- this._processApiProperty(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.PropertySignature:
- this._processApiPropertySignature(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.TypeAliasDeclaration:
- this._processApiTypeAlias(astDeclaration, exportedName, parentApiItem);
- break;
- case ts.SyntaxKind.VariableDeclaration:
- this._processApiVariable(astDeclaration, exportedName, parentApiItem);
- break;
- default:
- // ignore unknown types
- }
- }
- _processChildDeclarations(astDeclaration, exportedName, parentApiItem) {
- for (const childDeclaration of astDeclaration.children) {
- this._processDeclaration(childDeclaration, undefined, parentApiItem);
- }
- }
- _processApiCallSignature(astDeclaration, exportedName, parentApiItem) {
- const overloadIndex = this._collector.getOverloadIndex(astDeclaration);
- const containerKey = api_extractor_model_1.ApiCallSignature.getContainerKey(overloadIndex);
- let apiCallSignature = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiCallSignature === undefined) {
- const callSignature = astDeclaration.declaration;
- const nodesToCapture = [];
- const returnTypeTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: callSignature.type, tokenRange: returnTypeTokenRange });
- const typeParameters = this._captureTypeParameters(nodesToCapture, callSignature.typeParameters);
- const parameters = this._captureParameters(nodesToCapture, callSignature.parameters);
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- apiCallSignature = new api_extractor_model_1.ApiCallSignature({
- docComment,
- releaseTag,
- typeParameters,
- parameters,
- overloadIndex,
- excerptTokens,
- returnTypeTokenRange
- });
- parentApiItem.addMember(apiCallSignature);
- }
- }
- _processApiConstructor(astDeclaration, exportedName, parentApiItem) {
- const overloadIndex = this._collector.getOverloadIndex(astDeclaration);
- const containerKey = api_extractor_model_1.ApiConstructor.getContainerKey(overloadIndex);
- let apiConstructor = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiConstructor === undefined) {
- const constructorDeclaration = astDeclaration.declaration;
- const nodesToCapture = [];
- const parameters = this._captureParameters(nodesToCapture, constructorDeclaration.parameters);
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- const isProtected = (astDeclaration.modifierFlags & ts.ModifierFlags.Protected) !== 0;
- apiConstructor = new api_extractor_model_1.ApiConstructor({
- docComment,
- releaseTag,
- isProtected,
- parameters,
- overloadIndex,
- excerptTokens
- });
- parentApiItem.addMember(apiConstructor);
- }
- }
- _processApiClass(astDeclaration, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astDeclaration.astSymbol.localName;
- const containerKey = api_extractor_model_1.ApiClass.getContainerKey(name);
- let apiClass = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiClass === undefined) {
- const classDeclaration = astDeclaration.declaration;
- const nodesToCapture = [];
- const typeParameters = this._captureTypeParameters(nodesToCapture, classDeclaration.typeParameters);
- let extendsTokenRange = undefined;
- const implementsTokenRanges = [];
- for (const heritageClause of classDeclaration.heritageClauses || []) {
- if (heritageClause.token === ts.SyntaxKind.ExtendsKeyword) {
- extendsTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- if (heritageClause.types.length > 0) {
- nodesToCapture.push({ node: heritageClause.types[0], tokenRange: extendsTokenRange });
- }
- }
- else if (heritageClause.token === ts.SyntaxKind.ImplementsKeyword) {
- for (const heritageType of heritageClause.types) {
- const implementsTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- implementsTokenRanges.push(implementsTokenRange);
- nodesToCapture.push({ node: heritageType, tokenRange: implementsTokenRange });
- }
- }
- }
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- apiClass = new api_extractor_model_1.ApiClass({
- name,
- docComment,
- releaseTag,
- excerptTokens,
- typeParameters,
- extendsTokenRange,
- implementsTokenRanges
- });
- parentApiItem.addMember(apiClass);
- }
- this._processChildDeclarations(astDeclaration, exportedName, apiClass);
- }
- _processApiConstructSignature(astDeclaration, exportedName, parentApiItem) {
- const overloadIndex = this._collector.getOverloadIndex(astDeclaration);
- const containerKey = api_extractor_model_1.ApiConstructSignature.getContainerKey(overloadIndex);
- let apiConstructSignature = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiConstructSignature === undefined) {
- const constructSignature = astDeclaration.declaration;
- const nodesToCapture = [];
- const returnTypeTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: constructSignature.type, tokenRange: returnTypeTokenRange });
- const typeParameters = this._captureTypeParameters(nodesToCapture, constructSignature.typeParameters);
- const parameters = this._captureParameters(nodesToCapture, constructSignature.parameters);
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- apiConstructSignature = new api_extractor_model_1.ApiConstructSignature({
- docComment,
- releaseTag,
- typeParameters,
- parameters,
- overloadIndex,
- excerptTokens,
- returnTypeTokenRange
- });
- parentApiItem.addMember(apiConstructSignature);
- }
- }
- _processApiEnum(astDeclaration, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astDeclaration.astSymbol.localName;
- const containerKey = api_extractor_model_1.ApiEnum.getContainerKey(name);
- let apiEnum = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiEnum === undefined) {
- const excerptTokens = this._buildExcerptTokens(astDeclaration, []);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- apiEnum = new api_extractor_model_1.ApiEnum({ name, docComment, releaseTag, excerptTokens });
- parentApiItem.addMember(apiEnum);
- }
- this._processChildDeclarations(astDeclaration, exportedName, apiEnum);
- }
- _processApiEnumMember(astDeclaration, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astDeclaration.astSymbol.localName;
- const containerKey = api_extractor_model_1.ApiEnumMember.getContainerKey(name);
- let apiEnumMember = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiEnumMember === undefined) {
- const enumMember = astDeclaration.declaration;
- const nodesToCapture = [];
- const initializerTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: enumMember.initializer, tokenRange: initializerTokenRange });
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- apiEnumMember = new api_extractor_model_1.ApiEnumMember({
- name,
- docComment,
- releaseTag,
- excerptTokens,
- initializerTokenRange
- });
- parentApiItem.addMember(apiEnumMember);
- }
- }
- _processApiFunction(astDeclaration, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astDeclaration.astSymbol.localName;
- const overloadIndex = this._collector.getOverloadIndex(astDeclaration);
- const containerKey = api_extractor_model_1.ApiFunction.getContainerKey(name, overloadIndex);
- let apiFunction = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiFunction === undefined) {
- const functionDeclaration = astDeclaration.declaration;
- const nodesToCapture = [];
- const returnTypeTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: functionDeclaration.type, tokenRange: returnTypeTokenRange });
- const typeParameters = this._captureTypeParameters(nodesToCapture, functionDeclaration.typeParameters);
- const parameters = this._captureParameters(nodesToCapture, functionDeclaration.parameters);
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- if (releaseTag === api_extractor_model_1.ReleaseTag.Internal || releaseTag === api_extractor_model_1.ReleaseTag.Alpha) {
- return; // trim out items marked as "@internal" or "@alpha"
- }
- apiFunction = new api_extractor_model_1.ApiFunction({
- name,
- docComment,
- releaseTag,
- typeParameters,
- parameters,
- overloadIndex,
- excerptTokens,
- returnTypeTokenRange
- });
- parentApiItem.addMember(apiFunction);
- }
- }
- _processApiIndexSignature(astDeclaration, exportedName, parentApiItem) {
- const overloadIndex = this._collector.getOverloadIndex(astDeclaration);
- const containerKey = api_extractor_model_1.ApiIndexSignature.getContainerKey(overloadIndex);
- let apiIndexSignature = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiIndexSignature === undefined) {
- const indexSignature = astDeclaration.declaration;
- const nodesToCapture = [];
- const returnTypeTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: indexSignature.type, tokenRange: returnTypeTokenRange });
- const parameters = this._captureParameters(nodesToCapture, indexSignature.parameters);
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- apiIndexSignature = new api_extractor_model_1.ApiIndexSignature({
- docComment,
- releaseTag,
- parameters,
- overloadIndex,
- excerptTokens,
- returnTypeTokenRange
- });
- parentApiItem.addMember(apiIndexSignature);
- }
- }
- _processApiInterface(astDeclaration, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astDeclaration.astSymbol.localName;
- const containerKey = api_extractor_model_1.ApiInterface.getContainerKey(name);
- let apiInterface = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiInterface === undefined) {
- const interfaceDeclaration = astDeclaration.declaration;
- const nodesToCapture = [];
- const typeParameters = this._captureTypeParameters(nodesToCapture, interfaceDeclaration.typeParameters);
- const extendsTokenRanges = [];
- for (const heritageClause of interfaceDeclaration.heritageClauses || []) {
- if (heritageClause.token === ts.SyntaxKind.ExtendsKeyword) {
- for (const heritageType of heritageClause.types) {
- const extendsTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- extendsTokenRanges.push(extendsTokenRange);
- nodesToCapture.push({ node: heritageType, tokenRange: extendsTokenRange });
- }
- }
- }
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- apiInterface = new api_extractor_model_1.ApiInterface({
- name,
- docComment,
- releaseTag,
- excerptTokens,
- typeParameters,
- extendsTokenRanges
- });
- parentApiItem.addMember(apiInterface);
- }
- this._processChildDeclarations(astDeclaration, exportedName, apiInterface);
- }
- _processApiMethod(astDeclaration, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astDeclaration.astSymbol.localName;
- const isStatic = (astDeclaration.modifierFlags & ts.ModifierFlags.Static) !== 0;
- const overloadIndex = this._collector.getOverloadIndex(astDeclaration);
- const containerKey = api_extractor_model_1.ApiMethod.getContainerKey(name, isStatic, overloadIndex);
- let apiMethod = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiMethod === undefined) {
- const methodDeclaration = astDeclaration.declaration;
- const nodesToCapture = [];
- const returnTypeTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: methodDeclaration.type, tokenRange: returnTypeTokenRange });
- const typeParameters = this._captureTypeParameters(nodesToCapture, methodDeclaration.typeParameters);
- const parameters = this._captureParameters(nodesToCapture, methodDeclaration.parameters);
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- if (releaseTag === api_extractor_model_1.ReleaseTag.Internal || releaseTag === api_extractor_model_1.ReleaseTag.Alpha) {
- return; // trim out items marked as "@internal" or "@alpha"
- }
- const isOptional = (astDeclaration.astSymbol.followedSymbol.flags & ts.SymbolFlags.Optional) !== 0;
- const isProtected = (astDeclaration.modifierFlags & ts.ModifierFlags.Protected) !== 0;
- apiMethod = new api_extractor_model_1.ApiMethod({
- name,
- docComment,
- releaseTag,
- isProtected,
- isStatic,
- isOptional,
- typeParameters,
- parameters,
- overloadIndex,
- excerptTokens,
- returnTypeTokenRange
- });
- parentApiItem.addMember(apiMethod);
- }
- }
- _processApiMethodSignature(astDeclaration, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astDeclaration.astSymbol.localName;
- const overloadIndex = this._collector.getOverloadIndex(astDeclaration);
- const containerKey = api_extractor_model_1.ApiMethodSignature.getContainerKey(name, overloadIndex);
- let apiMethodSignature = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiMethodSignature === undefined) {
- const methodSignature = astDeclaration.declaration;
- const nodesToCapture = [];
- const returnTypeTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: methodSignature.type, tokenRange: returnTypeTokenRange });
- const typeParameters = this._captureTypeParameters(nodesToCapture, methodSignature.typeParameters);
- const parameters = this._captureParameters(nodesToCapture, methodSignature.parameters);
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- const isOptional = (astDeclaration.astSymbol.followedSymbol.flags & ts.SymbolFlags.Optional) !== 0;
- apiMethodSignature = new api_extractor_model_1.ApiMethodSignature({
- name,
- docComment,
- releaseTag,
- isOptional,
- typeParameters,
- parameters,
- overloadIndex,
- excerptTokens,
- returnTypeTokenRange
- });
- parentApiItem.addMember(apiMethodSignature);
- }
- }
- _processApiNamespace(astDeclaration, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astDeclaration.astSymbol.localName;
- const containerKey = api_extractor_model_1.ApiNamespace.getContainerKey(name);
- let apiNamespace = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiNamespace === undefined) {
- const excerptTokens = this._buildExcerptTokens(astDeclaration, []);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- apiNamespace = new api_extractor_model_1.ApiNamespace({ name, docComment, releaseTag, excerptTokens });
- parentApiItem.addMember(apiNamespace);
- }
- this._processChildDeclarations(astDeclaration, exportedName, apiNamespace);
- }
- _processApiProperty(astDeclaration, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astDeclaration.astSymbol.localName;
- const isStatic = (astDeclaration.modifierFlags & ts.ModifierFlags.Static) !== 0;
- const containerKey = api_extractor_model_1.ApiProperty.getContainerKey(name, isStatic);
- let apiProperty = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiProperty === undefined) {
- const nodesToCapture = [];
- const propertyTypeTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- let propertyTypeNode;
- if (ts.isPropertyDeclaration(astDeclaration.declaration) ||
- ts.isGetAccessorDeclaration(astDeclaration.declaration)) {
- propertyTypeNode = astDeclaration.declaration.type;
- }
- if (ts.isSetAccessorDeclaration(astDeclaration.declaration)) {
- // Note that TypeScript always reports an error if a setter does not have exactly one parameter.
- propertyTypeNode = astDeclaration.declaration.parameters[0].type;
- }
- nodesToCapture.push({ node: propertyTypeNode, tokenRange: propertyTypeTokenRange });
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- const isOptional = (astDeclaration.astSymbol.followedSymbol.flags & ts.SymbolFlags.Optional) !== 0;
- const isProtected = (astDeclaration.modifierFlags & ts.ModifierFlags.Protected) !== 0;
- const isReadonly = this._determineReadonly(astDeclaration);
- apiProperty = new api_extractor_model_1.ApiProperty({
- name,
- docComment,
- releaseTag,
- isProtected,
- isStatic,
- isOptional,
- isReadonly,
- excerptTokens,
- propertyTypeTokenRange
- });
- parentApiItem.addMember(apiProperty);
- }
- else {
- // If the property was already declared before (via a merged interface declaration),
- // we assume its signature is identical, because the language requires that.
- }
- }
- _processApiPropertySignature(astDeclaration, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astDeclaration.astSymbol.localName;
- const containerKey = api_extractor_model_1.ApiPropertySignature.getContainerKey(name);
- let apiPropertySignature = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiPropertySignature === undefined) {
- const propertySignature = astDeclaration.declaration;
- const nodesToCapture = [];
- const propertyTypeTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: propertySignature.type, tokenRange: propertyTypeTokenRange });
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- const isOptional = (astDeclaration.astSymbol.followedSymbol.flags & ts.SymbolFlags.Optional) !== 0;
- const isReadonly = this._determineReadonly(astDeclaration);
- apiPropertySignature = new api_extractor_model_1.ApiPropertySignature({
- name,
- docComment,
- releaseTag,
- isOptional,
- excerptTokens,
- propertyTypeTokenRange,
- isReadonly
- });
- parentApiItem.addMember(apiPropertySignature);
- }
- else {
- // If the property was already declared before (via a merged interface declaration),
- // we assume its signature is identical, because the language requires that.
- }
- }
- _processApiTypeAlias(astDeclaration, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astDeclaration.astSymbol.localName;
- const containerKey = api_extractor_model_1.ApiTypeAlias.getContainerKey(name);
- let apiTypeAlias = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiTypeAlias === undefined) {
- const typeAliasDeclaration = astDeclaration.declaration;
- const nodesToCapture = [];
- const typeParameters = this._captureTypeParameters(nodesToCapture, typeAliasDeclaration.typeParameters);
- const typeTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: typeAliasDeclaration.type, tokenRange: typeTokenRange });
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- apiTypeAlias = new api_extractor_model_1.ApiTypeAlias({
- name,
- docComment,
- typeParameters,
- releaseTag,
- excerptTokens,
- typeTokenRange
- });
- parentApiItem.addMember(apiTypeAlias);
- }
- }
- _processApiVariable(astDeclaration, exportedName, parentApiItem) {
- const name = exportedName ? exportedName : astDeclaration.astSymbol.localName;
- const containerKey = api_extractor_model_1.ApiVariable.getContainerKey(name);
- let apiVariable = parentApiItem.tryGetMemberByKey(containerKey);
- if (apiVariable === undefined) {
- const variableDeclaration = astDeclaration.declaration;
- const nodesToCapture = [];
- const variableTypeTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: variableDeclaration.type, tokenRange: variableTypeTokenRange });
- const excerptTokens = this._buildExcerptTokens(astDeclaration, nodesToCapture);
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const releaseTag = apiItemMetadata.effectiveReleaseTag;
- const isReadonly = this._determineReadonly(astDeclaration);
- apiVariable = new api_extractor_model_1.ApiVariable({
- name,
- docComment,
- releaseTag,
- excerptTokens,
- variableTypeTokenRange,
- isReadonly
- });
- parentApiItem.addMember(apiVariable);
- }
- }
- /**
- * @param nodesToCapture - A list of child nodes whose token ranges we want to capture
- */
- _buildExcerptTokens(astDeclaration, nodesToCapture) {
- const excerptTokens = [];
- // Build the main declaration
- ExcerptBuilder_1.ExcerptBuilder.addDeclaration(excerptTokens, astDeclaration, nodesToCapture, this._referenceGenerator);
- const declarationMetadata = this._collector.fetchDeclarationMetadata(astDeclaration);
- // Add any ancillary declarations
- for (const ancillaryDeclaration of declarationMetadata.ancillaryDeclarations) {
- ExcerptBuilder_1.ExcerptBuilder.addBlankLine(excerptTokens);
- ExcerptBuilder_1.ExcerptBuilder.addDeclaration(excerptTokens, ancillaryDeclaration, nodesToCapture, this._referenceGenerator);
- }
- return excerptTokens;
- }
- _captureTypeParameters(nodesToCapture, typeParameterNodes) {
- const typeParameters = [];
- if (typeParameterNodes) {
- for (const typeParameter of typeParameterNodes) {
- const constraintTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: typeParameter.constraint, tokenRange: constraintTokenRange });
- const defaultTypeTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: typeParameter.default, tokenRange: defaultTypeTokenRange });
- typeParameters.push({
- typeParameterName: typeParameter.name.getText().trim(),
- constraintTokenRange,
- defaultTypeTokenRange
- });
- }
- }
- return typeParameters;
- }
- _captureParameters(nodesToCapture, parameterNodes) {
- const parameters = [];
- for (const parameter of parameterNodes) {
- const parameterTypeTokenRange = ExcerptBuilder_1.ExcerptBuilder.createEmptyTokenRange();
- nodesToCapture.push({ node: parameter.type, tokenRange: parameterTypeTokenRange });
- parameters.push({
- parameterName: parameter.name.getText().trim(),
- parameterTypeTokenRange,
- isOptional: this._collector.typeChecker.isOptionalParameter(parameter)
- });
- }
- return parameters;
- }
- _determineReadonly(astDeclaration) {
- const apiItemMetadata = this._collector.fetchApiItemMetadata(astDeclaration);
- const docComment = apiItemMetadata.tsdocComment;
- const declarationMetadata = this._collector.fetchDeclarationMetadata(astDeclaration);
- //Line 1: sees whether the readonly or const modifiers are present
- //Line 2: sees if the TSDoc comment for @readonly is present
- //Line 3: sees whether a getter is present for a property with no setter
- //Line 4: sees if the var declaration has Const keyword
- return ((astDeclaration.modifierFlags & (ts.ModifierFlags.Readonly + ts.ModifierFlags.Const)) !== 0 ||
- (docComment !== undefined && docComment.modifierTagSet.hasTagName('@readonly')) ||
- (declarationMetadata.ancillaryDeclarations.length === 0 &&
- astDeclaration.declaration.kind === ts.SyntaxKind.GetAccessor) ||
- (ts.isVariableDeclaration(astDeclaration.declaration) &&
- TypeScriptInternals_1.TypeScriptInternals.isVarConst(astDeclaration.declaration)));
- }
-}
-exports.ApiModelGenerator = ApiModelGenerator;
-//# sourceMappingURL=ApiModelGenerator.js.map
\ No newline at end of file
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 97384daae0..5145a0929b 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -108,9 +108,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -132,27 +129,18 @@ importers:
esbuild-style-plugin:
specifier: ^1.6.2
version: 1.6.2
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-css-modules-transform:
- specifier: ^4.4.2
- version: 4.4.2
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
minimist:
specifier: ^1.2.8
version: 1.2.8
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
examples/univer-sheet-ts:
dependencies:
@@ -205,9 +193,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -229,27 +214,18 @@ importers:
esbuild-style-plugin:
specifier: ^1.6.2
version: 1.6.2
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-css-modules-transform:
- specifier: ^4.4.2
- version: 4.4.2
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
minimist:
specifier: ^1.2.8
version: 1.2.8
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
examples/univer-slide-ts:
dependencies:
@@ -278,9 +254,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -302,27 +275,18 @@ importers:
esbuild-style-plugin:
specifier: ^1.6.2
version: 1.6.2
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-css-modules-transform:
- specifier: ^4.4.2
- version: 4.4.2
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
minimist:
specifier: ^1.2.8
version: 1.2.8
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/base-docs:
dependencies:
@@ -357,9 +321,6 @@ importers:
specifier: ^7.8.1
version: 7.8.1
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -369,21 +330,15 @@ importers:
'@types/react-dom':
specifier: ^18.2.7
version: 18.2.7
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/base-formula-engine:
dependencies:
@@ -400,9 +355,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -415,21 +367,15 @@ importers:
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/base-numfmt-engine:
dependencies:
@@ -443,9 +389,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -458,24 +401,15 @@ importers:
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-css-modules-transform:
- specifier: ^4.4.2
- version: 4.4.2
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/base-render:
dependencies:
@@ -498,9 +432,6 @@ importers:
specifier: ^7.8.1
version: 7.8.1
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -513,24 +444,15 @@ importers:
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-css-modules-transform:
- specifier: ^4.4.2
- version: 4.4.2
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/base-sheets:
dependencies:
@@ -553,9 +475,6 @@ importers:
specifier: ^7.8.1
version: 7.8.1
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -568,24 +487,15 @@ importers:
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-css-modules-transform:
- specifier: ^4.4.2
- version: 4.4.2
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/base-slides:
dependencies:
@@ -611,9 +521,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -623,21 +530,15 @@ importers:
'@types/react-dom':
specifier: ^18.2.7
version: 18.2.7
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/base-ui:
dependencies:
@@ -664,35 +565,32 @@ importers:
version: 7.8.1
devDependencies:
'@storybook/addon-docs':
- specifier: ^7.4.2
+ specifier: ^7.4.4
'@storybook/addon-essentials':
- specifier: ^7.4.2
+ specifier: ^7.4.4
'@storybook/addon-interactions':
- specifier: ^7.4.2
+ specifier: ^7.4.4
'@storybook/addon-links':
- specifier: ^7.4.2
+ specifier: ^7.4.4
'@storybook/blocks':
- specifier: ^7.4.2
+ specifier: ^7.4.4
'@storybook/react':
- specifier: ^7.4.2
+ specifier: ^7.4.4
'@storybook/react-vite':
- specifier: ^7.4.2
+ specifier: ^7.4.4
'@storybook/testing-library':
specifier: ^0.2.1
version: 0.2.1
'@testing-library/react':
specifier: ^14.0.0
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -702,30 +600,27 @@ importers:
'@types/react-dom':
specifier: ^18.2.7
version: 18.2.7
+ '@vitejs/plugin-react':
+ specifier: ^4.0.4
+ version: 4.0.4([email protected])
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-css-modules-transform:
- specifier: ^4.4.2
- version: 4.4.2
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
+ happy-dom:
+ specifier: ^12.1.6
+ version: 12.1.6
less:
specifier: ^4.2.0
version: 4.2.0
storybook:
- specifier: ^7.4.2
- version: 7.4.2
- ts-jest:
- specifier: 29.1.1
+ specifier: ^7.4.4
+ version: 7.4.4
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/common-plugin-data:
dependencies:
@@ -739,6 +634,9 @@ importers:
esbuild:
specifier: ^0.19.3
version: 0.19.3
+ vitest:
+ specifier: ^0.34.5
+ version: 0.34.5
packages/core:
dependencies:
@@ -761,30 +659,21 @@ importers:
specifier: ^7.8.1
version: 7.8.1
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-dev-server:
- specifier: ^6.1.1
- version: 6.1.1
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/sheets-plugin-filter:
dependencies:
@@ -810,9 +699,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: 29.5.5
- version: 29.5.5
'@types/react':
specifier: ^18.2.22
version: 18.2.22
@@ -822,18 +708,12 @@ importers:
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: 4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
+ vitest:
+ specifier: ^0.34.5
packages/sheets-plugin-find:
dependencies:
@@ -865,9 +745,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -880,24 +757,15 @@ importers:
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-css-modules-transform:
- specifier: ^4.4.2
- version: 4.4.2
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/sheets-plugin-formula:
dependencies:
@@ -929,9 +797,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -944,24 +809,15 @@ importers:
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-css-modules-transform:
- specifier: ^4.4.2
- version: 4.4.2
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/sheets-plugin-image:
dependencies:
@@ -993,9 +849,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -1008,24 +861,15 @@ importers:
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-css-modules-transform:
- specifier: ^4.4.2
- version: 4.4.2
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/sheets-plugin-import-xlsx:
dependencies:
@@ -1060,9 +904,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -1075,21 +916,15 @@ importers:
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/sheets-plugin-numfmt:
dependencies:
@@ -1124,9 +959,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -1136,24 +968,15 @@ importers:
'@types/react-dom':
specifier: ^18.2.7
version: 18.2.7
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-css-modules-transform:
- specifier: ^4.4.2
- version: 4.4.2
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/sheets-plugin-operation:
dependencies:
@@ -1185,9 +1008,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: 29.5.5
- version: 29.5.5
'@types/react':
specifier: ^18.2.22
version: 18.2.22
@@ -1197,18 +1017,12 @@ importers:
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: 4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
+ vitest:
+ specifier: ^0.34.5
packages/ui-plugin-docs:
dependencies:
@@ -1237,9 +1051,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^16.4.6
version: 16.4.6
@@ -1249,21 +1060,15 @@ importers:
'@types/react-dom':
specifier: ^18.2.7
version: 18.2.7
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.2.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/ui-plugin-sheets:
dependencies:
@@ -1298,9 +1103,6 @@ importers:
specifier: ^7.8.1
version: 7.8.1
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^18.14.0
version: 18.14.0
@@ -1313,21 +1115,15 @@ importers:
esbuild:
specifier: ^0.19.3
version: 0.19.3
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages/ui-plugin-slides:
dependencies:
@@ -1356,9 +1152,6 @@ importers:
specifier: ^18.2.0
version: 18.2.0([email protected])
devDependencies:
- '@types/jest':
- specifier: ^29.5.5
- version: 29.5.5
'@types/node':
specifier: ^16.4.6
version: 16.4.6
@@ -1368,21 +1161,15 @@ importers:
'@types/react-dom':
specifier: ^18.2.7
version: 18.2.7
- jest:
- specifier: 29.7.0
- version: 29.7.0(@types/[email protected])([email protected])
- jest-environment-jsdom:
- specifier: ^29.6.4
- version: 29.6.4
less:
specifier: ^4.2.0
version: 4.2.0
- ts-jest:
- specifier: 29.1.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ vitest:
+ specifier: ^0.34.5
packages:
@@ -1756,15 +1543,6 @@ packages:
'@babel/helper-plugin-utils': 7.22.5
dev: true
- resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==}
- peerDependencies:
- '@babel/core': ^7.0.0-0
- dependencies:
- '@babel/core': 7.22.15
- '@babel/helper-plugin-utils': 7.22.5
- dev: true
-
resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==}
peerDependencies:
@@ -3577,16 +3355,6 @@ packages:
resolution: {integrity: sha512-ou3elfqG/hZsbmF4bxeJhPHIf3G2pm0ujc39hYEZrfVqt7Vk/Zji6CXc3W0pmYM8BW1g40U+akTl9DKZhFhInQ==}
dev: true
- resolution: {integrity: sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==}
- dev: true
-
- resolution: {integrity: sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==}
- dependencies:
- '@hapi/hoek': 9.3.0
- dev: true
-
/@humanwhocodes/[email protected]:
resolution: {integrity: sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==}
engines: {node: '>=10.10.0'}
@@ -3635,171 +3403,6 @@ packages:
engines: {node: '>=8'}
dev: true
- resolution: {integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- chalk: 4.1.2
- jest-message-util: 29.7.0
- jest-util: 29.7.0
- slash: 3.0.0
- dev: true
-
- resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- peerDependencies:
- node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
- peerDependenciesMeta:
- node-notifier:
- optional: true
- dependencies:
- '@jest/console': 29.7.0
- '@jest/reporters': 29.7.0
- '@jest/test-result': 29.7.0
- '@jest/transform': 29.7.0
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- ansi-escapes: 4.3.2
- chalk: 4.1.2
- ci-info: 3.8.0
- exit: 0.1.2
- graceful-fs: 4.2.11
- jest-changed-files: 29.7.0
- jest-config: 29.7.0(@types/[email protected])([email protected])
- jest-haste-map: 29.7.0
- jest-message-util: 29.7.0
- jest-regex-util: 29.6.3
- jest-resolve: 29.7.0
- jest-resolve-dependencies: 29.7.0
- jest-runner: 29.7.0
- jest-runtime: 29.7.0
- jest-snapshot: 29.7.0
- jest-util: 29.7.0
- jest-validate: 29.7.0
- jest-watcher: 29.7.0
- micromatch: 4.0.5
- pretty-format: 29.7.0
- slash: 3.0.0
- strip-ansi: 6.0.1
- transitivePeerDependencies:
- - babel-plugin-macros
- - supports-color
- - ts-node
- dev: true
-
- resolution: {integrity: sha512-sQ0SULEjA1XUTHmkBRl7A1dyITM9yb1yb3ZNKPX3KlTd6IG7mWUe3e2yfExtC2Zz1Q+mMckOLHmL/qLiuQJrBQ==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/fake-timers': 29.6.4
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- jest-mock: 29.6.3
- dev: true
-
- resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/fake-timers': 29.7.0
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- jest-mock: 29.7.0
- dev: true
-
- resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- jest-get-type: 29.6.3
- dev: true
-
- resolution: {integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- expect: 29.7.0
- jest-snapshot: 29.7.0
- transitivePeerDependencies:
- - supports-color
- dev: true
-
- resolution: {integrity: sha512-6UkCwzoBK60edXIIWb0/KWkuj7R7Qq91vVInOe3De6DSpaEiqjKcJw4F7XUet24Wupahj9J6PlR09JqJ5ySDHw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/types': 29.6.3
- '@sinonjs/fake-timers': 10.3.0
- '@types/node': 18.14.0
- jest-message-util: 29.6.3
- jest-mock: 29.6.3
- jest-util: 29.6.3
- dev: true
-
- resolution: {integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/types': 29.6.3
- '@sinonjs/fake-timers': 10.3.0
- '@types/node': 18.14.0
- jest-message-util: 29.7.0
- jest-mock: 29.7.0
- jest-util: 29.7.0
- dev: true
-
- resolution: {integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/environment': 29.7.0
- '@jest/expect': 29.7.0
- '@jest/types': 29.6.3
- jest-mock: 29.7.0
- transitivePeerDependencies:
- - supports-color
- dev: true
-
- resolution: {integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- peerDependencies:
- node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
- peerDependenciesMeta:
- node-notifier:
- optional: true
- dependencies:
- '@bcoe/v8-coverage': 0.2.3
- '@jest/console': 29.7.0
- '@jest/test-result': 29.7.0
- '@jest/transform': 29.7.0
- '@jest/types': 29.6.3
- '@jridgewell/trace-mapping': 0.3.19
- '@types/node': 18.14.0
- chalk: 4.1.2
- collect-v8-coverage: 1.0.2
- exit: 0.1.2
- glob: 7.2.3
- graceful-fs: 4.2.11
- istanbul-lib-coverage: 3.2.0
- istanbul-lib-instrument: 6.0.0
- istanbul-lib-report: 3.0.1
- istanbul-lib-source-maps: 4.0.1
- istanbul-reports: 3.1.6
- jest-message-util: 29.7.0
- jest-util: 29.7.0
- jest-worker: 29.7.0
- slash: 3.0.0
- string-length: 4.0.2
- strip-ansi: 6.0.1
- v8-to-istanbul: 9.1.0
- transitivePeerDependencies:
- - supports-color
- dev: true
-
resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
@@ -3807,35 +3410,6 @@ packages:
'@sinclair/typebox': 0.27.8
dev: true
- resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jridgewell/trace-mapping': 0.3.19
- callsites: 3.1.0
- graceful-fs: 4.2.11
- dev: true
-
- resolution: {integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/console': 29.7.0
- '@jest/types': 29.6.3
- '@types/istanbul-lib-coverage': 2.0.4
- collect-v8-coverage: 1.0.2
- dev: true
-
- resolution: {integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/test-result': 29.7.0
- graceful-fs: 4.2.11
- jest-haste-map: 29.7.0
- slash: 3.0.0
- dev: true
-
resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
@@ -4592,38 +4166,12 @@ packages:
picomatch: 2.3.1
dev: true
- /@sideway/[email protected]:
- resolution: {integrity: sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==}
- dependencies:
- '@hapi/hoek': 9.3.0
- dev: true
-
- /@sideway/[email protected]:
- resolution: {integrity: sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==}
- dev: true
-
- /@sideway/[email protected]:
- resolution: {integrity: sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==}
- dev: true
-
/@sinclair/[email protected]:
resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
dev: true
- /@sinonjs/[email protected]:
- resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==}
- dependencies:
- type-detect: 4.0.8
- dev: true
-
- /@sinonjs/[email protected]:
- resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==}
- dependencies:
- '@sinonjs/commons': 3.0.0
- dev: true
-
- resolution: {integrity: sha512-aKHyYjxcWaOTf/7B8x4EmUNkDAiYJZyJfGTYg2TDEDs89x7/9slujAA01qIgOp74C9nWkHDUVdm7/J+h3kWJWw==}
+ resolution: {integrity: sha512-DT9KfP5UTXwptsfP46KOzMjEf73743VprIu1o/5nx+165qmAQhjfs3A+KlSOfEvNbKCYtxHuYTbEO81G0SHr5g==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4633,14 +4181,14 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.4.2
- '@storybook/components': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-events': 7.4.2
+ '@storybook/client-logger': 7.4.4
+ '@storybook/components': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-events': 7.4.4
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.4.2([email protected])([email protected])
- '@storybook/preview-api': 7.4.2
- '@storybook/theming': 7.4.2([email protected])([email protected])
- '@storybook/types': 7.4.2
+ '@storybook/manager-api': 7.4.4([email protected])([email protected])
+ '@storybook/preview-api': 7.4.4
+ '@storybook/theming': 7.4.4([email protected])([email protected])
+ '@storybook/types': 7.4.4
dequal: 2.0.3
lodash: 4.17.21
polished: 4.2.2
@@ -4656,8 +4204,8 @@ packages:
- '@types/react-dom'
dev: true
- resolution: {integrity: sha512-Vl6Vw1NzO5jRqlAEpG017z6N79Drlp7Wpw8O9+69/dKtTNmuLqLnPxWrn4nL2CNvghHToLMpToSAFpRo2fBZBg==}
+ resolution: {integrity: sha512-cgfo0hoYcUuqm+wiDWetR8qJrMykms9lAZYV1Iv0GEeYJGCW+PH/2WemMBMLJA5/D+Zne1ZoJ9La69UhU4m7Cw==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4667,14 +4215,14 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.4.2
- '@storybook/components': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-events': 7.4.2
+ '@storybook/client-logger': 7.4.4
+ '@storybook/components': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-events': 7.4.4
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.4.2([email protected])([email protected])
- '@storybook/preview-api': 7.4.2
- '@storybook/theming': 7.4.2([email protected])([email protected])
- '@storybook/types': 7.4.2
+ '@storybook/manager-api': 7.4.4([email protected])([email protected])
+ '@storybook/preview-api': 7.4.4
+ '@storybook/theming': 7.4.4([email protected])([email protected])
+ '@storybook/types': 7.4.4
memoizerific: 1.11.3
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -4684,8 +4232,8 @@ packages:
- '@types/react-dom'
dev: true
- resolution: {integrity: sha512-qzSac1bulSa7mqkfBfyAqbP9PbIio5CjGJ5VyT055ab50e13gj1eS3I9EJHCupYb19E3f465QatrGhoaTsE4hg==}
+ resolution: {integrity: sha512-RGJDfaCu+I0fQyw8rOfUZZm8PTSAa9NmHfKLH/WXnxCrF1kUffVP7G40kRLYS1Ymm5Z3fp3/PVkz9tTUG6PNOQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4695,16 +4243,16 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/blocks': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/client-logger': 7.4.2
- '@storybook/components': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-common': 7.4.2
- '@storybook/core-events': 7.4.2
- '@storybook/manager-api': 7.4.2([email protected])([email protected])
- '@storybook/node-logger': 7.4.2
- '@storybook/preview-api': 7.4.2
- '@storybook/theming': 7.4.2([email protected])([email protected])
- '@storybook/types': 7.4.2
+ '@storybook/blocks': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/client-logger': 7.4.4
+ '@storybook/components': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-common': 7.4.4
+ '@storybook/core-events': 7.4.4
+ '@storybook/manager-api': 7.4.4([email protected])([email protected])
+ '@storybook/node-logger': 7.4.4
+ '@storybook/preview-api': 7.4.4
+ '@storybook/theming': 7.4.4([email protected])([email protected])
+ '@storybook/types': 7.4.4
lodash: 4.17.21
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -4716,27 +4264,27 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-MV49/bGTibk2kvufk1+JEkDe2Ii/wfh5s+zO6a7p/FRy9zK0hQy3nEc56VpQ3+KzgDr0uyZI+mYq26OPwBuKRg==}
+ resolution: {integrity: sha512-ZXFtBXyfn6uCiRzMsoDZEwAe6/KIYlyfZmm+zjpiXzGJqidEBVJBdPUXNRJZgpg/p0KyehPNtTGqZooJm3gamA==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
'@jest/transform': 29.7.0
'@mdx-js/react': 2.3.0([email protected])
- '@storybook/blocks': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/client-logger': 7.4.2
- '@storybook/components': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/csf-plugin': 7.4.2
- '@storybook/csf-tools': 7.4.2
+ '@storybook/blocks': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/client-logger': 7.4.4
+ '@storybook/components': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/csf-plugin': 7.4.4
+ '@storybook/csf-tools': 7.4.4
'@storybook/global': 5.0.0
'@storybook/mdx2-csf': 1.1.0
- '@storybook/node-logger': 7.4.2
- '@storybook/postinstall': 7.4.2
- '@storybook/preview-api': 7.4.2
- '@storybook/react-dom-shim': 7.4.2([email protected])([email protected])
- '@storybook/theming': 7.4.2([email protected])([email protected])
- '@storybook/types': 7.4.2
+ '@storybook/node-logger': 7.4.4
+ '@storybook/postinstall': 7.4.4
+ '@storybook/preview-api': 7.4.4
+ '@storybook/react-dom-shim': 7.4.4([email protected])([email protected])
+ '@storybook/theming': 7.4.4([email protected])([email protected])
+ '@storybook/types': 7.4.4
fs-extra: 11.1.1
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -4750,25 +4298,25 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-9VqVe8pUogA9TIAl9xxNSdqU1zfXXdZW6J3BfT3r0DolU4nLusejs2xIu6smhEjZ1KYD6V30Uy9HDft/GRCSnw==}
+ resolution: {integrity: sha512-LE/3jwJfAWYIUHs5uOqJRfP9b4APRXGhaBarUjZxmeIstJaN6Nd4n0AFgl8z+wKjlss/b5obC9uqeLHzbdJ3iw==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
- '@storybook/addon-actions': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-backgrounds': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-controls': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-docs': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-highlight': 7.4.2
- '@storybook/addon-measure': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-outline': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-toolbars': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-viewport': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-common': 7.4.2
- '@storybook/manager-api': 7.4.2([email protected])([email protected])
- '@storybook/node-logger': 7.4.2
- '@storybook/preview-api': 7.4.2
+ '@storybook/addon-actions': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-backgrounds': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-controls': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-docs': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-highlight': 7.4.4
+ '@storybook/addon-measure': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-outline': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-toolbars': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-viewport': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-common': 7.4.4
+ '@storybook/manager-api': 7.4.4([email protected])([email protected])
+ '@storybook/node-logger': 7.4.4
+ '@storybook/preview-api': 7.4.4
react: 18.2.0
react-dom: 18.2.0([email protected])
ts-dedent: 2.2.0
@@ -4779,16 +4327,16 @@ packages:
- supports-color
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-HpwQiYil9RlMz303wQ9+ElW6W+Z0baqBUemlQ1JJZ6Wm47mgVVy8vLPcdH3JQkv7E34f51apPKVKFqq49xDqaA==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-09vlOGp1vx+CWVhb+QVTmhodEMqosNLhu69D+FOB7Q+qGK0XdpPLa33DMcAYt/eFEAb55OYQY8NYuoO8kkFT+A==}
dependencies:
- '@storybook/core-events': 7.4.2
+ '@storybook/core-events': 7.4.4
'@storybook/global': 5.0.0
- '@storybook/preview-api': 7.4.2
+ '@storybook/preview-api': 7.4.4
dev: true
- resolution: {integrity: sha512-Gr3UbrPRgtBmwYctFiIxYlg4pfe07sC5gvMJmMdzHSJo0yAmcw2fSzKe4aEPX4trdAIb+diQKi3TDqIBrOfCLQ==}
+ resolution: {integrity: sha512-WwZ4v2oQBm+IqDUlwzGTaS6LaejHEblM4xjmrCIl9F2ChzYOVV0FFdBHoWiVTGQxXhfUVbYKAMYVAg212SOYIg==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4798,16 +4346,16 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.4.2
- '@storybook/components': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-common': 7.4.2
- '@storybook/core-events': 7.4.2
+ '@storybook/client-logger': 7.4.4
+ '@storybook/components': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-common': 7.4.4
+ '@storybook/core-events': 7.4.4
'@storybook/global': 5.0.0
- '@storybook/instrumenter': 7.4.2
- '@storybook/manager-api': 7.4.2([email protected])([email protected])
- '@storybook/preview-api': 7.4.2
- '@storybook/theming': 7.4.2([email protected])([email protected])
- '@storybook/types': 7.4.2
+ '@storybook/instrumenter': 7.4.4
+ '@storybook/manager-api': 7.4.4([email protected])([email protected])
+ '@storybook/preview-api': 7.4.4
+ '@storybook/theming': 7.4.4([email protected])([email protected])
+ '@storybook/types': 7.4.4
jest-mock: 27.5.1
polished: 4.2.2
react: 18.2.0
@@ -4820,8 +4368,8 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-XAspek8kkfiGq3NVt8SD108m54/dJWo+iDSmW3t/BQj2+sDPW8EpOg93X08YGoGMD8FSLOToeVC2Qi+kmAV0iw==}
+ resolution: {integrity: sha512-ZDs7+FaWuLVl4Y5+qSr9Pu668wTdSQmMS1pY/QzwA7Lj3ADDEXMFTBt0MqGtyH7U5mmVQlmYm9d4WmHjvKU0qQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4831,22 +4379,22 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.4.2
- '@storybook/core-events': 7.4.2
+ '@storybook/client-logger': 7.4.4
+ '@storybook/core-events': 7.4.4
'@storybook/csf': 0.1.1
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.4.2([email protected])([email protected])
- '@storybook/preview-api': 7.4.2
- '@storybook/router': 7.4.2([email protected])([email protected])
- '@storybook/types': 7.4.2
+ '@storybook/manager-api': 7.4.4([email protected])([email protected])
+ '@storybook/preview-api': 7.4.4
+ '@storybook/router': 7.4.4([email protected])([email protected])
+ '@storybook/types': 7.4.4
prop-types: 15.8.1
react: 18.2.0
react-dom: 18.2.0([email protected])
ts-dedent: 2.2.0
dev: true
- resolution: {integrity: sha512-fewNqI3mDAGAhFOFh/rdDS3dJ3e1QDmSVMB0KDJ7K22HOF2To/H9QfXHV24osnBRu6QemSIqObry1leF+u5BmQ==}
+ resolution: {integrity: sha512-gm8x9+PA7v48wJZltWNB41vvhqzWASDtuir8ozHYsYxdUsCpCnB79MPOQ0BsqbFYmscTaYghDAugLLS5+Tg8LQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4856,13 +4404,13 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.4.2
- '@storybook/components': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-events': 7.4.2
+ '@storybook/client-logger': 7.4.4
+ '@storybook/components': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-events': 7.4.4
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.4.2([email protected])([email protected])
- '@storybook/preview-api': 7.4.2
- '@storybook/types': 7.4.2
+ '@storybook/manager-api': 7.4.4([email protected])([email protected])
+ '@storybook/preview-api': 7.4.4
+ '@storybook/types': 7.4.4
react: 18.2.0
react-dom: 18.2.0([email protected])
tiny-invariant: 1.3.1
@@ -4871,8 +4419,8 @@ packages:
- '@types/react-dom'
dev: true
- resolution: {integrity: sha512-C6Zfoa6k2ef55O16GKV29T0wIYaDyiBtyd/fuTzz7hkpusSqKGFNeQyfG6hRmPv5yAib7+Pzl86cH3wGz85oTw==}
+ resolution: {integrity: sha512-HJgxPOwq1TDWXqiBlqnFWxE9nlXlxH3XfKqhWTXORE1CKZ/BXdrPkdq2Hog8ON15K3PVdAcawgkO4YJ/n0JPaA==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4882,13 +4430,13 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.4.2
- '@storybook/components': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-events': 7.4.2
+ '@storybook/client-logger': 7.4.4
+ '@storybook/components': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-events': 7.4.4
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.4.2([email protected])([email protected])
- '@storybook/preview-api': 7.4.2
- '@storybook/types': 7.4.2
+ '@storybook/manager-api': 7.4.4([email protected])([email protected])
+ '@storybook/preview-api': 7.4.4
+ '@storybook/types': 7.4.4
react: 18.2.0
react-dom: 18.2.0([email protected])
ts-dedent: 2.2.0
@@ -4897,8 +4445,8 @@ packages:
- '@types/react-dom'
dev: true
- resolution: {integrity: sha512-zSU8GpyMKo3vGxR7LQdvw5jV/6QUOfUepS3HEYGB88vlIPK7UriV8k9HB0FObEyYZKYU7wuPYBYhXApK4ZBVUA==}
+ resolution: {integrity: sha512-lbXO2weuYcly4nRTpK6tS4mhx/YbPAy2qpoePEL847I+hQJiKWsgSYbA6bnC5tXe0l6mq1VVcTFtEW2wyu9WQQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4908,11 +4456,11 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.4.2
- '@storybook/components': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/manager-api': 7.4.2([email protected])([email protected])
- '@storybook/preview-api': 7.4.2
- '@storybook/theming': 7.4.2([email protected])([email protected])
+ '@storybook/client-logger': 7.4.4
+ '@storybook/components': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/manager-api': 7.4.4([email protected])([email protected])
+ '@storybook/preview-api': 7.4.4
+ '@storybook/theming': 7.4.4([email protected])([email protected])
react: 18.2.0
react-dom: 18.2.0([email protected])
transitivePeerDependencies:
@@ -4920,8 +4468,8 @@ packages:
- '@types/react-dom'
dev: true
- resolution: {integrity: sha512-0mlqJmHezyZG9lLpj2LKN6HTZI015T3hYuFP4MwZRj579e246DvcBTw/h3n3bjLRGglapmFqkCw9PRVMhsQ/CA==}
+ resolution: {integrity: sha512-8uRpOpNYHlCL3uAYhj6uoLHKmW2UtQXDff9KhO6mO+vgat25YKBeu1wwGUHnCL3vDSis6hfbjRSVbsfrekUYWg==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4931,13 +4479,13 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.4.2
- '@storybook/components': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-events': 7.4.2
+ '@storybook/client-logger': 7.4.4
+ '@storybook/components': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-events': 7.4.4
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.4.2([email protected])([email protected])
- '@storybook/preview-api': 7.4.2
- '@storybook/theming': 7.4.2([email protected])([email protected])
+ '@storybook/manager-api': 7.4.4([email protected])([email protected])
+ '@storybook/preview-api': 7.4.4
+ '@storybook/theming': 7.4.4([email protected])([email protected])
memoizerific: 1.11.3
prop-types: 15.8.1
react: 18.2.0
@@ -4947,23 +4495,23 @@ packages:
- '@types/react-dom'
dev: true
- resolution: {integrity: sha512-ijuZBsYfQBuwMA8Lb1dT6t2PzqhkOtIdc+G5iQ/IgWLX5HT1br+Wq8o3TUWrqACM9VKIASnJk13FMAOeGggD/w==}
+ resolution: {integrity: sha512-Xm/yeZkaBhqvg5dciBj2UFXQTGFpoy0HhO4ShvaWfhdEgBluufNAQ19hMvvoXPHgjiBzzxETq1mlY7LIdUzJEg==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
- '@storybook/channels': 7.4.2
- '@storybook/client-logger': 7.4.2
- '@storybook/components': 7.4.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-events': 7.4.2
+ '@storybook/channels': 7.4.4
+ '@storybook/client-logger': 7.4.4
+ '@storybook/components': 7.4.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-events': 7.4.4
'@storybook/csf': 0.1.1
- '@storybook/docs-tools': 7.4.2
+ '@storybook/docs-tools': 7.4.4
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.4.2([email protected])([email protected])
- '@storybook/preview-api': 7.4.2
- '@storybook/theming': 7.4.2([email protected])([email protected])
- '@storybook/types': 7.4.2
+ '@storybook/manager-api': 7.4.4([email protected])([email protected])
+ '@storybook/preview-api': 7.4.4
+ '@storybook/theming': 7.4.4([email protected])([email protected])
+ '@storybook/types': 7.4.4
'@types/lodash': 4.14.198
color-convert: 2.0.1
dequal: 2.0.3
@@ -4985,13 +4533,13 @@ packages:
- supports-color
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-MgdXr9QJ2sNk0fUshQ7hk4Ec9IkbPWR6alrmDByIOEU9bThx0j4OxU9uTLBy8r5uZsSL6nNtRyCvSP8YSKaQHQ==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-8PY9YfcUf1gPGOprjWze6bfXpX0+r6YZTgktViI/m+SmgFy5nmEJ7FWqo7u1y6dqxDJdwDXGBqvUGVU0XNXQMQ==}
dependencies:
'@fal-works/esbuild-plugin-global-externals': 2.1.2
- '@storybook/core-common': 7.4.2
- '@storybook/manager': 7.4.2
- '@storybook/node-logger': 7.4.2
+ '@storybook/core-common': 7.4.4
+ '@storybook/manager': 7.4.4
+ '@storybook/node-logger': 7.4.4
'@types/ejs': 3.1.2
'@types/find-cache-dir': 3.2.1
'@yarnpkg/esbuild-plugin-pnp': 3.0.0-rc.15([email protected])
@@ -5009,8 +4557,8 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-FAAq0lSCUoD+oP+aCIEuLdDr4DEgMn7RDuJrgRoFcDa3y4wWeMxsxTchCaz0Zfz7vwELwegL7KDQl2XT1uLBzQ==}
+ resolution: {integrity: sha512-FpHlwTmrT9gYxfke77HcHSVoTvJCgunLGnrmNUgLwC0vVAWibWWTGtunfcV2fjBjzqVuH398qpaM+kIS9rjR8A==}
peerDependencies:
'@preact/preset-vite': '*'
typescript: '>= 4.3.x'
@@ -5024,15 +4572,15 @@ packages:
vite-plugin-glimmerx:
optional: true
dependencies:
- '@storybook/channels': 7.4.2
- '@storybook/client-logger': 7.4.2
- '@storybook/core-common': 7.4.2
- '@storybook/csf-plugin': 7.4.2
+ '@storybook/channels': 7.4.4
+ '@storybook/client-logger': 7.4.4
+ '@storybook/core-common': 7.4.4
+ '@storybook/csf-plugin': 7.4.4
'@storybook/mdx2-csf': 1.1.0
- '@storybook/node-logger': 7.4.2
- '@storybook/preview': 7.4.2
- '@storybook/preview-api': 7.4.2
- '@storybook/types': 7.4.2
+ '@storybook/node-logger': 7.4.4
+ '@storybook/preview': 7.4.4
+ '@storybook/preview-api': 7.4.4
+ '@storybook/types': 7.4.4
'@types/find-cache-dir': 3.2.1
browser-assert: 1.2.1
es-module-lexer: 0.9.3
@@ -5050,33 +4598,33 @@ packages:
- supports-color
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-Q95KnV+fTGaAV3S875+d5LlGg+bdC3bUnki3engODDS4ViSRHJ1bnXnqxKmAaS3O/52geIyWWR766YvwHw3avw==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-YA2T3hClL95nFBBelm8wMOyWFDzfxKvyHAPQi+8YeYpZcPivwg/P9YnRhTTMbiZNkfoWKq4ZRuc79UP1iNLi3g==}
dependencies:
- '@storybook/client-logger': 7.4.2
- '@storybook/core-events': 7.4.2
+ '@storybook/client-logger': 7.4.4
+ '@storybook/core-events': 7.4.4
'@storybook/global': 5.0.0
qs: 6.11.2
telejson: 7.2.0
tiny-invariant: 1.3.1
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-WleObtC7OU2lT+pI2vTdXZPFMKDGbg3bkUJ+PG8+yqGg53ea5ZkwKWg9qHpXuiMkYDztqhbA8kYrny1GqFuVdg==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-2t7T7VpN52eGTYUlwx+VtQf/PMsULXoWkD5eO7kD6NmJbqvdgbLn/pbYePg5eOmgar0VvNhm94UOyW+roMxALA==}
hasBin: true
dependencies:
'@babel/core': 7.22.15
'@babel/preset-env': 7.22.15(@babel/[email protected])
'@babel/types': 7.22.17
'@ndelangen/get-tarball': 3.0.9
- '@storybook/codemod': 7.4.2
- '@storybook/core-common': 7.4.2
- '@storybook/core-events': 7.4.2
- '@storybook/core-server': 7.4.2
- '@storybook/csf-tools': 7.4.2
- '@storybook/node-logger': 7.4.2
- '@storybook/telemetry': 7.4.2
- '@storybook/types': 7.4.2
+ '@storybook/codemod': 7.4.4
+ '@storybook/core-common': 7.4.4
+ '@storybook/core-events': 7.4.4
+ '@storybook/core-server': 7.4.4
+ '@storybook/csf-tools': 7.4.4
+ '@storybook/node-logger': 7.4.4
+ '@storybook/telemetry': 7.4.4
+ '@storybook/types': 7.4.4
'@types/semver': 7.5.1
'@yarnpkg/fslib': 2.10.3
'@yarnpkg/libzip': 2.3.0
@@ -5113,22 +4661,22 @@ packages:
- utf-8-validate
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-LC8tYrYSJwF4DHRdNYh6y8hSvccwUIv5/WOZKJDmKx7mcEm6HsVuUu16C9jsl7iy6IqJYxgVz1va3WS6852E+A==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-rC/GcCy3DLtTI+oOHLBc6rq/c3oGF/mvdeWrhMM+berQplHJrOCI2pcldjVw8Fc25gLPK0LUlaOp1dfgt2Ri3Q==}
dependencies:
'@storybook/global': 5.0.0
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-wU+SLHG/PpLptI0aWEhPxwFPcX7uYe+Id21DKNPg/HvYaLG3N+/DPDef+lm3Vaov9w4OD74iuQ3knT67SSkvmw==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-q9BeDXuDjUFb+In0DX+37vqofT0/j25CGGW629RfIoxd6VRr6oVoX6bBnyLO1zoSN+CmOQ9oKeLJjSiNFJntOw==}
dependencies:
'@babel/core': 7.22.15
'@babel/preset-env': 7.22.15(@babel/[email protected])
'@babel/types': 7.22.17
'@storybook/csf': 0.1.1
- '@storybook/csf-tools': 7.4.2
- '@storybook/node-logger': 7.4.2
- '@storybook/types': 7.4.2
+ '@storybook/csf-tools': 7.4.4
+ '@storybook/node-logger': 7.4.4
+ '@storybook/types': 7.4.4
'@types/cross-spawn': 6.0.3
cross-spawn: 7.0.3
globby: 11.1.0
@@ -5140,19 +4688,19 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-ecbDzSUd74vf6IwHsbQr+9mVRxKWLmwd9zJ8RHMcR8UejTRAAR/eVvYoCG331TQ8TrhTmHTy5xCVv47pm6ORkQ==}
+ resolution: {integrity: sha512-tFOSu3IoAab/0aY2TY66Go0Nba7AB/+ZB9GFet+dxWypIKGLcPjyX2POIumJU4swzK+4IA8GxgDQ2itS6EOISQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
'@radix-ui/react-select': 1.2.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
'@radix-ui/react-toolbar': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/client-logger': 7.4.2
+ '@storybook/client-logger': 7.4.4
'@storybook/csf': 0.1.1
'@storybook/global': 5.0.0
- '@storybook/theming': 7.4.2([email protected])([email protected])
- '@storybook/types': 7.4.2
+ '@storybook/theming': 7.4.4([email protected])([email protected])
+ '@storybook/types': 7.4.4
memoizerific: 1.11.3
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -5163,19 +4711,19 @@ packages:
- '@types/react-dom'
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-2K4g8ZaqBUv6oC+1/Bd6XSQ/F7hNyy8OLqnnxjoYsjUQc8DaN5wUckEEgT9WSvLQg88B/FYFtNAX5m17aySWrg==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-CENQOPML7ifh0fJFz1YvLzRv7QyU2SVAzw70bN5fDravCHwI1uQmnLF7QxnWrE8DtXlXosQZcAhCqAOQ7sfMxw==}
dependencies:
- '@storybook/client-logger': 7.4.2
- '@storybook/preview-api': 7.4.2
+ '@storybook/client-logger': 7.4.4
+ '@storybook/preview-api': 7.4.4
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-Qj9S97TYO+jSNdC2+LrMFtZRvTnELeFnRtn/MDWhkM6mpZgRglxlZuXi5enJjqTh0dISAUxPpTtXNAJDfX99JA==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-0VKVNucIzaKVr5dU6BYwSzpLRtBoDa3dRBP7VTauz8gjhNak+mOQY7ZqqQWxCr21C0vsYz2noER2/jnijfMn5g==}
dependencies:
- '@storybook/core-events': 7.4.2
- '@storybook/node-logger': 7.4.2
- '@storybook/types': 7.4.2
+ '@storybook/core-events': 7.4.4
+ '@storybook/node-logger': 7.4.4
+ '@storybook/types': 7.4.4
'@types/find-cache-dir': 3.2.1
'@types/node': 16.4.6
'@types/node-fetch': 2.6.4
@@ -5201,30 +4749,30 @@ packages:
- supports-color
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-WCEBw+Ew8DrccnB0hpP9TXadreoOlMnWCyuXU2XrvmK/vde009leWQIsLs1rY+L17zDVuogBms62AxrDDJmMpw==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-kOf4I/a1XC9CaGFwJG5WR2KnkwrOkWX68TLh7OlelKxdl/WjxA4zfzaFPC/8zyCSLdGFLPKNqr1w+ezkb+9Irw==}
dependencies:
ts-dedent: 2.2.0
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-4aaFQTjb8jsbzJeCs+VTo3gdyK3r3VhQN2sxn6k/lcKjQFeO84+iqGgGmb+oWUVz2TJL+JrNh7SUXkVsMZBXVQ==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-ObWoTBgTf3D+4GsbHA0jfVz+rDEMS82U+dlla1LHqpazNKJVg6aTLBnr7V7n3TAOXrXZyKbrVu0Vk5ZePLFuOw==}
dependencies:
'@aw-web-design/x-default-browser': 1.4.126
'@discoveryjs/json-ext': 0.5.7
- '@storybook/builder-manager': 7.4.2
- '@storybook/channels': 7.4.2
- '@storybook/core-common': 7.4.2
- '@storybook/core-events': 7.4.2
+ '@storybook/builder-manager': 7.4.4
+ '@storybook/channels': 7.4.4
+ '@storybook/core-common': 7.4.4
+ '@storybook/core-events': 7.4.4
'@storybook/csf': 0.1.1
- '@storybook/csf-tools': 7.4.2
+ '@storybook/csf-tools': 7.4.4
'@storybook/docs-mdx': 0.1.0
'@storybook/global': 5.0.0
- '@storybook/manager': 7.4.2
- '@storybook/node-logger': 7.4.2
- '@storybook/preview-api': 7.4.2
- '@storybook/telemetry': 7.4.2
- '@storybook/types': 7.4.2
+ '@storybook/manager': 7.4.4
+ '@storybook/node-logger': 7.4.4
+ '@storybook/preview-api': 7.4.4
+ '@storybook/telemetry': 7.4.4
+ '@storybook/types': 7.4.4
'@types/detect-port': 1.3.3
'@types/node': 16.4.6
'@types/pretty-hrtime': 1.0.1
@@ -5259,24 +4807,24 @@ packages:
- utf-8-validate
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-b0yQ8oXEH0s3SGgjhOVrbjkc3C8IYGyTSnDtPwx/Dgmru/rC6LT7ZOdBegmGqBN1+6Ho0+AxFrmAmuuYK8p2rA==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-j5Ow2SBZjWX7c/StwMGZnB5ydiSFIZvR2ENTsbQ4UL1SEdF/GvzxtDjMPjhH3wCfyU3pmK6YV54ceD94IS22BQ==}
dependencies:
- '@storybook/csf-tools': 7.4.2
+ '@storybook/csf-tools': 7.4.4
unplugin: 1.4.0
transitivePeerDependencies:
- supports-color
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-5AvF2YRcYHIqQqskb3R8JvsmSWnNwkP0CGmP8Zq7zIfK/C+npKb/onv5YQlbSgh+2UrVxVdIDLc9AepBeXC3uQ==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-/hhGg05WzMmk9jmkdGyCpy6mPn/PaNGSOggE95X0bZ81arzkqCCXej4vClxFdaCJyzWzqr/yQSBftpK1OWoHjA==}
dependencies:
'@babel/generator': 7.22.15
'@babel/parser': 7.22.15
'@babel/traverse': 7.22.15
'@babel/types': 7.22.17
'@storybook/csf': 0.1.1
- '@storybook/types': 7.4.2
+ '@storybook/types': 7.4.4
fs-extra: 11.1.1
recast: 0.23.4
ts-dedent: 2.2.0
@@ -5294,12 +4842,12 @@ packages:
resolution: {integrity: sha512-JDaBR9lwVY4eSH5W8EGHrhODjygPd6QImRbwjAuJNEnY0Vw4ie3bPkeGfnacB3OBW6u/agqPv2aRlR46JcAQLg==}
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-MXW+xaxah+C+aqJ5178oOILqX7dCSwJMKJefIJHHwr9w6UuGRaiPG1NDYK/0N0IEv9H8pNnXPnw3R8S6x7COhQ==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-kCQgRsyAHxnHicu3G9px7mp0Lp2fckH23wfTz/qk6MdwKoO3V9lJs7tOjckq2DPu/m7BGs4lieBcMbOOUTHBmw==}
dependencies:
- '@storybook/core-common': 7.4.2
- '@storybook/preview-api': 7.4.2
- '@storybook/types': 7.4.2
+ '@storybook/core-common': 7.4.4
+ '@storybook/preview-api': 7.4.4
+ '@storybook/types': 7.4.4
'@types/doctrine': 0.0.3
doctrine: 3.0.0
lodash: 4.17.21
@@ -5312,30 +4860,30 @@ packages:
resolution: {integrity: sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==}
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-g0tYjfv8q6RLl7PK3cyZGcdhad+4BspT1TXHl5Z4DFSo+bqFyHkP6X9tXzrpfQk+3abNrh5EjPaeec4+YHAOEw==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-WUaun2pb2AuFmsM+kBq7Q++Fjg9ibltUsfu75SELehKrE1lQ47H0f5AQaexy8Vqo8QXQuNtGo6RruztQfNIDQQ==}
dependencies:
- '@storybook/channels': 7.4.2
- '@storybook/client-logger': 7.4.2
- '@storybook/core-events': 7.4.2
+ '@storybook/channels': 7.4.4
+ '@storybook/client-logger': 7.4.4
+ '@storybook/core-events': 7.4.4
'@storybook/global': 5.0.0
- '@storybook/preview-api': 7.4.2
+ '@storybook/preview-api': 7.4.4
dev: true
- resolution: {integrity: sha512-gKPG0At9AGhF32iwjiba+ILqswc3ZFj9ZIu5HjGEmaoiOfqI6TayuHoptup0QxkI/Hx8f9mNkHCwR9COrmb69w==}
+ resolution: {integrity: sha512-NRYJQ/w1czvdkK7BblroTQ0kJoR1H+h3uthVCcWzFcLEGBbVXsurg0wasugi5UKHLqV7g8/8ZQToZvlPVAglAA==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
- '@storybook/channels': 7.4.2
- '@storybook/client-logger': 7.4.2
- '@storybook/core-events': 7.4.2
+ '@storybook/channels': 7.4.4
+ '@storybook/client-logger': 7.4.4
+ '@storybook/core-events': 7.4.4
'@storybook/csf': 0.1.1
'@storybook/global': 5.0.0
- '@storybook/router': 7.4.2([email protected])([email protected])
- '@storybook/theming': 7.4.2([email protected])([email protected])
- '@storybook/types': 7.4.2
+ '@storybook/router': 7.4.4([email protected])([email protected])
+ '@storybook/theming': 7.4.4([email protected])([email protected])
+ '@storybook/types': 7.4.4
dequal: 2.0.3
lodash: 4.17.21
memoizerific: 1.11.3
@@ -5347,31 +4895,31 @@ packages:
ts-dedent: 2.2.0
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-MtjmbAaf4hUObAa2ETQkm0+SzESoPeNm+TyzwZU5qq3Ouj4IOj2Ugd8EJPO3isdHxYt26A255tW/G9mb9v20fQ==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-JiYClrQ7emvgiPzM20lAx/xtsG8do6Rb2MDoomSH7IPhx1oIm5dft1IzMhC0NTsz41q3Or/VUsOQiFSo2sv/+Q==}
dev: true
/@storybook/[email protected]:
resolution: {integrity: sha512-TXJJd5RAKakWx4BtpwvSNdgTDkKM6RkXU8GK34S/LhidQ5Pjz3wcnqb0TxEkfhK/ztbP8nKHqXFwLfa2CYkvQw==}
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-iSBjhnMpWY9Hs5KGnf/xfHjGtGl740LUg4Gce874DuL773Mdc4hdppSKr4X/Pp1/AD67mNuifSXYx3V7d6XzTQ==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-KrxGAg1DbIZrVh2gOwoGGC+mSSmrEZTHKnJjAHrcNUODxT8MQxsVner6Z0fKisDlucLV9rjLcUH7/3AhCwWEiQ==}
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-L9r14KqS87HPyXw0S3pK2X29ckel/4sdBSmy9nVF8n/ADafKE0pSLKB935VL0+88eMx06aT32SMcQoqjubGKWw==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-e4vjNjEzDhXia2fZAJOCI1sQbfKLsWZtJFkY4Z6D1KnALTaJMv16p3fhghEoPZfv6TTTK6F0lSUvPxv4V5ie1A==}
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-ihTHRYzI/sI6bD215aYppiWF+1u38TrlsNjFYJ/Grftbti5d40g5wCwvAXK41SxJNYpk6CRtfvNKOwbEAC33gg==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-ra0dAZ7yBrHP8xCxvA8sBcKvm2kHH2S4Yj8cECnU87uYCbuyFyfrSiWeFcu2+kJj35wLck+lfnPS/FYUqNr2BQ==}
dependencies:
- '@storybook/channels': 7.4.2
- '@storybook/client-logger': 7.4.2
- '@storybook/core-events': 7.4.2
+ '@storybook/channels': 7.4.4
+ '@storybook/client-logger': 7.4.4
+ '@storybook/core-events': 7.4.4
'@storybook/csf': 0.1.1
'@storybook/global': 5.0.0
- '@storybook/types': 7.4.2
+ '@storybook/types': 7.4.4
'@types/qs': 6.9.8
dequal: 2.0.3
lodash: 4.17.21
@@ -5382,12 +4930,12 @@ packages:
util-deprecate: 1.0.2
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-T7rAV6qQ7tBeSvgi0RuA5EU8tm1OMhU8PcCqosWGaLhMCR0VMzw1/WGKuR11g1XmzvaAm2xGgMp82nqi4G0i7A==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-PFvmVc8+uIKniU3xJaxKfXYHNsXE3kqZt9wJMnSv8eL6UmXPpHQTST6UA7kd/THWyuRsLjrwefdRN5lnwTJYqQ==}
dev: true
- resolution: {integrity: sha512-9Ae2As3Hf//mdFEAv58VgDbi9R5JRGne8Ai6Vspc5FZMCJIjr5kullckBi3n9uKRg2L8V7wjDRK8Cql2tEr0Yg==}
+ resolution: {integrity: sha512-0FL/A+dMLJ6zp4nm6mAqfNJT01wxRHnZCENeye8+oxaEMgsZ/Q8Z9LRPaf3B01upwP9x48F9uZkC0htQ6a4kIA==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -5396,8 +4944,8 @@ packages:
react-dom: 18.2.0([email protected])
dev: true
- resolution: {integrity: sha512-DIfInR1VOinI+qjrMLcVdelFTfDppZXhjbrNpXt209ZY6nPGHjvr+4FpgKh+y/ClUBmOqkMsR7/kj4rMzGL5yw==}
+ resolution: {integrity: sha512-cL0BIWJZFsmKmyp4VdKDYCiwe7L9ihTeyzRfr6oSs3hMKJKDo9Y5zw7NlbpZRXbKhEBYmh+irYrBLNdCRDN6Xw==}
engines: {node: '>=16'}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -5406,8 +4954,8 @@ packages:
dependencies:
'@joshwooding/vite-plugin-react-docgen-typescript': 0.2.1([email protected])([email protected])
'@rollup/pluginutils': 5.0.4
- '@storybook/builder-vite': 7.4.2([email protected])([email protected])
+ '@storybook/builder-vite': 7.4.4([email protected])([email protected])
'@vitejs/plugin-react': 3.1.0([email protected])
ast-types: 0.14.2
magic-string: 0.30.3
@@ -5424,8 +4972,8 @@ packages:
- vite-plugin-glimmerx
dev: true
- resolution: {integrity: sha512-8bAnSOpDTiE1c9pSkIKRipvqbuZP6Hu1CYaG1RXWF8AIBsjiV9+SsR919Flj1UiCmcw4BLO/ZIvIDGny4ktHhA==}
+ resolution: {integrity: sha512-yfTFywMAAjsA1lUBW2j5UkIkH95sDhmplzkFfeSTJkxQpW2blKTARb0VQp6k5MYBpq0LsWrz8uBZZRLXXCuobw==}
engines: {node: '>=16.0.0'}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -5435,13 +4983,13 @@ packages:
typescript:
optional: true
dependencies:
- '@storybook/client-logger': 7.4.2
- '@storybook/core-client': 7.4.2
- '@storybook/docs-tools': 7.4.2
+ '@storybook/client-logger': 7.4.4
+ '@storybook/core-client': 7.4.4
+ '@storybook/docs-tools': 7.4.4
'@storybook/global': 5.0.0
- '@storybook/preview-api': 7.4.2
- '@storybook/react-dom-shim': 7.4.2([email protected])([email protected])
- '@storybook/types': 7.4.2
+ '@storybook/preview-api': 7.4.4
+ '@storybook/react-dom-shim': 7.4.4([email protected])([email protected])
+ '@storybook/types': 7.4.4
'@types/escodegen': 0.0.6
'@types/estree': 0.0.51
'@types/node': 16.4.6
@@ -5464,25 +5012,25 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-TFpMrmliklWNSrF84kGnh3WcLZciqIvaAjhxahqD+kx070KLqjxrsiny7UC6PUUYZdjLkbR9m8n3SFdXAVKgLw==}
+ resolution: {integrity: sha512-whaDTdbqluWWU+sMOK73QMh2xZS74/EcHwzmGN2zQFR+5m658cWjM9kZJez7Q4WWhBA0+VNqVhSQBJvXGjz48g==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
- '@storybook/client-logger': 7.4.2
+ '@storybook/client-logger': 7.4.4
memoizerific: 1.11.3
qs: 6.11.2
react: 18.2.0
react-dom: 18.2.0([email protected])
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-ZAh1Bjk9JVpL5j0Aj3PHr3XEDZcOrFeugVyRuuul2gAyu6SbpPhl8Dd2Wr9YJS0ZDWs3u0CgKRCeFPPAi3QosA==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-emW4oaZca8Bt+gbCuImEdNwWtnhhoQcjZ0BLuwT55nWgVarzNRg/Qw0NOrlfEuwfeXCI6QUJZyXohaEA5NjNuA==}
dependencies:
- '@storybook/client-logger': 7.4.2
- '@storybook/core-common': 7.4.2
- '@storybook/csf-tools': 7.4.2
+ '@storybook/client-logger': 7.4.4
+ '@storybook/core-common': 7.4.4
+ '@storybook/csf-tools': 7.4.4
chalk: 4.1.2
detect-package-manager: 2.0.1
fetch-retry: 5.0.6
@@ -5501,24 +5049,24 @@ packages:
ts-dedent: 2.2.0
dev: true
- resolution: {integrity: sha512-wVmxZHVCqDoZgUOXTS4HRV4UClLtCydRNOEuUZ7X08QIPSA1FVL3gEpTQJfgCsyBX/cwSSofAMUbzAGEVNo+9g==}
+ resolution: {integrity: sha512-ABIwLRUj2IZKMGxKq+fCCFcY7w52P1a+q8j7qrlELaTe4M74K6rwTgRF0/AFgWeiGRkNuA7z8DjQ73xQLoLqUg==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
'@emotion/use-insertion-effect-with-fallbacks': 1.0.1([email protected])
- '@storybook/client-logger': 7.4.2
+ '@storybook/client-logger': 7.4.4
'@storybook/global': 5.0.0
memoizerific: 1.11.3
react: 18.2.0
react-dom: 18.2.0([email protected])
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-OOJ2TeS3Zzc6spHbdH+JXml0q4IHuYt9axmXAv1/pkhqHjA5072pyUacmlYNQeihpQOOsKLiCQUQlvtMy9fTnQ==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-B0VdgGb1XGEb9g3UuEd9xANCIhR3anvA3w0uYSG+7uMOflnEawwZksTSxvvoGM2hx9vC4pNT4Fci9sEC903UkA==}
dependencies:
- '@storybook/channels': 7.4.2
+ '@storybook/channels': 7.4.4
'@types/babel__core': 7.20.1
'@types/express': 4.17.17
file-system-cache: 2.3.0
@@ -5561,11 +5109,6 @@ packages:
'@testing-library/dom': 9.3.1
dev: true
- /@tootallnate/[email protected]:
- resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==}
- engines: {node: '>= 10'}
- dev: true
-
/@tsconfig/[email protected]:
resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==}
dev: true
@@ -5622,6 +5165,16 @@ packages:
'@types/node': 18.14.0
dev: true
+ resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==}
+ dependencies:
+ '@types/chai': 4.3.6
+ dev: true
+
+ resolution: {integrity: sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==}
+ dev: true
+
resolution: {integrity: sha512-P63Zd/JUGq+PdrM1lv0Wv5SBYeA2+CORvbrXbngriYY0jzLUWfQMQQxOhjONEz/wlHOAxOdY7CY65rgQdTjq2w==}
dependencies:
@@ -5723,21 +5276,6 @@ packages:
'@types/istanbul-lib-report': 3.0.0
dev: true
- resolution: {integrity: sha512-ebylz2hnsWR9mYvmBFbXJXr+33UPc4+ZdxyDXh5w0FlPBTfCVN3wPL+kuOiQt3xvrK419v7XWeAs+AeOksafXg==}
- dependencies:
- expect: 29.7.0
- pretty-format: 29.7.0
- dev: true
-
- resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==}
- dependencies:
- '@types/node': 18.14.0
- '@types/tough-cookie': 4.0.2
- parse5: 7.1.2
- dev: true
-
resolution: {integrity: sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==}
dev: true
@@ -5865,20 +5403,12 @@ packages:
'@types/node': 18.14.0
dev: true
- resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==}
- dev: true
-
resolution: {integrity: sha512-98a0QrJorrq8+Vsan9yfxol2Qr6nvUWBeV3oYnSMks4QdLMebAzZvRd9IuoZOcnB6Erfjcjn1J2J+63MPCxJnw==}
dependencies:
'@types/node': 18.14.0
dev: true
- resolution: {integrity: sha512-Q5vtl1W5ue16D+nIaW8JWebSSraJVlK+EthKn7e7UcD4KWsaSJ8BqGPXNaPghgtcn/fhvrN17Tv8ksUsQpiplw==}
- dev: true
-
resolution: {integrity: sha512-d0XxK3YTObnWVp6rZuev3c49+j4Lo8g4L1ZRm9z5L0xpoZycUPshHgczK5gsUMaZOstjVYYi09p5gYvUtfChYw==}
dev: true
@@ -6046,6 +5576,59 @@ packages:
- supports-color
dev: true
+ resolution: {integrity: sha512-7wU921ABnNYkETiMaZy7XqpueMnpu5VxvVps13MjmCo+utBdD79sZzrApHawHtVX66cCJQQTXFcjH0y9dSUK8g==}
+ engines: {node: ^14.18.0 || >=16.0.0}
+ peerDependencies:
+ vite: ^4.2.0
+ dependencies:
+ '@babel/core': 7.22.15
+ '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/[email protected])
+ '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/[email protected])
+ react-refresh: 0.14.0
+ vite: 4.4.9(@types/[email protected])([email protected])
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
+ /@vitest/[email protected]:
+ resolution: {integrity: sha512-/3RBIV9XEH+nRpRMqDJBufKIOQaYUH2X6bt0rKSCW0MfKhXFLYsR5ivHifeajRSTsln0FwJbitxLKHSQz/Xwkw==}
+ dependencies:
+ '@vitest/spy': 0.34.5
+ '@vitest/utils': 0.34.5
+ chai: 4.3.8
+ dev: true
+
+ /@vitest/[email protected]:
+ resolution: {integrity: sha512-RDEE3ViVvl7jFSCbnBRyYuu23XxmvRTSZWW6W4M7eC5dOsK75d5LIf6uhE5Fqf809DQ1+9ICZZNxhIolWHU4og==}
+ dependencies:
+ '@vitest/utils': 0.34.5
+ p-limit: 4.0.0
+ pathe: 1.1.1
+ dev: true
+
+ /@vitest/[email protected]:
+ resolution: {integrity: sha512-+ikwSbhu6z2yOdtKmk/aeoDZ9QPm2g/ZO5rXT58RR9Vmu/kB2MamyDSx77dctqdZfP3Diqv4mbc/yw2kPT8rmA==}
+ dependencies:
+ magic-string: 0.30.3
+ pathe: 1.1.1
+ pretty-format: 29.7.0
+ dev: true
+
+ /@vitest/[email protected]:
+ resolution: {integrity: sha512-epsicsfhvBjRjCMOC/3k00mP/TBGQy8/P0DxOFiWyLt55gnZ99dqCfCiAsKO17BWVjn4eZRIjKvcqNmSz8gvmg==}
+ dependencies:
+ tinyspy: 2.1.1
+ dev: true
+
+ /@vitest/[email protected]:
+ resolution: {integrity: sha512-ur6CmmYQoeHMwmGb0v+qwkwN3yopZuZyf4xt1DBBSGBed8Hf9Gmbm/5dEWqgpLPdRx6Av6jcWXrjcKfkTzg/pw==}
+ dependencies:
+ diff-sequences: 29.6.3
+ loupe: 2.3.6
+ pretty-format: 29.7.0
+ dev: true
+
/@wendellhu/[email protected]:
resolution: {integrity: sha512-piEmRbwzIZ9SsHDlEUh3thk+kMdLImVHzgvn00C8/dqSbSg/Pgc8J5na7Juh9GGEuI9JR33uc4b8ZzVazchQIg==}
dev: false
@@ -6084,10 +5667,6 @@ packages:
through: 2.3.8
dev: true
- resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==}
- dev: true
-
resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==}
engines: {node: '>= 0.6'}
@@ -6096,13 +5675,6 @@ packages:
negotiator: 0.6.3
dev: true
- resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==}
- dependencies:
- acorn: 8.10.0
- acorn-walk: 8.2.0
- dev: true
-
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
peerDependencies:
@@ -6191,13 +5763,6 @@ packages:
engines: {node: '>=6'}
dev: true
- resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==}
- engines: {node: '>=8'}
- dependencies:
- type-fest: 0.21.3
- dev: true
-
resolution: {integrity: sha512-5GFMVX8HqE/TB+FuBJGuO5XG0WrsA6ptUqoODaT/n9mmUaZFkqnBueB4leqGBCmrUHnCnC4PCZTCd0E7QQ83bA==}
engines: {node: '>=12'}
@@ -6368,6 +5933,10 @@ packages:
util: 0.12.5
dev: true
+ resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==}
+ dev: true
+
resolution: {integrity: sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA==}
engines: {node: '>=4'}
@@ -6406,14 +5975,6 @@ packages:
engines: {node: '>= 0.4'}
dev: true
- resolution: {integrity: sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g==}
- dependencies:
- follow-redirects: 1.15.2
- transitivePeerDependencies:
- - debug
- dev: true
-
resolution: {integrity: sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==}
peerDependencies:
@@ -6422,24 +5983,6 @@ packages:
'@babel/core': 7.22.15
dev: true
- resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- peerDependencies:
- '@babel/core': ^7.8.0
- dependencies:
- '@babel/core': 7.22.15
- '@jest/transform': 29.7.0
- '@types/babel__core': 7.20.1
- babel-plugin-istanbul: 6.1.1
- babel-preset-jest: 29.6.3(@babel/[email protected])
- chalk: 4.1.2
- graceful-fs: 4.2.11
- slash: 3.0.0
- transitivePeerDependencies:
- - supports-color
- dev: true
-
resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==}
engines: {node: '>=8'}
@@ -6453,16 +5996,6 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@babel/template': 7.22.15
- '@babel/types': 7.22.17
- '@types/babel__core': 7.20.1
- '@types/babel__traverse': 7.20.1
- dev: true
-
resolution: {integrity: sha512-19hwUH5FKl49JEsvyTcoHakh6BE0wgXLLptIyKZ3PijHc/Ci521wygORCUCCred+E/twuqRyAkE02BAWPmsHOg==}
peerDependencies:
@@ -6499,42 +6032,11 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==}
- peerDependencies:
- '@babel/core': ^7.0.0
- dependencies:
- '@babel/core': 7.22.15
- '@babel/plugin-syntax-async-generators': 7.8.4(@babel/[email protected])
- '@babel/plugin-syntax-bigint': 7.8.3(@babel/[email protected])
- '@babel/plugin-syntax-class-properties': 7.12.13(@babel/[email protected])
- '@babel/plugin-syntax-import-meta': 7.10.4(@babel/[email protected])
- '@babel/plugin-syntax-json-strings': 7.8.3(@babel/[email protected])
- '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/[email protected])
- '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/[email protected])
- '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/[email protected])
- '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/[email protected])
- '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/[email protected])
- '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/[email protected])
- '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/[email protected])
- dev: true
-
- resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- peerDependencies:
- '@babel/core': ^7.0.0
- dependencies:
- '@babel/core': 7.22.15
- babel-plugin-jest-hoist: 29.6.3
- babel-preset-current-node-syntax: 1.0.1(@babel/[email protected])
- dev: true
-
- resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
-
- resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}
+ resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
+
+ resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}
dev: true
@@ -6643,13 +6145,6 @@ packages:
update-browserslist-db: 1.0.11([email protected])
dev: true
- resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==}
- engines: {node: '>= 6'}
- dependencies:
- fast-json-stable-stringify: 2.1.0
- dev: true
-
resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==}
dependencies:
@@ -6707,6 +6202,11 @@ packages:
yargs-parser: 20.2.9
dev: true
+ resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
+ engines: {node: '>=8'}
+ dev: true
+
resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==}
dependencies:
@@ -6733,15 +6233,23 @@ packages:
engines: {node: '>=6'}
dev: true
- resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==}
- engines: {node: '>=10'}
- dev: true
-
resolution: {integrity: sha512-YkJi7RwPgWtXVSgK4lG9AHH57nSzvvOp9MesgXmw4Q7n0C3H04L0foHqfxcmSAm5AcWb8dW9AYj2tR7/5GnddQ==}
dev: true
+ resolution: {integrity: sha512-vX4YvVVtxlfSZ2VecZgFUTU5qPCYsobVI2O9FmwEXBhDigYGQA6jRXCycIs1yJnnWbZ6/+a2zNIF5DfVCcJBFQ==}
+ 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
+
resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==}
engines: {node: '>=4'}
@@ -6764,15 +6272,14 @@ packages:
engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
dev: true
- resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==}
- engines: {node: '>=10'}
- dev: true
-
resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==}
dev: true
+ resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==}
+ dev: true
+
resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
engines: {node: '>= 8.10.0'}
@@ -6802,10 +6309,6 @@ packages:
engines: {node: '>=8'}
dev: true
- resolution: {integrity: sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==}
- dev: true
-
resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==}
engines: {node: '>=6'}
@@ -6886,15 +6389,6 @@ packages:
engines: {node: '>=0.8'}
dev: true
- resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==}
- engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'}
- dev: true
-
- resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==}
- dev: true
-
resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==}
dependencies:
@@ -6936,11 +6430,6 @@ packages:
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
dev: true
- resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==}
- engines: {node: '>= 6'}
- dev: true
-
resolution: {integrity: sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==}
engines: {node: '>= 6'}
@@ -7097,44 +6586,6 @@ packages:
typescript: 5.2.2
dev: true
- resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- hasBin: true
- dependencies:
- '@jest/types': 29.6.3
- chalk: 4.1.2
- exit: 0.1.2
- graceful-fs: 4.2.11
- jest-config: 29.7.0(@types/[email protected])([email protected])
- jest-util: 29.7.0
- prompts: 2.4.2
- transitivePeerDependencies:
- - '@types/node'
- - babel-plugin-macros
- - supports-color
- - ts-node
- dev: true
-
- resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- hasBin: true
- dependencies:
- '@jest/types': 29.6.3
- chalk: 4.1.2
- exit: 0.1.2
- graceful-fs: 4.2.11
- jest-config: 29.7.0(@types/[email protected])([email protected])
- jest-util: 29.7.0
- prompts: 2.4.2
- transitivePeerDependencies:
- - '@types/node'
- - babel-plugin-macros
- - supports-color
- - ts-node
- dev: true
-
resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==}
dev: true
@@ -7168,27 +6619,16 @@ packages:
get-css-data: 2.1.0
dev: false
+ resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==}
+ dev: true
+
resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}
engines: {node: '>=4'}
hasBin: true
dev: true
- resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==}
- dev: true
-
- resolution: {integrity: sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==}
- dev: true
-
- resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==}
- engines: {node: '>=8'}
- dependencies:
- cssom: 0.3.8
- dev: true
-
resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==}
dev: true
@@ -7215,28 +6655,11 @@ packages:
stream-transform: 2.1.3
dev: true
- resolution: {integrity: sha512-YGZxdTTL9lmLkCUTpg4j0zQ7IhRB5ZmqNBbGCl3Tg6MP/d5/6sY7L5mmTjzbc6JKgVZYiqTQTNhPFsbXNGlRaA==}
- engines: {node: '>=0.8'}
- dependencies:
- find-pkg: 0.1.2
- fs-exists-sync: 0.1.0
- dev: true
-
resolution: {integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==}
engines: {node: '>=8'}
dev: true
- resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==}
- engines: {node: '>=12'}
- dependencies:
- abab: 2.0.6
- whatwg-mimetype: 3.0.0
- whatwg-url: 11.0.0
- dev: true
-
resolution: {integrity: sha512-QvzAURSbQ0pKdIye2txOzNaHmxtUBXerpY0FJsFXUMKbIZeFm5ht1LS/jFsrncjnmtv8HsG0W2g6c0zUjZWmpA==}
dev: false
@@ -7288,17 +6711,11 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
- resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==}
- dev: true
-
- resolution: {integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==}
- peerDependencies:
- babel-plugin-macros: ^3.1.0
- peerDependenciesMeta:
- babel-plugin-macros:
- optional: true
+ resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==}
+ engines: {node: '>=6'}
+ dependencies:
+ type-detect: 4.0.8
dev: true
@@ -7328,11 +6745,6 @@ packages:
resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
dev: true
- resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}
- engines: {node: '>=0.10.0'}
- dev: true
-
resolution: {integrity: sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==}
engines: {node: '>=12'}
@@ -7418,11 +6830,6 @@ packages:
engines: {node: '>=8'}
dev: true
- resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==}
- engines: {node: '>=8'}
- dev: true
-
resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==}
dev: true
@@ -7479,13 +6886,6 @@ packages:
resolution: {integrity: sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==}
dev: true
- resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==}
- engines: {node: '>=12'}
- dependencies:
- webidl-conversions: 7.0.0
- dev: true
-
resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==}
engines: {node: '>=8'}
@@ -7532,11 +6932,6 @@ packages:
resolution: {integrity: sha512-FFa8QKjQK/A5QuFr2167myhMesGrhlOBD+3cYNxO9/S4XzHEXesyTD/1/xF644gC8buFPz3ca6G1LOQD0tZrrg==}
dev: true
- resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==}
- engines: {node: '>=12'}
- dev: true
-
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
dev: true
@@ -7811,11 +7206,6 @@ packages:
engines: {node: '>=0.8.0'}
dev: true
- resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==}
- engines: {node: '>=8'}
- dev: true
-
resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
engines: {node: '>=10'}
@@ -8192,29 +7582,6 @@ packages:
strip-final-newline: 3.0.0
dev: true
- resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==}
- engines: {node: '>= 0.8.0'}
- dev: true
-
- resolution: {integrity: sha512-rtmc+cjLZqnu9dSYosX9EWmSJhTwpACgJQTfj4hgg2JjOD/6SIQalZrt4a3aQeh++oNxkazcaxrhPUj6+g5G/Q==}
- engines: {node: '>=0.10.0'}
- dependencies:
- os-homedir: 1.0.2
- dev: true
-
- resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/expect-utils': 29.7.0
- jest-get-type: 29.6.3
- jest-matcher-utils: 29.7.0
- jest-message-util: 29.7.0
- jest-util: 29.7.0
- dev: true
-
resolution: {integrity: sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==}
engines: {node: '>= 0.10.0'}
@@ -8392,32 +7759,6 @@ packages:
pkg-dir: 4.2.0
dev: true
- resolution: {integrity: sha512-mBxmNbVyjg1LQIIpgO8hN+ybWBgDQK8qjht+EbrTCGmmPV/sc7RF1i9stPTD6bpvXZywBdrwRYxhSdJv867L6A==}
- engines: {node: '>=0.10.0'}
- dependencies:
- fs-exists-sync: 0.1.0
- resolve-dir: 0.1.1
- dev: true
-
- resolution: {integrity: sha512-0rnQWcFwZr7eO0513HahrWafsc3CTFioEB7DRiEYCUM/70QXSY8f3mCST17HXLcPvEhzH/Ty/Bxd72ZZsr/yvw==}
- engines: {node: '>=0.10.0'}
- dependencies:
- find-file-up: 0.1.3
- dev: true
-
- resolution: {integrity: sha512-/U4CYp1214Xrp3u3Fqr9yNynUrr5Le4y0SsJh2lMDDSbpwYSz3M2SMWQC+wqcx79cN8PQtHQIL8KnuY9M66fdg==}
- hasBin: true
- dependencies:
- chalk: 4.1.2
- commander: 5.1.0
- debug: 4.3.4
- transitivePeerDependencies:
- - supports-color
- dev: true
-
resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==}
engines: {node: '>=6'}
@@ -8466,16 +7807,6 @@ packages:
engines: {node: '>=0.4.0'}
dev: true
- resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==}
- engines: {node: '>=4.0'}
- peerDependencies:
- debug: '*'
- peerDependenciesMeta:
- debug:
- optional: true
- dev: true
-
resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==}
dependencies:
@@ -8507,15 +7838,6 @@ packages:
mime-types: 2.1.35
dev: true
- resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==}
- engines: {node: '>= 6'}
- dependencies:
- asynckit: 0.4.0
- combined-stream: 1.0.8
- mime-types: 2.1.35
- dev: true
-
resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==}
engines: {node: '>= 0.6'}
@@ -8530,11 +7852,6 @@ packages:
resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
dev: true
- resolution: {integrity: sha512-cR/vflFyPZtrN6b38ZyWxpWdhlXrzZEBawlpBQMq7033xVY7/kg0GDMBK5jg8lDYQckdJ5x/YC88lM3C7VMsLg==}
- engines: {node: '>=0.10.0'}
- dev: true
-
resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==}
engines: {node: '>=12'}
@@ -8628,6 +7945,10 @@ packages:
resolution: {integrity: sha512-HtPrzGk8aBF9rLeQNuImcXci7YVqsMEKzVflEWaCJu25ehxyDNiZRWoSxqSFUBfma8LERqKo70t/TcaGjIsM9g==}
dev: false
+ resolution: {integrity: sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==}
+ dev: true
+
resolution: {integrity: sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==}
dependencies:
@@ -8766,24 +8087,6 @@ packages:
ini: 1.3.8
dev: true
- resolution: {integrity: sha512-JeXuCbvYzYXcwE6acL9V2bAOeSIGl4dD+iwLY9iUx2VBJJ80R18HCn+JCwHM9Oegdfya3lEkGCdaRkSyc10hDA==}
- engines: {node: '>=0.10.0'}
- dependencies:
- global-prefix: 0.1.5
- is-windows: 0.2.0
- dev: true
-
- resolution: {integrity: sha512-gOPiyxcD9dJGCEArAhF4Hd0BAqvAe/JzERP7tYumE4yIkmIedPUVXcJFWbV3/p/ovIIvKjkrTk+f1UVkq7vvbw==}
- engines: {node: '>=0.10.0'}
- dependencies:
- homedir-polyfill: 1.0.3
- ini: 1.3.8
- is-windows: 0.2.0
- which: 1.3.1
- dev: true
-
resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==}
engines: {node: '>=4'}
@@ -8869,6 +8172,17 @@ packages:
uglify-js: 3.17.4
dev: true
+ resolution: {integrity: sha512-5ul/0itJ6HJszSJAc9NbwTrTAY1wwEqxS92zUb8j+FBA62g0BplpBA1xjox1gecvCRw16lUfZo4fjVL0P2h6Cg==}
+ dependencies:
+ css.escape: 1.5.1
+ entities: 4.5.0
+ iconv-lite: 0.6.3
+ webidl-conversions: 7.0.0
+ whatwg-encoding: 2.0.0
+ whatwg-mimetype: 3.0.0
+ dev: true
+
resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==}
engines: {node: '>=6'}
@@ -8918,13 +8232,6 @@ packages:
function-bind: 1.1.1
dev: true
- resolution: {integrity: sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==}
- engines: {node: '>=0.10.0'}
- dependencies:
- parse-passwd: 1.0.0
- dev: true
-
resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==}
dev: true
@@ -8936,13 +8243,6 @@ packages:
lru-cache: 6.0.0
dev: true
- resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==}
- engines: {node: '>=12'}
- dependencies:
- whatwg-encoding: 2.0.0
- dev: true
-
resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==}
dev: true
@@ -8963,17 +8263,6 @@ packages:
toidentifier: 1.0.1
dev: true
- resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==}
- engines: {node: '>= 6'}
- dependencies:
- '@tootallnate/once': 2.0.0
- agent-base: 6.0.2
- debug: 4.3.4
- transitivePeerDependencies:
- - supports-color
- dev: true
-
resolution: {integrity: sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==}
engines: {node: '>= 6.0.0'}
@@ -9071,15 +8360,6 @@ packages:
resolve-from: 4.0.0
dev: true
- resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==}
- engines: {node: '>=8'}
- hasBin: true
- dependencies:
- pkg-dir: 4.2.0
- resolve-cwd: 3.0.0
- dev: true
-
resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
engines: {node: '>=0.8.19'}
@@ -9231,11 +8511,6 @@ packages:
engines: {node: '>=12'}
dev: true
- resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==}
- engines: {node: '>=6'}
- dev: true
-
resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==}
engines: {node: '>= 0.4'}
@@ -9329,10 +8604,6 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
- resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}
- dev: true
-
resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==}
engines: {node: '>= 0.4'}
@@ -9422,11 +8693,6 @@ packages:
resolution: {integrity: sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==}
dev: true
- resolution: {integrity: sha512-n67eJYmXbniZB7RF4I/FTjK1s6RPOCTxhYrVYLRaCt3lF0mpWZPKr3T2LSZAqyjQsxR2qMmGYXXzK0YWwcPM1Q==}
- engines: {node: '>=0.10.0'}
- dev: true
-
resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==}
engines: {node: '>=0.10.0'}
@@ -9473,19 +8739,6 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-x58orMzEVfzPUKqlbLd1hXCnySCxKdDKa6Rjg97CwuLLRI4g3FHTdnExu1OqffVFay6zeMW+T6/DowFLndWnIw==}
- engines: {node: '>=10'}
- dependencies:
- '@babel/core': 7.22.15
- '@babel/parser': 7.22.15
- '@istanbuljs/schema': 0.1.3
- istanbul-lib-coverage: 3.2.0
- semver: 7.5.4
- transitivePeerDependencies:
- - supports-color
- dev: true
-
resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==}
engines: {node: '>=10'}
@@ -9495,17 +8748,6 @@ packages:
supports-color: 7.2.0
dev: true
- resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==}
- engines: {node: '>=10'}
- dependencies:
- debug: 4.3.4
- istanbul-lib-coverage: 3.2.0
- source-map: 0.6.1
- transitivePeerDependencies:
- - supports-color
- dev: true
-
resolution: {integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==}
engines: {node: '>=8'}
@@ -9534,339 +8776,23 @@ packages:
minimatch: 3.1.2
dev: true
- resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- execa: 5.1.1
- jest-util: 29.7.0
- p-limit: 3.1.0
- dev: true
-
- resolution: {integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==}
+ resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
- '@jest/environment': 29.7.0
- '@jest/expect': 29.7.0
- '@jest/test-result': 29.7.0
'@jest/types': 29.6.3
+ '@types/graceful-fs': 4.1.6
'@types/node': 18.14.0
- chalk: 4.1.2
- co: 4.6.0
- dedent: 1.5.1
- is-generator-fn: 2.1.0
- jest-each: 29.7.0
- jest-matcher-utils: 29.7.0
- jest-message-util: 29.7.0
- jest-runtime: 29.7.0
- jest-snapshot: 29.7.0
+ anymatch: 3.1.3
+ fb-watchman: 2.0.2
+ graceful-fs: 4.2.11
+ jest-regex-util: 29.6.3
jest-util: 29.7.0
- p-limit: 3.1.0
- pretty-format: 29.7.0
- pure-rand: 6.0.3
- slash: 3.0.0
- stack-utils: 2.0.6
- transitivePeerDependencies:
- - babel-plugin-macros
- - supports-color
- dev: true
-
- resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- hasBin: true
- peerDependencies:
- node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
- peerDependenciesMeta:
- node-notifier:
- optional: true
- dependencies:
- '@jest/core': 29.7.0([email protected])
- '@jest/test-result': 29.7.0
- '@jest/types': 29.6.3
- chalk: 4.1.2
- create-jest: 29.7.0(@types/[email protected])([email protected])
- exit: 0.1.2
- import-local: 3.1.0
- jest-config: 29.7.0(@types/[email protected])([email protected])
- jest-util: 29.7.0
- jest-validate: 29.7.0
- yargs: 17.7.2
- transitivePeerDependencies:
- - '@types/node'
- - babel-plugin-macros
- - supports-color
- - ts-node
- dev: true
-
- resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- hasBin: true
- peerDependencies:
- node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
- peerDependenciesMeta:
- node-notifier:
- optional: true
- dependencies:
- '@jest/core': 29.7.0([email protected])
- '@jest/test-result': 29.7.0
- '@jest/types': 29.6.3
- chalk: 4.1.2
- create-jest: 29.7.0(@types/[email protected])([email protected])
- exit: 0.1.2
- import-local: 3.1.0
- jest-config: 29.7.0(@types/[email protected])([email protected])
- jest-util: 29.7.0
- jest-validate: 29.7.0
- yargs: 17.7.2
- transitivePeerDependencies:
- - '@types/node'
- - babel-plugin-macros
- - supports-color
- - ts-node
- dev: true
-
- resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- peerDependencies:
- '@types/node': '*'
- ts-node: '>=9.0.0'
- peerDependenciesMeta:
- '@types/node':
- optional: true
- ts-node:
- optional: true
- dependencies:
- '@babel/core': 7.22.15
- '@jest/test-sequencer': 29.7.0
- '@jest/types': 29.6.3
- '@types/node': 16.4.6
- babel-jest: 29.7.0(@babel/[email protected])
- chalk: 4.1.2
- ci-info: 3.8.0
- deepmerge: 4.3.1
- glob: 7.2.3
- graceful-fs: 4.2.11
- jest-circus: 29.7.0
- jest-environment-node: 29.7.0
- jest-get-type: 29.6.3
- jest-regex-util: 29.6.3
- jest-resolve: 29.7.0
- jest-runner: 29.7.0
- jest-util: 29.7.0
- jest-validate: 29.7.0
- micromatch: 4.0.5
- parse-json: 5.2.0
- pretty-format: 29.7.0
- slash: 3.0.0
- strip-json-comments: 3.1.1
- ts-node: 10.9.1(@types/[email protected])([email protected])
- transitivePeerDependencies:
- - babel-plugin-macros
- - supports-color
- dev: true
-
- resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- peerDependencies:
- '@types/node': '*'
- ts-node: '>=9.0.0'
- peerDependenciesMeta:
- '@types/node':
- optional: true
- ts-node:
- optional: true
- dependencies:
- '@babel/core': 7.22.15
- '@jest/test-sequencer': 29.7.0
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- babel-jest: 29.7.0(@babel/[email protected])
- chalk: 4.1.2
- ci-info: 3.8.0
- deepmerge: 4.3.1
- glob: 7.2.3
- graceful-fs: 4.2.11
- jest-circus: 29.7.0
- jest-environment-node: 29.7.0
- jest-get-type: 29.6.3
- jest-regex-util: 29.6.3
- jest-resolve: 29.7.0
- jest-runner: 29.7.0
- jest-util: 29.7.0
- jest-validate: 29.7.0
- micromatch: 4.0.5
- parse-json: 5.2.0
- pretty-format: 29.7.0
- slash: 3.0.0
- strip-json-comments: 3.1.1
- ts-node: 10.9.1(@types/[email protected])([email protected])
- transitivePeerDependencies:
- - babel-plugin-macros
- - supports-color
- dev: true
-
- resolution: {integrity: sha512-qsUVOcY26chaFMJNMVrFYJBtYvPt1TImi9FWGaVycfsP6xnFW2HlnKRdZdKdg2LVVBv2Q9M4aLv7IbxPSXqPmg==}
- engines: {node: '>=10.0.0'}
- dependencies:
- camelcase: 6.3.0
- postcss: 8.4.29
- postcss-nested: 5.0.6([email protected])
- dev: true
-
- resolution: {integrity: sha512-z5LnaGDvlIkdMv/rppSO4+rq+GyQKf1xI9oiBxf9/2EBeN2hxRaWiMvaLNDnHPZj2PAhBXsycrKslDDoZO2Xtw==}
- dependencies:
- chalk: 4.1.2
- cwd: 0.10.0
- find-process: 1.4.7
- prompts: 2.4.2
- spawnd: 6.2.0
- tree-kill: 1.2.2
- wait-on: 6.0.1
- transitivePeerDependencies:
- - debug
- - supports-color
- dev: true
-
- resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- chalk: 4.1.2
- diff-sequences: 29.6.3
- jest-get-type: 29.6.3
- pretty-format: 29.7.0
- dev: true
-
- resolution: {integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- detect-newline: 3.1.0
- dev: true
-
- resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/types': 29.6.3
- chalk: 4.1.2
- jest-get-type: 29.6.3
- jest-util: 29.7.0
- pretty-format: 29.7.0
- dev: true
-
- resolution: {integrity: sha512-K6wfgUJ16DoMs02JYFid9lOsqfpoVtyJxpRlnTxUHzvZWBnnh2VNGRB9EC1Cro96TQdq5TtSjb3qUjNaJP9IyA==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- peerDependencies:
- canvas: ^2.5.0
- peerDependenciesMeta:
- canvas:
- optional: true
- dependencies:
- '@jest/environment': 29.6.4
- '@jest/fake-timers': 29.6.4
- '@jest/types': 29.6.3
- '@types/jsdom': 20.0.1
- '@types/node': 18.14.0
- jest-mock: 29.6.3
- jest-util: 29.6.3
- jsdom: 20.0.3
- transitivePeerDependencies:
- - bufferutil
- - supports-color
- - utf-8-validate
- dev: true
-
- resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/environment': 29.7.0
- '@jest/fake-timers': 29.7.0
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- jest-mock: 29.7.0
- jest-util: 29.7.0
- dev: true
-
- resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dev: true
-
- resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/types': 29.6.3
- '@types/graceful-fs': 4.1.6
- '@types/node': 18.14.0
- anymatch: 3.1.3
- fb-watchman: 2.0.2
- graceful-fs: 4.2.11
- jest-regex-util: 29.6.3
- jest-util: 29.7.0
- jest-worker: 29.7.0
- micromatch: 4.0.5
- walker: 1.0.8
- optionalDependencies:
- fsevents: 2.3.3
- dev: true
-
- resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- jest-get-type: 29.6.3
- pretty-format: 29.7.0
- dev: true
-
- resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- chalk: 4.1.2
- jest-diff: 29.7.0
- jest-get-type: 29.6.3
- pretty-format: 29.7.0
- dev: true
-
- resolution: {integrity: sha512-FtzaEEHzjDpQp51HX4UMkPZjy46ati4T5pEMyM6Ik48ztu4T9LQplZ6OsimHx7EuM9dfEh5HJa6D3trEftu3dA==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@babel/code-frame': 7.22.13
- '@jest/types': 29.6.3
- '@types/stack-utils': 2.0.1
- chalk: 4.1.2
- graceful-fs: 4.2.11
- micromatch: 4.0.5
- pretty-format: 29.7.0
- slash: 3.0.0
- stack-utils: 2.0.6
- dev: true
-
- resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@babel/code-frame': 7.22.13
- '@jest/types': 29.6.3
- '@types/stack-utils': 2.0.1
- chalk: 4.1.2
- graceful-fs: 4.2.11
- micromatch: 4.0.5
- pretty-format: 29.7.0
- slash: 3.0.0
- stack-utils: 2.0.6
+ jest-worker: 29.7.0
+ micromatch: 4.0.5
+ walker: 1.0.8
+ optionalDependencies:
+ fsevents: 2.3.3
dev: true
@@ -9877,263 +8803,31 @@ packages:
'@types/node': 18.14.0
dev: true
- resolution: {integrity: sha512-Z7Gs/mOyTSR4yPsaZ72a/MtuK6RnC3JYqWONe48oLaoEcYwEDxqvbXz85G4SJrm2Z5Ar9zp6MiHF4AlFlRM4Pg==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- jest-util: 29.6.3
- dev: true
-
- resolution: {integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- jest-util: 29.7.0
- dev: true
-
- resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==}
- engines: {node: '>=6'}
- peerDependencies:
- jest-resolve: '*'
- peerDependenciesMeta:
- jest-resolve:
- optional: true
- dependencies:
- jest-resolve: 29.7.0
- dev: true
-
resolution: {integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dev: true
- resolution: {integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- jest-regex-util: 29.6.3
- jest-snapshot: 29.7.0
- transitivePeerDependencies:
- - supports-color
- dev: true
-
- resolution: {integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- chalk: 4.1.2
- graceful-fs: 4.2.11
- jest-haste-map: 29.7.0
- jest-pnp-resolver: 1.2.3([email protected])
- jest-util: 29.7.0
- jest-validate: 29.7.0
- resolve: 1.22.4
- resolve.exports: 2.0.2
- slash: 3.0.0
- dev: true
-
- resolution: {integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/console': 29.7.0
- '@jest/environment': 29.7.0
- '@jest/test-result': 29.7.0
- '@jest/transform': 29.7.0
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- chalk: 4.1.2
- emittery: 0.13.1
- graceful-fs: 4.2.11
- jest-docblock: 29.7.0
- jest-environment-node: 29.7.0
- jest-haste-map: 29.7.0
- jest-leak-detector: 29.7.0
- jest-message-util: 29.7.0
- jest-resolve: 29.7.0
- jest-runtime: 29.7.0
- jest-util: 29.7.0
- jest-watcher: 29.7.0
- jest-worker: 29.7.0
- p-limit: 3.1.0
- source-map-support: 0.5.13
- transitivePeerDependencies:
- - supports-color
- dev: true
-
- resolution: {integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/environment': 29.7.0
- '@jest/fake-timers': 29.7.0
- '@jest/globals': 29.7.0
- '@jest/source-map': 29.6.3
- '@jest/test-result': 29.7.0
- '@jest/transform': 29.7.0
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- chalk: 4.1.2
- cjs-module-lexer: 1.2.3
- collect-v8-coverage: 1.0.2
- glob: 7.2.3
- graceful-fs: 4.2.11
- jest-haste-map: 29.7.0
- jest-message-util: 29.7.0
- jest-mock: 29.7.0
- jest-regex-util: 29.6.3
- jest-resolve: 29.7.0
- jest-snapshot: 29.7.0
- jest-util: 29.7.0
- slash: 3.0.0
- strip-bom: 4.0.0
- transitivePeerDependencies:
- - supports-color
- dev: true
-
- resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@babel/core': 7.22.15
- '@babel/generator': 7.22.15
- '@babel/plugin-syntax-jsx': 7.22.5(@babel/[email protected])
- '@babel/plugin-syntax-typescript': 7.22.5(@babel/[email protected])
- '@babel/types': 7.22.17
- '@jest/expect-utils': 29.7.0
- '@jest/transform': 29.7.0
- '@jest/types': 29.6.3
- babel-preset-current-node-syntax: 1.0.1(@babel/[email protected])
- chalk: 4.1.2
- expect: 29.7.0
- graceful-fs: 4.2.11
- jest-diff: 29.7.0
- jest-get-type: 29.6.3
- jest-matcher-utils: 29.7.0
- jest-message-util: 29.7.0
- jest-util: 29.7.0
- natural-compare: 1.4.0
- pretty-format: 29.7.0
- semver: 7.5.4
- transitivePeerDependencies:
- - supports-color
- dev: true
-
- resolution: {integrity: sha512-QUjna/xSy4B32fzcKTSz1w7YYzgiHrjjJjevdRf61HYk998R5vVMMNmrHESYZVDS5DSWs+1srPLPKxXPkeSDOA==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- chalk: 4.1.2
- ci-info: 3.8.0
- graceful-fs: 4.2.11
- picomatch: 2.3.1
- dev: true
-
- resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- chalk: 4.1.2
- ci-info: 3.8.0
- graceful-fs: 4.2.11
- picomatch: 2.3.1
- dev: true
-
- resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/types': 29.6.3
- camelcase: 6.3.0
- chalk: 4.1.2
- jest-get-type: 29.6.3
- leven: 3.1.0
- pretty-format: 29.7.0
- dev: true
-
- resolution: {integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@jest/test-result': 29.7.0
- '@jest/types': 29.6.3
- '@types/node': 18.14.0
- ansi-escapes: 4.3.2
- chalk: 4.1.2
- emittery: 0.13.1
- jest-util: 29.7.0
- string-length: 4.0.2
- dev: true
-
- resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- dependencies:
- '@types/node': 18.14.0
- jest-util: 29.7.0
- merge-stream: 2.0.0
- supports-color: 8.1.1
- dev: true
-
- resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- hasBin: true
- peerDependencies:
- node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
- peerDependenciesMeta:
- node-notifier:
- optional: true
- dependencies:
- '@jest/core': 29.7.0([email protected])
- '@jest/types': 29.6.3
- import-local: 3.1.0
- jest-cli: 29.7.0(@types/[email protected])([email protected])
- transitivePeerDependencies:
- - '@types/node'
- - babel-plugin-macros
- - supports-color
- - ts-node
- dev: true
-
- resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- hasBin: true
- peerDependencies:
- node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
- peerDependenciesMeta:
- node-notifier:
- optional: true
+ resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
- '@jest/core': 29.7.0([email protected])
'@jest/types': 29.6.3
- import-local: 3.1.0
- jest-cli: 29.7.0(@types/[email protected])([email protected])
- transitivePeerDependencies:
- - '@types/node'
- - babel-plugin-macros
- - supports-color
- - ts-node
+ '@types/node': 18.14.0
+ chalk: 4.1.2
+ ci-info: 3.8.0
+ graceful-fs: 4.2.11
+ picomatch: 2.3.1
dev: true
- resolution: {integrity: sha512-vIiDxQKmRidUVp8KngT8MZSOcmRVm2zV7jbMjNYWuHcJWI0bUck3nRTGQjhpPlQenIQIBC5Vp9AhcnHbWQqafw==}
+ resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==}
+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
- '@hapi/hoek': 9.3.0
- '@hapi/topo': 5.1.0
- '@sideway/address': 4.1.4
- '@sideway/formula': 3.0.1
- '@sideway/pinpoint': 2.0.0
+ '@types/node': 18.14.0
+ jest-util: 29.7.0
+ merge-stream: 2.0.0
+ supports-color: 8.1.1
dev: true
@@ -10188,47 +8882,6 @@ packages:
- supports-color
dev: true
- 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.10.0
- 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.1.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.7
- parse5: 7.1.2
- saxes: 6.0.0
- symbol-tree: 3.2.4
- tough-cookie: 4.1.3
- 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.14.1
- xml-name-validator: 4.0.0
- transitivePeerDependencies:
- - bufferutil
- - supports-color
- - utf-8-validate
- dev: true
-
resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==}
hasBin: true
@@ -10273,6 +8926,10 @@ packages:
hasBin: true
dev: true
+ resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==}
+ dev: true
+
resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==}
optionalDependencies:
@@ -10431,6 +9088,11 @@ packages:
engines: {node: '>= 12.13.0'}
dev: true
+ resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==}
+ engines: {node: '>=14'}
+ dev: true
+
resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==}
engines: {node: '>=6'}
@@ -10473,10 +9135,6 @@ packages:
resolution: {integrity: sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==}
dev: true
- resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==}
- dev: true
-
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
dev: true
@@ -10530,6 +9188,12 @@ packages:
dependencies:
js-tokens: 4.0.0
+ resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==}
+ dependencies:
+ get-func-name: 2.0.0
+ dev: true
+
resolution: {integrity: sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==}
engines: {node: 14 || >=16.14}
@@ -10837,6 +9501,15 @@ packages:
hasBin: true
dev: true
+ resolution: {integrity: sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==}
+ dependencies:
+ acorn: 8.10.0
+ pathe: 1.1.1
+ pkg-types: 1.0.3
+ ufo: 1.3.0
+ dev: true
+
resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}
engines: {node: '>=4'}
@@ -10970,10 +9643,6 @@ packages:
resolution: {integrity: sha512-qaKRmtYPZ5qdw4jWJD6bxEf1FJEqllJrwxCLIm0sQU/A7v2/czigzOb+C2uSiFsa9lBUzeH7M1oK+Q+OLxL3kA==}
dev: false
- resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==}
- dev: true
-
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
engines: {node: '>=0.10.0'}
@@ -11120,11 +9789,6 @@ packages:
wcwidth: 1.0.1
dev: true
- resolution: {integrity: sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==}
- engines: {node: '>=0.10.0'}
- dev: true
-
resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==}
engines: {node: '>=0.10.0'}
@@ -11155,6 +9819,13 @@ packages:
yocto-queue: 0.1.0
dev: true
+ resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==}
+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
+ dependencies:
+ yocto-queue: 1.0.0
+ dev: true
+
resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==}
engines: {node: '>=6'}
@@ -11223,17 +9894,6 @@ packages:
engines: {node: '>= 0.10'}
dev: true
- resolution: {integrity: sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==}
- engines: {node: '>=0.10.0'}
- dev: true
-
- resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==}
- dependencies:
- entities: 4.5.0
- dev: true
-
resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==}
engines: {node: '>= 0.8'}
@@ -11289,6 +9949,10 @@ packages:
resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==}
dev: true
+ resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==}
+ dev: true
+
resolution: {integrity: sha512-FhJ+YbOSBb9/rIl2ZeE/QHEsWn7PqNYt8ARAY3kIgNGOk13g9FGyIY6JIl/xB/3TFRVoTv5as0l11weORrTekA==}
dependencies:
@@ -11347,6 +10011,14 @@ packages:
find-up: 5.0.0
dev: true
+ resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==}
+ dependencies:
+ jsonc-parser: 3.2.0
+ mlly: 1.4.2
+ pathe: 1.1.1
+ dev: true
+
resolution: {integrity: sha512-Sz2Lkdxz6F2Pgnpi9U5Ng/WdWAUZxmHrNPoVlm3aAemxoy2Qy7LGjQg4uf8qKelDAUW94F4np3iH2YPf2qefcQ==}
engines: {node: '>=10'}
@@ -11411,16 +10083,6 @@ packages:
string-hash: 1.1.3
dev: true
- resolution: {integrity: sha512-rKqm2Fk0KbA8Vt3AdGN0FB9OBOMDVajMG6ZCf/GoHgdxUJ4sBFp0A/uMIRm+MJUdo33YXEtjqIz8u7DAp8B7DA==}
- engines: {node: '>=12.0'}
- peerDependencies:
- postcss: ^8.2.14
- dependencies:
- postcss: 8.4.29
- postcss-selector-parser: 6.0.13
- dev: true
-
resolution: {integrity: sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==}
engines: {node: '>=4'}
@@ -11550,10 +10212,6 @@ packages:
resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==}
dev: true
- resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==}
- dev: true
-
resolution: {integrity: sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==}
dependencies:
@@ -11601,10 +10259,6 @@ packages:
- utf-8-validate
dev: true
- resolution: {integrity: sha512-KddyFewCsO0j3+np81IQ+SweXLDnDQTs5s67BOnrYmYe/yNmUhttQyGsYzy8yUnoljGAQ9sl38YB4vH8ur7Y+w==}
- dev: true
-
resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==}
engines: {node: '>=0.6'}
@@ -11619,10 +10273,6 @@ packages:
side-channel: 1.0.4
dev: true
- resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==}
- dev: true
-
resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
dev: true
@@ -11967,25 +10617,6 @@ packages:
resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==}
dev: true
- resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==}
- dev: true
-
- resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==}
- engines: {node: '>=8'}
- dependencies:
- resolve-from: 5.0.0
- dev: true
-
- resolution: {integrity: sha512-QxMPqI6le2u0dCLyiGzgy92kjkkL6zO0XyvHzjdTNH3zM6e5Hz3BwG6+aEyNgiQ5Xz6PwTwgQEj3U50dByPKIA==}
- engines: {node: '>=0.10.0'}
- dependencies:
- expand-tilde: 1.2.2
- global-modules: 0.2.3
- dev: true
-
resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}
engines: {node: '>=4'}
@@ -12007,11 +10638,6 @@ packages:
resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
dev: true
- resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==}
- engines: {node: '>=10'}
- dev: true
-
resolution: {integrity: sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==}
hasBin: true
@@ -12092,6 +10718,7 @@ packages:
resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==}
dependencies:
tslib: 2.6.2
+ dev: false
resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==}
@@ -12142,13 +10769,6 @@ packages:
dev: true
optional: true
- resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==}
- engines: {node: '>=v12.22.7'}
- dependencies:
- xmlchars: 2.2.0
- dev: true
-
resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==}
dependencies:
@@ -12267,6 +10887,10 @@ packages:
object-inspect: 1.12.3
dev: true
+ resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==}
+ dev: true
+
resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
dev: true
@@ -12323,13 +10947,6 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
- resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==}
- dependencies:
- buffer-from: 1.1.2
- source-map: 0.6.1
- dev: true
-
resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
dependencies:
@@ -12346,14 +10963,6 @@ packages:
resolution: {integrity: sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==}
dev: true
- resolution: {integrity: sha512-qX/I4lQy4KgVEcNle0kuc4FxFWHISzBhZW1YemPfwmrmQjyZmfTK/OhBKkhrD2ooAaFZEm1maEBLE6/6enwt+g==}
- dependencies:
- exit: 0.1.2
- signal-exit: 3.0.7
- tree-kill: 1.2.2
- dev: true
-
resolution: {integrity: sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA==}
dependencies:
@@ -12393,11 +11002,8 @@ packages:
resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==}
dev: true
- resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==}
- engines: {node: '>=10'}
- dependencies:
- escape-string-regexp: 2.0.0
+ resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
dev: true
@@ -12405,6 +11011,10 @@ packages:
engines: {node: '>= 0.8'}
dev: true
+ resolution: {integrity: sha512-f9aPhy8fYBuMN+sNfakZV18U39PbalgjXG3lLB9WkaYTxijru61wb57V9wxxNthXM5Sd88ETBWi29qLAsHO52Q==}
+ dev: true
+
resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==}
engines: {node: '>= 0.4'}
@@ -12416,11 +11026,11 @@ packages:
resolution: {integrity: sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w==}
dev: true
- resolution: {integrity: sha512-UuYmdxEWEQAepfjgQFbbHTq47Xxpw16naAvJ9n/nsjMnOhYupm1ZIdWYaeNjz4LOfz+1WzgU7us0IvaBrxzl4g==}
+ resolution: {integrity: sha512-ixyov5hGz/nNad5N93xVYEqmiKXRPmPgKPjgkO8vmeaDBKy0yMGKAhCwZToqRwKflq6Xpas9BJ9Jwl1R2fsZRA==}
hasBin: true
dependencies:
- '@storybook/cli': 7.4.2
+ '@storybook/cli': 7.4.4
transitivePeerDependencies:
- bufferutil
- encoding
@@ -12447,14 +11057,6 @@ packages:
resolution: {integrity: sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A==}
dev: true
- resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==}
- engines: {node: '>=10'}
- dependencies:
- char-regex: 1.0.2
- strip-ansi: 6.0.1
- dev: true
-
resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
engines: {node: '>=8'}
@@ -12528,11 +11130,6 @@ packages:
engines: {node: '>=4'}
dev: true
- resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==}
- engines: {node: '>=8'}
- dev: true
-
resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==}
engines: {node: '>=6'}
@@ -12555,6 +11152,12 @@ packages:
engines: {node: '>=8'}
dev: true
+ resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==}
+ dependencies:
+ acorn: 8.10.0
+ dev: true
+
resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==}
engines: {node: '>=4'}
@@ -12581,10 +11184,6 @@ packages:
engines: {node: '>= 0.4'}
dev: true
- resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==}
- dev: true
-
resolution: {integrity: sha512-AsS729u2RHUfEra9xJrE39peJcc2stq2+poBXX8bcM08Y6g9j/i/PUzwNQqkaJde7Ntg1TO7bSREbR5sdosQ+g==}
dev: true
@@ -12707,6 +11306,20 @@ packages:
resolution: {integrity: sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw==}
dev: true
+ resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==}
+ dev: true
+
+ resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==}
+ engines: {node: '>=14.0.0'}
+ dev: true
+
+ resolution: {integrity: sha512-XPJL2uSzcOyBMky6OFrusqWlzfFrXtE0hPuMgW8A2HmaqrPo4ZQHRN/V0QXN3FSjKxpsbRrFc5LI7KOwBsT1/w==}
+ engines: {node: '>=14.0.0'}
+ dev: true
+
resolution: {integrity: sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==}
engines: {node: '>=12'}
@@ -12744,32 +11357,10 @@ packages:
engines: {node: '>=0.6'}
dev: true
- resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==}
- engines: {node: '>=6'}
- dependencies:
- psl: 1.9.0
- punycode: 2.3.0
- universalify: 0.2.0
- url-parse: 1.5.10
- dev: true
-
resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
dev: true
- resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==}
- engines: {node: '>=12'}
- dependencies:
- punycode: 2.3.0
- dev: true
-
- resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}
- hasBin: true
- dev: true
-
resolution: {integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==}
engines: {node: '>=8'}
@@ -12789,41 +11380,6 @@ packages:
engines: {node: '>=6.10'}
dev: true
- resolution: {integrity: sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- hasBin: true
- peerDependencies:
- '@babel/core': '>=7.0.0-beta.0 <8'
- '@jest/types': ^29.0.0
- babel-jest: ^29.0.0
- esbuild: '*'
- jest: ^29.0.0
- typescript: '>=4.3 <6'
- peerDependenciesMeta:
- '@babel/core':
- optional: true
- '@jest/types':
- optional: true
- babel-jest:
- optional: true
- esbuild:
- optional: true
- dependencies:
- '@babel/core': 7.22.15
- bs-logger: 0.2.6
- esbuild: 0.19.3
- fast-json-stable-stringify: 2.1.0
- jest: 29.7.0(@types/[email protected])([email protected])
- jest-util: 29.6.3
- json5: 2.2.3
- lodash.memoize: 4.1.2
- make-error: 1.3.6
- semver: 7.5.4
- typescript: 5.2.2
- yargs-parser: 21.1.1
- dev: true
-
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
hasBin: true
@@ -13039,11 +11595,6 @@ packages:
engines: {node: '>=10'}
dev: true
- resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==}
- engines: {node: '>=10'}
- dev: true
-
resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==}
engines: {node: '>=8'}
@@ -13120,6 +11671,10 @@ packages:
hasBin: true
dev: true
+ resolution: {integrity: sha512-bRn3CsoojyNStCZe0BG0Mt4Nr/4KF+rhFlnNXybgqt5pXHNFRlqinSoQaTrGyzE4X8aHplSb+TorH+COin9Yxw==}
+ dev: true
+
resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==}
engines: {node: '>=0.8.0'}
@@ -13191,11 +11746,6 @@ packages:
engines: {node: '>= 4.0.0'}
dev: true
- resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==}
- engines: {node: '>= 4.0.0'}
- dev: true
-
resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==}
engines: {node: '>= 10.0.0'}
@@ -13237,13 +11787,6 @@ packages:
punycode: 2.3.0
dev: true
- resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==}
- dependencies:
- querystringify: 2.2.0
- requires-port: 1.0.0
- dev: true
-
resolution: {integrity: sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w==}
engines: {node: '>=10'}
@@ -13334,6 +11877,28 @@ packages:
engines: {node: '>= 0.8'}
dev: true
+ resolution: {integrity: sha512-RNZ+DwbCvDoI5CbCSQSyRyzDTfFvFauvMs6Yq4ObJROKlIKuat1KgSX/Ako5rlDMfVCyMcpMRMTkJBxd6z8YRA==}
+ engines: {node: '>=v14.18.0'}
+ hasBin: true
+ dependencies:
+ cac: 6.7.14
+ debug: 4.3.4
+ mlly: 1.4.2
+ pathe: 1.1.1
+ picocolors: 1.0.0
+ vite: 4.4.9(@types/[email protected])([email protected])
+ transitivePeerDependencies:
+ - '@types/node'
+ - less
+ - lightningcss
+ - sass
+ - stylus
+ - sugarss
+ - supports-color
+ - terser
+ dev: true
+
resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==}
engines: {node: ^14.18.0 || >=16.0.0}
@@ -13371,25 +11936,135 @@ packages:
fsevents: 2.3.3
dev: true
- resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==}
- engines: {node: '>=14'}
+ resolution: {integrity: sha512-CPI68mmnr2DThSB3frSuE5RLm9wo5wU4fbDrDwWQQB1CWgq9jQVoQwnQSzYAjdoBOPoH2UtXpOgHVge/uScfZg==}
+ engines: {node: '>=v14.18.0'}
+ hasBin: true
+ peerDependencies:
+ '@edge-runtime/vm': '*'
+ '@vitest/browser': '*'
+ '@vitest/ui': '*'
+ happy-dom: '*'
+ jsdom: '*'
+ playwright: '*'
+ safaridriver: '*'
+ webdriverio: '*'
+ peerDependenciesMeta:
+ '@edge-runtime/vm':
+ optional: true
+ '@vitest/browser':
+ optional: true
+ '@vitest/ui':
+ optional: true
+ happy-dom:
+ optional: true
+ jsdom:
+ optional: true
+ playwright:
+ optional: true
+ safaridriver:
+ optional: true
+ webdriverio:
+ optional: true
dependencies:
- xml-name-validator: 4.0.0
+ '@types/chai': 4.3.6
+ '@types/chai-subset': 1.3.3
+ '@types/node': 18.14.0
+ '@vitest/expect': 0.34.5
+ '@vitest/runner': 0.34.5
+ '@vitest/snapshot': 0.34.5
+ '@vitest/spy': 0.34.5
+ '@vitest/utils': 0.34.5
+ acorn: 8.10.0
+ acorn-walk: 8.2.0
+ cac: 6.7.14
+ chai: 4.3.8
+ debug: 4.3.4
+ local-pkg: 0.4.3
+ magic-string: 0.30.3
+ pathe: 1.1.1
+ picocolors: 1.0.0
+ std-env: 3.4.3
+ strip-literal: 1.3.0
+ tinybench: 2.5.1
+ tinypool: 0.7.0
+ vite: 4.4.9(@types/[email protected])([email protected])
+ vite-node: 0.34.5(@types/[email protected])([email protected])
+ why-is-node-running: 2.2.2
+ transitivePeerDependencies:
+ - less
+ - lightningcss
+ - sass
+ - stylus
+ - sugarss
+ - supports-color
+ - terser
dev: true
- resolution: {integrity: sha512-zht+KASY3usTY5u2LgaNqn/Cd8MukxLGjdcZxT2ns5QzDmTFc4XoWBgC+C/na+sMRZTuVygQoMYwdcVjHnYIVw==}
- engines: {node: '>=10.0.0'}
+ resolution: {integrity: sha512-CPI68mmnr2DThSB3frSuE5RLm9wo5wU4fbDrDwWQQB1CWgq9jQVoQwnQSzYAjdoBOPoH2UtXpOgHVge/uScfZg==}
+ engines: {node: '>=v14.18.0'}
hasBin: true
+ peerDependencies:
+ '@edge-runtime/vm': '*'
+ '@vitest/browser': '*'
+ '@vitest/ui': '*'
+ happy-dom: '*'
+ jsdom: '*'
+ playwright: '*'
+ safaridriver: '*'
+ webdriverio: '*'
+ peerDependenciesMeta:
+ '@edge-runtime/vm':
+ optional: true
+ '@vitest/browser':
+ optional: true
+ '@vitest/ui':
+ optional: true
+ happy-dom:
+ optional: true
+ jsdom:
+ optional: true
+ playwright:
+ optional: true
+ safaridriver:
+ optional: true
+ webdriverio:
+ optional: true
dependencies:
- axios: 0.25.0
- joi: 17.10.1
- lodash: 4.17.21
- minimist: 1.2.8
- rxjs: 7.8.1
+ '@types/chai': 4.3.6
+ '@types/chai-subset': 1.3.3
+ '@types/node': 18.14.0
+ '@vitest/expect': 0.34.5
+ '@vitest/runner': 0.34.5
+ '@vitest/snapshot': 0.34.5
+ '@vitest/spy': 0.34.5
+ '@vitest/utils': 0.34.5
+ acorn: 8.10.0
+ acorn-walk: 8.2.0
+ cac: 6.7.14
+ chai: 4.3.8
+ debug: 4.3.4
+ happy-dom: 12.1.6
+ local-pkg: 0.4.3
+ magic-string: 0.30.3
+ pathe: 1.1.1
+ picocolors: 1.0.0
+ std-env: 3.4.3
+ strip-literal: 1.3.0
+ tinybench: 2.5.1
+ tinypool: 0.7.0
+ vite: 4.4.9(@types/[email protected])([email protected])
+ vite-node: 0.34.5(@types/[email protected])([email protected])
+ why-is-node-running: 2.2.2
transitivePeerDependencies:
- - debug
+ - less
+ - lightningcss
+ - sass
+ - stylus
+ - sugarss
+ - supports-color
+ - terser
dev: true
@@ -13442,14 +12117,6 @@ packages:
engines: {node: '>=12'}
dev: true
- resolution: {integrity: sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==}
- engines: {node: '>=12'}
- dependencies:
- tr46: 3.0.0
- webidl-conversions: 7.0.0
- dev: true
-
resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}
dependencies:
@@ -13514,6 +12181,15 @@ packages:
isexe: 2.0.0
dev: true
+ resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==}
+ engines: {node: '>=8'}
+ hasBin: true
+ dependencies:
+ siginfo: 2.0.0
+ stackback: 0.0.2
+ dev: true
+
resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==}
dev: true
@@ -13592,15 +12268,6 @@ packages:
optional: true
dev: true
- resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==}
- engines: {node: '>=12'}
- dev: true
-
- resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==}
- dev: true
-
resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==}
engines: {node: '>=0.4'}
@@ -13709,3 +12376,8 @@ packages:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
dev: true
+
+ resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==}
+ engines: {node: '>=12.20'}
+ dev: true
diff --git a/scripts/postinstall.mjs b/scripts/postinstall.mjs
deleted file mode 100644
index 2e9cd38408..0000000000
--- a/scripts/postinstall.mjs
+++ /dev/null
@@ -1,7 +0,0 @@
-import { copyFileSync } from './utils.mjs';
-
-// The names of modules such as Selection and Range conflict with lib.dom.d.ts. api-extractor will parse to get Selection_2 and Range_2. This problem has not been fixed in api-extractor in version 7.25.0. Refer to https://github.com/microsoft/rushstack/pull/2608 for local patching to fix this issue. In addition, pnpm is not compatible with patch-package, so use node script to solve
-copyFileSync(
- './patches/ApiModelGenerator.js',
- './node_modules/@microsoft/api-extractor/lib/generators/ApiModelGenerator.js'
-);
diff --git a/scripts/utils.mjs b/scripts/utils.mjs
deleted file mode 100644
index 869d4f1ab4..0000000000
--- a/scripts/utils.mjs
+++ /dev/null
@@ -1,55 +0,0 @@
-// Reference https://github.com/vuejs/vue-next/blob/master/scripts/utils.js
-
-import fs from 'node:fs';
-import os from 'node:os';
-import path from 'node:path';
-
-export const targets = fs.readdirSync('packages').filter((f) => {
- try {
- if (!fs.statSync(`packages/${f}`).isDirectory()) {
- return false;
- }
- // eslint-disable-next-line import/no-dynamic-require, global-require
- const pkg = require(`../packages/${f}/package.json`);
- if (pkg.private && !pkg.buildOptions) {
- return false;
- }
- return true;
- } catch (error) {
- return false;
- }
-});
-
-export function osType() {
- if (os.type() === 'Windows_NT') {
- //windows
- return 'windows';
- }
- if (os.type() === 'Darwin') {
- //mac
- return 'mac';
- }
- if (os.type() === 'Linux') {
- //Linux
- return 'linux';
- }
- //Prompt not supported
- return '';
-}
-
-export function copyFileSync(source, target) {
- let targetFile = target;
-
- // If target is a directory, a new file with the same name will be created
- if (fs.existsSync(target)) {
- if (fs.lstatSync(target).isDirectory()) {
- targetFile = path.join(target, path.basename(source));
- }
- }
-
- fs.writeFileSync(targetFile, fs.readFileSync(source));
-}
-
-export function covertToPascalCase(str) {
- return str.replace(/\b\w/g, (match) => match.toUpperCase()).replace(/-/g, '');
-}
diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json
index 326f0f68e2..927ca76469 100644
--- a/tsconfig.eslint.json
+++ b/tsconfig.eslint.json
@@ -6,6 +6,7 @@
"packages/**/*",
"examples/**/*",
"scripts/**/*",
- ".eslintrc.cjs"
+ ".eslintrc.cjs",
+ "./vitest.workspace.ts"
],
}
\ No newline at end of file
diff --git a/tsconfig.json b/tsconfig.json
index 3a3c221c86..750c595409 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -17,7 +17,7 @@
"noImplicitOverride": true,
"allowJs": true,
"skipLibCheck": true,
- "types": ["jest", "node", "@types/jest", "esbuild-style-plugin"]
+ "types": ["node", "esbuild-style-plugin"]
},
"include": ["packages/*/src", "examples/*/src"]
}
diff --git a/turbo.json b/turbo.json
index 8638f7d2bd..de3823c03d 100644
--- a/turbo.json
+++ b/turbo.json
@@ -1,7 +1,7 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
- "jest": {
+ "test": {
},
"esbuild": {
},
diff --git a/vitest.workspace.ts b/vitest.workspace.ts
new file mode 100644
index 0000000000..443074dd6b
--- /dev/null
+++ b/vitest.workspace.ts
@@ -0,0 +1 @@
+export default ['packages/*', 'examples/**'];