diff --git a/bin/ops/configurator-migrate.sh b/bin/ops/configurator-migrate.sh index 90f185313..8a6624fd4 100755 --- a/bin/ops/configurator-migrate.sh +++ b/bin/ops/configurator-migrate.sh @@ -19,10 +19,16 @@ if [ -z "$2" ]; then exit 1 fi +if [ -z "$3" ]; then + echo "Missing HELM release." + echo_usage + exit 1 +fi + NS="${1}" MIGRATION_NAME="${2}" RELEASE_NAME=phrasea -RELEASE_VERSION=1.0.0-rc1 +RELEASE_VERSION="${3}" echo "Migrating..." @@ -31,6 +37,6 @@ helm -n ${NS} get values ${RELEASE_NAME} -o yaml > /tmp/.current-values.yaml helm pull https://github.com/alchemy-fr/alchemy-helm-charts-repo/releases/download/phrasea-${RELEASE_VERSION}/phrasea-${RELEASE_VERSION}.tgz echo "Executing migrations..." -helm -n ${NS} upgrade ${RELEASE_NAME} ./phrasea-1.0.0-rc1.tgz \ +helm -n ${NS} upgrade ${RELEASE_NAME} ./phrasea-${RELEASE_VERSION}.tgz \ -f /tmp/.current-values.yaml \ --set "configurator.executeMigration=${MIGRATION_NAME}" diff --git a/databox/indexer/loader.js b/databox/indexer/loader.js deleted file mode 100644 index 3b6af8593..000000000 --- a/databox/indexer/loader.js +++ /dev/null @@ -1,5 +0,0 @@ -import {isBuiltin} from 'node:module' - -// noinspection JSUnusedGlobalSymbols -export const resolve = (specifier, context, nextResolve) => // This function can be `async` too - nextResolve(isBuiltin(specifier) || specifier.endsWith('.js') ? specifier : `${specifier}.js`, context) diff --git a/databox/indexer/nodemon.json b/databox/indexer/nodemon.json index 521f60ae7..0d20fec92 100644 --- a/databox/indexer/nodemon.json +++ b/databox/indexer/nodemon.json @@ -3,7 +3,7 @@ "watch": ["src"], "ext": ".ts,.js", "ignore": [], - "exec": "ts-node --files ./src/index.ts", + "exec": "vite build && node ./dist/index.mjs", "env": { "NODE_ENV": "development" } diff --git a/databox/indexer/package.json b/databox/indexer/package.json index 70729cb74..bfc28097b 100644 --- a/databox/indexer/package.json +++ b/databox/indexer/package.json @@ -2,15 +2,12 @@ "name": "@phrasea/databox-indexer", "version": "1.0.0", "description": "Consumes S3 events from AMQP and synchronize Databox", - "type": "module", - "main": "dist/index.js", + "main": "dist/index.mjs", "license": "MIT", "scripts": { - "start": "node --enable-source-maps dist/index.js", - "console": "node dist/console.js", - "console:dev": "ts-node --files ./src/console.ts", - "build": "rimraf ./dist && tsc", - "start:dev": "nodemon", + "console": "node dist/index.mjs", + "dev": "nodemon", + "build": "rimraf ./dist && vite build", "test": "jest", "sync-databox-types": "generate-api-platform-client --generator typescript http://databox-api src/", "format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json|cjs|tsx|jsx)\"", @@ -31,17 +28,18 @@ "winston": "^3.11.0" }, "devDependencies": { - "@typescript-eslint/eslint-plugin": "^6.10.0", - "@typescript-eslint/parser": "^6.10.0", "@api-platform/create-client": "^0.10.0", "@types/amqplib": "^0.10.4", "@types/express": "^4.17.13", "@types/minio": "^7.1.1", "@types/node": "^18.8.5", + "@typescript-eslint/eslint-plugin": "^6.10.0", + "@typescript-eslint/parser": "^6.10.0", "nodemon": "^3.0.2", "rimraf": "^5.0.5", - "ts-jest": "^29.1.1", "ts-node": "^10.9.1", - "typescript": "^5.3.2" + "typescript": "^5.3.2", + "vite": "^5.0.7", + "vite-plugin-node": "^3.1.0" } } diff --git a/databox/indexer/src/configLoader.ts b/databox/indexer/src/configLoader.ts index f598a0707..6aa856409 100644 --- a/databox/indexer/src/configLoader.ts +++ b/databox/indexer/src/configLoader.ts @@ -1,10 +1,10 @@ import {Config} from "./types/config"; import {getEnv} from "./env"; - -const fs = require('fs'); +import * as process from "process"; +import * as fs from "fs"; function loadConfig(): object { - return JSON.parse(fs.readFileSync(__dirname + '/../config/config.json').toString()); + return JSON.parse(fs.readFileSync(process.cwd()+ '/config/config.json').toString()); } function replaceEnv(str: string): string | boolean | number | undefined { diff --git a/databox/indexer/tsconfig.json b/databox/indexer/tsconfig.json deleted file mode 100644 index 29cdcf91d..000000000 --- a/databox/indexer/tsconfig.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2020", - "useDefineForClassFields": true, - "lib": ["ES6", "DOM"], - "module": "ES2015", - "skipLibCheck": true, - - /* Bundler mode */ - "moduleResolution": "bundler", - "resolveJsonModule": true, - "isolatedModules": true, - "esModuleInterop": true, - - /* Linting */ - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true, - "allowJs": true, - "noImplicitAny": false, - - "sourceMap": true, - "sourceRoot": ".", - "rootDir": "src", - "outDir": "dist", - }, - "include": ["src"] -} diff --git a/databox/indexer/vite.config.ts b/databox/indexer/vite.config.ts new file mode 100644 index 000000000..59b1bd645 --- /dev/null +++ b/databox/indexer/vite.config.ts @@ -0,0 +1,55 @@ +import { defineConfig } from 'vite'; +import { VitePluginNode } from 'vite-plugin-node'; + +export default defineConfig({ + plugins: [ + ...VitePluginNode({ + appPath: './src/index.ts', + + // Optional, default: 'viteNodeApp' + // the name of named export of you app from the appPath file + exportName: 'databoxIndexer', + + // Optional, default: false + // if you want to init your app on boot, set this to true + initAppOnBoot: false, + + // Optional, default: 'esbuild' + // The TypeScript compiler you want to use + // by default this plugin is using vite default ts compiler which is esbuild + // 'swc' compiler is supported to use as well for frameworks + // like Nestjs (esbuild dont support 'emitDecoratorMetadata' yet) + // you need to INSTALL `@swc/core` as dev dependency if you want to use swc + tsCompiler: 'esbuild', + + // Optional, default: { + // jsc: { + // target: 'es2019', + // parser: { + // syntax: 'typescript', + // decorators: true + // }, + // transform: { + // legacyDecorator: true, + // decoratorMetadata: true + // } + // } + // } + // swc configs, see [swc doc](https://swc.rs/docs/configuration/swcrc) + swcOptions: {} + }), + ], + optimizeDeps: { + // Vite does not work well with optionnal dependencies, + // you can mark them as ignored for now + // eg: for nestjs, exlude these optional dependencies: + // exclude: [ + // '@nestjs/microservices', + // '@nestjs/websockets', + // 'cache-manager', + // 'class-transformer', + // 'class-validator', + // 'fastify-swagger', + // ], + }, +}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b6d47c5b3..29452dc3b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -292,6 +292,40 @@ importers: '@types/minio': specifier: ^7.1.1 version: 7.1.1 + '@types/node': + specifier: ^18.8.5 + version: 18.18.13 + '@typescript-eslint/eslint-plugin': + specifier: ^6.10.0 + version: 6.12.0(@typescript-eslint/parser@6.12.0)(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/parser': + specifier: ^6.10.0 + version: 6.12.0(eslint@8.54.0)(typescript@5.3.2) + nodemon: + specifier: ^3.0.2 + version: 3.0.2 + rimraf: + specifier: ^5.0.5 + version: 5.0.5 + ts-node: + specifier: ^10.9.1 + version: 10.9.1(@types/node@18.18.13)(typescript@5.3.2) + typescript: + specifier: ^5.3.2 + version: 5.3.2 + vite: + specifier: ^5.0.7 + version: 5.0.7(@types/node@18.18.13) + vite-plugin-node: + specifier: ^3.1.0 + version: 3.1.0(vite@5.0.7) + + databox/indexer-test: + dependencies: + '@alchemy/api': + specifier: workspace:* + version: link:../../lib/js/api + devDependencies: '@types/node': specifier: ^18.8.5 version: 18.18.13 @@ -316,6 +350,12 @@ importers: typescript: specifier: ^5.3.2 version: 5.3.2 + vite: + specifier: ^5.0.7 + version: 5.0.7(@types/node@18.18.13) + vite-plugin-node: + specifier: ^3.1.0 + version: 3.1.0(vite@5.0.7) expose/client: dependencies: @@ -977,7 +1017,7 @@ packages: engines: {node: '>=0.8'} dependencies: buffer-more-ints: 1.0.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) safe-buffer: 5.1.2 transitivePeerDependencies: - supports-color @@ -1104,7 +1144,7 @@ packages: '@babel/traverse': 7.23.4 '@babel/types': 7.23.4 convert-source-map: 1.9.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) gensync: 1.0.0-beta.2 json5: 2.2.3 lodash: 4.17.21 @@ -1130,7 +1170,7 @@ packages: '@babel/traverse': 7.23.4 '@babel/types': 7.23.4 convert-source-map: 2.0.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -1149,7 +1189,7 @@ packages: '@babel/traverse': 7.23.4 '@babel/types': 7.23.4 convert-source-map: 1.9.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) json5: 2.2.3 lodash: 4.17.21 resolve: 1.12.0 @@ -1172,7 +1212,7 @@ packages: '@babel/traverse': 7.23.4 '@babel/types': 7.23.4 convert-source-map: 1.9.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) gensync: 1.0.0-beta.2 json5: 2.2.3 lodash: 4.17.21 @@ -1324,7 +1364,7 @@ packages: '@babel/core': 7.23.3 '@babel/helper-compilation-targets': 7.22.15 '@babel/helper-plugin-utils': 7.22.5 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) lodash.debounce: 4.0.8 resolve: 1.22.8 transitivePeerDependencies: @@ -1338,7 +1378,7 @@ packages: '@babel/core': 7.6.0 '@babel/helper-compilation-targets': 7.22.15 '@babel/helper-plugin-utils': 7.22.5 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) lodash.debounce: 4.0.8 resolve: 1.22.8 transitivePeerDependencies: @@ -4552,7 +4592,7 @@ packages: '@babel/helper-split-export-declaration': 7.22.6 '@babel/parser': 7.23.4 '@babel/types': 7.23.4 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -5467,7 +5507,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) espree: 9.6.1 globals: 13.23.0 ignore: 5.3.0 @@ -5556,7 +5596,7 @@ packages: engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 2.0.1 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -8097,6 +8137,14 @@ packages: rollup: 2.79.1 dev: false + /@rollup/pluginutils@4.2.1: + resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} + engines: {node: '>= 8.0.0'} + dependencies: + estree-walker: 2.0.2 + picomatch: 2.3.1 + dev: true + /@rollup/pluginutils@5.0.5(rollup@1.32.1): resolution: {integrity: sha512-6aEYR910NyP73oHiJglti74iRyOwgFU4x3meH/H8OJx6Ry0j6cOVZ5X/wTvub7G7Ao6qaHBEaNsV3GLJkSsF+Q==} engines: {node: '>=14.0.0'} @@ -8275,7 +8323,7 @@ packages: conventional-changelog-angular: 5.0.13 conventional-commits-filter: 2.0.7 conventional-commits-parser: 3.2.4 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) import-from: 3.0.0 lodash: 4.17.21 semantic-release: 15.14.0(@octokit/core@5.0.2) @@ -8297,7 +8345,7 @@ packages: '@semantic-release/error': 2.2.0 aggregate-error: 3.1.0 bottleneck: 2.19.5 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) dir-glob: 3.0.1 fs-extra: 8.1.0 globby: 10.0.2 @@ -8347,7 +8395,7 @@ packages: conventional-changelog-writer: 4.1.0 conventional-commits-filter: 2.0.7 conventional-commits-parser: 3.2.4 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) get-stream: 5.2.0 import-from: 3.0.0 into-stream: 5.1.1 @@ -10862,7 +10910,7 @@ packages: '@typescript-eslint/experimental-utils': 4.33.0(eslint@8.54.0)(typescript@5.3.2) '@typescript-eslint/parser': 4.33.0(eslint@8.54.0)(typescript@5.3.2) '@typescript-eslint/scope-manager': 4.33.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) eslint: 8.54.0 functional-red-black-tree: 1.0.1 ignore: 5.3.0 @@ -10890,7 +10938,7 @@ packages: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/type-utils': 5.62.0(eslint@8.54.0)(typescript@5.3.2) '@typescript-eslint/utils': 5.62.0(eslint@8.54.0)(typescript@5.3.2) - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) eslint: 8.54.0 graphemer: 1.4.0 ignore: 5.3.0 @@ -10919,7 +10967,7 @@ packages: '@typescript-eslint/type-utils': 6.12.0(eslint@8.54.0)(typescript@5.3.2) '@typescript-eslint/utils': 6.12.0(eslint@8.54.0)(typescript@5.3.2) '@typescript-eslint/visitor-keys': 6.12.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) eslint: 8.54.0 graphemer: 1.4.0 ignore: 5.3.0 @@ -11028,7 +11076,7 @@ packages: '@typescript-eslint/scope-manager': 4.33.0 '@typescript-eslint/types': 4.33.0 '@typescript-eslint/typescript-estree': 4.33.0(typescript@5.3.2) - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) eslint: 8.54.0 typescript: 5.3.2 transitivePeerDependencies: @@ -11048,7 +11096,7 @@ packages: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.2) - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) eslint: 8.54.0 typescript: 5.3.2 transitivePeerDependencies: @@ -11069,7 +11117,7 @@ packages: '@typescript-eslint/types': 6.12.0 '@typescript-eslint/typescript-estree': 6.12.0(typescript@5.3.2) '@typescript-eslint/visitor-keys': 6.12.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) eslint: 8.54.0 typescript: 5.3.2 transitivePeerDependencies: @@ -11110,7 +11158,7 @@ packages: dependencies: '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.2) '@typescript-eslint/utils': 5.62.0(eslint@8.54.0)(typescript@5.3.2) - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) eslint: 8.54.0 tsutils: 3.21.0(typescript@5.3.2) typescript: 5.3.2 @@ -11130,7 +11178,7 @@ packages: dependencies: '@typescript-eslint/typescript-estree': 6.12.0(typescript@5.3.2) '@typescript-eslint/utils': 6.12.0(eslint@8.54.0)(typescript@5.3.2) - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) eslint: 8.54.0 ts-api-utils: 1.0.3(typescript@5.3.2) typescript: 5.3.2 @@ -11166,7 +11214,7 @@ packages: typescript: optional: true dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) eslint-visitor-keys: 1.3.0 glob: 7.2.3 is-glob: 4.0.3 @@ -11189,7 +11237,7 @@ packages: dependencies: '@typescript-eslint/types': 3.10.1 '@typescript-eslint/visitor-keys': 3.10.1 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) glob: 7.2.3 is-glob: 4.0.3 lodash: 4.17.21 @@ -11211,7 +11259,7 @@ packages: dependencies: '@typescript-eslint/types': 4.33.0 '@typescript-eslint/visitor-keys': 4.33.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 @@ -11232,7 +11280,7 @@ packages: dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 @@ -11253,7 +11301,7 @@ packages: dependencies: '@typescript-eslint/types': 6.12.0 '@typescript-eslint/visitor-keys': 6.12.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 @@ -12189,7 +12237,7 @@ packages: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) transitivePeerDependencies: - supports-color dev: false @@ -12198,7 +12246,7 @@ packages: resolution: {integrity: sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==} engines: {node: '>= 14'} dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) transitivePeerDependencies: - supports-color dev: true @@ -16068,6 +16116,7 @@ packages: dependencies: ms: 2.1.2 supports-color: 5.5.0 + dev: true /debug@4.3.4(supports-color@6.1.0): resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} @@ -16422,7 +16471,7 @@ packages: hasBin: true dependencies: address: 1.2.2 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) transitivePeerDependencies: - supports-color dev: true @@ -17071,7 +17120,7 @@ packages: peerDependencies: esbuild: '>=0.12 <1' dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) esbuild: 0.18.20 transitivePeerDependencies: - supports-color @@ -17813,7 +17862,7 @@ packages: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.2 @@ -20146,7 +20195,7 @@ packages: engines: {node: '>= 6'} dependencies: agent-base: 5.1.1 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) transitivePeerDependencies: - supports-color dev: true @@ -20157,7 +20206,7 @@ packages: dependencies: '@tootallnate/once': 1.1.2 agent-base: 6.0.2 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) transitivePeerDependencies: - supports-color dev: false @@ -20168,7 +20217,7 @@ packages: dependencies: '@tootallnate/once': 2.0.0 agent-base: 6.0.2 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) transitivePeerDependencies: - supports-color dev: false @@ -20246,7 +20295,7 @@ packages: engines: {node: '>= 6.0.0'} dependencies: agent-base: 5.1.1 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) transitivePeerDependencies: - supports-color dev: true @@ -20256,7 +20305,7 @@ packages: engines: {node: '>= 6'} dependencies: agent-base: 6.0.2 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) transitivePeerDependencies: - supports-color dev: false @@ -20266,7 +20315,7 @@ packages: engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) transitivePeerDependencies: - supports-color dev: true @@ -21480,7 +21529,7 @@ packages: resolution: {integrity: sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw==} engines: {node: '>=6'} dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) istanbul-lib-coverage: 2.0.5 make-dir: 2.1.0 rimraf: 2.7.1 @@ -21493,7 +21542,7 @@ packages: resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} engines: {node: '>=10'} dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) istanbul-lib-coverage: 3.2.2 source-map: 0.6.1 transitivePeerDependencies: @@ -28425,6 +28474,15 @@ packages: picocolors: 1.0.0 source-map-js: 1.0.2 + /postcss@8.4.32: + resolution: {integrity: sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.0 + source-map-js: 1.0.2 + dev: true + /potpack@1.0.2: resolution: {integrity: sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==} dev: false @@ -28706,7 +28764,7 @@ packages: engines: {node: '>=8.16.0'} dependencies: '@types/mime-types': 2.1.4 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) extract-zip: 1.7.0 https-proxy-agent: 4.0.0 mime: 2.6.0 @@ -31453,7 +31511,7 @@ packages: '@semantic-release/release-notes-generator': 7.3.5(semantic-release@15.14.0) aggregate-error: 3.1.0 cosmiconfig: 6.0.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) env-ci: 4.5.2 execa: 3.4.0 figures: 3.2.0 @@ -31695,7 +31753,7 @@ packages: engines: {node: '>=0.11.0'} hasBin: true dependencies: - glob: 7.1.3 + glob: 7.2.3 interpret: 1.4.0 rechoir: 0.6.2 dev: true @@ -31756,7 +31814,7 @@ packages: /simple-git@1.132.0: resolution: {integrity: sha512-xauHm1YqCTom1sC9eOjfq3/9RKiUA9iPnxBbrY2DdL8l4ADMu0jjM5l5lphQP5YWNqAL2aXC/OeuQ76vHtW5fg==} dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) transitivePeerDependencies: - supports-color dev: true @@ -32038,19 +32096,6 @@ packages: /spdx-license-ids@3.0.16: resolution: {integrity: sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==} - /spdy-transport@3.0.0: - resolution: {integrity: sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==} - dependencies: - debug: 4.3.4(supports-color@5.5.0) - detect-node: 2.1.0 - hpack.js: 2.1.6 - obuf: 1.1.2 - readable-stream: 3.6.2 - wbuf: 1.7.3 - transitivePeerDependencies: - - supports-color - dev: false - /spdy-transport@3.0.0(supports-color@6.1.0): resolution: {integrity: sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==} dependencies: @@ -32064,19 +32109,6 @@ packages: - supports-color dev: false - /spdy@4.0.2: - resolution: {integrity: sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==} - engines: {node: '>=6.0.0'} - dependencies: - debug: 4.3.4(supports-color@5.5.0) - handle-thing: 2.0.1 - http-deceiver: 1.2.7 - select-hose: 2.0.0 - spdy-transport: 3.0.0 - transitivePeerDependencies: - - supports-color - dev: false - /spdy@4.0.2(supports-color@6.1.0): resolution: {integrity: sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==} engines: {node: '>=6.0.0'} @@ -34486,7 +34518,7 @@ packages: '@microsoft/api-extractor': 7.38.3(@types/node@18.18.13) '@rollup/pluginutils': 5.0.5(rollup@1.32.1) '@vue/language-core': 1.8.22(typescript@5.3.2) - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.4(supports-color@6.1.0) kolorist: 1.8.0 typescript: 5.3.2 vite: 5.0.2(@types/node@18.18.13)(sass@1.69.5) @@ -34497,6 +34529,23 @@ packages: - supports-color dev: true + /vite-plugin-node@3.1.0(vite@5.0.7): + resolution: {integrity: sha512-LN9byKedZaokEWcH+DTdeV7YLN34dWH7Em2ldHZ77oVGvC/uxHnK43AGPrV9+9CoOh1x9X3Yc55vW/OQYssFDQ==} + peerDependencies: + '@swc/core': ^1.2.153 + vite: ^4.0.0 + peerDependenciesMeta: + '@swc/core': + optional: true + dependencies: + '@rollup/pluginutils': 4.2.1 + chalk: 4.1.2 + debug: 4.3.4(supports-color@6.1.0) + vite: 5.0.7(@types/node@18.18.13) + transitivePeerDependencies: + - supports-color + dev: true + /vite-plugin-svgr@4.2.0(rollup@1.32.1)(typescript@5.3.2)(vite@5.0.2): resolution: {integrity: sha512-SC7+FfVtNQk7So0XMjrrtLAbEC8qjFPifyD7+fs/E6aaNdVde6umlVVh0QuwDLdOMu7vp5RiGFsB70nj5yo0XA==} peerDependencies: @@ -34562,6 +34611,42 @@ packages: optionalDependencies: fsevents: 2.3.3 + /vite@5.0.7(@types/node@18.18.13): + resolution: {integrity: sha512-B4T4rJCDPihrQo2B+h1MbeGL/k/GMAHzhQ8S0LjQ142s6/+l3hHTT095ORvsshj4QCkoWu3Xtmob5mazvakaOw==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + '@types/node': 18.18.13 + esbuild: 0.19.8 + postcss: 8.4.32 + rollup: 4.6.0 + optionalDependencies: + fsevents: 2.3.3 + dev: true + /vm-browserify@1.1.2: resolution: {integrity: sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==} dev: false @@ -34944,7 +35029,7 @@ packages: selfsigned: 2.4.1 serve-index: 1.9.1(supports-color@6.1.0) sockjs: 0.3.24 - spdy: 4.0.2 + spdy: 4.0.2(supports-color@6.1.0) webpack: 5.89.0 webpack-dev-middleware: 5.3.3(webpack@5.89.0) ws: 8.14.2