From b8bd8467444977453d9b02a608cd9693174c1a79 Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 30 Dec 2024 22:00:03 +0700 Subject: [PATCH] chore: refactor extensions build script for optimization --- .../jan-electron-linter-and-test.yml | 4 + extensions/assistant-extension/package.json | 18 +- .../assistant-extension/rolldown.config.mjs | 31 + .../assistant-extension/rollup.config.ts | 73 - .../assistant-extension/src/node/index.ts | 2 +- extensions/assistant-extension/tsconfig.json | 8 +- .../conversational-extension/package.json | 7 +- .../rolldown.config.mjs | 14 + .../src/@types/global.d.ts | 21 +- .../webpack.config.js | 34 - .../engine-management-extension/package.json | 5 +- .../rolldown.config.mjs | 23 +- .../src/@types/global.d.ts | 25 +- .../package.json | 15 +- .../rolldown.config.mjs | 18 + .../src/env.d.ts | 2 + .../src/index.ts | 5 +- .../webpack.config.js | 37 - .../inference-cohere-extension/package.json | 10 +- .../rolldown.config.mjs | 18 + .../inference-cohere-extension/src/env.d.ts | 2 + .../inference-cohere-extension/src/index.ts | 3 - .../webpack.config.js | 37 - .../inference-cortex-extension/package.json | 12 +- .../rolldown.config.mjs | 131 ++ .../rollup.config.ts | 177 -- .../src/@types/global.d.ts | 23 +- .../src/babel.config.js | 6 - .../inference-cortex-extension/tsconfig.json | 6 +- .../inference-groq-extension/package.json | 12 +- .../rolldown.config.mjs | 18 + .../inference-groq-extension/src/env.d.ts | 2 + .../inference-groq-extension/src/index.ts | 5 +- .../webpack.config.js | 37 - .../inference-martian-extension/package.json | 11 +- .../rolldown.config.mjs | 18 + .../inference-martian-extension/src/env.d.ts | 2 + .../inference-martian-extension/src/index.ts | 5 +- .../webpack.config.js | 37 - .../inference-mistral-extension/package.json | 12 +- .../rolldown.config.mjs | 18 + .../inference-mistral-extension/src/env.d.ts | 2 + .../inference-mistral-extension/src/index.ts | 3 - .../webpack.config.js | 42 - .../inference-nvidia-extension/package.json | 12 +- .../rolldown.config.mjs | 18 + .../inference-nvidia-extension/src/env.d.ts | 2 + .../inference-nvidia-extension/src/index.ts | 3 - .../webpack.config.js | 42 - .../inference-openai-extension/package.json | 11 +- .../rolldown.config.mjs | 18 + .../inference-openai-extension/src/env.d.ts | 2 + .../inference-openai-extension/src/index.ts | 3 - .../webpack.config.js | 37 - .../package.json | 14 +- .../rolldown.config.mjs | 18 + .../src/env.d.ts | 2 + .../src/index.ts | 3 - .../webpack.config.js | 37 - .../package.json | 13 +- .../rolldown.config.mjs | 16 + .../src/env.d.ts | 1 + .../src/index.ts | 3 +- .../webpack.config.js | 35 - extensions/model-extension/package.json | 14 +- .../model-extension/rolldown.config.mjs | 16 + extensions/model-extension/rollup.config.ts | 48 - .../model-extension/src/@types/global.d.ts | 24 +- extensions/model-extension/src/index.ts | 2 - extensions/monitoring-extension/package.json | 11 +- .../monitoring-extension/rolldown.config.mjs | 32 + .../monitoring-extension/rollup.config.ts | 71 - .../src/@types/global.d.ts | 1 + extensions/monitoring-extension/src/index.ts | 2 - .../tensorrt-llm-extension/package.json | 11 +- .../rolldown.config.mjs | 59 + .../tensorrt-llm-extension/rollup.config.ts | 79 - extensions/yarn.lock | 1464 ++--------------- 78 files changed, 747 insertions(+), 2368 deletions(-) create mode 100644 extensions/assistant-extension/rolldown.config.mjs delete mode 100644 extensions/assistant-extension/rollup.config.ts create mode 100644 extensions/conversational-extension/rolldown.config.mjs delete mode 100644 extensions/conversational-extension/webpack.config.js create mode 100644 extensions/inference-anthropic-extension/rolldown.config.mjs create mode 100644 extensions/inference-anthropic-extension/src/env.d.ts delete mode 100644 extensions/inference-anthropic-extension/webpack.config.js create mode 100644 extensions/inference-cohere-extension/rolldown.config.mjs create mode 100644 extensions/inference-cohere-extension/src/env.d.ts delete mode 100644 extensions/inference-cohere-extension/webpack.config.js create mode 100644 extensions/inference-cortex-extension/rolldown.config.mjs delete mode 100644 extensions/inference-cortex-extension/rollup.config.ts delete mode 100644 extensions/inference-cortex-extension/src/babel.config.js create mode 100644 extensions/inference-groq-extension/rolldown.config.mjs create mode 100644 extensions/inference-groq-extension/src/env.d.ts delete mode 100644 extensions/inference-groq-extension/webpack.config.js create mode 100644 extensions/inference-martian-extension/rolldown.config.mjs create mode 100644 extensions/inference-martian-extension/src/env.d.ts delete mode 100644 extensions/inference-martian-extension/webpack.config.js create mode 100644 extensions/inference-mistral-extension/rolldown.config.mjs create mode 100644 extensions/inference-mistral-extension/src/env.d.ts delete mode 100644 extensions/inference-mistral-extension/webpack.config.js create mode 100644 extensions/inference-nvidia-extension/rolldown.config.mjs create mode 100644 extensions/inference-nvidia-extension/src/env.d.ts delete mode 100644 extensions/inference-nvidia-extension/webpack.config.js create mode 100644 extensions/inference-openai-extension/rolldown.config.mjs create mode 100644 extensions/inference-openai-extension/src/env.d.ts delete mode 100644 extensions/inference-openai-extension/webpack.config.js create mode 100644 extensions/inference-openrouter-extension/rolldown.config.mjs create mode 100644 extensions/inference-openrouter-extension/src/env.d.ts delete mode 100644 extensions/inference-openrouter-extension/webpack.config.js create mode 100644 extensions/inference-triton-trtllm-extension/rolldown.config.mjs create mode 100644 extensions/inference-triton-trtllm-extension/src/env.d.ts delete mode 100644 extensions/inference-triton-trtllm-extension/webpack.config.js create mode 100644 extensions/model-extension/rolldown.config.mjs delete mode 100644 extensions/model-extension/rollup.config.ts create mode 100644 extensions/monitoring-extension/rolldown.config.mjs delete mode 100644 extensions/monitoring-extension/rollup.config.ts create mode 100644 extensions/tensorrt-llm-extension/rolldown.config.mjs delete mode 100644 extensions/tensorrt-llm-extension/rollup.config.ts diff --git a/.github/workflows/jan-electron-linter-and-test.yml b/.github/workflows/jan-electron-linter-and-test.yml index 03d3a25c6a..7e6c9b1573 100644 --- a/.github/workflows/jan-electron-linter-and-test.yml +++ b/.github/workflows/jan-electron-linter-and-test.yml @@ -78,6 +78,10 @@ jobs: with: node-version: 20 + - name: Set IS_TEST environment variable + run: | + echo "IS_TEST=true" >> $GITHUB_ENV + - name: 'Cleanup cache' continue-on-error: true run: | diff --git a/extensions/assistant-extension/package.json b/extensions/assistant-extension/package.json index 6ce1060f8c..d65b789b15 100644 --- a/extensions/assistant-extension/package.json +++ b/extensions/assistant-extension/package.json @@ -1,7 +1,7 @@ { "name": "@janhq/assistant-extension", "productName": "Jan Assistant", - "version": "1.0.1", + "version": "1.0.2", "description": "This extension enables assistants, including Jan, a default assistant that can call all downloaded models", "main": "dist/index.js", "node": "dist/node/index.js", @@ -9,25 +9,19 @@ "license": "AGPL-3.0", "scripts": { "clean:modules": "rimraf node_modules/pdf-parse/test && cd node_modules/pdf-parse/lib/pdf.js && rimraf v1.9.426 v1.10.88 v2.0.550", - "build-universal-hnswlib": "cd node_modules/hnswlib-node && arch -x86_64 npx node-gyp rebuild --arch=x64 && mv build/Release/addon.node ./addon-amd64.node && node-gyp rebuild --arch=arm64 && mv build/Release/addon.node ./addon-arm64.node && lipo -create -output build/Release/addon.node ./addon-arm64.node ./addon-amd64.node && rm ./addon-arm64.node && rm ./addon-amd64.node", - "build": "yarn clean:modules && tsc --module commonjs && rollup -c rollup.config.ts", + "build-universal-hnswlib": "[ \"$IS_TEST\" = \"true\" ] && echo \"Skip universal build\" || (cd node_modules/hnswlib-node && arch -x86_64 npx node-gyp rebuild --arch=x64 && mv build/Release/addon.node ./addon-amd64.node && node-gyp rebuild --arch=arm64 && mv build/Release/addon.node ./addon-arm64.node && lipo -create -output build/Release/addon.node ./addon-arm64.node ./addon-amd64.node && rm ./addon-arm64.node && rm ./addon-amd64.node)", + "build": "yarn clean:modules && rolldown -c rolldown.config.mjs", "build:publish:linux": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install", "build:publish:darwin": "rimraf *.tgz --glob || true && yarn build-universal-hnswlib && yarn build && ../../.github/scripts/auto-sign.sh && npm pack && cpx *.tgz ../../pre-install", "build:publish:win32": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install", - "build:publish": "run-script-os" + "build:publish": "run-script-os", + "build:dev": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install" }, "devDependencies": { - "@rollup/plugin-commonjs": "^25.0.7", - "@rollup/plugin-json": "^6.1.0", - "@rollup/plugin-node-resolve": "^15.2.3", - "@rollup/plugin-replace": "^5.0.5", "@types/pdf-parse": "^1.1.4", "cpx": "^1.5.0", "rimraf": "^3.0.2", - "rollup": "^2.38.5", - "rollup-plugin-define": "^1.0.1", - "rollup-plugin-sourcemaps": "^0.6.3", - "rollup-plugin-typescript2": "^0.36.0", + "rolldown": "1.0.0-beta.1", "run-script-os": "^1.1.6", "typescript": "^5.3.3" }, diff --git a/extensions/assistant-extension/rolldown.config.mjs b/extensions/assistant-extension/rolldown.config.mjs new file mode 100644 index 0000000000..c8fdefd7d6 --- /dev/null +++ b/extensions/assistant-extension/rolldown.config.mjs @@ -0,0 +1,31 @@ +import { defineConfig } from 'rolldown' +import pkgJson from './package.json' with { type: 'json' } + +export default defineConfig([ + { + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + NODE: JSON.stringify(`${pkgJson.name}/${pkgJson.node}`), + VERSION: JSON.stringify(pkgJson.version), + }, + }, + { + input: 'src/node/index.ts', + external: ['@janhq/core/node', 'path', 'hnswlib-node'], + output: { + format: 'cjs', + file: 'dist/node/index.js', + sourcemap: false, + inlineDynamicImports: true, + }, + resolve: { + extensions: ['.js', '.ts'], + }, + platform: 'node', + }, +]) diff --git a/extensions/assistant-extension/rollup.config.ts b/extensions/assistant-extension/rollup.config.ts deleted file mode 100644 index 263f6cc605..0000000000 --- a/extensions/assistant-extension/rollup.config.ts +++ /dev/null @@ -1,73 +0,0 @@ -import resolve from '@rollup/plugin-node-resolve' -import commonjs from '@rollup/plugin-commonjs' -import sourceMaps from 'rollup-plugin-sourcemaps' -import typescript from 'rollup-plugin-typescript2' -import json from '@rollup/plugin-json' -import replace from '@rollup/plugin-replace' - -const packageJson = require('./package.json') - -export default [ - { - input: `src/index.ts`, - output: [{ file: packageJson.main, format: 'es', sourcemap: true }], - // Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash') - external: [], - watch: { - include: 'src/**', - }, - plugins: [ - replace({ - preventAssignment: true, - NODE: JSON.stringify(`${packageJson.name}/${packageJson.node}`), - VERSION: JSON.stringify(packageJson.version), - }), - // Allow json resolution - json(), - // Compile TypeScript files - typescript({ useTsconfigDeclarationDir: true }), - // Compile TypeScript files - // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs) - commonjs(), - // Allow node_modules resolution, so you can use 'external' to control - // which external modules to include in the bundle - // https://github.com/rollup/rollup-plugin-node-resolve#usage - resolve({ - extensions: ['.js', '.ts', '.svelte'], - browser: true, - }), - - // Resolve source maps to the original source - sourceMaps(), - ], - }, - { - input: `src/node/index.ts`, - output: [{ dir: 'dist/node', format: 'cjs', sourcemap: false }], - // Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash') - external: ['@janhq/core/node', 'path', 'hnswlib-node'], - watch: { - include: 'src/node/**', - }, - // inlineDynamicImports: true, - plugins: [ - // Allow json resolution - json(), - // Compile TypeScript files - typescript({ useTsconfigDeclarationDir: true }), - // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs) - commonjs({ - ignoreDynamicRequires: true, - }), - // Allow node_modules resolution, so you can use 'external' to control - // which external modules to include in the bundle - // https://github.com/rollup/rollup-plugin-node-resolve#usage - resolve({ - extensions: ['.ts', '.js', '.json'], - }), - - // Resolve source maps to the original source - // sourceMaps(), - ], - }, -] diff --git a/extensions/assistant-extension/src/node/index.ts b/extensions/assistant-extension/src/node/index.ts index 11e8f49c4f..731890b342 100644 --- a/extensions/assistant-extension/src/node/index.ts +++ b/extensions/assistant-extension/src/node/index.ts @@ -1,4 +1,4 @@ -import { getJanDataFolderPath, normalizeFilePath } from '@janhq/core/node' +import { getJanDataFolderPath } from '@janhq/core/node' import { retrieval } from './retrieval' import path from 'path' diff --git a/extensions/assistant-extension/tsconfig.json b/extensions/assistant-extension/tsconfig.json index 3838d1c42d..7f137d347b 100644 --- a/extensions/assistant-extension/tsconfig.json +++ b/extensions/assistant-extension/tsconfig.json @@ -1,10 +1,10 @@ { "compilerOptions": { "moduleResolution": "node", - "target": "ES2015", - "module": "ES2020", - "lib": ["es2015", "es2016", "es2017", "dom"], - "strict": true, + "target": "es2016", + "module": "ES6", + "esModuleInterop": true, + "strict": false, "sourceMap": true, "declaration": true, "allowSyntheticDefaultImports": true, diff --git a/extensions/conversational-extension/package.json b/extensions/conversational-extension/package.json index fb7e9a0441..dd2283eb04 100644 --- a/extensions/conversational-extension/package.json +++ b/extensions/conversational-extension/package.json @@ -8,7 +8,7 @@ "license": "MIT", "scripts": { "test": "jest", - "build": "tsc -b . && webpack --config webpack.config.js", + "build": "rolldown -c rolldown.config.mjs", "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install" }, "exports": { @@ -18,10 +18,9 @@ "devDependencies": { "cpx": "^1.5.0", "rimraf": "^3.0.2", + "rolldown": "1.0.0-beta.1", "ts-loader": "^9.5.0", - "typescript": "^5.7.2", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4" + "typescript": "^5.7.2" }, "dependencies": { "@janhq/core": "../../core/package.tgz", diff --git a/extensions/conversational-extension/rolldown.config.mjs b/extensions/conversational-extension/rolldown.config.mjs new file mode 100644 index 0000000000..4645021a80 --- /dev/null +++ b/extensions/conversational-extension/rolldown.config.mjs @@ -0,0 +1,14 @@ +import { defineConfig } from 'rolldown' + +export default defineConfig({ + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + API_URL: JSON.stringify('http://127.0.0.1:39291'), + SOCKET_URL: JSON.stringify('ws://127.0.0.1:39291'), + }, +}) diff --git a/extensions/conversational-extension/src/@types/global.d.ts b/extensions/conversational-extension/src/@types/global.d.ts index 757b5eebf3..813a893f4d 100644 --- a/extensions/conversational-extension/src/@types/global.d.ts +++ b/extensions/conversational-extension/src/@types/global.d.ts @@ -1,14 +1,11 @@ -export {} -declare global { - declare const API_URL: string - declare const SOCKET_URL: string +declare const API_URL: string +declare const SOCKET_URL: string - interface Core { - api: APIFunctions - events: EventEmitter - } - interface Window { - core?: Core | undefined - electronAPI?: any | undefined - } +interface Core { + api: APIFunctions + events: EventEmitter +} +interface Window { + core?: Core | undefined + electronAPI?: any | undefined } diff --git a/extensions/conversational-extension/webpack.config.js b/extensions/conversational-extension/webpack.config.js deleted file mode 100644 index 0448af4212..0000000000 --- a/extensions/conversational-extension/webpack.config.js +++ /dev/null @@ -1,34 +0,0 @@ -const webpack = require('webpack') - -module.exports = { - experiments: { outputModule: true }, - entry: './src/index.ts', // Adjust the entry point to match your project's main file - mode: 'production', - module: { - rules: [ - { - test: /\.tsx?$/, - use: 'ts-loader', - exclude: /node_modules/, - }, - ], - }, - output: { - filename: 'index.js', // Adjust the output file name as needed - library: { type: 'module' }, // Specify ESM output format - }, - plugins: [ - new webpack.DefinePlugin({ - API_URL: JSON.stringify('http://127.0.0.1:39291'), - SOCKET_URL: JSON.stringify('ws://127.0.0.1:39291'), - }), - ], - resolve: { - extensions: ['.ts', '.js'], - }, - // Do not minify the output, otherwise it breaks the class registration - optimization: { - minimize: false, - }, - // Add loaders and other configuration as needed for your project -} diff --git a/extensions/engine-management-extension/package.json b/extensions/engine-management-extension/package.json index 529105ea66..2a9da41ecd 100644 --- a/extensions/engine-management-extension/package.json +++ b/extensions/engine-management-extension/package.json @@ -17,14 +17,11 @@ "./main": "./dist/module.js" }, "devDependencies": { - "@rollup/plugin-replace": "^6.0.2", "cpx": "^1.5.0", "rimraf": "^3.0.2", "rolldown": "^1.0.0-beta.1", "ts-loader": "^9.5.0", - "typescript": "^5.3.3", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4" + "typescript": "^5.3.3" }, "dependencies": { "@janhq/core": "../../core/package.tgz", diff --git a/extensions/engine-management-extension/rolldown.config.mjs b/extensions/engine-management-extension/rolldown.config.mjs index edebf5efaf..846739c08c 100644 --- a/extensions/engine-management-extension/rolldown.config.mjs +++ b/extensions/engine-management-extension/rolldown.config.mjs @@ -1,5 +1,4 @@ import { defineConfig } from 'rolldown' -import replace from '@rollup/plugin-replace' import pkgJson from './package.json' with { type: 'json' } export default defineConfig([ @@ -9,14 +8,12 @@ export default defineConfig([ format: 'esm', file: 'dist/index.js', }, - plugins: [ - replace({ - NODE: JSON.stringify(`${pkgJson.name}/${pkgJson.node}`), - API_URL: JSON.stringify('http://127.0.0.1:39291'), - SOCKET_URL: JSON.stringify('ws://127.0.0.1:39291'), - CORTEX_ENGINE_VERSION: JSON.stringify('v0.1.42'), - }), - ], + define: { + NODE: JSON.stringify(`${pkgJson.name}/${pkgJson.node}`), + API_URL: JSON.stringify('http://127.0.0.1:39291'), + SOCKET_URL: JSON.stringify('ws://127.0.0.1:39291'), + CORTEX_ENGINE_VERSION: JSON.stringify('v0.1.42'), + }, }, { input: 'src/node/index.ts', @@ -25,11 +22,9 @@ export default defineConfig([ format: 'cjs', file: 'dist/node/index.cjs.js', }, - plugins: [ - replace({ - CORTEX_ENGINE_VERSION: JSON.stringify('v0.1.42'), - }), - ], + define: { + CORTEX_ENGINE_VERSION: JSON.stringify('v0.1.42'), + }, }, { input: 'src/node/cpuInfo.ts', diff --git a/extensions/engine-management-extension/src/@types/global.d.ts b/extensions/engine-management-extension/src/@types/global.d.ts index a8a5ee4515..8d0a94fef4 100644 --- a/extensions/engine-management-extension/src/@types/global.d.ts +++ b/extensions/engine-management-extension/src/@types/global.d.ts @@ -1,16 +1,13 @@ -export {} -declare global { - declare const API_URL: string - declare const CORTEX_ENGINE_VERSION: string - declare const SOCKET_URL: string - declare const NODE: string +declare const API_URL: string +declare const CORTEX_ENGINE_VERSION: string +declare const SOCKET_URL: string +declare const NODE: string - interface Core { - api: APIFunctions - events: EventEmitter - } - interface Window { - core?: Core | undefined - electronAPI?: any | undefined - } +interface Core { + api: APIFunctions + events: EventEmitter +} +interface Window { + core?: Core | undefined + electronAPI?: any | undefined } diff --git a/extensions/inference-anthropic-extension/package.json b/extensions/inference-anthropic-extension/package.json index cafd020355..cb064d2aaa 100644 --- a/extensions/inference-anthropic-extension/package.json +++ b/extensions/inference-anthropic-extension/package.json @@ -4,27 +4,20 @@ "version": "1.0.3", "description": "This extension enables Anthropic chat completion API calls", "main": "dist/index.js", - "module": "dist/module.js", "engine": "anthropic", "author": "Jan ", "license": "AGPL-3.0", "scripts": { "test": "jest test", - "build": "tsc -b . && webpack --config webpack.config.js", - "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install", - "sync:core": "cd ../.. && yarn build:core && cd extensions && rm yarn.lock && cd inference-anthropic-extension && yarn && yarn build:publish" - }, - "exports": { - ".": "./dist/index.js", - "./main": "./dist/module.js" + "build": "rolldown -c rolldown.config.mjs", + "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install" }, "devDependencies": { "cpx": "^1.5.0", "rimraf": "^3.0.2", + "rolldown": "1.0.0-beta.1", "ts-loader": "^9.5.0", - "typescript": "^5.7.2", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4" + "typescript": "^5.7.2" }, "dependencies": { "@janhq/core": "../../core/package.tgz", diff --git a/extensions/inference-anthropic-extension/rolldown.config.mjs b/extensions/inference-anthropic-extension/rolldown.config.mjs new file mode 100644 index 0000000000..9ebaace2e1 --- /dev/null +++ b/extensions/inference-anthropic-extension/rolldown.config.mjs @@ -0,0 +1,18 @@ +import { defineConfig } from 'rolldown' +import pkgJson from './package.json' with { type: 'json' } +import settingJson from './resources/settings.json' with { type: 'json' } +import modelsJson from './resources/models.json' with { type: 'json' } + +export default defineConfig({ + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + MODELS: JSON.stringify(modelsJson), + SETTINGS: JSON.stringify(settingJson), + ENGINE: JSON.stringify(pkgJson.engine), + }, +}) diff --git a/extensions/inference-anthropic-extension/src/env.d.ts b/extensions/inference-anthropic-extension/src/env.d.ts new file mode 100644 index 0000000000..40ca58094a --- /dev/null +++ b/extensions/inference-anthropic-extension/src/env.d.ts @@ -0,0 +1,2 @@ +declare const SETTINGS: SettingComponentProps[] +declare const MODELS: Model[] diff --git a/extensions/inference-anthropic-extension/src/index.ts b/extensions/inference-anthropic-extension/src/index.ts index 94da26d944..8c286d7a5f 100644 --- a/extensions/inference-anthropic-extension/src/index.ts +++ b/extensions/inference-anthropic-extension/src/index.ts @@ -10,9 +10,6 @@ import { RemoteOAIEngine } from '@janhq/core' import { PayloadType } from '@janhq/core' import { ChatCompletionRole } from '@janhq/core' -declare const SETTINGS: Array -declare const MODELS: Array - export enum Settings { apiKey = 'anthropic-api-key', chatCompletionsEndPoint = 'chat-completions-endpoint', @@ -115,7 +112,7 @@ export default class JanInferenceAnthropicExtension extends RemoteOAIEngine { content: item.content as string, }) } else if (item.role === ChatCompletionRole.System) { - // When using Claude, you can dramatically improve its performance by using the system parameter to give it a role. + // When using Claude, you can dramatically improve its performance by using the system parameter to give it a role. // This technique, known as role prompting, is the most powerful way to use system prompts with Claude. convertedData.system = item.content as string } diff --git a/extensions/inference-anthropic-extension/webpack.config.js b/extensions/inference-anthropic-extension/webpack.config.js deleted file mode 100644 index cd5e65c725..0000000000 --- a/extensions/inference-anthropic-extension/webpack.config.js +++ /dev/null @@ -1,37 +0,0 @@ -const webpack = require('webpack') -const packageJson = require('./package.json') -const settingJson = require('./resources/settings.json') -const modelsJson = require('./resources/models.json') - -module.exports = { - experiments: { outputModule: true }, - entry: './src/index.ts', // Adjust the entry point to match your project's main file - mode: 'production', - module: { - rules: [ - { - test: /\.tsx?$/, - use: 'ts-loader', - exclude: /node_modules/, - }, - ], - }, - plugins: [ - new webpack.DefinePlugin({ - MODELS: JSON.stringify(modelsJson), - SETTINGS: JSON.stringify(settingJson), - ENGINE: JSON.stringify(packageJson.engine), - }), - ], - output: { - filename: 'index.js', // Adjust the output file name as needed - library: { type: 'module' }, // Specify ESM output format - }, - resolve: { - extensions: ['.ts', '.js'], - }, - optimization: { - minimize: false, - }, - // Add loaders and other configuration as needed for your project -} diff --git a/extensions/inference-cohere-extension/package.json b/extensions/inference-cohere-extension/package.json index 7cea6c9313..7058c0e531 100644 --- a/extensions/inference-cohere-extension/package.json +++ b/extensions/inference-cohere-extension/package.json @@ -9,9 +9,8 @@ "author": "Jan ", "license": "AGPL-3.0", "scripts": { - "build": "tsc -b . && webpack --config webpack.config.js", - "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install", - "sync:core": "cd ../.. && yarn build:core && cd extensions && rm yarn.lock && cd inference-cohere-extension && yarn && yarn build:publish" + "build": "rolldown -c rolldown.config.mjs", + "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install" }, "exports": { ".": "./dist/index.js", @@ -20,10 +19,9 @@ "devDependencies": { "cpx": "^1.5.0", "rimraf": "^3.0.2", + "rolldown": "1.0.0-beta.1", "ts-loader": "^9.5.0", - "typescript": "^5.7.2", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4" + "typescript": "^5.7.2" }, "dependencies": { "@janhq/core": "../../core/package.tgz", diff --git a/extensions/inference-cohere-extension/rolldown.config.mjs b/extensions/inference-cohere-extension/rolldown.config.mjs new file mode 100644 index 0000000000..9ebaace2e1 --- /dev/null +++ b/extensions/inference-cohere-extension/rolldown.config.mjs @@ -0,0 +1,18 @@ +import { defineConfig } from 'rolldown' +import pkgJson from './package.json' with { type: 'json' } +import settingJson from './resources/settings.json' with { type: 'json' } +import modelsJson from './resources/models.json' with { type: 'json' } + +export default defineConfig({ + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + MODELS: JSON.stringify(modelsJson), + SETTINGS: JSON.stringify(settingJson), + ENGINE: JSON.stringify(pkgJson.engine), + }, +}) diff --git a/extensions/inference-cohere-extension/src/env.d.ts b/extensions/inference-cohere-extension/src/env.d.ts new file mode 100644 index 0000000000..40ca58094a --- /dev/null +++ b/extensions/inference-cohere-extension/src/env.d.ts @@ -0,0 +1,2 @@ +declare const SETTINGS: SettingComponentProps[] +declare const MODELS: Model[] diff --git a/extensions/inference-cohere-extension/src/index.ts b/extensions/inference-cohere-extension/src/index.ts index 2615ea8932..018df60f99 100644 --- a/extensions/inference-cohere-extension/src/index.ts +++ b/extensions/inference-cohere-extension/src/index.ts @@ -10,9 +10,6 @@ import { RemoteOAIEngine } from '@janhq/core' import { PayloadType } from '@janhq/core' import { ChatCompletionRole } from '@janhq/core' -declare const SETTINGS: Array -declare const MODELS: Array - enum Settings { apiKey = 'cohere-api-key', chatCompletionsEndPoint = 'chat-completions-endpoint', diff --git a/extensions/inference-cohere-extension/webpack.config.js b/extensions/inference-cohere-extension/webpack.config.js deleted file mode 100644 index cd5e65c725..0000000000 --- a/extensions/inference-cohere-extension/webpack.config.js +++ /dev/null @@ -1,37 +0,0 @@ -const webpack = require('webpack') -const packageJson = require('./package.json') -const settingJson = require('./resources/settings.json') -const modelsJson = require('./resources/models.json') - -module.exports = { - experiments: { outputModule: true }, - entry: './src/index.ts', // Adjust the entry point to match your project's main file - mode: 'production', - module: { - rules: [ - { - test: /\.tsx?$/, - use: 'ts-loader', - exclude: /node_modules/, - }, - ], - }, - plugins: [ - new webpack.DefinePlugin({ - MODELS: JSON.stringify(modelsJson), - SETTINGS: JSON.stringify(settingJson), - ENGINE: JSON.stringify(packageJson.engine), - }), - ], - output: { - filename: 'index.js', // Adjust the output file name as needed - library: { type: 'module' }, // Specify ESM output format - }, - resolve: { - extensions: ['.ts', '.js'], - }, - optimization: { - minimize: false, - }, - // Add loaders and other configuration as needed for your project -} diff --git a/extensions/inference-cortex-extension/package.json b/extensions/inference-cortex-extension/package.json index 4429759468..f191f30715 100644 --- a/extensions/inference-cortex-extension/package.json +++ b/extensions/inference-cortex-extension/package.json @@ -9,7 +9,7 @@ "license": "AGPL-3.0", "scripts": { "test": "jest", - "build": "tsc --module commonjs && rollup -c rollup.config.ts", + "build": "rolldown -c rolldown.config.mjs", "downloadcortex:linux:darwin": "./download.sh", "downloadcortex:win32": "download.bat", "downloadcortex": "run-script-os", @@ -22,12 +22,7 @@ "./main": "./dist/node/index.cjs.js" }, "devDependencies": { - "@babel/preset-typescript": "^7.24.1", "@jest/globals": "^29.7.0", - "@rollup/plugin-commonjs": "^25.0.7", - "@rollup/plugin-json": "^6.1.0", - "@rollup/plugin-node-resolve": "^15.2.3", - "@rollup/plugin-replace": "^5.0.5", "@types/decompress": "^4.2.7", "@types/jest": "^29.5.12", "@types/node": "^20.11.4", @@ -37,10 +32,7 @@ "download-cli": "^1.1.1", "jest": "^29.7.0", "rimraf": "^3.0.2", - "rollup": "^2.38.5", - "rollup-plugin-define": "^1.0.1", - "rollup-plugin-sourcemaps": "^0.6.3", - "rollup-plugin-typescript2": "^0.36.0", + "rolldown": "1.0.0-beta.1", "run-script-os": "^1.1.6", "ts-jest": "^29.1.2", "typescript": "^5.3.3" diff --git a/extensions/inference-cortex-extension/rolldown.config.mjs b/extensions/inference-cortex-extension/rolldown.config.mjs new file mode 100644 index 0000000000..4f8a4ac064 --- /dev/null +++ b/extensions/inference-cortex-extension/rolldown.config.mjs @@ -0,0 +1,131 @@ +import { defineConfig } from 'rolldown' +import packageJson from './package.json' with { type: 'json' } +import defaultSettingJson from './resources/default_settings.json' with { type: 'json' } +import bakllavaJson from './resources/models/bakllava-1/model.json' with { type: 'json' } +import codeninja7bJson from './resources/models/codeninja-1.0-7b/model.json' with { type: 'json' } +import commandr34bJson from './resources/models/command-r-34b/model.json' with { type: 'json' } +import deepseekCoder13bJson from './resources/models/deepseek-coder-1.3b/model.json' with { type: 'json' } +import deepseekCoder34bJson from './resources/models/deepseek-coder-34b/model.json' with { type: 'json' } +import gemma112bJson from './resources/models/gemma-1.1-2b/model.json' with { type: 'json' } +import gemma117bJson from './resources/models/gemma-1.1-7b/model.json' with { type: 'json' } +import llama2Chat70bJson from './resources/models/llama2-chat-70b/model.json' with { type: 'json' } +import llama2Chat7bJson from './resources/models/llama2-chat-7b/model.json' with { type: 'json' } +import llamacorn1bJson from './resources/models/llamacorn-1.1b/model.json' with { type: 'json' } +import llava13bJson from './resources/models/llava-13b/model.json' with { type: 'json' } +import llava7bJson from './resources/models/llava-7b/model.json' with { type: 'json' } +import mistralIns7bq4Json from './resources/models/mistral-ins-7b-q4/model.json' with { type: 'json' } +import mixtral8x7bInstructJson from './resources/models/mixtral-8x7b-instruct/model.json' with { type: 'json' } +import noromaid7bJson from './resources/models/noromaid-7b/model.json' with { type: 'json' } +import openchat357bJson from './resources/models/openchat-3.5-7b/model.json' with { type: 'json' } +import phi3bJson from './resources/models/phi3-3.8b/model.json' with { type: 'json' } +import phind34bJson from './resources/models/phind-34b/model.json' with { type: 'json' } +import qwen7bJson from './resources/models/qwen-7b/model.json' with { type: 'json' } +import stableZephyr3bJson from './resources/models/stable-zephyr-3b/model.json' with { type: 'json' } +import stealthv127bJson from './resources/models/stealth-v1.2-7b/model.json' with { type: 'json' } +import tinyllama11bJson from './resources/models/tinyllama-1.1b/model.json' with { type: 'json' } +import trinityv127bJson from './resources/models/trinity-v1.2-7b/model.json' with { type: 'json' } +import vistral7bJson from './resources/models/vistral-7b/model.json' with { type: 'json' } +import wizardcoder13bJson from './resources/models/wizardcoder-13b/model.json' with { type: 'json' } +import yi34bJson from './resources/models/yi-34b/model.json' with { type: 'json' } +import llama3Json from './resources/models/llama3-8b-instruct/model.json' with { type: 'json' } +import llama3Hermes8bJson from './resources/models/llama3-hermes-8b/model.json' with { type: 'json' } +import aya8bJson from './resources/models/aya-23-8b/model.json' with { type: 'json' } +import aya35bJson from './resources/models/aya-23-35b/model.json' with { type: 'json' } +import phimediumJson from './resources/models/phi3-medium/model.json' with { type: 'json' } +import codestralJson from './resources/models/codestral-22b/model.json' with { type: 'json' } +import qwen2Json from './resources/models/qwen2-7b/model.json' with { type: 'json' } +import llama318bJson from './resources/models/llama3.1-8b-instruct/model.json' with { type: 'json' } +import llama3170bJson from './resources/models/llama3.1-70b-instruct/model.json' with { type: 'json' } +import gemma22bJson from './resources/models/gemma-2-2b/model.json' with { type: 'json' } +import gemma29bJson from './resources/models/gemma-2-9b/model.json' with { type: 'json' } +import gemma227bJson from './resources/models/gemma-2-27b/model.json' with { type: 'json' } +import llama321bJson from './resources/models/llama3.2-1b-instruct/model.json' with { type: 'json' } +import llama323bJson from './resources/models/llama3.2-3b-instruct/model.json' with { type: 'json' } +import qwen257bJson from './resources/models/qwen2.5-7b-instruct/model.json' with { type: 'json' } +import qwen25coder7bJson from './resources/models/qwen2.5-coder-7b-instruct/model.json' with { type: 'json' } +import qwen25coder14bJson from './resources/models/qwen2.5-coder-14b-instruct/model.json' with { type: 'json' } +import qwen25coder32bJson from './resources/models/qwen2.5-coder-32b-instruct/model.json' with { type: 'json' } +import qwen2514bJson from './resources/models/qwen2.5-14b-instruct/model.json' with { type: 'json' } +import qwen2532bJson from './resources/models/qwen2.5-32b-instruct/model.json' with { type: 'json' } +import qwen2572bJson from './resources/models/qwen2.5-72b-instruct/model.json' with { type: 'json' } + +export default defineConfig([ + { + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + MODELS: JSON.stringify([ + bakllavaJson, + codeninja7bJson, + commandr34bJson, + deepseekCoder13bJson, + deepseekCoder34bJson, + gemma112bJson, + gemma117bJson, + llama2Chat70bJson, + llama2Chat7bJson, + llamacorn1bJson, + llava13bJson, + llava7bJson, + mistralIns7bq4Json, + mixtral8x7bInstructJson, + noromaid7bJson, + openchat357bJson, + phi3bJson, + phind34bJson, + qwen7bJson, + stableZephyr3bJson, + stealthv127bJson, + tinyllama11bJson, + trinityv127bJson, + vistral7bJson, + wizardcoder13bJson, + yi34bJson, + llama3Json, + llama3Hermes8bJson, + phimediumJson, + aya8bJson, + aya35bJson, + codestralJson, + qwen2Json, + llama318bJson, + llama3170bJson, + gemma22bJson, + gemma29bJson, + gemma227bJson, + llama321bJson, + llama323bJson, + qwen257bJson, + qwen25coder7bJson, + qwen25coder14bJson, + qwen25coder32bJson, + qwen2514bJson, + qwen2532bJson, + qwen2572bJson, + ]), + NODE: JSON.stringify(`${packageJson.name}/${packageJson.node}`), + SETTINGS: JSON.stringify(defaultSettingJson), + CORTEX_API_URL: JSON.stringify('http://127.0.0.1:39291'), + CORTEX_SOCKET_URL: JSON.stringify('ws://127.0.0.1:39291'), + CORTEX_ENGINE_VERSION: JSON.stringify('v0.1.42'), + }, + }, + { + input: 'src/node/index.ts', + external: ['@janhq/core/node', 'cpu-instructions'], + output: { + format: 'cjs', + file: 'dist/node/index.cjs.js', + sourcemap: false, + inlineDynamicImports: true, + }, + resolve: { + extensions: ['.js', '.ts', '.json'], + }, + platform: 'node', + }, +]) diff --git a/extensions/inference-cortex-extension/rollup.config.ts b/extensions/inference-cortex-extension/rollup.config.ts deleted file mode 100644 index 266281a756..0000000000 --- a/extensions/inference-cortex-extension/rollup.config.ts +++ /dev/null @@ -1,177 +0,0 @@ -import resolve from '@rollup/plugin-node-resolve' -import commonjs from '@rollup/plugin-commonjs' -import sourceMaps from 'rollup-plugin-sourcemaps' -import typescript from 'rollup-plugin-typescript2' -import json from '@rollup/plugin-json' -import replace from '@rollup/plugin-replace' -const packageJson = require('./package.json') -const defaultSettingJson = require('./resources/default_settings.json') - -const bakllavaJson = require('./resources/models/bakllava-1/model.json') -const codeninja7bJson = require('./resources/models/codeninja-1.0-7b/model.json') -const commandr34bJson = require('./resources/models/command-r-34b/model.json') -const deepseekCoder13bJson = require('./resources/models/deepseek-coder-1.3b/model.json') -const deepseekCoder34bJson = require('./resources/models/deepseek-coder-34b/model.json') -const gemma112bJson = require('./resources/models/gemma-1.1-2b/model.json') -const gemma117bJson = require('./resources/models/gemma-1.1-7b/model.json') -const llama2Chat70bJson = require('./resources/models/llama2-chat-70b/model.json') -const llama2Chat7bJson = require('./resources/models/llama2-chat-7b/model.json') -const llamacorn1bJson = require('./resources/models/llamacorn-1.1b/model.json') -const llava13bJson = require('./resources/models/llava-13b/model.json') -const llava7bJson = require('./resources/models/llava-7b/model.json') -const mistralIns7bq4Json = require('./resources/models/mistral-ins-7b-q4/model.json') -const mixtral8x7bInstructJson = require('./resources/models/mixtral-8x7b-instruct/model.json') -const noromaid7bJson = require('./resources/models/noromaid-7b/model.json') -const openchat357bJson = require('./resources/models/openchat-3.5-7b/model.json') -const phi3bJson = require('./resources/models/phi3-3.8b/model.json') -const phind34bJson = require('./resources/models/phind-34b/model.json') -const qwen7bJson = require('./resources/models/qwen-7b/model.json') -const stableZephyr3bJson = require('./resources/models/stable-zephyr-3b/model.json') -const stealthv127bJson = require('./resources/models/stealth-v1.2-7b/model.json') -const tinyllama11bJson = require('./resources/models/tinyllama-1.1b/model.json') -const trinityv127bJson = require('./resources/models/trinity-v1.2-7b/model.json') -const vistral7bJson = require('./resources/models/vistral-7b/model.json') -const wizardcoder13bJson = require('./resources/models/wizardcoder-13b/model.json') -const yi34bJson = require('./resources/models/yi-34b/model.json') -const llama3Json = require('./resources/models/llama3-8b-instruct/model.json') -const llama3Hermes8bJson = require('./resources/models/llama3-hermes-8b/model.json') -const aya8bJson = require('./resources/models/aya-23-8b/model.json') -const aya35bJson = require('./resources/models/aya-23-35b/model.json') -const phimediumJson = require('./resources/models/phi3-medium/model.json') -const codestralJson = require('./resources/models/codestral-22b/model.json') -const qwen2Json = require('./resources/models/qwen2-7b/model.json') -const llama318bJson = require('./resources/models/llama3.1-8b-instruct/model.json') -const llama3170bJson = require('./resources/models/llama3.1-70b-instruct/model.json') -const gemma22bJson = require('./resources/models/gemma-2-2b/model.json') -const gemma29bJson = require('./resources/models/gemma-2-9b/model.json') -const gemma227bJson = require('./resources/models/gemma-2-27b/model.json') -const llama321bJson = require('./resources/models/llama3.2-1b-instruct/model.json') -const llama323bJson = require('./resources/models/llama3.2-3b-instruct/model.json') -const qwen257bJson = require('./resources/models/qwen2.5-7b-instruct/model.json') -const qwen25coder7bJson = require('./resources/models/qwen2.5-coder-7b-instruct/model.json') -const qwen25coder14bJson = require('./resources/models/qwen2.5-coder-14b-instruct/model.json') -const qwen25coder32bJson = require('./resources/models/qwen2.5-coder-32b-instruct/model.json') -const qwen2514bJson = require('./resources/models/qwen2.5-14b-instruct/model.json') -const qwen2532bJson = require('./resources/models/qwen2.5-32b-instruct/model.json') -const qwen2572bJson = require('./resources/models/qwen2.5-72b-instruct/model.json') - -export default [ - { - input: `src/index.ts`, - output: [{ file: packageJson.main, format: 'es', sourcemap: true }], - // Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash') - external: [], - watch: { - include: 'src/**', - }, - plugins: [ - replace({ - preventAssignment: true, - MODELS: JSON.stringify([ - bakllavaJson, - codeninja7bJson, - commandr34bJson, - deepseekCoder13bJson, - deepseekCoder34bJson, - gemma112bJson, - gemma117bJson, - llama2Chat70bJson, - llama2Chat7bJson, - llamacorn1bJson, - llava13bJson, - llava7bJson, - mistralIns7bq4Json, - mixtral8x7bInstructJson, - noromaid7bJson, - openchat357bJson, - phi3bJson, - phind34bJson, - qwen7bJson, - stableZephyr3bJson, - stealthv127bJson, - tinyllama11bJson, - trinityv127bJson, - vistral7bJson, - wizardcoder13bJson, - yi34bJson, - llama3Json, - llama3Hermes8bJson, - phimediumJson, - aya8bJson, - aya35bJson, - codestralJson, - qwen2Json, - llama318bJson, - llama3170bJson, - gemma22bJson, - gemma29bJson, - gemma227bJson, - llama321bJson, - llama323bJson, - qwen257bJson, - qwen25coder7bJson, - qwen25coder14bJson, - qwen25coder32bJson, - qwen2514bJson, - qwen2532bJson, - qwen2572bJson, - ]), - NODE: JSON.stringify(`${packageJson.name}/${packageJson.node}`), - SETTINGS: JSON.stringify(defaultSettingJson), - CORTEX_API_URL: JSON.stringify('http://127.0.0.1:39291'), - CORTEX_SOCKET_URL: JSON.stringify('ws://127.0.0.1:39291'), - CORTEX_ENGINE_VERSION: JSON.stringify('v0.1.42'), - }), - // Allow json resolution - json(), - // Compile TypeScript files - typescript({ - useTsconfigDeclarationDir: true, - exclude: ['**/__tests__', '**/*.test.ts'], - }), - // Compile TypeScript files - // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs) - commonjs(), - // Allow node_modules resolution, so you can use 'external' to control - // which external modules to include in the bundle - // https://github.com/rollup/rollup-plugin-node-resolve#usage - resolve({ - extensions: ['.js', '.ts', '.svelte'], - browser: true, - }), - - // Resolve source maps to the original source - sourceMaps(), - ], - }, - { - input: `src/node/index.ts`, - output: [ - { file: 'dist/node/index.cjs.js', format: 'cjs', sourcemap: true }, - ], - // Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash') - external: ['@janhq/core/node', 'cpu-instructions'], - watch: { - include: 'src/node/**', - }, - plugins: [ - // Allow json resolution - json(), - // Compile TypeScript files - typescript({ - useTsconfigDeclarationDir: true, - exclude: ['**/__tests__', '**/*.test.ts'], - }), - // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs) - commonjs(), - // Allow node_modules resolution, so you can use 'external' to control - // which external modules to include in the bundle - // https://github.com/rollup/rollup-plugin-node-resolve#usage - resolve({ - extensions: ['.ts', '.js', '.json'], - }), - // Resolve source maps to the original source - sourceMaps(), - ], - }, -] diff --git a/extensions/inference-cortex-extension/src/@types/global.d.ts b/extensions/inference-cortex-extension/src/@types/global.d.ts index 3c310477d7..907db0df11 100644 --- a/extensions/inference-cortex-extension/src/@types/global.d.ts +++ b/extensions/inference-cortex-extension/src/@types/global.d.ts @@ -2,24 +2,5 @@ declare const NODE: string declare const CORTEX_API_URL: string declare const CORTEX_SOCKET_URL: string declare const CORTEX_ENGINE_VERSION: string -declare const SETTINGS: Array -declare const MODELS: Array - -/** - * The response from the initModel function. - * @property error - An error message if the model fails to load. - */ -interface ModelOperationResponse { - error?: any - modelFile?: string -} - -/** - * Cortex Executable Options Interface - */ -interface CortexExecutableOptions { - enginePath: string - executablePath: string - cudaVisibleDevices: string - vkVisibleDevices: string -} +declare const SETTINGS: object[] +declare const MODELS: object[] diff --git a/extensions/inference-cortex-extension/src/babel.config.js b/extensions/inference-cortex-extension/src/babel.config.js deleted file mode 100644 index befbdd148b..0000000000 --- a/extensions/inference-cortex-extension/src/babel.config.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - presets: [ - ['@babel/preset-env', { targets: { node: 'current' } }], - '@babel/preset-typescript', - ], -} diff --git a/extensions/inference-cortex-extension/tsconfig.json b/extensions/inference-cortex-extension/tsconfig.json index af00a035a9..b10e77d83d 100644 --- a/extensions/inference-cortex-extension/tsconfig.json +++ b/extensions/inference-cortex-extension/tsconfig.json @@ -5,11 +5,7 @@ "module": "esnext", "strict": true, "sourceMap": true, - "declaration": true, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "declarationDir": "dist/types", + "esModuleInterop": true, "outDir": "dist", "importHelpers": true, "typeRoots": ["node_modules/@types"] diff --git a/extensions/inference-groq-extension/package.json b/extensions/inference-groq-extension/package.json index 65fdea7d02..e400c517b7 100644 --- a/extensions/inference-groq-extension/package.json +++ b/extensions/inference-groq-extension/package.json @@ -4,24 +4,20 @@ "version": "1.0.1", "description": "This extension enables fast Groq chat completion API calls", "main": "dist/index.js", + "engine": "groq", "module": "dist/module.js", "author": "Carsen Klock & Jan", "license": "AGPL-3.0", "scripts": { - "build": "tsc -b . && webpack --config webpack.config.js", + "build": "rolldown -c rolldown.config.mjs", "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install" }, - "exports": { - ".": "./dist/index.js", - "./main": "./dist/module.js" - }, "devDependencies": { "cpx": "^1.5.0", "rimraf": "^3.0.2", + "rolldown": "1.0.0-beta.1", "ts-loader": "^9.5.0", - "typescript": "^5.7.2", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4" + "typescript": "^5.7.2" }, "dependencies": { "@janhq/core": "../../core/package.tgz", diff --git a/extensions/inference-groq-extension/rolldown.config.mjs b/extensions/inference-groq-extension/rolldown.config.mjs new file mode 100644 index 0000000000..9ebaace2e1 --- /dev/null +++ b/extensions/inference-groq-extension/rolldown.config.mjs @@ -0,0 +1,18 @@ +import { defineConfig } from 'rolldown' +import pkgJson from './package.json' with { type: 'json' } +import settingJson from './resources/settings.json' with { type: 'json' } +import modelsJson from './resources/models.json' with { type: 'json' } + +export default defineConfig({ + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + MODELS: JSON.stringify(modelsJson), + SETTINGS: JSON.stringify(settingJson), + ENGINE: JSON.stringify(pkgJson.engine), + }, +}) diff --git a/extensions/inference-groq-extension/src/env.d.ts b/extensions/inference-groq-extension/src/env.d.ts new file mode 100644 index 0000000000..40ca58094a --- /dev/null +++ b/extensions/inference-groq-extension/src/env.d.ts @@ -0,0 +1,2 @@ +declare const SETTINGS: SettingComponentProps[] +declare const MODELS: Model[] diff --git a/extensions/inference-groq-extension/src/index.ts b/extensions/inference-groq-extension/src/index.ts index eafb7fe8ad..d6969b48fa 100644 --- a/extensions/inference-groq-extension/src/index.ts +++ b/extensions/inference-groq-extension/src/index.ts @@ -6,10 +6,7 @@ * @module inference-groq-extension/src/index */ -import { RemoteOAIEngine, SettingComponentProps } from '@janhq/core' - -declare const SETTINGS: Array -declare const MODELS: Array +import { RemoteOAIEngine } from '@janhq/core' enum Settings { apiKey = 'groq-api-key', diff --git a/extensions/inference-groq-extension/webpack.config.js b/extensions/inference-groq-extension/webpack.config.js deleted file mode 100644 index 199dee42cb..0000000000 --- a/extensions/inference-groq-extension/webpack.config.js +++ /dev/null @@ -1,37 +0,0 @@ -const webpack = require('webpack') -const packageJson = require('./package.json') -const settingJson = require('./resources/settings.json') -const modelsJson = require('./resources/models.json') - -module.exports = { - experiments: { outputModule: true }, - entry: './src/index.ts', // Adjust the entry point to match your project's main file - mode: 'production', - module: { - rules: [ - { - test: /\.tsx?$/, - use: 'ts-loader', - exclude: /node_modules/, - }, - ], - }, - plugins: [ - new webpack.DefinePlugin({ - MODELS: JSON.stringify(modelsJson), - SETTINGS: JSON.stringify(settingJson), - MODULE: JSON.stringify(`${packageJson.name}/${packageJson.module}`), - }), - ], - output: { - filename: 'index.js', // Adjust the output file name as needed - library: { type: 'module' }, // Specify ESM output format - }, - resolve: { - extensions: ['.ts', '.js'], - }, - optimization: { - minimize: false, - }, - // Add loaders and other configuration as needed for your project -} diff --git a/extensions/inference-martian-extension/package.json b/extensions/inference-martian-extension/package.json index beae9a7043..c1371917c7 100644 --- a/extensions/inference-martian-extension/package.json +++ b/extensions/inference-martian-extension/package.json @@ -9,20 +9,15 @@ "author": "Jan ", "license": "AGPL-3.0", "scripts": { - "build": "tsc -b . && webpack --config webpack.config.js", + "build": "rolldown -c rolldown.config.mjs", "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install" }, - "exports": { - ".": "./dist/index.js", - "./main": "./dist/module.js" - }, "devDependencies": { "cpx": "^1.5.0", "rimraf": "^3.0.2", + "rolldown": "1.0.0-beta.1", "ts-loader": "^9.5.0", - "typescript": "^5.7.2", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4" + "typescript": "^5.7.2" }, "dependencies": { "@janhq/core": "../../core/package.tgz", diff --git a/extensions/inference-martian-extension/rolldown.config.mjs b/extensions/inference-martian-extension/rolldown.config.mjs new file mode 100644 index 0000000000..9ebaace2e1 --- /dev/null +++ b/extensions/inference-martian-extension/rolldown.config.mjs @@ -0,0 +1,18 @@ +import { defineConfig } from 'rolldown' +import pkgJson from './package.json' with { type: 'json' } +import settingJson from './resources/settings.json' with { type: 'json' } +import modelsJson from './resources/models.json' with { type: 'json' } + +export default defineConfig({ + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + MODELS: JSON.stringify(modelsJson), + SETTINGS: JSON.stringify(settingJson), + ENGINE: JSON.stringify(pkgJson.engine), + }, +}) diff --git a/extensions/inference-martian-extension/src/env.d.ts b/extensions/inference-martian-extension/src/env.d.ts new file mode 100644 index 0000000000..40ca58094a --- /dev/null +++ b/extensions/inference-martian-extension/src/env.d.ts @@ -0,0 +1,2 @@ +declare const SETTINGS: SettingComponentProps[] +declare const MODELS: Model[] diff --git a/extensions/inference-martian-extension/src/index.ts b/extensions/inference-martian-extension/src/index.ts index f59a6b7fc0..8cbe4e52db 100644 --- a/extensions/inference-martian-extension/src/index.ts +++ b/extensions/inference-martian-extension/src/index.ts @@ -6,10 +6,7 @@ * @module inference-martian-extension/src/index */ -import { RemoteOAIEngine, SettingComponentProps } from '@janhq/core' - -declare const SETTINGS: Array -declare const MODELS: Array +import { RemoteOAIEngine } from '@janhq/core' enum Settings { apiKey = 'martian-api-key', diff --git a/extensions/inference-martian-extension/webpack.config.js b/extensions/inference-martian-extension/webpack.config.js deleted file mode 100644 index cd5e65c725..0000000000 --- a/extensions/inference-martian-extension/webpack.config.js +++ /dev/null @@ -1,37 +0,0 @@ -const webpack = require('webpack') -const packageJson = require('./package.json') -const settingJson = require('./resources/settings.json') -const modelsJson = require('./resources/models.json') - -module.exports = { - experiments: { outputModule: true }, - entry: './src/index.ts', // Adjust the entry point to match your project's main file - mode: 'production', - module: { - rules: [ - { - test: /\.tsx?$/, - use: 'ts-loader', - exclude: /node_modules/, - }, - ], - }, - plugins: [ - new webpack.DefinePlugin({ - MODELS: JSON.stringify(modelsJson), - SETTINGS: JSON.stringify(settingJson), - ENGINE: JSON.stringify(packageJson.engine), - }), - ], - output: { - filename: 'index.js', // Adjust the output file name as needed - library: { type: 'module' }, // Specify ESM output format - }, - resolve: { - extensions: ['.ts', '.js'], - }, - optimization: { - minimize: false, - }, - // Add loaders and other configuration as needed for your project -} diff --git a/extensions/inference-mistral-extension/package.json b/extensions/inference-mistral-extension/package.json index 174d832bae..504a3d6133 100644 --- a/extensions/inference-mistral-extension/package.json +++ b/extensions/inference-mistral-extension/package.json @@ -9,25 +9,19 @@ "author": "Jan ", "license": "AGPL-3.0", "scripts": { - "build": "tsc -b . && webpack --config webpack.config.js", + "build": "rolldown -c rolldown.config.mjs", "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install" }, - "exports": { - ".": "./dist/index.js", - "./main": "./dist/module.js" - }, "devDependencies": { "cpx": "^1.5.0", "rimraf": "^3.0.2", + "rolldown": "1.0.0-beta.1", "ts-loader": "^9.5.0", - "typescript": "^5.7.2", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4" + "typescript": "^5.7.2" }, "dependencies": { "@janhq/core": "../../core/package.tgz", "fetch-retry": "^5.0.6", - "path-browserify": "^1.0.1", "ulidx": "^2.3.0" }, "engines": { diff --git a/extensions/inference-mistral-extension/rolldown.config.mjs b/extensions/inference-mistral-extension/rolldown.config.mjs new file mode 100644 index 0000000000..9ebaace2e1 --- /dev/null +++ b/extensions/inference-mistral-extension/rolldown.config.mjs @@ -0,0 +1,18 @@ +import { defineConfig } from 'rolldown' +import pkgJson from './package.json' with { type: 'json' } +import settingJson from './resources/settings.json' with { type: 'json' } +import modelsJson from './resources/models.json' with { type: 'json' } + +export default defineConfig({ + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + MODELS: JSON.stringify(modelsJson), + SETTINGS: JSON.stringify(settingJson), + ENGINE: JSON.stringify(pkgJson.engine), + }, +}) diff --git a/extensions/inference-mistral-extension/src/env.d.ts b/extensions/inference-mistral-extension/src/env.d.ts new file mode 100644 index 0000000000..40ca58094a --- /dev/null +++ b/extensions/inference-mistral-extension/src/env.d.ts @@ -0,0 +1,2 @@ +declare const SETTINGS: SettingComponentProps[] +declare const MODELS: Model[] diff --git a/extensions/inference-mistral-extension/src/index.ts b/extensions/inference-mistral-extension/src/index.ts index 461fc326e7..22b977c5a1 100644 --- a/extensions/inference-mistral-extension/src/index.ts +++ b/extensions/inference-mistral-extension/src/index.ts @@ -8,9 +8,6 @@ import { RemoteOAIEngine } from '@janhq/core' -declare const SETTINGS: Array -declare const MODELS: Array - enum Settings { apiKey = 'mistral-api-key', chatCompletionsEndPoint = 'chat-completions-endpoint', diff --git a/extensions/inference-mistral-extension/webpack.config.js b/extensions/inference-mistral-extension/webpack.config.js deleted file mode 100644 index 0e35fc227b..0000000000 --- a/extensions/inference-mistral-extension/webpack.config.js +++ /dev/null @@ -1,42 +0,0 @@ -const path = require('path') -const webpack = require('webpack') -const packageJson = require('./package.json') -const settingJson = require('./resources/settings.json') -const modelsJson = require('./resources/models.json') - -module.exports = { - experiments: { outputModule: true }, - entry: './src/index.ts', // Adjust the entry point to match your project's main file - mode: 'production', - module: { - rules: [ - { - test: /\.tsx?$/, - use: 'ts-loader', - exclude: /node_modules/, - }, - ], - }, - plugins: [ - new webpack.DefinePlugin({ - SETTINGS: JSON.stringify(settingJson), - ENGINE: JSON.stringify(packageJson.engine), - MODELS: JSON.stringify(modelsJson), - }), - ], - output: { - filename: 'index.js', // Adjust the output file name as needed - path: path.resolve(__dirname, 'dist'), - library: { type: 'module' }, // Specify ESM output format - }, - resolve: { - extensions: ['.ts', '.js'], - fallback: { - path: require.resolve('path-browserify'), - }, - }, - optimization: { - minimize: false, - }, - // Add loaders and other configuration as needed for your project -} diff --git a/extensions/inference-nvidia-extension/package.json b/extensions/inference-nvidia-extension/package.json index b71a375f8f..771ccec4f7 100644 --- a/extensions/inference-nvidia-extension/package.json +++ b/extensions/inference-nvidia-extension/package.json @@ -9,25 +9,19 @@ "author": "Jan ", "license": "AGPL-3.0", "scripts": { - "build": "tsc -b . && webpack --config webpack.config.js", + "build": "rolldown -c rolldown.config.mjs", "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install" }, - "exports": { - ".": "./dist/index.js", - "./main": "./dist/module.js" - }, "devDependencies": { "cpx": "^1.5.0", "rimraf": "^3.0.2", + "rolldown": "1.0.0-beta.1", "ts-loader": "^9.5.0", - "typescript": "^5.7.2", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4" + "typescript": "^5.7.2" }, "dependencies": { "@janhq/core": "../../core/package.tgz", "fetch-retry": "^5.0.6", - "path-browserify": "^1.0.1", "ulidx": "^2.3.0" }, "engines": { diff --git a/extensions/inference-nvidia-extension/rolldown.config.mjs b/extensions/inference-nvidia-extension/rolldown.config.mjs new file mode 100644 index 0000000000..9ebaace2e1 --- /dev/null +++ b/extensions/inference-nvidia-extension/rolldown.config.mjs @@ -0,0 +1,18 @@ +import { defineConfig } from 'rolldown' +import pkgJson from './package.json' with { type: 'json' } +import settingJson from './resources/settings.json' with { type: 'json' } +import modelsJson from './resources/models.json' with { type: 'json' } + +export default defineConfig({ + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + MODELS: JSON.stringify(modelsJson), + SETTINGS: JSON.stringify(settingJson), + ENGINE: JSON.stringify(pkgJson.engine), + }, +}) diff --git a/extensions/inference-nvidia-extension/src/env.d.ts b/extensions/inference-nvidia-extension/src/env.d.ts new file mode 100644 index 0000000000..40ca58094a --- /dev/null +++ b/extensions/inference-nvidia-extension/src/env.d.ts @@ -0,0 +1,2 @@ +declare const SETTINGS: SettingComponentProps[] +declare const MODELS: Model[] diff --git a/extensions/inference-nvidia-extension/src/index.ts b/extensions/inference-nvidia-extension/src/index.ts index 9af27d90c7..0e5bb81354 100644 --- a/extensions/inference-nvidia-extension/src/index.ts +++ b/extensions/inference-nvidia-extension/src/index.ts @@ -8,9 +8,6 @@ import { RemoteOAIEngine } from '@janhq/core' -declare const SETTINGS: Array -declare const MODELS: Array - enum Settings { apiKey = 'nvidia-api-key', chatCompletionsEndPoint = 'chat-completions-endpoint', diff --git a/extensions/inference-nvidia-extension/webpack.config.js b/extensions/inference-nvidia-extension/webpack.config.js deleted file mode 100644 index 0e35fc227b..0000000000 --- a/extensions/inference-nvidia-extension/webpack.config.js +++ /dev/null @@ -1,42 +0,0 @@ -const path = require('path') -const webpack = require('webpack') -const packageJson = require('./package.json') -const settingJson = require('./resources/settings.json') -const modelsJson = require('./resources/models.json') - -module.exports = { - experiments: { outputModule: true }, - entry: './src/index.ts', // Adjust the entry point to match your project's main file - mode: 'production', - module: { - rules: [ - { - test: /\.tsx?$/, - use: 'ts-loader', - exclude: /node_modules/, - }, - ], - }, - plugins: [ - new webpack.DefinePlugin({ - SETTINGS: JSON.stringify(settingJson), - ENGINE: JSON.stringify(packageJson.engine), - MODELS: JSON.stringify(modelsJson), - }), - ], - output: { - filename: 'index.js', // Adjust the output file name as needed - path: path.resolve(__dirname, 'dist'), - library: { type: 'module' }, // Specify ESM output format - }, - resolve: { - extensions: ['.ts', '.js'], - fallback: { - path: require.resolve('path-browserify'), - }, - }, - optimization: { - minimize: false, - }, - // Add loaders and other configuration as needed for your project -} diff --git a/extensions/inference-openai-extension/package.json b/extensions/inference-openai-extension/package.json index 2e09012a3a..f790b60ca1 100644 --- a/extensions/inference-openai-extension/package.json +++ b/extensions/inference-openai-extension/package.json @@ -9,20 +9,15 @@ "author": "Jan ", "license": "AGPL-3.0", "scripts": { - "build": "tsc -b . && webpack --config webpack.config.js", + "build": "rolldown -c rolldown.config.mjs", "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install" }, - "exports": { - ".": "./dist/index.js", - "./main": "./dist/module.js" - }, "devDependencies": { "cpx": "^1.5.0", "rimraf": "^3.0.2", + "rolldown": "1.0.0-beta.1", "ts-loader": "^9.5.0", - "typescript": "^5.7.2", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4" + "typescript": "^5.7.2" }, "dependencies": { "@janhq/core": "../../core/package.tgz", diff --git a/extensions/inference-openai-extension/rolldown.config.mjs b/extensions/inference-openai-extension/rolldown.config.mjs new file mode 100644 index 0000000000..9ebaace2e1 --- /dev/null +++ b/extensions/inference-openai-extension/rolldown.config.mjs @@ -0,0 +1,18 @@ +import { defineConfig } from 'rolldown' +import pkgJson from './package.json' with { type: 'json' } +import settingJson from './resources/settings.json' with { type: 'json' } +import modelsJson from './resources/models.json' with { type: 'json' } + +export default defineConfig({ + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + MODELS: JSON.stringify(modelsJson), + SETTINGS: JSON.stringify(settingJson), + ENGINE: JSON.stringify(pkgJson.engine), + }, +}) diff --git a/extensions/inference-openai-extension/src/env.d.ts b/extensions/inference-openai-extension/src/env.d.ts new file mode 100644 index 0000000000..40ca58094a --- /dev/null +++ b/extensions/inference-openai-extension/src/env.d.ts @@ -0,0 +1,2 @@ +declare const SETTINGS: SettingComponentProps[] +declare const MODELS: Model[] diff --git a/extensions/inference-openai-extension/src/index.ts b/extensions/inference-openai-extension/src/index.ts index 2612ed8153..0996c6bef7 100644 --- a/extensions/inference-openai-extension/src/index.ts +++ b/extensions/inference-openai-extension/src/index.ts @@ -8,9 +8,6 @@ import { ModelRuntimeParams, PayloadType, RemoteOAIEngine } from '@janhq/core' -declare const SETTINGS: Array -declare const MODELS: Array - export enum Settings { apiKey = 'openai-api-key', chatCompletionsEndPoint = 'chat-completions-endpoint', diff --git a/extensions/inference-openai-extension/webpack.config.js b/extensions/inference-openai-extension/webpack.config.js deleted file mode 100644 index cd5e65c725..0000000000 --- a/extensions/inference-openai-extension/webpack.config.js +++ /dev/null @@ -1,37 +0,0 @@ -const webpack = require('webpack') -const packageJson = require('./package.json') -const settingJson = require('./resources/settings.json') -const modelsJson = require('./resources/models.json') - -module.exports = { - experiments: { outputModule: true }, - entry: './src/index.ts', // Adjust the entry point to match your project's main file - mode: 'production', - module: { - rules: [ - { - test: /\.tsx?$/, - use: 'ts-loader', - exclude: /node_modules/, - }, - ], - }, - plugins: [ - new webpack.DefinePlugin({ - MODELS: JSON.stringify(modelsJson), - SETTINGS: JSON.stringify(settingJson), - ENGINE: JSON.stringify(packageJson.engine), - }), - ], - output: { - filename: 'index.js', // Adjust the output file name as needed - library: { type: 'module' }, // Specify ESM output format - }, - resolve: { - extensions: ['.ts', '.js'], - }, - optimization: { - minimize: false, - }, - // Add loaders and other configuration as needed for your project -} diff --git a/extensions/inference-openrouter-extension/package.json b/extensions/inference-openrouter-extension/package.json index 8731628704..fd53ad0f55 100644 --- a/extensions/inference-openrouter-extension/package.json +++ b/extensions/inference-openrouter-extension/package.json @@ -9,21 +9,15 @@ "author": "Jan ", "license": "AGPL-3.0", "scripts": { - "build": "tsc -b . && webpack --config webpack.config.js", - "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install", - "sync:core": "cd ../.. && yarn build:core && cd extensions && rm yarn.lock && cd inference-openrouter-extension && yarn && yarn build:publish" - }, - "exports": { - ".": "./dist/index.js", - "./main": "./dist/module.js" + "build": "rolldown -c rolldown.config.mjs", + "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install" }, "devDependencies": { "cpx": "^1.5.0", "rimraf": "^3.0.2", + "rolldown": "1.0.0-beta.1", "ts-loader": "^9.5.0", - "typescript": "^5.7.2", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4" + "typescript": "^5.7.2" }, "dependencies": { "@janhq/core": "../../core/package.tgz", diff --git a/extensions/inference-openrouter-extension/rolldown.config.mjs b/extensions/inference-openrouter-extension/rolldown.config.mjs new file mode 100644 index 0000000000..9ebaace2e1 --- /dev/null +++ b/extensions/inference-openrouter-extension/rolldown.config.mjs @@ -0,0 +1,18 @@ +import { defineConfig } from 'rolldown' +import pkgJson from './package.json' with { type: 'json' } +import settingJson from './resources/settings.json' with { type: 'json' } +import modelsJson from './resources/models.json' with { type: 'json' } + +export default defineConfig({ + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + MODELS: JSON.stringify(modelsJson), + SETTINGS: JSON.stringify(settingJson), + ENGINE: JSON.stringify(pkgJson.engine), + }, +}) diff --git a/extensions/inference-openrouter-extension/src/env.d.ts b/extensions/inference-openrouter-extension/src/env.d.ts new file mode 100644 index 0000000000..40ca58094a --- /dev/null +++ b/extensions/inference-openrouter-extension/src/env.d.ts @@ -0,0 +1,2 @@ +declare const SETTINGS: SettingComponentProps[] +declare const MODELS: Model[] diff --git a/extensions/inference-openrouter-extension/src/index.ts b/extensions/inference-openrouter-extension/src/index.ts index 1b2cd014d4..a34c4c38bc 100644 --- a/extensions/inference-openrouter-extension/src/index.ts +++ b/extensions/inference-openrouter-extension/src/index.ts @@ -9,9 +9,6 @@ import { RemoteOAIEngine } from '@janhq/core' import { PayloadType } from '@janhq/core' -declare const SETTINGS: Array -declare const MODELS: Array - enum Settings { apiKey = 'openrouter-api-key', model = 'openrouter-model', diff --git a/extensions/inference-openrouter-extension/webpack.config.js b/extensions/inference-openrouter-extension/webpack.config.js deleted file mode 100644 index cd5e65c725..0000000000 --- a/extensions/inference-openrouter-extension/webpack.config.js +++ /dev/null @@ -1,37 +0,0 @@ -const webpack = require('webpack') -const packageJson = require('./package.json') -const settingJson = require('./resources/settings.json') -const modelsJson = require('./resources/models.json') - -module.exports = { - experiments: { outputModule: true }, - entry: './src/index.ts', // Adjust the entry point to match your project's main file - mode: 'production', - module: { - rules: [ - { - test: /\.tsx?$/, - use: 'ts-loader', - exclude: /node_modules/, - }, - ], - }, - plugins: [ - new webpack.DefinePlugin({ - MODELS: JSON.stringify(modelsJson), - SETTINGS: JSON.stringify(settingJson), - ENGINE: JSON.stringify(packageJson.engine), - }), - ], - output: { - filename: 'index.js', // Adjust the output file name as needed - library: { type: 'module' }, // Specify ESM output format - }, - resolve: { - extensions: ['.ts', '.js'], - }, - optimization: { - minimize: false, - }, - // Add loaders and other configuration as needed for your project -} diff --git a/extensions/inference-triton-trtllm-extension/package.json b/extensions/inference-triton-trtllm-extension/package.json index 3557075f55..9c1f5e05f4 100644 --- a/extensions/inference-triton-trtllm-extension/package.json +++ b/extensions/inference-triton-trtllm-extension/package.json @@ -4,24 +4,19 @@ "version": "1.0.0", "description": "This extension enables Nvidia's TensorRT-LLM as an inference engine option", "main": "dist/index.js", - "module": "dist/module.js", + "engine": "triton_trtllm", "author": "Jan ", "license": "AGPL-3.0", "scripts": { - "build": "tsc -b . && webpack --config webpack.config.js", + "build": "rolldown -c rolldown.config.mjs", "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install" }, - "exports": { - ".": "./dist/index.js", - "./main": "./dist/module.js" - }, "devDependencies": { "cpx": "^1.5.0", "rimraf": "^3.0.2", + "rolldown": "1.0.0-beta.1", "ts-loader": "^9.5.0", - "typescript": "^5.7.2", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4" + "typescript": "^5.7.2" }, "dependencies": { "@janhq/core": "../../core/package.tgz", diff --git a/extensions/inference-triton-trtllm-extension/rolldown.config.mjs b/extensions/inference-triton-trtllm-extension/rolldown.config.mjs new file mode 100644 index 0000000000..e0659a4853 --- /dev/null +++ b/extensions/inference-triton-trtllm-extension/rolldown.config.mjs @@ -0,0 +1,16 @@ +import { defineConfig } from 'rolldown' +import pkgJson from './package.json' with { type: 'json' } +import settingJson from './resources/settings.json' with { type: 'json' } + +export default defineConfig({ + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + SETTINGS: JSON.stringify(settingJson), + ENGINE: JSON.stringify(pkgJson.engine), + }, +}) diff --git a/extensions/inference-triton-trtllm-extension/src/env.d.ts b/extensions/inference-triton-trtllm-extension/src/env.d.ts new file mode 100644 index 0000000000..4ff21449c1 --- /dev/null +++ b/extensions/inference-triton-trtllm-extension/src/env.d.ts @@ -0,0 +1 @@ +declare const SETTINGS: SettingComponentProps[] diff --git a/extensions/inference-triton-trtllm-extension/src/index.ts b/extensions/inference-triton-trtllm-extension/src/index.ts index be34837ac5..2f351defee 100644 --- a/extensions/inference-triton-trtllm-extension/src/index.ts +++ b/extensions/inference-triton-trtllm-extension/src/index.ts @@ -6,9 +6,8 @@ * @module inference-nvidia-triton-trt-llm-extension/src/index */ -import { RemoteOAIEngine, SettingComponentProps } from '@janhq/core' +import { RemoteOAIEngine } from '@janhq/core' -declare const SETTINGS: Array enum Settings { apiKey = 'tritonllm-api-key', chatCompletionsEndPoint = 'chat-completions-endpoint', diff --git a/extensions/inference-triton-trtllm-extension/webpack.config.js b/extensions/inference-triton-trtllm-extension/webpack.config.js deleted file mode 100644 index 6486d5efc9..0000000000 --- a/extensions/inference-triton-trtllm-extension/webpack.config.js +++ /dev/null @@ -1,35 +0,0 @@ -const webpack = require('webpack') -const packageJson = require('./package.json') -const settingJson = require('./resources/settings.json') - -module.exports = { - experiments: { outputModule: true }, - entry: './src/index.ts', // Adjust the entry point to match your project's main file - mode: 'production', - module: { - rules: [ - { - test: /\.tsx?$/, - use: 'ts-loader', - exclude: /node_modules/, - }, - ], - }, - plugins: [ - new webpack.DefinePlugin({ - SETTINGS: JSON.stringify(settingJson), - MODULE: JSON.stringify(`${packageJson.name}/${packageJson.module}`), - }), - ], - output: { - filename: 'index.js', // Adjust the output file name as needed - library: { type: 'module' }, // Specify ESM output format - }, - resolve: { - extensions: ['.ts', '.js'], - }, - optimization: { - minimize: false, - }, - // Add loaders and other configuration as needed for your project -} diff --git a/extensions/model-extension/package.json b/extensions/model-extension/package.json index 4934422d81..02e9174fa5 100644 --- a/extensions/model-extension/package.json +++ b/extensions/model-extension/package.json @@ -8,23 +8,13 @@ "license": "AGPL-3.0", "scripts": { "test": "jest", - "build": "tsc --module commonjs && rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript --bundleConfigAsCjs", + "build": "rolldown -c rolldown.config.mjs", "build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install" }, "devDependencies": { - "@rollup/plugin-commonjs": "^25.0.7", - "@rollup/plugin-json": "^6.1.0", - "@rollup/plugin-node-resolve": "^15.2.3", - "@rollup/plugin-replace": "^5.0.5", - "@rollup/plugin-typescript": "^11.1.6", - "@types/pdf-parse": "^1.1.4", "cpx": "^1.5.0", - "download-cli": "^1.1.1", "rimraf": "^3.0.2", - "rollup": "^2.38.5", - "rollup-plugin-define": "^1.0.1", - "rollup-plugin-sourcemaps": "^0.6.3", - "rollup-plugin-typescript2": "^0.36.0", + "rolldown": "1.0.0-beta.1", "run-script-os": "^1.1.6", "ts-loader": "^9.5.0", "typescript": "5.3.3" diff --git a/extensions/model-extension/rolldown.config.mjs b/extensions/model-extension/rolldown.config.mjs new file mode 100644 index 0000000000..0e4c866fe2 --- /dev/null +++ b/extensions/model-extension/rolldown.config.mjs @@ -0,0 +1,16 @@ +import { defineConfig } from 'rolldown' +import settingJson from './resources/settings.json' with { type: 'json' } + +export default defineConfig({ + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + SETTINGS: JSON.stringify(settingJson), + API_URL: JSON.stringify('http://127.0.0.1:39291'), + SOCKET_URL: JSON.stringify('ws://127.0.0.1:39291'), + }, +}) diff --git a/extensions/model-extension/rollup.config.ts b/extensions/model-extension/rollup.config.ts deleted file mode 100644 index 64e62480ff..0000000000 --- a/extensions/model-extension/rollup.config.ts +++ /dev/null @@ -1,48 +0,0 @@ -import resolve from '@rollup/plugin-node-resolve' -import sourceMaps from 'rollup-plugin-sourcemaps' -import typescript from 'rollup-plugin-typescript2' -import json from '@rollup/plugin-json' -import replace from '@rollup/plugin-replace' -import commonjs from '@rollup/plugin-commonjs' -const settingJson = require('./resources/settings.json') -const packageJson = require('./package.json') - -export default [ - { - input: `src/index.ts`, - output: [{ file: packageJson.main, format: 'es', sourcemap: true }], - // Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash') - external: [], - watch: { - include: 'src/**', - }, - plugins: [ - replace({ - preventAssignment: true, - SETTINGS: JSON.stringify(settingJson), - API_URL: JSON.stringify('http://127.0.0.1:39291'), - SOCKET_URL: JSON.stringify('ws://127.0.0.1:39291'), - }), - // Allow json resolution - json(), - // Compile TypeScript files - typescript({ - useTsconfigDeclarationDir: true, - exclude: ['**/__tests__', '**/*.test.ts'], - }), - // Compile TypeScript files - // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs) - commonjs(), - // Allow node_modules resolution, so you can use 'external' to control - // which external modules to include in the bundle - // https://github.com/rollup/rollup-plugin-node-resolve#usage - resolve({ - extensions: ['.js', '.ts', '.svelte'], - browser: true, - }), - - // Resolve source maps to the original source - sourceMaps(), - ], - }, -] diff --git a/extensions/model-extension/src/@types/global.d.ts b/extensions/model-extension/src/@types/global.d.ts index bff3811e34..92d9df09b0 100644 --- a/extensions/model-extension/src/@types/global.d.ts +++ b/extensions/model-extension/src/@types/global.d.ts @@ -1,15 +1,13 @@ -export {} -declare global { - declare const NODE: string - declare const API_URL: string - declare const SOCKET_URL: string +declare const NODE: string +declare const API_URL: string +declare const SOCKET_URL: string +declare const SETTINGS: SettingComponentProps[] - interface Core { - api: APIFunctions - events: EventEmitter - } - interface Window { - core?: Core | undefined - electronAPI?: any | undefined - } +interface Core { + api: APIFunctions + events: EventEmitter +} +interface Window { + core?: Core | undefined + electronAPI?: any | undefined } diff --git a/extensions/model-extension/src/index.ts b/extensions/model-extension/src/index.ts index e29084bc2b..832f279f9d 100644 --- a/extensions/model-extension/src/index.ts +++ b/extensions/model-extension/src/index.ts @@ -18,8 +18,6 @@ import { downloadModel } from './legacy/download' import { systemInformation } from '@janhq/core' import { deleteModelFiles } from './legacy/delete' -declare const SETTINGS: Array - export enum Settings { huggingfaceToken = 'hugging-face-access-token', } diff --git a/extensions/monitoring-extension/package.json b/extensions/monitoring-extension/package.json index 6bdbabb3b1..105e886b6d 100644 --- a/extensions/monitoring-extension/package.json +++ b/extensions/monitoring-extension/package.json @@ -8,7 +8,7 @@ "author": "Jan ", "license": "AGPL-3.0", "scripts": { - "build": "tsc --module commonjs && rollup -c rollup.config.ts && yarn download-artifacts", + "build": "rolldown -c rolldown.config.mjs && yarn download-artifacts", "download-artifacts": "run-script-os && cpx \"bin/**\" \"dist/bin\"", "download-artifacts:darwin": "echo 'No artifacts to download for darwin'", "download-artifacts:win32": "download.bat", @@ -20,24 +20,17 @@ "./main": "./dist/node/index.cjs.js" }, "devDependencies": { - "@rollup/plugin-commonjs": "^25.0.7", - "@rollup/plugin-json": "^6.1.0", - "@rollup/plugin-node-resolve": "^15.2.3", "@types/node": "^20.11.4", "@types/node-os-utils": "^1.3.4", "cpx": "^1.5.0", "download-cli": "^1.1.1", "rimraf": "^3.0.2", - "rollup": "^2.38.5", - "rollup-plugin-define": "^1.0.1", - "rollup-plugin-sourcemaps": "^0.6.3", - "rollup-plugin-typescript2": "^0.36.0", + "rolldown": "1.0.0-beta.1", "run-script-os": "^1.1.6", "typescript": "^5.3.3" }, "dependencies": { "@janhq/core": "../../core/package.tgz", - "@rollup/plugin-replace": "^5.0.5", "node-os-utils": "^1.3.7" }, "files": [ diff --git a/extensions/monitoring-extension/rolldown.config.mjs b/extensions/monitoring-extension/rolldown.config.mjs new file mode 100644 index 0000000000..3533e052b1 --- /dev/null +++ b/extensions/monitoring-extension/rolldown.config.mjs @@ -0,0 +1,32 @@ +import { defineConfig } from 'rolldown' +import packageJson from './package.json' with { type: 'json' } +import settingJson from './resources/settings.json' with { type: 'json' } + +export default defineConfig([ + { + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + NODE: JSON.stringify(`${packageJson.name}/${packageJson.node}`), + SETTINGS: JSON.stringify(settingJson), + }, + }, + { + input: 'src/node/index.ts', + external: ['@janhq/core/node'], + output: { + format: 'cjs', + file: 'dist/node/index.cjs.js', + sourcemap: false, + inlineDynamicImports: true, + }, + resolve: { + extensions: ['.js', '.ts', '.json'], + }, + platform: 'node', + }, +]) diff --git a/extensions/monitoring-extension/rollup.config.ts b/extensions/monitoring-extension/rollup.config.ts deleted file mode 100644 index b054d62916..0000000000 --- a/extensions/monitoring-extension/rollup.config.ts +++ /dev/null @@ -1,71 +0,0 @@ -import resolve from '@rollup/plugin-node-resolve' -import commonjs from '@rollup/plugin-commonjs' -import sourceMaps from 'rollup-plugin-sourcemaps' -import typescript from 'rollup-plugin-typescript2' -import json from '@rollup/plugin-json' -import replace from '@rollup/plugin-replace' -const settingJson = require('./resources/settings.json') -const packageJson = require('./package.json') - -export default [ - { - input: `src/index.ts`, - output: [{ file: packageJson.main, format: 'es', sourcemap: true }], - // Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash') - external: [], - watch: { - include: 'src/**', - }, - plugins: [ - replace({ - preventAssignment: true, - NODE: JSON.stringify(`${packageJson.name}/${packageJson.node}`), - SETTINGS: JSON.stringify(settingJson), - }), - // Allow json resolution - json(), - // Compile TypeScript files - typescript({ useTsconfigDeclarationDir: true }), - // Compile TypeScript files - // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs) - commonjs(), - // Allow node_modules resolution, so you can use 'external' to control - // which external modules to include in the bundle - // https://github.com/rollup/rollup-plugin-node-resolve#usage - resolve({ - extensions: ['.js', '.ts', '.svelte'], - }), - - // Resolve source maps to the original source - sourceMaps(), - ], - }, - { - input: `src/node/index.ts`, - output: [ - { file: 'dist/node/index.cjs.js', format: 'cjs', sourcemap: true }, - ], - // Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash') - external: ['@janhq/core/node'], - watch: { - include: 'src/node/**', - }, - plugins: [ - // Allow json resolution - json(), - // Compile TypeScript files - typescript({ useTsconfigDeclarationDir: true }), - // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs) - commonjs(), - // Allow node_modules resolution, so you can use 'external' to control - // which external modules to include in the bundle - // https://github.com/rollup/rollup-plugin-node-resolve#usage - resolve({ - extensions: ['.ts', '.js', '.json'], - }), - - // Resolve source maps to the original source - sourceMaps(), - ], - }, -] diff --git a/extensions/monitoring-extension/src/@types/global.d.ts b/extensions/monitoring-extension/src/@types/global.d.ts index dfa96a0b1b..7536fabd89 100644 --- a/extensions/monitoring-extension/src/@types/global.d.ts +++ b/extensions/monitoring-extension/src/@types/global.d.ts @@ -1,4 +1,5 @@ declare const NODE: string +declare const SETTINGS: SettingComponentProps[] type CpuGpuInfo = { cpu: { diff --git a/extensions/monitoring-extension/src/index.ts b/extensions/monitoring-extension/src/index.ts index eca71326e5..5616c70a8e 100644 --- a/extensions/monitoring-extension/src/index.ts +++ b/extensions/monitoring-extension/src/index.ts @@ -7,8 +7,6 @@ import { executeOnMain, } from '@janhq/core' -declare const SETTINGS: Array - enum Settings { logEnabled = 'log-enabled', logCleaningInterval = 'log-cleaning-interval', diff --git a/extensions/tensorrt-llm-extension/package.json b/extensions/tensorrt-llm-extension/package.json index 39bdba8f52..1cc098ddec 100644 --- a/extensions/tensorrt-llm-extension/package.json +++ b/extensions/tensorrt-llm-extension/package.json @@ -23,7 +23,7 @@ "provider": "nitro-tensorrt-llm", "scripts": { "test": "jest", - "build": "tsc --module commonjs && rollup -c rollup.config.ts", + "build": "rolldown -c rolldown.config.mjs", "build:publish": "rimraf *.tgz --glob || true && yarn build && cpx \"bin/**\" \"dist/bin\" && npm pack && cpx *.tgz ../../pre-install" }, "exports": { @@ -31,10 +31,6 @@ "./main": "./dist/node/index.cjs.js" }, "devDependencies": { - "@rollup/plugin-commonjs": "^25.0.7", - "@rollup/plugin-json": "^6.1.0", - "@rollup/plugin-node-resolve": "^15.2.3", - "@rollup/plugin-replace": "^5.0.5", "@types/decompress": "4.2.7", "@types/jest": "^29.5.12", "@types/node": "^20.11.4", @@ -46,10 +42,7 @@ "jest-junit": "^16.0.0", "jest-runner": "^29.7.0", "rimraf": "^3.0.2", - "rollup": "^2.38.5", - "rollup-plugin-define": "^1.0.1", - "rollup-plugin-sourcemaps": "^0.6.3", - "rollup-plugin-typescript2": "^0.36.0", + "rolldown": "1.0.0-beta.1", "run-script-os": "^1.1.6", "ts-jest": "^29.2.5", "typescript": "^5.2.2" diff --git a/extensions/tensorrt-llm-extension/rolldown.config.mjs b/extensions/tensorrt-llm-extension/rolldown.config.mjs new file mode 100644 index 0000000000..bb02c785bc --- /dev/null +++ b/extensions/tensorrt-llm-extension/rolldown.config.mjs @@ -0,0 +1,59 @@ +import { defineConfig } from 'rolldown' +import packageJson from './package.json' with { type: 'json' } +import modelsJson from './resources/models.json' with { type: 'json' } + +export default defineConfig([ + { + input: 'src/index.ts', + output: { + format: 'esm', + file: 'dist/index.js', + }, + platform: 'browser', + define: { + MODELS: JSON.stringify(modelsJson), + TENSORRT_VERSION: JSON.stringify(packageJson.tensorrtVersion), + PROVIDER: JSON.stringify(packageJson.provider), + DOWNLOAD_RUNNER_URL: + process.platform === 'win32' + ? JSON.stringify( + 'https://github.com/janhq/cortex.tensorrt-llm/releases/download/windows-v-tensorrt-llm-v0.7.1/nitro-windows-v-tensorrt-llm-v0.7.1-amd64-all-arch.tar.gz' + ) + : JSON.stringify( + 'https://github.com/janhq/cortex.tensorrt-llm/releases/download/linux-v/nitro-linux-v-amd64-tensorrt-llm-.tar.gz' + ), + NODE: JSON.stringify(`${packageJson.name}/${packageJson.node}`), + INFERENCE_URL: JSON.stringify( + process.env.INFERENCE_URL || + `${packageJson.config?.protocol ?? 'http'}://${packageJson.config?.host}:${packageJson.config?.port}/v1/chat/completions` + ), + COMPATIBILITY: JSON.stringify(packageJson.compatibility), + }, + }, + { + input: 'src/node/index.ts', + external: ['@janhq/core/node'], + output: { + format: 'cjs', + file: 'dist/node/index.cjs.js', + sourcemap: false, + inlineDynamicImports: true, + }, + replace: { + TENSORRT_VERSION: JSON.stringify(packageJson.tensorrtVersion), + PROVIDER: JSON.stringify(packageJson.provider), + LOAD_MODEL_URL: JSON.stringify( + `${packageJson.config?.protocol ?? 'http'}://${packageJson.config?.host}:${packageJson.config?.port}/inferences/tensorrtllm/loadmodel` + ), + TERMINATE_ENGINE_URL: JSON.stringify( + `${packageJson.config?.protocol ?? 'http'}://${packageJson.config?.host}:${packageJson.config?.port}/processmanager/destroy` + ), + ENGINE_HOST: JSON.stringify(packageJson.config?.host ?? '127.0.0.1'), + ENGINE_PORT: JSON.stringify(packageJson.config?.port ?? '3928'), + }, + resolve: { + extensions: ['.js', '.ts', '.json'], + }, + platform: 'node', + }, +]) diff --git a/extensions/tensorrt-llm-extension/rollup.config.ts b/extensions/tensorrt-llm-extension/rollup.config.ts deleted file mode 100644 index 50b4350e71..0000000000 --- a/extensions/tensorrt-llm-extension/rollup.config.ts +++ /dev/null @@ -1,79 +0,0 @@ -import resolve from '@rollup/plugin-node-resolve' -import commonjs from '@rollup/plugin-commonjs' -import sourceMaps from 'rollup-plugin-sourcemaps' -import typescript from 'rollup-plugin-typescript2' -import json from '@rollup/plugin-json' -import replace from '@rollup/plugin-replace' -const packageJson = require('./package.json') -const modelsJson = require('./resources/models.json') - -export default [ - { - input: `src/index.ts`, - output: [{ file: packageJson.main, format: 'es', sourcemap: true }], - watch: { - include: 'src/**', - }, - plugins: [ - replace({ - preventAssignment: true, - MODELS: JSON.stringify(modelsJson), - TENSORRT_VERSION: JSON.stringify(packageJson.tensorrtVersion), - PROVIDER: JSON.stringify(packageJson.provider), - DOWNLOAD_RUNNER_URL: - process.platform === 'win32' - ? JSON.stringify( - 'https://github.com/janhq/cortex.tensorrt-llm/releases/download/windows-v-tensorrt-llm-v0.7.1/nitro-windows-v-tensorrt-llm-v0.7.1-amd64-all-arch.tar.gz' - ) - : JSON.stringify( - 'https://github.com/janhq/cortex.tensorrt-llm/releases/download/linux-v/nitro-linux-v-amd64-tensorrt-llm-.tar.gz' - ), - NODE: JSON.stringify(`${packageJson.name}/${packageJson.node}`), - INFERENCE_URL: JSON.stringify( - process.env.INFERENCE_URL || - `${packageJson.config?.protocol ?? 'http'}://${packageJson.config?.host}:${packageJson.config?.port}/v1/chat/completions` - ), - COMPATIBILITY: JSON.stringify(packageJson.compatibility), - }), - json(), - typescript({ useTsconfigDeclarationDir: true }), - commonjs(), - resolve({ - extensions: ['.js', '.ts', '.svelte'], - }), - sourceMaps(), - ], - }, - { - input: `src/node/index.ts`, - output: [ - { file: 'dist/node/index.cjs.js', format: 'cjs', sourcemap: true }, - ], - external: ['@janhq/core/node'], - watch: { - include: 'src/node/**', - }, - plugins: [ - replace({ - preventAssignment: true, - TENSORRT_VERSION: JSON.stringify(packageJson.tensorrtVersion), - PROVIDER: JSON.stringify(packageJson.provider), - LOAD_MODEL_URL: JSON.stringify( - `${packageJson.config?.protocol ?? 'http'}://${packageJson.config?.host}:${packageJson.config?.port}/inferences/tensorrtllm/loadmodel` - ), - TERMINATE_ENGINE_URL: JSON.stringify( - `${packageJson.config?.protocol ?? 'http'}://${packageJson.config?.host}:${packageJson.config?.port}/processmanager/destroy` - ), - ENGINE_HOST: JSON.stringify(packageJson.config?.host ?? '127.0.0.1'), - ENGINE_PORT: JSON.stringify(packageJson.config?.port ?? '3928'), - }), - json(), - typescript({ useTsconfigDeclarationDir: true }), - commonjs(), - resolve({ - extensions: ['.ts', '.js', '.json'], - }), - sourceMaps(), - ], - }, -] diff --git a/extensions/yarn.lock b/extensions/yarn.lock index 77a29c3fd7..79c9056a92 100644 --- a/extensions/yarn.lock +++ b/extensions/yarn.lock @@ -86,15 +86,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-annotate-as-pure@npm:^7.25.9": - version: 7.25.9 - resolution: "@babel/helper-annotate-as-pure@npm:7.25.9" - dependencies: - "@babel/types": "npm:^7.25.9" - checksum: 10c0/095b6ba50489d797733abebc4596a81918316a99e3632755c9f02508882912b00c2ae5e468532a25a5c2108d109ddbe9b7da78333ee7cc13817fc50c00cf06fe - languageName: node - linkType: hard - "@babel/helper-compilation-targets@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-compilation-targets@npm:7.25.9" @@ -108,33 +99,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-create-class-features-plugin@npm:^7.25.9": - version: 7.25.9 - resolution: "@babel/helper-create-class-features-plugin@npm:7.25.9" - dependencies: - "@babel/helper-annotate-as-pure": "npm:^7.25.9" - "@babel/helper-member-expression-to-functions": "npm:^7.25.9" - "@babel/helper-optimise-call-expression": "npm:^7.25.9" - "@babel/helper-replace-supers": "npm:^7.25.9" - "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.25.9" - "@babel/traverse": "npm:^7.25.9" - semver: "npm:^6.3.1" - peerDependencies: - "@babel/core": ^7.0.0 - checksum: 10c0/b2bdd39f38056a76b9ba00ec5b209dd84f5c5ebd998d0f4033cf0e73d5f2c357fbb49d1ce52db77a2709fb29ee22321f84a5734dc9914849bdfee9ad12ce8caf - languageName: node - linkType: hard - -"@babel/helper-member-expression-to-functions@npm:^7.25.9": - version: 7.25.9 - resolution: "@babel/helper-member-expression-to-functions@npm:7.25.9" - dependencies: - "@babel/traverse": "npm:^7.25.9" - "@babel/types": "npm:^7.25.9" - checksum: 10c0/e08c7616f111e1fb56f398365e78858e26e466d4ac46dff25921adc5ccae9b232f66e952a2f4162bbe336627ba336c7fd9eca4835b6548935973d3380d77eaff - languageName: node - linkType: hard - "@babel/helper-module-imports@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-module-imports@npm:7.25.9" @@ -158,15 +122,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-optimise-call-expression@npm:^7.25.9": - version: 7.25.9 - resolution: "@babel/helper-optimise-call-expression@npm:7.25.9" - dependencies: - "@babel/types": "npm:^7.25.9" - checksum: 10c0/90203e6607edeadd2a154940803fd616c0ed92c1013d6774c4b8eb491f1a5a3448b68faae6268141caa5c456e55e3ee49a4ed2bd7ddaf2365daea321c435914c - languageName: node - linkType: hard - "@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.25.9, @babel/helper-plugin-utils@npm:^7.8.0": version: 7.25.9 resolution: "@babel/helper-plugin-utils@npm:7.25.9" @@ -174,29 +129,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-replace-supers@npm:^7.25.9": - version: 7.25.9 - resolution: "@babel/helper-replace-supers@npm:7.25.9" - dependencies: - "@babel/helper-member-expression-to-functions": "npm:^7.25.9" - "@babel/helper-optimise-call-expression": "npm:^7.25.9" - "@babel/traverse": "npm:^7.25.9" - peerDependencies: - "@babel/core": ^7.0.0 - checksum: 10c0/0b40d7d2925bd3ba4223b3519e2e4d2456d471ad69aa458f1c1d1783c80b522c61f8237d3a52afc9e47c7174129bbba650df06393a6787d5722f2ec7f223c3f4 - languageName: node - linkType: hard - -"@babel/helper-skip-transparent-expression-wrappers@npm:^7.25.9": - version: 7.25.9 - resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.25.9" - dependencies: - "@babel/traverse": "npm:^7.25.9" - "@babel/types": "npm:^7.25.9" - checksum: 10c0/09ace0c6156961624ac9524329ce7f45350bab94bbe24335cbe0da7dfaa1448e658771831983cb83fe91cf6635b15d0a3cab57c03b92657480bfb49fb56dd184 - languageName: node - linkType: hard - "@babel/helper-string-parser@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-string-parser@npm:7.25.9" @@ -316,7 +248,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-jsx@npm:^7.25.9, @babel/plugin-syntax-jsx@npm:^7.7.2": +"@babel/plugin-syntax-jsx@npm:^7.7.2": version: 7.25.9 resolution: "@babel/plugin-syntax-jsx@npm:7.25.9" dependencies: @@ -415,7 +347,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-typescript@npm:^7.25.9, @babel/plugin-syntax-typescript@npm:^7.7.2": +"@babel/plugin-syntax-typescript@npm:^7.7.2": version: 7.25.9 resolution: "@babel/plugin-syntax-typescript@npm:7.25.9" dependencies: @@ -426,48 +358,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-modules-commonjs@npm:^7.25.9": - version: 7.26.3 - resolution: "@babel/plugin-transform-modules-commonjs@npm:7.26.3" - dependencies: - "@babel/helper-module-transforms": "npm:^7.26.0" - "@babel/helper-plugin-utils": "npm:^7.25.9" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/82e59708f19f36da29531a64a7a94eabbf6ff46a615e0f5d9b49f3f59e8ef10e2bac607d749091508d3fa655146c9e5647c3ffeca781060cdabedb4c7a33c6f2 - languageName: node - linkType: hard - -"@babel/plugin-transform-typescript@npm:^7.25.9": - version: 7.26.3 - resolution: "@babel/plugin-transform-typescript@npm:7.26.3" - dependencies: - "@babel/helper-annotate-as-pure": "npm:^7.25.9" - "@babel/helper-create-class-features-plugin": "npm:^7.25.9" - "@babel/helper-plugin-utils": "npm:^7.25.9" - "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.25.9" - "@babel/plugin-syntax-typescript": "npm:^7.25.9" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/0a0509ec56666fab5b557d573254665956a377916fc1e7cee309c0711d11257338ba7ee678db03603a3985d2c6c0b210b788fb6b9616d8fc0595469e39089a8f - languageName: node - linkType: hard - -"@babel/preset-typescript@npm:^7.24.1": - version: 7.26.0 - resolution: "@babel/preset-typescript@npm:7.26.0" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.25.9" - "@babel/helper-validator-option": "npm:^7.25.9" - "@babel/plugin-syntax-jsx": "npm:^7.25.9" - "@babel/plugin-transform-modules-commonjs": "npm:^7.25.9" - "@babel/plugin-transform-typescript": "npm:^7.25.9" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/20d86bc45d2bbfde2f84fc7d7b38746fa6481d4bde6643039ad4b1ff0b804c6d210ee43e6830effd8571f2ff43fa7ffd27369f42f2b3a2518bb92dc86c780c61 - languageName: node - linkType: hard - "@babel/template@npm:^7.25.9, @babel/template@npm:^7.3.3": version: 7.25.9 resolution: "@babel/template@npm:7.25.9" @@ -511,13 +401,6 @@ __metadata: languageName: node linkType: hard -"@discoveryjs/json-ext@npm:^0.5.0": - version: 0.5.7 - resolution: "@discoveryjs/json-ext@npm:0.5.7" - checksum: 10c0/e10f1b02b78e4812646ddf289b7d9f2cb567d336c363b266bd50cd223cf3de7c2c74018d91cd2613041568397ef3a4a2b500aba588c6e5bd78c38374ba68f38c - languageName: node - linkType: hard - "@emnapi/core@npm:^1.3.1": version: 1.3.1 resolution: "@emnapi/core@npm:1.3.1" @@ -595,10 +478,6 @@ __metadata: dependencies: "@janhq/core": ../../core/package.tgz "@langchain/community": "npm:0.0.13" - "@rollup/plugin-commonjs": "npm:^25.0.7" - "@rollup/plugin-json": "npm:^6.1.0" - "@rollup/plugin-node-resolve": "npm:^15.2.3" - "@rollup/plugin-replace": "npm:^5.0.5" "@types/pdf-parse": "npm:^1.1.4" cpx: "npm:^1.5.0" hnswlib-node: "npm:^1.4.2" @@ -606,10 +485,7 @@ __metadata: node-gyp: "npm:^11.0.0" pdf-parse: "npm:^1.1.1" rimraf: "npm:^3.0.2" - rollup: "npm:^2.38.5" - rollup-plugin-define: "npm:^1.0.1" - rollup-plugin-sourcemaps: "npm:^0.6.3" - rollup-plugin-typescript2: "npm:^0.36.0" + rolldown: "npm:1.0.0-beta.1" run-script-os: "npm:^1.1.6" ts-loader: "npm:^9.5.0" typescript: "npm:^5.3.3" @@ -625,10 +501,9 @@ __metadata: ky: "npm:^1.7.2" p-queue: "npm:^8.0.1" rimraf: "npm:^3.0.2" + rolldown: "npm:1.0.0-beta.1" ts-loader: "npm:^9.5.0" typescript: "npm:^5.7.2" - webpack: "npm:^5.88.2" - webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -797,7 +672,6 @@ __metadata: resolution: "@janhq/engine-management-extension@workspace:engine-management-extension" dependencies: "@janhq/core": ../../core/package.tgz - "@rollup/plugin-replace": "npm:^6.0.2" cpu-instructions: "npm:^0.0.13" cpx: "npm:^1.5.0" ky: "npm:^1.7.2" @@ -806,8 +680,6 @@ __metadata: rolldown: "npm:^1.0.0-beta.1" ts-loader: "npm:^9.5.0" typescript: "npm:^5.3.3" - webpack: "npm:^5.88.2" - webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -819,11 +691,10 @@ __metadata: cpx: "npm:^1.5.0" fetch-retry: "npm:^5.0.6" rimraf: "npm:^3.0.2" + rolldown: "npm:1.0.0-beta.1" ts-loader: "npm:^9.5.0" typescript: "npm:^5.7.2" ulidx: "npm:^2.3.0" - webpack: "npm:^5.88.2" - webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -835,11 +706,10 @@ __metadata: cpx: "npm:^1.5.0" fetch-retry: "npm:^5.0.6" rimraf: "npm:^3.0.2" + rolldown: "npm:1.0.0-beta.1" ts-loader: "npm:^9.5.0" typescript: "npm:^5.7.2" ulidx: "npm:^2.3.0" - webpack: "npm:^5.88.2" - webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -847,13 +717,8 @@ __metadata: version: 0.0.0-use.local resolution: "@janhq/inference-cortex-extension@workspace:inference-cortex-extension" dependencies: - "@babel/preset-typescript": "npm:^7.24.1" "@janhq/core": ../../core/package.tgz "@jest/globals": "npm:^29.7.0" - "@rollup/plugin-commonjs": "npm:^25.0.7" - "@rollup/plugin-json": "npm:^6.1.0" - "@rollup/plugin-node-resolve": "npm:^15.2.3" - "@rollup/plugin-replace": "npm:^5.0.5" "@types/decompress": "npm:^4.2.7" "@types/jest": "npm:^29.5.12" "@types/node": "npm:^20.11.4" @@ -867,10 +732,7 @@ __metadata: ky: "npm:^1.7.2" p-queue: "npm:^8.0.1" rimraf: "npm:^3.0.2" - rollup: "npm:^2.38.5" - rollup-plugin-define: "npm:^1.0.1" - rollup-plugin-sourcemaps: "npm:^0.6.3" - rollup-plugin-typescript2: "npm:^0.36.0" + rolldown: "npm:1.0.0-beta.1" run-script-os: "npm:^1.1.6" rxjs: "npm:^7.8.1" tcp-port-used: "npm:^1.0.2" @@ -889,11 +751,10 @@ __metadata: cpx: "npm:^1.5.0" fetch-retry: "npm:^5.0.6" rimraf: "npm:^3.0.2" + rolldown: "npm:1.0.0-beta.1" ts-loader: "npm:^9.5.0" typescript: "npm:^5.7.2" ulidx: "npm:^2.3.0" - webpack: "npm:^5.88.2" - webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -905,11 +766,10 @@ __metadata: cpx: "npm:^1.5.0" fetch-retry: "npm:^5.0.6" rimraf: "npm:^3.0.2" + rolldown: "npm:1.0.0-beta.1" ts-loader: "npm:^9.5.0" typescript: "npm:^5.7.2" ulidx: "npm:^2.3.0" - webpack: "npm:^5.88.2" - webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -920,13 +780,11 @@ __metadata: "@janhq/core": ../../core/package.tgz cpx: "npm:^1.5.0" fetch-retry: "npm:^5.0.6" - path-browserify: "npm:^1.0.1" rimraf: "npm:^3.0.2" + rolldown: "npm:1.0.0-beta.1" ts-loader: "npm:^9.5.0" typescript: "npm:^5.7.2" ulidx: "npm:^2.3.0" - webpack: "npm:^5.88.2" - webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -937,13 +795,11 @@ __metadata: "@janhq/core": ../../core/package.tgz cpx: "npm:^1.5.0" fetch-retry: "npm:^5.0.6" - path-browserify: "npm:^1.0.1" rimraf: "npm:^3.0.2" + rolldown: "npm:1.0.0-beta.1" ts-loader: "npm:^9.5.0" typescript: "npm:^5.7.2" ulidx: "npm:^2.3.0" - webpack: "npm:^5.88.2" - webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -955,11 +811,10 @@ __metadata: cpx: "npm:^1.5.0" fetch-retry: "npm:^5.0.6" rimraf: "npm:^3.0.2" + rolldown: "npm:1.0.0-beta.1" ts-loader: "npm:^9.5.0" typescript: "npm:^5.7.2" ulidx: "npm:^2.3.0" - webpack: "npm:^5.88.2" - webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -971,11 +826,10 @@ __metadata: cpx: "npm:^1.5.0" fetch-retry: "npm:^5.0.6" rimraf: "npm:^3.0.2" + rolldown: "npm:1.0.0-beta.1" ts-loader: "npm:^9.5.0" typescript: "npm:^5.7.2" ulidx: "npm:^2.3.0" - webpack: "npm:^5.88.2" - webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -987,12 +841,11 @@ __metadata: cpx: "npm:^1.5.0" fetch-retry: "npm:^5.0.6" rimraf: "npm:^3.0.2" + rolldown: "npm:1.0.0-beta.1" rxjs: "npm:^7.8.1" ts-loader: "npm:^9.5.0" typescript: "npm:^5.7.2" ulidx: "npm:^2.3.0" - webpack: "npm:^5.88.2" - webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -1001,21 +854,11 @@ __metadata: resolution: "@janhq/model-extension@workspace:model-extension" dependencies: "@janhq/core": ../../core/package.tgz - "@rollup/plugin-commonjs": "npm:^25.0.7" - "@rollup/plugin-json": "npm:^6.1.0" - "@rollup/plugin-node-resolve": "npm:^15.2.3" - "@rollup/plugin-replace": "npm:^5.0.5" - "@rollup/plugin-typescript": "npm:^11.1.6" - "@types/pdf-parse": "npm:^1.1.4" cpx: "npm:^1.5.0" - download-cli: "npm:^1.1.1" ky: "npm:^1.7.2" p-queue: "npm:^8.0.1" rimraf: "npm:^3.0.2" - rollup: "npm:^2.38.5" - rollup-plugin-define: "npm:^1.0.1" - rollup-plugin-sourcemaps: "npm:^0.6.3" - rollup-plugin-typescript2: "npm:^0.36.0" + rolldown: "npm:1.0.0-beta.1" run-script-os: "npm:^1.1.6" ts-loader: "npm:^9.5.0" typescript: "npm:5.3.3" @@ -1027,20 +870,13 @@ __metadata: resolution: "@janhq/monitoring-extension@workspace:monitoring-extension" dependencies: "@janhq/core": ../../core/package.tgz - "@rollup/plugin-commonjs": "npm:^25.0.7" - "@rollup/plugin-json": "npm:^6.1.0" - "@rollup/plugin-node-resolve": "npm:^15.2.3" - "@rollup/plugin-replace": "npm:^5.0.5" "@types/node": "npm:^20.11.4" "@types/node-os-utils": "npm:^1.3.4" cpx: "npm:^1.5.0" download-cli: "npm:^1.1.1" node-os-utils: "npm:^1.3.7" rimraf: "npm:^3.0.2" - rollup: "npm:^2.38.5" - rollup-plugin-define: "npm:^1.0.1" - rollup-plugin-sourcemaps: "npm:^0.6.3" - rollup-plugin-typescript2: "npm:^0.36.0" + rolldown: "npm:1.0.0-beta.1" run-script-os: "npm:^1.1.6" typescript: "npm:^5.3.3" languageName: unknown @@ -1051,10 +887,6 @@ __metadata: resolution: "@janhq/tensorrt-llm-extension@workspace:tensorrt-llm-extension" dependencies: "@janhq/core": ../../core/package.tgz - "@rollup/plugin-commonjs": "npm:^25.0.7" - "@rollup/plugin-json": "npm:^6.1.0" - "@rollup/plugin-node-resolve": "npm:^15.2.3" - "@rollup/plugin-replace": "npm:^5.0.5" "@types/decompress": "npm:4.2.7" "@types/jest": "npm:^29.5.12" "@types/node": "npm:^20.11.4" @@ -1068,10 +900,7 @@ __metadata: jest-junit: "npm:^16.0.0" jest-runner: "npm:^29.7.0" rimraf: "npm:^3.0.2" - rollup: "npm:^2.38.5" - rollup-plugin-define: "npm:^1.0.1" - rollup-plugin-sourcemaps: "npm:^0.6.3" - rollup-plugin-typescript2: "npm:^0.36.0" + rolldown: "npm:1.0.0-beta.1" run-script-os: "npm:^1.1.6" rxjs: "npm:^7.8.1" tcp-port-used: "npm:^1.0.2" @@ -1337,17 +1166,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/source-map@npm:^0.3.3": - version: 0.3.6 - resolution: "@jridgewell/source-map@npm:0.3.6" - dependencies: - "@jridgewell/gen-mapping": "npm:^0.3.5" - "@jridgewell/trace-mapping": "npm:^0.3.25" - checksum: 10c0/6a4ecc713ed246ff8e5bdcc1ef7c49aaa93f7463d948ba5054dda18b02dcc6a055e2828c577bcceee058f302ce1fc95595713d44f5c45e43d459f88d267f2f04 - languageName: node - linkType: hard - -"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.14, @jridgewell/sourcemap-codec@npm:^1.5.0": +"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.14": version: 1.5.0 resolution: "@jridgewell/sourcemap-codec@npm:1.5.0" checksum: 10c0/2eb864f276eb1096c3c11da3e9bb518f6d9fc0023c78344cdc037abadc725172c70314bdb360f2d4b7bffec7f5d657ce006816bc5d4ecb35e61b66132db00c18 @@ -2003,6 +1822,13 @@ __metadata: languageName: node linkType: hard +"@rolldown/binding-darwin-arm64@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "@rolldown/binding-darwin-arm64@npm:1.0.0-beta.1" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@rolldown/binding-darwin-arm64@npm:1.0.0-beta.1-commit.f90856a": version: 1.0.0-beta.1-commit.f90856a resolution: "@rolldown/binding-darwin-arm64@npm:1.0.0-beta.1-commit.f90856a" @@ -2010,6 +1836,13 @@ __metadata: languageName: node linkType: hard +"@rolldown/binding-darwin-x64@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "@rolldown/binding-darwin-x64@npm:1.0.0-beta.1" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@rolldown/binding-darwin-x64@npm:1.0.0-beta.1-commit.f90856a": version: 1.0.0-beta.1-commit.f90856a resolution: "@rolldown/binding-darwin-x64@npm:1.0.0-beta.1-commit.f90856a" @@ -2017,6 +1850,13 @@ __metadata: languageName: node linkType: hard +"@rolldown/binding-freebsd-x64@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "@rolldown/binding-freebsd-x64@npm:1.0.0-beta.1" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@rolldown/binding-freebsd-x64@npm:1.0.0-beta.1-commit.f90856a": version: 1.0.0-beta.1-commit.f90856a resolution: "@rolldown/binding-freebsd-x64@npm:1.0.0-beta.1-commit.f90856a" @@ -2024,6 +1864,13 @@ __metadata: languageName: node linkType: hard +"@rolldown/binding-linux-arm-gnueabihf@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "@rolldown/binding-linux-arm-gnueabihf@npm:1.0.0-beta.1" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@rolldown/binding-linux-arm-gnueabihf@npm:1.0.0-beta.1-commit.f90856a": version: 1.0.0-beta.1-commit.f90856a resolution: "@rolldown/binding-linux-arm-gnueabihf@npm:1.0.0-beta.1-commit.f90856a" @@ -2031,6 +1878,13 @@ __metadata: languageName: node linkType: hard +"@rolldown/binding-linux-arm64-gnu@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "@rolldown/binding-linux-arm64-gnu@npm:1.0.0-beta.1" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + "@rolldown/binding-linux-arm64-gnu@npm:1.0.0-beta.1-commit.f90856a": version: 1.0.0-beta.1-commit.f90856a resolution: "@rolldown/binding-linux-arm64-gnu@npm:1.0.0-beta.1-commit.f90856a" @@ -2038,6 +1892,13 @@ __metadata: languageName: node linkType: hard +"@rolldown/binding-linux-arm64-musl@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "@rolldown/binding-linux-arm64-musl@npm:1.0.0-beta.1" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + "@rolldown/binding-linux-arm64-musl@npm:1.0.0-beta.1-commit.f90856a": version: 1.0.0-beta.1-commit.f90856a resolution: "@rolldown/binding-linux-arm64-musl@npm:1.0.0-beta.1-commit.f90856a" @@ -2045,6 +1906,13 @@ __metadata: languageName: node linkType: hard +"@rolldown/binding-linux-x64-gnu@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "@rolldown/binding-linux-x64-gnu@npm:1.0.0-beta.1" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + "@rolldown/binding-linux-x64-gnu@npm:1.0.0-beta.1-commit.f90856a": version: 1.0.0-beta.1-commit.f90856a resolution: "@rolldown/binding-linux-x64-gnu@npm:1.0.0-beta.1-commit.f90856a" @@ -2052,6 +1920,13 @@ __metadata: languageName: node linkType: hard +"@rolldown/binding-linux-x64-musl@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "@rolldown/binding-linux-x64-musl@npm:1.0.0-beta.1" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + "@rolldown/binding-linux-x64-musl@npm:1.0.0-beta.1-commit.f90856a": version: 1.0.0-beta.1-commit.f90856a resolution: "@rolldown/binding-linux-x64-musl@npm:1.0.0-beta.1-commit.f90856a" @@ -2059,6 +1934,15 @@ __metadata: languageName: node linkType: hard +"@rolldown/binding-wasm32-wasi@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "@rolldown/binding-wasm32-wasi@npm:1.0.0-beta.1" + dependencies: + "@napi-rs/wasm-runtime": "npm:^0.2.4" + conditions: cpu=wasm32 + languageName: node + linkType: hard + "@rolldown/binding-wasm32-wasi@npm:1.0.0-beta.1-commit.f90856a": version: 1.0.0-beta.1-commit.f90856a resolution: "@rolldown/binding-wasm32-wasi@npm:1.0.0-beta.1-commit.f90856a" @@ -2068,6 +1952,13 @@ __metadata: languageName: node linkType: hard +"@rolldown/binding-win32-arm64-msvc@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "@rolldown/binding-win32-arm64-msvc@npm:1.0.0-beta.1" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@rolldown/binding-win32-arm64-msvc@npm:1.0.0-beta.1-commit.f90856a": version: 1.0.0-beta.1-commit.f90856a resolution: "@rolldown/binding-win32-arm64-msvc@npm:1.0.0-beta.1-commit.f90856a" @@ -2075,156 +1966,31 @@ __metadata: languageName: node linkType: hard -"@rolldown/binding-win32-ia32-msvc@npm:1.0.0-beta.1-commit.f90856a": - version: 1.0.0-beta.1-commit.f90856a - resolution: "@rolldown/binding-win32-ia32-msvc@npm:1.0.0-beta.1-commit.f90856a" +"@rolldown/binding-win32-ia32-msvc@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "@rolldown/binding-win32-ia32-msvc@npm:1.0.0-beta.1" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@rolldown/binding-win32-x64-msvc@npm:1.0.0-beta.1-commit.f90856a": +"@rolldown/binding-win32-ia32-msvc@npm:1.0.0-beta.1-commit.f90856a": version: 1.0.0-beta.1-commit.f90856a - resolution: "@rolldown/binding-win32-x64-msvc@npm:1.0.0-beta.1-commit.f90856a" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"@rollup/plugin-commonjs@npm:^25.0.7": - version: 25.0.8 - resolution: "@rollup/plugin-commonjs@npm:25.0.8" - dependencies: - "@rollup/pluginutils": "npm:^5.0.1" - commondir: "npm:^1.0.1" - estree-walker: "npm:^2.0.2" - glob: "npm:^8.0.3" - is-reference: "npm:1.2.1" - magic-string: "npm:^0.30.3" - peerDependencies: - rollup: ^2.68.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - checksum: 10c0/00d6fe41c33476dcb4b4ac3068f869b8537153646ea18f1fb9d0dfd5592792148567dd735d58ac15e2fdd4ed6c98453d20fe5343105f8cfa93d291198c9a90f5 - languageName: node - linkType: hard - -"@rollup/plugin-json@npm:^6.1.0": - version: 6.1.0 - resolution: "@rollup/plugin-json@npm:6.1.0" - dependencies: - "@rollup/pluginutils": "npm:^5.1.0" - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - checksum: 10c0/9400c431b5e0cf3088ba2eb2d038809a2b0fb2a84ed004997da85582f48cd64958ed3168893c4f2c8109e38652400ed68282d0c92bf8ec07a3b2ef2e1ceab0b7 - languageName: node - linkType: hard - -"@rollup/plugin-node-resolve@npm:^15.2.3": - version: 15.3.1 - resolution: "@rollup/plugin-node-resolve@npm:15.3.1" - dependencies: - "@rollup/pluginutils": "npm:^5.0.1" - "@types/resolve": "npm:1.20.2" - deepmerge: "npm:^4.2.2" - is-module: "npm:^1.0.0" - resolve: "npm:^1.22.1" - peerDependencies: - rollup: ^2.78.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - checksum: 10c0/ecf3abe890fc98ad665fdbfb1ea245253e0d1f2bc6d9f4e8f496f212c76a2ce7cd4b9bc0abd21e6bcaa16f72d1c67cc6b322ea12a6ec68e8a8834df8242a5ecd - languageName: node - linkType: hard - -"@rollup/plugin-replace@npm:^5.0.5": - version: 5.0.7 - resolution: "@rollup/plugin-replace@npm:5.0.7" - dependencies: - "@rollup/pluginutils": "npm:^5.0.1" - magic-string: "npm:^0.30.3" - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - checksum: 10c0/1732af42febdb42d96fd7916b65ca94a550a028d1ea5efa40d5d7a99ab3c336e41efac14a77eefef18b956b4b7335969c6252f2a22bf0223dc8b4a7a53f89ed3 - languageName: node - linkType: hard - -"@rollup/plugin-replace@npm:^6.0.2": - version: 6.0.2 - resolution: "@rollup/plugin-replace@npm:6.0.2" - dependencies: - "@rollup/pluginutils": "npm:^5.0.1" - magic-string: "npm:^0.30.3" - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - checksum: 10c0/71c0dea46f560c8dff59853446d43fa0e8258139a74d2af09fce5790d0540ff3d874c8fd9962cb049577d25327262bfc97485ef90b2a0a21bf28a9d3bd8c6d44 - languageName: node - linkType: hard - -"@rollup/plugin-typescript@npm:^11.1.6": - version: 11.1.6 - resolution: "@rollup/plugin-typescript@npm:11.1.6" - dependencies: - "@rollup/pluginutils": "npm:^5.1.0" - resolve: "npm:^1.22.1" - peerDependencies: - rollup: ^2.14.0||^3.0.0||^4.0.0 - tslib: "*" - typescript: ">=3.7.0" - peerDependenciesMeta: - rollup: - optional: true - tslib: - optional: true - checksum: 10c0/5347cd73ac28d4cf2401a3e689864a1a0df8f3ae029abd9c38525cbc84bcfa16c3a32a0ac5698dac65ec531ba7cf8332e14f5fc7f8fa501193da23320a134c5c - languageName: node - linkType: hard - -"@rollup/pluginutils@npm:^3.0.9": - version: 3.1.0 - resolution: "@rollup/pluginutils@npm:3.1.0" - dependencies: - "@types/estree": "npm:0.0.39" - estree-walker: "npm:^1.0.1" - picomatch: "npm:^2.2.2" - peerDependencies: - rollup: ^1.20.0||^2.0.0 - checksum: 10c0/7151753160d15ba2b259461a6c25b3932150994ea52dba8fd3144f634c7647c2e56733d986e2c15de67c4d96a9ee7d6278efa6d2e626a7169898fd64adc0f90c + resolution: "@rolldown/binding-win32-ia32-msvc@npm:1.0.0-beta.1-commit.f90856a" + conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@rollup/pluginutils@npm:^4.0.0, @rollup/pluginutils@npm:^4.1.2": - version: 4.2.1 - resolution: "@rollup/pluginutils@npm:4.2.1" - dependencies: - estree-walker: "npm:^2.0.1" - picomatch: "npm:^2.2.2" - checksum: 10c0/3ee56b2c8f1ed8dfd0a92631da1af3a2dfdd0321948f089b3752b4de1b54dc5076701eadd0e5fc18bd191b77af594ac1db6279e83951238ba16bf8a414c64c48 +"@rolldown/binding-win32-x64-msvc@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "@rolldown/binding-win32-x64-msvc@npm:1.0.0-beta.1" + conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@rollup/pluginutils@npm:^5.0.1, @rollup/pluginutils@npm:^5.1.0": - version: 5.1.4 - resolution: "@rollup/pluginutils@npm:5.1.4" - dependencies: - "@types/estree": "npm:^1.0.0" - estree-walker: "npm:^2.0.2" - picomatch: "npm:^4.0.2" - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - checksum: 10c0/6d58fbc6f1024eb4b087bc9bf59a1d655a8056a60c0b4021d3beaeec3f0743503f52467fd89d2cf0e7eccf2831feb40a05ad541a17637ea21ba10b21c2004deb +"@rolldown/binding-win32-x64-msvc@npm:1.0.0-beta.1-commit.f90856a": + version: 1.0.0-beta.1-commit.f90856a + resolution: "@rolldown/binding-win32-x64-msvc@npm:1.0.0-beta.1-commit.f90856a" + conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -2312,40 +2078,6 @@ __metadata: languageName: node linkType: hard -"@types/eslint-scope@npm:^3.7.7": - version: 3.7.7 - resolution: "@types/eslint-scope@npm:3.7.7" - dependencies: - "@types/eslint": "npm:*" - "@types/estree": "npm:*" - checksum: 10c0/a0ecbdf2f03912679440550817ff77ef39a30fa8bfdacaf6372b88b1f931828aec392f52283240f0d648cf3055c5ddc564544a626bcf245f3d09fcb099ebe3cc - languageName: node - linkType: hard - -"@types/eslint@npm:*": - version: 9.6.1 - resolution: "@types/eslint@npm:9.6.1" - dependencies: - "@types/estree": "npm:*" - "@types/json-schema": "npm:*" - checksum: 10c0/69ba24fee600d1e4c5abe0df086c1a4d798abf13792d8cfab912d76817fe1a894359a1518557d21237fbaf6eda93c5ab9309143dee4c59ef54336d1b3570420e - languageName: node - linkType: hard - -"@types/estree@npm:*, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.6": - version: 1.0.6 - resolution: "@types/estree@npm:1.0.6" - checksum: 10c0/cdfd751f6f9065442cd40957c07fd80361c962869aa853c1c2fd03e101af8b9389d8ff4955a43a6fcfa223dd387a089937f95be0f3eec21ca527039fd2d9859a - languageName: node - linkType: hard - -"@types/estree@npm:0.0.39": - version: 0.0.39 - resolution: "@types/estree@npm:0.0.39" - checksum: 10c0/f0af6c95ac1988c4827964bd9d3b51d24da442e2188943f6dfcb1e1559103d5d024d564b2e9d3f84c53714a02a0a7435c7441138eb63d9af5de4dfc66cdc0d92 - languageName: node - linkType: hard - "@types/graceful-fs@npm:^4.1.3": version: 4.1.9 resolution: "@types/graceful-fs@npm:4.1.9" @@ -2390,13 +2122,6 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": - version: 7.0.15 - resolution: "@types/json-schema@npm:7.0.15" - checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db - languageName: node - linkType: hard - "@types/keyv@npm:^3.1.1": version: 3.1.4 resolution: "@types/keyv@npm:3.1.4" @@ -2464,13 +2189,6 @@ __metadata: languageName: node linkType: hard -"@types/resolve@npm:1.20.2": - version: 1.20.2 - resolution: "@types/resolve@npm:1.20.2" - checksum: 10c0/c5b7e1770feb5ccfb6802f6ad82a7b0d50874c99331e0c9b259e415e55a38d7a86ad0901c57665d93f75938be2a6a0bc9aa06c9749192cadb2e4512800bbc6e6 - languageName: node - linkType: hard - "@types/responselike@npm:^1.0.0": version: 1.0.3 resolution: "@types/responselike@npm:1.0.3" @@ -2531,204 +2249,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/ast@npm:1.14.1, @webassemblyjs/ast@npm:^1.14.1": - version: 1.14.1 - resolution: "@webassemblyjs/ast@npm:1.14.1" - dependencies: - "@webassemblyjs/helper-numbers": "npm:1.13.2" - "@webassemblyjs/helper-wasm-bytecode": "npm:1.13.2" - checksum: 10c0/67a59be8ed50ddd33fbb2e09daa5193ac215bf7f40a9371be9a0d9797a114d0d1196316d2f3943efdb923a3d809175e1563a3cb80c814fb8edccd1e77494972b - languageName: node - linkType: hard - -"@webassemblyjs/floating-point-hex-parser@npm:1.13.2": - version: 1.13.2 - resolution: "@webassemblyjs/floating-point-hex-parser@npm:1.13.2" - checksum: 10c0/0e88bdb8b50507d9938be64df0867f00396b55eba9df7d3546eb5dc0ca64d62e06f8d881ec4a6153f2127d0f4c11d102b6e7d17aec2f26bb5ff95a5e60652412 - languageName: node - linkType: hard - -"@webassemblyjs/helper-api-error@npm:1.13.2": - version: 1.13.2 - resolution: "@webassemblyjs/helper-api-error@npm:1.13.2" - checksum: 10c0/31be497f996ed30aae4c08cac3cce50c8dcd5b29660383c0155fce1753804fc55d47fcba74e10141c7dd2899033164e117b3bcfcda23a6b043e4ded4f1003dfb - languageName: node - linkType: hard - -"@webassemblyjs/helper-buffer@npm:1.14.1": - version: 1.14.1 - resolution: "@webassemblyjs/helper-buffer@npm:1.14.1" - checksum: 10c0/0d54105dc373c0fe6287f1091e41e3a02e36cdc05e8cf8533cdc16c59ff05a646355415893449d3768cda588af451c274f13263300a251dc11a575bc4c9bd210 - languageName: node - linkType: hard - -"@webassemblyjs/helper-numbers@npm:1.13.2": - version: 1.13.2 - resolution: "@webassemblyjs/helper-numbers@npm:1.13.2" - dependencies: - "@webassemblyjs/floating-point-hex-parser": "npm:1.13.2" - "@webassemblyjs/helper-api-error": "npm:1.13.2" - "@xtuc/long": "npm:4.2.2" - checksum: 10c0/9c46852f31b234a8fb5a5a9d3f027bc542392a0d4de32f1a9c0075d5e8684aa073cb5929b56df565500b3f9cc0a2ab983b650314295b9bf208d1a1651bfc825a - languageName: node - linkType: hard - -"@webassemblyjs/helper-wasm-bytecode@npm:1.13.2": - version: 1.13.2 - resolution: "@webassemblyjs/helper-wasm-bytecode@npm:1.13.2" - checksum: 10c0/c4355d14f369b30cf3cbdd3acfafc7d0488e086be6d578e3c9780bd1b512932352246be96e034e2a7fcfba4f540ec813352f312bfcbbfe5bcfbf694f82ccc682 - languageName: node - linkType: hard - -"@webassemblyjs/helper-wasm-section@npm:1.14.1": - version: 1.14.1 - resolution: "@webassemblyjs/helper-wasm-section@npm:1.14.1" - dependencies: - "@webassemblyjs/ast": "npm:1.14.1" - "@webassemblyjs/helper-buffer": "npm:1.14.1" - "@webassemblyjs/helper-wasm-bytecode": "npm:1.13.2" - "@webassemblyjs/wasm-gen": "npm:1.14.1" - checksum: 10c0/1f9b33731c3c6dbac3a9c483269562fa00d1b6a4e7133217f40e83e975e636fd0f8736e53abd9a47b06b66082ecc976c7384391ab0a68e12d509ea4e4b948d64 - languageName: node - linkType: hard - -"@webassemblyjs/ieee754@npm:1.13.2": - version: 1.13.2 - resolution: "@webassemblyjs/ieee754@npm:1.13.2" - dependencies: - "@xtuc/ieee754": "npm:^1.2.0" - checksum: 10c0/2e732ca78c6fbae3c9b112f4915d85caecdab285c0b337954b180460290ccd0fb00d2b1dc4bb69df3504abead5191e0d28d0d17dfd6c9d2f30acac8c4961c8a7 - languageName: node - linkType: hard - -"@webassemblyjs/leb128@npm:1.13.2": - version: 1.13.2 - resolution: "@webassemblyjs/leb128@npm:1.13.2" - dependencies: - "@xtuc/long": "npm:4.2.2" - checksum: 10c0/dad5ef9e383c8ab523ce432dfd80098384bf01c45f70eb179d594f85ce5db2f80fa8c9cba03adafd85684e6d6310f0d3969a882538975989919329ac4c984659 - languageName: node - linkType: hard - -"@webassemblyjs/utf8@npm:1.13.2": - version: 1.13.2 - resolution: "@webassemblyjs/utf8@npm:1.13.2" - checksum: 10c0/d3fac9130b0e3e5a1a7f2886124a278e9323827c87a2b971e6d0da22a2ba1278ac9f66a4f2e363ecd9fac8da42e6941b22df061a119e5c0335f81006de9ee799 - languageName: node - linkType: hard - -"@webassemblyjs/wasm-edit@npm:^1.14.1": - version: 1.14.1 - resolution: "@webassemblyjs/wasm-edit@npm:1.14.1" - dependencies: - "@webassemblyjs/ast": "npm:1.14.1" - "@webassemblyjs/helper-buffer": "npm:1.14.1" - "@webassemblyjs/helper-wasm-bytecode": "npm:1.13.2" - "@webassemblyjs/helper-wasm-section": "npm:1.14.1" - "@webassemblyjs/wasm-gen": "npm:1.14.1" - "@webassemblyjs/wasm-opt": "npm:1.14.1" - "@webassemblyjs/wasm-parser": "npm:1.14.1" - "@webassemblyjs/wast-printer": "npm:1.14.1" - checksum: 10c0/5ac4781086a2ca4b320bdbfd965a209655fe8a208ca38d89197148f8597e587c9a2c94fb6bd6f1a7dbd4527c49c6844fcdc2af981f8d793a97bf63a016aa86d2 - languageName: node - linkType: hard - -"@webassemblyjs/wasm-gen@npm:1.14.1": - version: 1.14.1 - resolution: "@webassemblyjs/wasm-gen@npm:1.14.1" - dependencies: - "@webassemblyjs/ast": "npm:1.14.1" - "@webassemblyjs/helper-wasm-bytecode": "npm:1.13.2" - "@webassemblyjs/ieee754": "npm:1.13.2" - "@webassemblyjs/leb128": "npm:1.13.2" - "@webassemblyjs/utf8": "npm:1.13.2" - checksum: 10c0/d678810d7f3f8fecb2e2bdadfb9afad2ec1d2bc79f59e4711ab49c81cec578371e22732d4966f59067abe5fba8e9c54923b57060a729d28d408e608beef67b10 - languageName: node - linkType: hard - -"@webassemblyjs/wasm-opt@npm:1.14.1": - version: 1.14.1 - resolution: "@webassemblyjs/wasm-opt@npm:1.14.1" - dependencies: - "@webassemblyjs/ast": "npm:1.14.1" - "@webassemblyjs/helper-buffer": "npm:1.14.1" - "@webassemblyjs/wasm-gen": "npm:1.14.1" - "@webassemblyjs/wasm-parser": "npm:1.14.1" - checksum: 10c0/515bfb15277ee99ba6b11d2232ddbf22aed32aad6d0956fe8a0a0a004a1b5a3a277a71d9a3a38365d0538ac40d1b7b7243b1a244ad6cd6dece1c1bb2eb5de7ee - languageName: node - linkType: hard - -"@webassemblyjs/wasm-parser@npm:1.14.1, @webassemblyjs/wasm-parser@npm:^1.14.1": - version: 1.14.1 - resolution: "@webassemblyjs/wasm-parser@npm:1.14.1" - dependencies: - "@webassemblyjs/ast": "npm:1.14.1" - "@webassemblyjs/helper-api-error": "npm:1.13.2" - "@webassemblyjs/helper-wasm-bytecode": "npm:1.13.2" - "@webassemblyjs/ieee754": "npm:1.13.2" - "@webassemblyjs/leb128": "npm:1.13.2" - "@webassemblyjs/utf8": "npm:1.13.2" - checksum: 10c0/95427b9e5addbd0f647939bd28e3e06b8deefdbdadcf892385b5edc70091bf9b92fa5faac3fce8333554437c5d85835afef8c8a7d9d27ab6ba01ffab954db8c6 - languageName: node - linkType: hard - -"@webassemblyjs/wast-printer@npm:1.14.1": - version: 1.14.1 - resolution: "@webassemblyjs/wast-printer@npm:1.14.1" - dependencies: - "@webassemblyjs/ast": "npm:1.14.1" - "@xtuc/long": "npm:4.2.2" - checksum: 10c0/8d7768608996a052545251e896eac079c98e0401842af8dd4de78fba8d90bd505efb6c537e909cd6dae96e09db3fa2e765a6f26492553a675da56e2db51f9d24 - languageName: node - linkType: hard - -"@webpack-cli/configtest@npm:^2.1.1": - version: 2.1.1 - resolution: "@webpack-cli/configtest@npm:2.1.1" - peerDependencies: - webpack: 5.x.x - webpack-cli: 5.x.x - checksum: 10c0/a8da1f15702cb289807da99235ed95326ed7dabeb1a36ca59bd3a5dbe6adcc946a9a2767936050fc4d5ed14efab0e5b5a641dfe8e3d862c36caa5791ac12759d - languageName: node - linkType: hard - -"@webpack-cli/info@npm:^2.0.2": - version: 2.0.2 - resolution: "@webpack-cli/info@npm:2.0.2" - peerDependencies: - webpack: 5.x.x - webpack-cli: 5.x.x - checksum: 10c0/ca88a35604dc9aedac7c26e8f6793c5039dc1eea2b12a85fbfd669a5f21ecf9cf169d7fd157ea366a62666e3fa05b776306a96742ac61a9868f44fdce6b40f7d - languageName: node - linkType: hard - -"@webpack-cli/serve@npm:^2.0.5": - version: 2.0.5 - resolution: "@webpack-cli/serve@npm:2.0.5" - peerDependencies: - webpack: 5.x.x - webpack-cli: 5.x.x - peerDependenciesMeta: - webpack-dev-server: - optional: true - checksum: 10c0/36079d34971ff99a58b66b13f4184dcdd8617853c48cccdbc3f9ab7ea9e5d4fcf504e873c298ea7aa15e0b51ad2c4aee4d7a70bd7d9364e60f57b0eb93ca15fc - languageName: node - linkType: hard - -"@xtuc/ieee754@npm:^1.2.0": - version: 1.2.0 - resolution: "@xtuc/ieee754@npm:1.2.0" - checksum: 10c0/a8565d29d135039bd99ae4b2220d3e167d22cf53f867e491ed479b3f84f895742d0097f935b19aab90265a23d5d46711e4204f14c479ae3637fbf06c4666882f - languageName: node - linkType: hard - -"@xtuc/long@npm:4.2.2": - version: 4.2.2 - resolution: "@xtuc/long@npm:4.2.2" - checksum: 10c0/8582cbc69c79ad2d31568c412129bf23d2b1210a1dfb60c82d5a1df93334da4ee51f3057051658569e2c196d8dc33bc05ae6b974a711d0d16e801e1d0647ccd1 - languageName: node - linkType: hard - "abbrev@npm:^2.0.0": version: 2.0.0 resolution: "abbrev@npm:2.0.0" @@ -2745,15 +2265,6 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.14.0, acorn@npm:^8.8.2": - version: 8.14.0 - resolution: "acorn@npm:8.14.0" - bin: - acorn: bin/acorn - checksum: 10c0/6d4ee461a7734b2f48836ee0fbb752903606e576cc100eb49340295129ca0b452f3ba91ddd4424a1d4406a98adfb2ebb6bd0ff4c49d7a0930c10e462719bbfd7 - languageName: node - linkType: hard - "agent-base@npm:^7.1.0, agent-base@npm:^7.1.2": version: 7.1.3 resolution: "agent-base@npm:7.1.3" @@ -2770,64 +2281,6 @@ __metadata: languageName: node linkType: hard -"ajv-formats@npm:^2.1.1": - version: 2.1.1 - resolution: "ajv-formats@npm:2.1.1" - dependencies: - ajv: "npm:^8.0.0" - peerDependencies: - ajv: ^8.0.0 - peerDependenciesMeta: - ajv: - optional: true - checksum: 10c0/e43ba22e91b6a48d96224b83d260d3a3a561b42d391f8d3c6d2c1559f9aa5b253bfb306bc94bbeca1d967c014e15a6efe9a207309e95b3eaae07fcbcdc2af662 - languageName: node - linkType: hard - -"ajv-keywords@npm:^3.5.2": - version: 3.5.2 - resolution: "ajv-keywords@npm:3.5.2" - peerDependencies: - ajv: ^6.9.1 - checksum: 10c0/0c57a47cbd656e8cdfd99d7c2264de5868918ffa207c8d7a72a7f63379d4333254b2ba03d69e3c035e996a3fd3eb6d5725d7a1597cca10694296e32510546360 - languageName: node - linkType: hard - -"ajv-keywords@npm:^5.1.0": - version: 5.1.0 - resolution: "ajv-keywords@npm:5.1.0" - dependencies: - fast-deep-equal: "npm:^3.1.3" - peerDependencies: - ajv: ^8.8.2 - checksum: 10c0/18bec51f0171b83123ba1d8883c126e60c6f420cef885250898bf77a8d3e65e3bfb9e8564f497e30bdbe762a83e0d144a36931328616a973ee669dc74d4a9590 - languageName: node - linkType: hard - -"ajv@npm:^6.12.5": - version: 6.12.6 - resolution: "ajv@npm:6.12.6" - dependencies: - fast-deep-equal: "npm:^3.1.1" - fast-json-stable-stringify: "npm:^2.0.0" - json-schema-traverse: "npm:^0.4.1" - uri-js: "npm:^4.2.2" - checksum: 10c0/41e23642cbe545889245b9d2a45854ebba51cda6c778ebced9649420d9205f2efb39cb43dbc41e358409223b1ea43303ae4839db682c848b891e4811da1a5a71 - languageName: node - linkType: hard - -"ajv@npm:^8.0.0, ajv@npm:^8.9.0": - version: 8.17.1 - resolution: "ajv@npm:8.17.1" - dependencies: - fast-deep-equal: "npm:^3.1.3" - fast-uri: "npm:^3.0.1" - json-schema-traverse: "npm:^1.0.0" - require-from-string: "npm:^2.0.2" - checksum: 10c0/ec3ba10a573c6b60f94639ffc53526275917a2df6810e4ab5a6b959d87459f9ef3f00d5e7865b82677cb7d21590355b34da14d1d0b9c32d75f95a187e76fff35 - languageName: node - linkType: hard - "ansi-escapes@npm:^4.2.1": version: 4.3.2 resolution: "ansi-escapes@npm:4.3.2" @@ -2968,13 +2421,6 @@ __metadata: languageName: node linkType: hard -"ast-matcher@npm:^1.1.1": - version: 1.2.0 - resolution: "ast-matcher@npm:1.2.0" - checksum: 10c0/c5583a16997b01e83e4d0e97f1bdf2c3d8c465a82a7f637089fe516cab5c21a69ad7cafcf896524f0dbc6c7ec20319c284df0f77192c9e4565f904f56a87093b - languageName: node - linkType: hard - "async-each@npm:^1.0.0": version: 1.0.6 resolution: "async-each@npm:1.0.6" @@ -3470,13 +2916,6 @@ __metadata: languageName: node linkType: hard -"chrome-trace-event@npm:^1.0.2": - version: 1.0.4 - resolution: "chrome-trace-event@npm:1.0.4" - checksum: 10c0/3058da7a5f4934b87cf6a90ef5fb68ebc5f7d06f143ed5a4650208e5d7acae47bc03ec844b29fbf5ba7e46e8daa6acecc878f7983a4f4bb7271593da91e61ff5 - languageName: node - linkType: hard - "ci-info@npm:^3.2.0": version: 3.9.0 resolution: "ci-info@npm:3.9.0" @@ -3514,17 +2953,6 @@ __metadata: languageName: node linkType: hard -"clone-deep@npm:^4.0.1": - version: 4.0.1 - resolution: "clone-deep@npm:4.0.1" - dependencies: - is-plain-object: "npm:^2.0.4" - kind-of: "npm:^6.0.2" - shallow-clone: "npm:^3.0.0" - checksum: 10c0/637753615aa24adf0f2d505947a1bb75e63964309034a1cf56ba4b1f30af155201edd38d26ffe26911adaae267a3c138b344a4947d39f5fc1b6d6108125aa758 - languageName: node - linkType: hard - "co@npm:^4.6.0": version: 4.6.0 resolution: "co@npm:4.6.0" @@ -3565,13 +2993,6 @@ __metadata: languageName: node linkType: hard -"colorette@npm:^2.0.14": - version: 2.0.20 - resolution: "colorette@npm:2.0.20" - checksum: 10c0/e94116ff33b0ff56f3b83b9ace895e5bf87c2a7a47b3401b8c3f3226e050d5ef76cf4072fb3325f9dc24d1698f9b730baf4e05eeaf861d74a1883073f4c98a40 - languageName: node - linkType: hard - "combined-stream@npm:^1.0.8": version: 1.0.8 resolution: "combined-stream@npm:1.0.8" @@ -3588,20 +3009,13 @@ __metadata: languageName: node linkType: hard -"commander@npm:^2.20.0, commander@npm:^2.8.1": +"commander@npm:^2.8.1": version: 2.20.3 resolution: "commander@npm:2.20.3" checksum: 10c0/74c781a5248c2402a0a3e966a0a2bba3c054aad144f5c023364be83265e796b20565aa9feff624132ff629aa64e16999fa40a743c10c12f7c61e96a794b99288 languageName: node linkType: hard -"commondir@npm:^1.0.1": - version: 1.0.1 - resolution: "commondir@npm:1.0.1" - checksum: 10c0/33a124960e471c25ee19280c9ce31ccc19574b566dc514fe4f4ca4c34fa8b0b57cf437671f5de380e11353ea9426213fca17687dd2ef03134fea2dbc53809fd6 - languageName: node - linkType: hard - "component-emitter@npm:^1.2.1": version: 1.3.1 resolution: "component-emitter@npm:1.3.1" @@ -4064,7 +3478,7 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.0.0, enhanced-resolve@npm:^5.17.1": +"enhanced-resolve@npm:^5.0.0": version: 5.18.0 resolution: "enhanced-resolve@npm:5.18.0" dependencies: @@ -4081,15 +3495,6 @@ __metadata: languageName: node linkType: hard -"envinfo@npm:^7.7.3": - version: 7.14.0 - resolution: "envinfo@npm:7.14.0" - bin: - envinfo: dist/cli.js - checksum: 10c0/059a031eee101e056bd9cc5cbfe25c2fab433fe1780e86cf0a82d24a000c6931e327da6a8ffb3dce528a24f83f256e7efc0b36813113eff8fdc6839018efe327 - languageName: node - linkType: hard - "err-code@npm:^2.0.2": version: 2.0.3 resolution: "err-code@npm:2.0.3" @@ -4106,13 +3511,6 @@ __metadata: languageName: node linkType: hard -"es-module-lexer@npm:^1.2.1": - version: 1.5.4 - resolution: "es-module-lexer@npm:1.5.4" - checksum: 10c0/300a469488c2f22081df1e4c8398c78db92358496e639b0df7f89ac6455462aaf5d8893939087c1a1cbcbf20eed4610c70e0bcb8f3e4b0d80a5d2611c539408c - languageName: node - linkType: hard - "escalade@npm:^3.1.1, escalade@npm:^3.2.0": version: 3.2.0 resolution: "escalade@npm:3.2.0" @@ -4134,23 +3532,6 @@ __metadata: languageName: node linkType: hard -"escape-string-regexp@npm:^4.0.0": - version: 4.0.0 - resolution: "escape-string-regexp@npm:4.0.0" - checksum: 10c0/9497d4dd307d845bd7f75180d8188bb17ea8c151c1edbf6b6717c100e104d629dc2dfb687686181b0f4b7d732c7dfdc4d5e7a8ff72de1b0ca283a75bbb3a9cd9 - languageName: node - linkType: hard - -"eslint-scope@npm:5.1.1": - version: 5.1.1 - resolution: "eslint-scope@npm:5.1.1" - dependencies: - esrecurse: "npm:^4.3.0" - estraverse: "npm:^4.1.1" - checksum: 10c0/d30ef9dc1c1cbdece34db1539a4933fe3f9b14e1ffb27ecc85987902ee663ad7c9473bbd49a9a03195a373741e62e2f807c4938992e019b511993d163450e70a - languageName: node - linkType: hard - "esprima@npm:^4.0.0": version: 4.0.1 resolution: "esprima@npm:4.0.1" @@ -4161,43 +3542,6 @@ __metadata: languageName: node linkType: hard -"esrecurse@npm:^4.3.0": - version: 4.3.0 - resolution: "esrecurse@npm:4.3.0" - dependencies: - estraverse: "npm:^5.2.0" - checksum: 10c0/81a37116d1408ded88ada45b9fb16dbd26fba3aadc369ce50fcaf82a0bac12772ebd7b24cd7b91fc66786bf2c1ac7b5f196bc990a473efff972f5cb338877cf5 - languageName: node - linkType: hard - -"estraverse@npm:^4.1.1": - version: 4.3.0 - resolution: "estraverse@npm:4.3.0" - checksum: 10c0/9cb46463ef8a8a4905d3708a652d60122a0c20bb58dec7e0e12ab0e7235123d74214fc0141d743c381813e1b992767e2708194f6f6e0f9fd00c1b4e0887b8b6d - languageName: node - linkType: hard - -"estraverse@npm:^5.2.0": - version: 5.3.0 - resolution: "estraverse@npm:5.3.0" - checksum: 10c0/1ff9447b96263dec95d6d67431c5e0771eb9776427421260a3e2f0fdd5d6bd4f8e37a7338f5ad2880c9f143450c9b1e4fc2069060724570a49cf9cf0312bd107 - languageName: node - linkType: hard - -"estree-walker@npm:^1.0.1": - version: 1.0.1 - resolution: "estree-walker@npm:1.0.1" - checksum: 10c0/fa9e5f8c1bbe8d01e314c0f03067b64a4f22d4c58410fc5237060d0c15b81e58c23921c41acc60abbdab490f1fdfcbd6408ede2d03ca704454272e0244d61a55 - languageName: node - linkType: hard - -"estree-walker@npm:^2.0.1, estree-walker@npm:^2.0.2": - version: 2.0.2 - resolution: "estree-walker@npm:2.0.2" - checksum: 10c0/53a6c54e2019b8c914dc395890153ffdc2322781acf4bd7d1a32d7aedc1710807bdcd866ac133903d5629ec601fbb50abe8c2e5553c7f5a0afdd9b6af6c945af - languageName: node - linkType: hard - "event-stream@npm:=3.3.4": version: 3.3.4 resolution: "event-stream@npm:3.3.4" @@ -4234,13 +3578,6 @@ __metadata: languageName: node linkType: hard -"events@npm:^3.2.0": - version: 3.3.0 - resolution: "events@npm:3.3.0" - checksum: 10c0/d6b6f2adbccbcda74ddbab52ed07db727ef52e31a61ed26db9feb7dc62af7fc8e060defa65e5f8af9449b86b52cc1a1f6a79f2eafcf4e62add2b7a1fa4a432f6 - languageName: node - linkType: hard - "execa@npm:^5.0.0": version: 5.1.1 resolution: "execa@npm:5.1.1" @@ -4388,34 +3725,13 @@ __metadata: languageName: node linkType: hard -"fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": - version: 3.1.3 - resolution: "fast-deep-equal@npm:3.1.3" - checksum: 10c0/40dedc862eb8992c54579c66d914635afbec43350afbbe991235fdcb4e3a8d5af1b23ae7e79bef7d4882d0ecee06c3197488026998fb19f72dc95acff1d1b1d0 - languageName: node - linkType: hard - -"fast-json-stable-stringify@npm:2.x, fast-json-stable-stringify@npm:^2.0.0, fast-json-stable-stringify@npm:^2.1.0": +"fast-json-stable-stringify@npm:2.x, fast-json-stable-stringify@npm:^2.1.0": version: 2.1.0 resolution: "fast-json-stable-stringify@npm:2.1.0" checksum: 10c0/7f081eb0b8a64e0057b3bb03f974b3ef00135fbf36c1c710895cd9300f13c94ba809bb3a81cf4e1b03f6e5285610a61abbd7602d0652de423144dfee5a389c9b languageName: node linkType: hard -"fast-uri@npm:^3.0.1": - version: 3.0.3 - resolution: "fast-uri@npm:3.0.3" - checksum: 10c0/4b2c5ce681a062425eae4f15cdc8fc151fd310b2f69b1f96680677820a8b49c3cd6e80661a406e19d50f0c40a3f8bffdd458791baf66f4a879d80be28e10a320 - languageName: node - linkType: hard - -"fastest-levenshtein@npm:^1.0.12": - version: 1.0.16 - resolution: "fastest-levenshtein@npm:1.0.16" - checksum: 10c0/7e3d8ae812a7f4fdf8cad18e9cde436a39addf266a5986f653ea0d81e0de0900f50c0f27c6d5aff3f686bcb48acbd45be115ae2216f36a6a13a7dbbf5cad878b - languageName: node - linkType: hard - "fb-watchman@npm:^2.0.0": version: 2.0.2 resolution: "fb-watchman@npm:2.0.2" @@ -4537,17 +3853,6 @@ __metadata: languageName: node linkType: hard -"find-cache-dir@npm:^3.3.2": - version: 3.3.2 - resolution: "find-cache-dir@npm:3.3.2" - dependencies: - commondir: "npm:^1.0.1" - make-dir: "npm:^3.0.2" - pkg-dir: "npm:^4.1.0" - checksum: 10c0/92747cda42bff47a0266b06014610981cfbb71f55d60f2c8216bc3108c83d9745507fb0b14ecf6ab71112bed29cd6fb1a137ee7436179ea36e11287e3159e587 - languageName: node - linkType: hard - "find-index@npm:^0.1.1": version: 0.1.1 resolution: "find-index@npm:0.1.1" @@ -4661,17 +3966,6 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^10.0.0": - version: 10.1.0 - resolution: "fs-extra@npm:10.1.0" - dependencies: - graceful-fs: "npm:^4.2.0" - jsonfile: "npm:^6.0.1" - universalify: "npm:^2.0.0" - checksum: 10c0/5f579466e7109719d162a9249abbeffe7f426eb133ea486e020b89bc6d67a741134076bf439983f2eb79276ceaf6bd7b7c1e43c3fd67fe889863e69072fb0a5e - languageName: node - linkType: hard - "fs-minipass@npm:^3.0.0": version: 3.0.3 resolution: "fs-minipass@npm:3.0.3" @@ -4699,7 +3993,7 @@ __metadata: languageName: node linkType: hard -"fsevents@npm:^2.3.2, fsevents@npm:~2.3.2": +"fsevents@npm:^2.3.2": version: 2.3.3 resolution: "fsevents@npm:2.3.3" dependencies: @@ -4719,7 +4013,7 @@ __metadata: languageName: node linkType: hard -"fsevents@patch:fsevents@npm%3A^2.3.2#optional!builtin, fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin": +"fsevents@patch:fsevents@npm%3A^2.3.2#optional!builtin": version: 2.3.3 resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" dependencies: @@ -4822,13 +4116,6 @@ __metadata: languageName: node linkType: hard -"glob-to-regexp@npm:^0.4.1": - version: 0.4.1 - resolution: "glob-to-regexp@npm:0.4.1" - checksum: 10c0/0486925072d7a916f052842772b61c3e86247f0a80cc0deb9b5a3e8a1a9faad5b04fb6f58986a09f34d3e96cd2a22a24b7e9882fb1cf904c31e9a310de96c429 - languageName: node - linkType: hard - "glob2base@npm:^0.0.12": version: 0.0.12 resolution: "glob2base@npm:0.0.12" @@ -4850,34 +4137,21 @@ __metadata: path-scurry: "npm:^1.11.1" bin: glob: dist/esm/bin.mjs - checksum: 10c0/19a9759ea77b8e3ca0a43c2f07ecddc2ad46216b786bb8f993c445aee80d345925a21e5280c7b7c6c59e860a0154b84e4b2b60321fea92cd3c56b4a7489f160e - languageName: node - linkType: hard - -"glob@npm:^7.0.5, glob@npm:^7.1.3, glob@npm:^7.1.4": - version: 7.2.3 - resolution: "glob@npm:7.2.3" - dependencies: - fs.realpath: "npm:^1.0.0" - inflight: "npm:^1.0.4" - inherits: "npm:2" - minimatch: "npm:^3.1.1" - once: "npm:^1.3.0" - path-is-absolute: "npm:^1.0.0" - checksum: 10c0/65676153e2b0c9095100fe7f25a778bf45608eeb32c6048cf307f579649bcc30353277b3b898a3792602c65764e5baa4f643714dfbdfd64ea271d210c7a425fe + checksum: 10c0/19a9759ea77b8e3ca0a43c2f07ecddc2ad46216b786bb8f993c445aee80d345925a21e5280c7b7c6c59e860a0154b84e4b2b60321fea92cd3c56b4a7489f160e languageName: node linkType: hard -"glob@npm:^8.0.3": - version: 8.1.0 - resolution: "glob@npm:8.1.0" +"glob@npm:^7.0.5, glob@npm:^7.1.3, glob@npm:^7.1.4": + version: 7.2.3 + resolution: "glob@npm:7.2.3" dependencies: fs.realpath: "npm:^1.0.0" inflight: "npm:^1.0.4" inherits: "npm:2" - minimatch: "npm:^5.0.1" + minimatch: "npm:^3.1.1" once: "npm:^1.3.0" - checksum: 10c0/cb0b5cab17a59c57299376abe5646c7070f8acb89df5595b492dba3bfb43d301a46c01e5695f01154e6553168207cb60d4eaf07d3be4bc3eb9b0457c5c561d0f + path-is-absolute: "npm:^1.0.0" + checksum: 10c0/65676153e2b0c9095100fe7f25a778bf45608eeb32c6048cf307f579649bcc30353277b3b898a3792602c65764e5baa4f643714dfbdfd64ea271d210c7a425fe languageName: node linkType: hard @@ -4910,7 +4184,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.10, graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": +"graceful-fs@npm:^4.1.10, graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 10c0/386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 @@ -5124,13 +4398,6 @@ __metadata: languageName: node linkType: hard -"interpret@npm:^3.1.1": - version: 3.1.1 - resolution: "interpret@npm:3.1.1" - checksum: 10c0/6f3c4d0aa6ec1b43a8862375588a249e3c917739895cbe67fe12f0a76260ea632af51e8e2431b50fbcd0145356dc28ca147be08dbe6a523739fd55c0f91dc2a5 - languageName: node - linkType: hard - "ip-address@npm:^9.0.5": version: 9.0.5 resolution: "ip-address@npm:9.0.5" @@ -5294,13 +4561,6 @@ __metadata: languageName: node linkType: hard -"is-module@npm:^1.0.0": - version: 1.0.0 - resolution: "is-module@npm:1.0.0" - checksum: 10c0/795a3914bcae7c26a1c23a1e5574c42eac13429625045737bf3e324ce865c0601d61aee7a5afbca1bee8cb300c7d9647e7dc98860c9bdbc3b7fdc51d8ac0bffc - languageName: node - linkType: hard - "is-natural-number@npm:^4.0.1": version: 4.0.1 resolution: "is-natural-number@npm:4.0.1" @@ -5377,15 +4637,6 @@ __metadata: languageName: node linkType: hard -"is-reference@npm:1.2.1": - version: 1.2.1 - resolution: "is-reference@npm:1.2.1" - dependencies: - "@types/estree": "npm:*" - checksum: 10c0/7dc819fc8de7790264a0a5d531164f9f5b9ef5aa1cd05f35322d14db39c8a2ec78fd5d4bf57f9789f3ddd2b3abeea7728432b759636157a42db12a9e8c3b549b - languageName: node - linkType: hard - "is-retry-allowed@npm:^1.0.0": version: 1.2.0 resolution: "is-retry-allowed@npm:1.2.0" @@ -5998,17 +5249,6 @@ __metadata: languageName: node linkType: hard -"jest-worker@npm:^27.4.5": - version: 27.5.1 - resolution: "jest-worker@npm:27.5.1" - dependencies: - "@types/node": "npm:*" - merge-stream: "npm:^2.0.0" - supports-color: "npm:^8.0.0" - checksum: 10c0/8c4737ffd03887b3c6768e4cc3ca0269c0336c1e4b1b120943958ddb035ed2a0fc6acab6dc99631720a3720af4e708ff84fb45382ad1e83c27946adf3623969b - languageName: node - linkType: hard - "jest-worker@npm:^29.7.0": version: 29.7.0 resolution: "jest-worker@npm:29.7.0" @@ -6095,27 +5335,13 @@ __metadata: languageName: node linkType: hard -"json-parse-even-better-errors@npm:^2.3.0, json-parse-even-better-errors@npm:^2.3.1": +"json-parse-even-better-errors@npm:^2.3.0": version: 2.3.1 resolution: "json-parse-even-better-errors@npm:2.3.1" checksum: 10c0/140932564c8f0b88455432e0f33c4cb4086b8868e37524e07e723f4eaedb9425bdc2bafd71bd1d9765bd15fd1e2d126972bc83990f55c467168c228c24d665f3 languageName: node linkType: hard -"json-schema-traverse@npm:^0.4.1": - version: 0.4.1 - resolution: "json-schema-traverse@npm:0.4.1" - checksum: 10c0/108fa90d4cc6f08243aedc6da16c408daf81793bf903e9fd5ab21983cda433d5d2da49e40711da016289465ec2e62e0324dcdfbc06275a607fe3233fde4942ce - languageName: node - linkType: hard - -"json-schema-traverse@npm:^1.0.0": - version: 1.0.0 - resolution: "json-schema-traverse@npm:1.0.0" - checksum: 10c0/71e30015d7f3d6dc1c316d6298047c8ef98a06d31ad064919976583eb61e1018a60a0067338f0f79cabc00d84af3fcc489bd48ce8a46ea165d9541ba17fb30c6 - languageName: node - linkType: hard - "json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" @@ -6125,19 +5351,6 @@ __metadata: languageName: node linkType: hard -"jsonfile@npm:^6.0.1": - version: 6.1.0 - resolution: "jsonfile@npm:6.1.0" - dependencies: - graceful-fs: "npm:^4.1.6" - universalify: "npm:^2.0.0" - dependenciesMeta: - graceful-fs: - optional: true - checksum: 10c0/4f95b5e8a5622b1e9e8f33c96b7ef3158122f595998114d1e7f03985649ea99cb3cd99ce1ed1831ae94c8c8543ab45ebd044207612f31a56fd08462140e46865 - languageName: node - linkType: hard - "jsonpointer@npm:^5.0.1": version: 5.0.1 resolution: "jsonpointer@npm:5.0.1" @@ -6439,13 +5652,6 @@ __metadata: languageName: node linkType: hard -"loader-runner@npm:^4.2.0": - version: 4.3.0 - resolution: "loader-runner@npm:4.3.0" - checksum: 10c0/a44d78aae0907a72f73966fe8b82d1439c8c485238bd5a864b1b9a2a3257832effa858790241e6b37876b5446a78889adf2fcc8dd897ce54c089ecc0a0ce0bf0 - languageName: node - linkType: hard - "locate-path@npm:^5.0.0": version: 5.0.0 resolution: "locate-path@npm:5.0.0" @@ -6495,24 +5701,6 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.25.7": - version: 0.25.9 - resolution: "magic-string@npm:0.25.9" - dependencies: - sourcemap-codec: "npm:^1.4.8" - checksum: 10c0/37f5e01a7e8b19a072091f0b45ff127cda676232d373ce2c551a162dd4053c575ec048b9cbb4587a1f03adb6c5d0fd0dd49e8ab070cd2c83a4992b2182d9cb56 - languageName: node - linkType: hard - -"magic-string@npm:^0.30.3": - version: 0.30.17 - resolution: "magic-string@npm:0.30.17" - dependencies: - "@jridgewell/sourcemap-codec": "npm:^1.5.0" - checksum: 10c0/16826e415d04b88378f200fe022b53e638e3838b9e496edda6c0e086d7753a44a6ed187adc72d19f3623810589bf139af1a315541cd6a26ae0771a0193eaf7b8 - languageName: node - linkType: hard - "make-dir@npm:^1.0.0": version: 1.3.0 resolution: "make-dir@npm:1.3.0" @@ -6522,15 +5710,6 @@ __metadata: languageName: node linkType: hard -"make-dir@npm:^3.0.2": - version: 3.1.0 - resolution: "make-dir@npm:3.1.0" - dependencies: - semver: "npm:^6.0.0" - checksum: 10c0/56aaafefc49c2dfef02c5c95f9b196c4eb6988040cf2c712185c7fe5c99b4091591a7fc4d4eafaaefa70ff763a26f6ab8c3ff60b9e75ea19876f49b18667ecaa - languageName: node - linkType: hard - "make-dir@npm:^4.0.0": version: 4.0.0 resolution: "make-dir@npm:4.0.0" @@ -6714,7 +5893,7 @@ __metadata: languageName: node linkType: hard -"mime-types@npm:^2.1.12, mime-types@npm:^2.1.27": +"mime-types@npm:^2.1.12": version: 2.1.35 resolution: "mime-types@npm:2.1.35" dependencies: @@ -7012,13 +6191,6 @@ __metadata: languageName: node linkType: hard -"neo-async@npm:^2.6.2": - version: 2.6.2 - resolution: "neo-async@npm:2.6.2" - checksum: 10c0/c2f5a604a54a8ec5438a342e1f356dff4bc33ccccdb6dc668d94fe8e5eccfc9d2c2eea6064b0967a767ba63b33763f51ccf2cd2441b461a7322656c1f06b3f5d - languageName: node - linkType: hard - "node-abi@npm:^3.3.0": version: 3.71.0 resolution: "node-abi@npm:3.71.0" @@ -7459,13 +6631,6 @@ __metadata: languageName: node linkType: hard -"path-browserify@npm:^1.0.1": - version: 1.0.1 - resolution: "path-browserify@npm:1.0.1" - checksum: 10c0/8b8c3fd5c66bd340272180590ae4ff139769e9ab79522e2eb82e3d571a89b8117c04147f65ad066dccfb42fcad902e5b7d794b3d35e0fd840491a8ddbedf8c66 - languageName: node - linkType: hard - "path-exists@npm:^2.0.0": version: 2.1.0 resolution: "path-exists@npm:2.1.0" @@ -7557,20 +6722,13 @@ __metadata: languageName: node linkType: hard -"picomatch@npm:^2.0.4, picomatch@npm:^2.2.2, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": +"picomatch@npm:^2.0.4, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" checksum: 10c0/26c02b8d06f03206fc2ab8d16f19960f2ff9e81a658f831ecb656d8f17d9edc799e8364b1f4a7873e89d9702dff96204be0fa26fe4181f6843f040f819dac4be languageName: node linkType: hard -"picomatch@npm:^4.0.2": - version: 4.0.2 - resolution: "picomatch@npm:4.0.2" - checksum: 10c0/7c51f3ad2bb42c776f49ebf964c644958158be30d0a510efd5a395e8d49cb5acfed5b82c0c5b365523ce18e6ab85013c9ebe574f60305892ec3fa8eee8304ccc - languageName: node - linkType: hard - "pify@npm:^2.0.0, pify@npm:^2.3.0": version: 2.3.0 resolution: "pify@npm:2.3.0" @@ -7608,7 +6766,7 @@ __metadata: languageName: node linkType: hard -"pkg-dir@npm:^4.1.0, pkg-dir@npm:^4.2.0": +"pkg-dir@npm:^4.2.0": version: 4.2.0 resolution: "pkg-dir@npm:4.2.0" dependencies: @@ -7727,13 +6885,6 @@ __metadata: languageName: node linkType: hard -"punycode@npm:^2.1.0": - version: 2.3.1 - resolution: "punycode@npm:2.3.1" - checksum: 10c0/14f76a8206bc3464f794fb2e3d3cc665ae416c01893ad7a02b23766eb07159144ee612ad67af5e84fa4479ccfe67678c4feb126b0485651b302babf66f04f9e9 - languageName: node - linkType: hard - "pure-rand@npm:^6.0.0": version: 6.1.0 resolution: "pure-rand@npm:6.1.0" @@ -7752,15 +6903,6 @@ __metadata: languageName: node linkType: hard -"randombytes@npm:^2.1.0": - version: 2.1.0 - resolution: "randombytes@npm:2.1.0" - dependencies: - safe-buffer: "npm:^5.1.0" - checksum: 10c0/50395efda7a8c94f5dffab564f9ff89736064d32addf0cc7e8bf5e4166f09f8ded7a0849ca6c2d2a59478f7d90f78f20d8048bca3cdf8be09d8e8a10790388f3 - languageName: node - linkType: hard - "react-is@npm:^18.0.0": version: 18.3.1 resolution: "react-is@npm:18.3.1" @@ -7826,15 +6968,6 @@ __metadata: languageName: node linkType: hard -"rechoir@npm:^0.8.0": - version: 0.8.0 - resolution: "rechoir@npm:0.8.0" - dependencies: - resolve: "npm:^1.20.0" - checksum: 10c0/1a30074124a22abbd5d44d802dac26407fa72a0a95f162aa5504ba8246bc5452f8b1a027b154d9bdbabcd8764920ff9333d934c46a8f17479c8912e92332f3ff - languageName: node - linkType: hard - "redent@npm:^1.0.0": version: 1.0.0 resolution: "redent@npm:1.0.0" @@ -7908,13 +7041,6 @@ __metadata: languageName: node linkType: hard -"require-from-string@npm:^2.0.2": - version: 2.0.2 - resolution: "require-from-string@npm:2.0.2" - checksum: 10c0/aaa267e0c5b022fc5fd4eef49d8285086b15f2a1c54b28240fdf03599cbd9c26049fee3eab894f2e1f6ca65e513b030a7c264201e3f005601e80c49fb2937ce2 - languageName: node - linkType: hard - "resolve-cwd@npm:^3.0.0": version: 3.0.0 resolution: "resolve-cwd@npm:3.0.0" @@ -7945,7 +7071,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.20.0, resolve@npm:^1.22.1": +"resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.20.0": version: 1.22.10 resolution: "resolve@npm:1.22.10" dependencies: @@ -7958,7 +7084,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.1.7#optional!builtin, resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin": +"resolve@patch:resolve@npm%3A^1.1.7#optional!builtin, resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin": version: 1.22.10 resolution: "resolve@patch:resolve@npm%3A1.22.10#optional!builtin::version=1.22.10&hash=c3c19d" dependencies: @@ -8014,6 +7140,59 @@ __metadata: languageName: node linkType: hard +"rolldown@npm:1.0.0-beta.1": + version: 1.0.0-beta.1 + resolution: "rolldown@npm:1.0.0-beta.1" + dependencies: + "@rolldown/binding-darwin-arm64": "npm:1.0.0-beta.1" + "@rolldown/binding-darwin-x64": "npm:1.0.0-beta.1" + "@rolldown/binding-freebsd-x64": "npm:1.0.0-beta.1" + "@rolldown/binding-linux-arm-gnueabihf": "npm:1.0.0-beta.1" + "@rolldown/binding-linux-arm64-gnu": "npm:1.0.0-beta.1" + "@rolldown/binding-linux-arm64-musl": "npm:1.0.0-beta.1" + "@rolldown/binding-linux-x64-gnu": "npm:1.0.0-beta.1" + "@rolldown/binding-linux-x64-musl": "npm:1.0.0-beta.1" + "@rolldown/binding-wasm32-wasi": "npm:1.0.0-beta.1" + "@rolldown/binding-win32-arm64-msvc": "npm:1.0.0-beta.1" + "@rolldown/binding-win32-ia32-msvc": "npm:1.0.0-beta.1" + "@rolldown/binding-win32-x64-msvc": "npm:1.0.0-beta.1" + zod: "npm:^3.23.8" + peerDependencies: + "@babel/runtime": ">=7" + dependenciesMeta: + "@rolldown/binding-darwin-arm64": + optional: true + "@rolldown/binding-darwin-x64": + optional: true + "@rolldown/binding-freebsd-x64": + optional: true + "@rolldown/binding-linux-arm-gnueabihf": + optional: true + "@rolldown/binding-linux-arm64-gnu": + optional: true + "@rolldown/binding-linux-arm64-musl": + optional: true + "@rolldown/binding-linux-x64-gnu": + optional: true + "@rolldown/binding-linux-x64-musl": + optional: true + "@rolldown/binding-wasm32-wasi": + optional: true + "@rolldown/binding-win32-arm64-msvc": + optional: true + "@rolldown/binding-win32-ia32-msvc": + optional: true + "@rolldown/binding-win32-x64-msvc": + optional: true + peerDependenciesMeta: + "@babel/runtime": + optional: true + bin: + rolldown: bin/cli.js + checksum: 10c0/170feec3d87ea4c129d63f8b5999266cf09e8889402d014ebdcd18f36d1ac4ca270d16b2cfaf5c6b80adb4d3c1d5537b8caa6a0ba30bac6387fccb4bf573d91c + languageName: node + linkType: hard + "rolldown@npm:^1.0.0-beta.1": version: 1.0.0-beta.1-commit.f90856a resolution: "rolldown@npm:1.0.0-beta.1-commit.f90856a" @@ -8067,66 +7246,6 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-define@npm:^1.0.1": - version: 1.0.1 - resolution: "rollup-plugin-define@npm:1.0.1" - dependencies: - "@rollup/pluginutils": "npm:^4.0.0" - ast-matcher: "npm:^1.1.1" - escape-string-regexp: "npm:^4.0.0" - magic-string: "npm:^0.25.7" - peerDependencies: - rollup: ^1.20.0 || ^2.0.0 - checksum: 10c0/39bee09b56ba3def666bd9f675c1c189ee928c0618b826ef223407f0f5359cd9ad0e785b0b7daf2615303f334b57f4f467b9e7586521e087dbfb8bb1ae9ab12b - languageName: node - linkType: hard - -"rollup-plugin-sourcemaps@npm:^0.6.3": - version: 0.6.3 - resolution: "rollup-plugin-sourcemaps@npm:0.6.3" - dependencies: - "@rollup/pluginutils": "npm:^3.0.9" - source-map-resolve: "npm:^0.6.0" - peerDependencies: - "@types/node": ">=10.0.0" - rollup: ">=0.31.2" - peerDependenciesMeta: - "@types/node": - optional: true - checksum: 10c0/c2d4f1b76d40fa4fb78bd8403c24e4e8539f9097e1a9fb7eb7162f47fbf313f31293442ca1a01a0dab8ff52ded9aa4ea7bbbeae47aaadb765d270f15325ba4c9 - languageName: node - linkType: hard - -"rollup-plugin-typescript2@npm:^0.36.0": - version: 0.36.0 - resolution: "rollup-plugin-typescript2@npm:0.36.0" - dependencies: - "@rollup/pluginutils": "npm:^4.1.2" - find-cache-dir: "npm:^3.3.2" - fs-extra: "npm:^10.0.0" - semver: "npm:^7.5.4" - tslib: "npm:^2.6.2" - peerDependencies: - rollup: ">=1.26.3" - typescript: ">=2.4.0" - checksum: 10c0/3c8d17cd852ded36eaad2759caf170f90e091d8f86ff7b016d1823bc8b507b8f689156bcccda348fc88471681dc79cc9eb13ddb09a4dfcf0d07ac9a249e2d79b - languageName: node - linkType: hard - -"rollup@npm:^2.38.5": - version: 2.79.2 - resolution: "rollup@npm:2.79.2" - dependencies: - fsevents: "npm:~2.3.2" - dependenciesMeta: - fsevents: - optional: true - bin: - rollup: dist/bin/rollup - checksum: 10c0/bc3746c988d903c2211266ddc539379d53d92689b9cc5c2b4e3ae161689de9af491957a567c629b6cc81f48d0928a7591fc4c383fba68a48d2966c9fb8a2bce9 - languageName: node - linkType: hard - "root-workspace-0b6124@workspace:.": version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." @@ -8152,7 +7271,7 @@ __metadata: languageName: node linkType: hard -"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.1, safe-buffer@npm:~5.2.0": +"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.1, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" checksum: 10c0/6501914237c0a86e9675d4e51d89ca3c21ffd6a31642efeba25ad65720bce6921c9e7e974e5be91a786b25aa058b5303285d3c15dbabf983a919f5f630d349f3 @@ -8182,29 +7301,6 @@ __metadata: languageName: node linkType: hard -"schema-utils@npm:^3.2.0": - version: 3.3.0 - resolution: "schema-utils@npm:3.3.0" - dependencies: - "@types/json-schema": "npm:^7.0.8" - ajv: "npm:^6.12.5" - ajv-keywords: "npm:^3.5.2" - checksum: 10c0/fafdbde91ad8aa1316bc543d4b61e65ea86970aebbfb750bfb6d8a6c287a23e415e0e926c2498696b242f63af1aab8e585252637fabe811fd37b604351da6500 - languageName: node - linkType: hard - -"schema-utils@npm:^4.3.0": - version: 4.3.0 - resolution: "schema-utils@npm:4.3.0" - dependencies: - "@types/json-schema": "npm:^7.0.9" - ajv: "npm:^8.9.0" - ajv-formats: "npm:^2.1.1" - ajv-keywords: "npm:^5.1.0" - checksum: 10c0/c23f0fa73ef71a01d4a2bb7af4c91e0d356ec640e071aa2d06ea5e67f042962bb7ac7c29a60a295bb0125878801bc3209197a2b8a833dd25bd38e37c3ed21427 - languageName: node - linkType: hard - "seek-bzip@npm:^1.0.5": version: 1.0.6 resolution: "seek-bzip@npm:1.0.6" @@ -8226,7 +7322,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^6.0.0, semver@npm:^6.3.0, semver@npm:^6.3.1": +"semver@npm:^6.3.0, semver@npm:^6.3.1": version: 6.3.1 resolution: "semver@npm:6.3.1" bin: @@ -8244,15 +7340,6 @@ __metadata: languageName: node linkType: hard -"serialize-javascript@npm:^6.0.2": - version: 6.0.2 - resolution: "serialize-javascript@npm:6.0.2" - dependencies: - randombytes: "npm:^2.1.0" - checksum: 10c0/2dd09ef4b65a1289ba24a788b1423a035581bef60817bea1f01eda8e3bda623f86357665fe7ac1b50f6d4f583f97db9615b3f07b2a2e8cbcb75033965f771dd2 - languageName: node - linkType: hard - "set-value@npm:^2.0.0, set-value@npm:^2.0.1": version: 2.0.1 resolution: "set-value@npm:2.0.1" @@ -8265,15 +7352,6 @@ __metadata: languageName: node linkType: hard -"shallow-clone@npm:^3.0.0": - version: 3.0.1 - resolution: "shallow-clone@npm:3.0.1" - dependencies: - kind-of: "npm:^6.0.2" - checksum: 10c0/7bab09613a1b9f480c85a9823aebec533015579fa055ba6634aa56ba1f984380670eaf33b8217502931872aa1401c9fcadaa15f9f604d631536df475b05bcf1e - languageName: node - linkType: hard - "shebang-command@npm:^2.0.0": version: 2.0.0 resolution: "shebang-command@npm:2.0.0" @@ -8420,16 +7498,6 @@ __metadata: languageName: node linkType: hard -"source-map-resolve@npm:^0.6.0": - version: 0.6.0 - resolution: "source-map-resolve@npm:0.6.0" - dependencies: - atob: "npm:^2.1.2" - decode-uri-component: "npm:^0.2.0" - checksum: 10c0/bc2a94af3d2417196195eecf0130925b3558726726504a7c7bd1b9e383c4a789fa3f4616c4c673cf8bd7930ddd2e80481f203422282aeae342dbd56b91995188 - languageName: node - linkType: hard - "source-map-support@npm:0.5.13": version: 0.5.13 resolution: "source-map-support@npm:0.5.13" @@ -8440,16 +7508,6 @@ __metadata: languageName: node linkType: hard -"source-map-support@npm:~0.5.20": - version: 0.5.21 - resolution: "source-map-support@npm:0.5.21" - dependencies: - buffer-from: "npm:^1.0.0" - source-map: "npm:^0.6.0" - checksum: 10c0/9ee09942f415e0f721d6daad3917ec1516af746a8120bba7bb56278707a37f1eb8642bde456e98454b8a885023af81a16e646869975f06afc1a711fb90484e7d - languageName: node - linkType: hard - "source-map-url@npm:^0.4.0": version: 0.4.1 resolution: "source-map-url@npm:0.4.1" @@ -8478,13 +7536,6 @@ __metadata: languageName: node linkType: hard -"sourcemap-codec@npm:^1.4.8": - version: 1.4.8 - resolution: "sourcemap-codec@npm:1.4.8" - checksum: 10c0/f099279fdaae070ff156df7414bbe39aad69cdd615454947ed3e19136bfdfcb4544952685ee73f56e17038f4578091e12b17b283ed8ac013882916594d95b9e6 - languageName: node - linkType: hard - "spdx-correct@npm:^3.0.0": version: 3.2.0 resolution: "spdx-correct@npm:3.2.0" @@ -8749,7 +7800,7 @@ __metadata: languageName: node linkType: hard -"tapable@npm:^2.1.1, tapable@npm:^2.2.0": +"tapable@npm:^2.2.0": version: 2.2.1 resolution: "tapable@npm:2.2.1" checksum: 10c0/bc40e6efe1e554d075469cedaba69a30eeb373552aaf41caeaaa45bf56ffacc2674261b106245bd566b35d8f3329b52d838e851ee0a852120acae26e622925c9 @@ -8838,42 +7889,6 @@ __metadata: languageName: node linkType: hard -"terser-webpack-plugin@npm:^5.3.10": - version: 5.3.11 - resolution: "terser-webpack-plugin@npm:5.3.11" - dependencies: - "@jridgewell/trace-mapping": "npm:^0.3.25" - jest-worker: "npm:^27.4.5" - schema-utils: "npm:^4.3.0" - serialize-javascript: "npm:^6.0.2" - terser: "npm:^5.31.1" - peerDependencies: - webpack: ^5.1.0 - peerDependenciesMeta: - "@swc/core": - optional: true - esbuild: - optional: true - uglify-js: - optional: true - checksum: 10c0/4794274f445dc589f4c113c75a55ce51364ccf09bfe8a545cdb462e3f752bf300ea91f072fa28bbed291bbae03274da06fe4eca180e784fb8a43646aa7dbcaef - languageName: node - linkType: hard - -"terser@npm:^5.31.1": - version: 5.37.0 - resolution: "terser@npm:5.37.0" - dependencies: - "@jridgewell/source-map": "npm:^0.3.3" - acorn: "npm:^8.8.2" - commander: "npm:^2.20.0" - source-map-support: "npm:~0.5.20" - bin: - terser: bin/terser - checksum: 10c0/ff0dc79b0a0da821e7f5bf7a047eab6d04e70e88b62339a0f1d71117db3310e255f5c00738fa3b391f56c3571f800a00047720261ba04ced0241c1f9922199f4 - languageName: node - linkType: hard - "test-exclude@npm:^6.0.0": version: 6.0.0 resolution: "test-exclude@npm:6.0.0" @@ -9029,7 +8044,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.1.0, tslib@npm:^2.4.0, tslib@npm:^2.6.2": +"tslib@npm:^2.1.0, tslib@npm:^2.4.0": version: 2.8.1 resolution: "tslib@npm:2.8.1" checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62 @@ -9169,13 +8184,6 @@ __metadata: languageName: node linkType: hard -"universalify@npm:^2.0.0": - version: 2.0.1 - resolution: "universalify@npm:2.0.1" - checksum: 10c0/73e8ee3809041ca8b818efb141801a1004e3fc0002727f1531f4de613ea281b494a40909596dae4a042a4fb6cd385af5d4db2e137b1362e0e91384b828effd3a - languageName: node - linkType: hard - "unset-value@npm:^1.0.0": version: 1.0.0 resolution: "unset-value@npm:1.0.0" @@ -9200,15 +8208,6 @@ __metadata: languageName: node linkType: hard -"uri-js@npm:^4.2.2": - version: 4.4.1 - resolution: "uri-js@npm:4.4.1" - dependencies: - punycode: "npm:^2.1.0" - checksum: 10c0/4ef57b45aa820d7ac6496e9208559986c665e49447cb072744c13b66925a362d96dd5a46c4530a6b8e203e5db5fe849369444440cb22ecfc26c679359e5dfa3c - languageName: node - linkType: hard - "urix@npm:^0.1.0": version: 0.1.0 resolution: "urix@npm:0.1.0" @@ -9303,16 +8302,6 @@ __metadata: languageName: node linkType: hard -"watchpack@npm:^2.4.1": - version: 2.4.2 - resolution: "watchpack@npm:2.4.2" - dependencies: - glob-to-regexp: "npm:^0.4.1" - graceful-fs: "npm:^4.1.2" - checksum: 10c0/ec60a5f0e9efaeca0102fd9126346b3b2d523e01c34030d3fddf5813a7125765121ebdc2552981136dcd2c852deb1af0b39340f2fcc235f292db5399d0283577 - languageName: node - linkType: hard - "web-streams-polyfill@npm:4.0.0-beta.3": version: 4.0.0-beta.3 resolution: "web-streams-polyfill@npm:4.0.0-beta.3" @@ -9334,92 +8323,6 @@ __metadata: languageName: node linkType: hard -"webpack-cli@npm:^5.1.4": - version: 5.1.4 - resolution: "webpack-cli@npm:5.1.4" - dependencies: - "@discoveryjs/json-ext": "npm:^0.5.0" - "@webpack-cli/configtest": "npm:^2.1.1" - "@webpack-cli/info": "npm:^2.0.2" - "@webpack-cli/serve": "npm:^2.0.5" - colorette: "npm:^2.0.14" - commander: "npm:^10.0.1" - cross-spawn: "npm:^7.0.3" - envinfo: "npm:^7.7.3" - fastest-levenshtein: "npm:^1.0.12" - import-local: "npm:^3.0.2" - interpret: "npm:^3.1.1" - rechoir: "npm:^0.8.0" - webpack-merge: "npm:^5.7.3" - peerDependencies: - webpack: 5.x.x - peerDependenciesMeta: - "@webpack-cli/generators": - optional: true - webpack-bundle-analyzer: - optional: true - webpack-dev-server: - optional: true - bin: - webpack-cli: bin/cli.js - checksum: 10c0/4266909ae5e2e662c8790ac286e965b2c7fd5a4a2f07f48e28576234c9a5f631847ccddc18e1b3281c7b4be04a7ff4717d2636033a322dde13ac995fd0d9de10 - languageName: node - linkType: hard - -"webpack-merge@npm:^5.7.3": - version: 5.10.0 - resolution: "webpack-merge@npm:5.10.0" - dependencies: - clone-deep: "npm:^4.0.1" - flat: "npm:^5.0.2" - wildcard: "npm:^2.0.0" - checksum: 10c0/b607c84cabaf74689f965420051a55a08722d897bdd6c29cb0b2263b451c090f962d41ecf8c9bf56b0ab3de56e65476ace0a8ecda4f4a4663684243d90e0512b - languageName: node - linkType: hard - -"webpack-sources@npm:^3.2.3": - version: 3.2.3 - resolution: "webpack-sources@npm:3.2.3" - checksum: 10c0/2ef63d77c4fad39de4a6db17323d75eb92897b32674e97d76f0a1e87c003882fc038571266ad0ef581ac734cbe20952912aaa26155f1905e96ce251adbb1eb4e - languageName: node - linkType: hard - -"webpack@npm:^5.88.2": - version: 5.97.1 - resolution: "webpack@npm:5.97.1" - dependencies: - "@types/eslint-scope": "npm:^3.7.7" - "@types/estree": "npm:^1.0.6" - "@webassemblyjs/ast": "npm:^1.14.1" - "@webassemblyjs/wasm-edit": "npm:^1.14.1" - "@webassemblyjs/wasm-parser": "npm:^1.14.1" - acorn: "npm:^8.14.0" - browserslist: "npm:^4.24.0" - chrome-trace-event: "npm:^1.0.2" - enhanced-resolve: "npm:^5.17.1" - es-module-lexer: "npm:^1.2.1" - eslint-scope: "npm:5.1.1" - events: "npm:^3.2.0" - glob-to-regexp: "npm:^0.4.1" - graceful-fs: "npm:^4.2.11" - json-parse-even-better-errors: "npm:^2.3.1" - loader-runner: "npm:^4.2.0" - mime-types: "npm:^2.1.27" - neo-async: "npm:^2.6.2" - schema-utils: "npm:^3.2.0" - tapable: "npm:^2.1.1" - terser-webpack-plugin: "npm:^5.3.10" - watchpack: "npm:^2.4.1" - webpack-sources: "npm:^3.2.3" - peerDependenciesMeta: - webpack-cli: - optional: true - bin: - webpack: bin/webpack.js - checksum: 10c0/a12d3dc882ca582075f2c4bd88840be8307427245c90a8a0e0b372d73560df13fcf25a61625c9e7edc964981d16b5a8323640562eb48347cf9dd2f8bd1b39d35 - languageName: node - linkType: hard - "whatwg-url@npm:^5.0.0": version: 5.0.0 resolution: "whatwg-url@npm:5.0.0" @@ -9452,13 +8355,6 @@ __metadata: languageName: node linkType: hard -"wildcard@npm:^2.0.0": - version: 2.0.1 - resolution: "wildcard@npm:2.0.1" - checksum: 10c0/08f70cd97dd9a20aea280847a1fe8148e17cae7d231640e41eb26d2388697cbe65b67fd9e68715251c39b080c5ae4f76d71a9a69fa101d897273efdfb1b58bf7 - languageName: node - linkType: hard - "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0, wrap-ansi@npm:^7.0.0": version: 7.0.0 resolution: "wrap-ansi@npm:7.0.0"