From c83b266dbce5d3f5f2c7e8a2879442a54eac41c5 Mon Sep 17 00:00:00 2001 From: winches <329487092@qq.com> Date: Sun, 3 Mar 2024 13:32:18 +0800 Subject: [PATCH 01/32] feat: add build-package invalid package name tips --- scripts/build-package.ts | 34 ++++++++++++++++++++++++++++++---- scripts/package.json | 1 + scripts/utils/diff.ts | 35 +++++++++++++++++++++++++++++++++++ scripts/yarn.lock | 8 ++++++++ 4 files changed, 74 insertions(+), 4 deletions(-) create mode 100644 scripts/utils/diff.ts diff --git a/scripts/build-package.ts b/scripts/build-package.ts index 7ee1002f65cc..6aa6aecff576 100644 --- a/scripts/build-package.ts +++ b/scripts/build-package.ts @@ -6,6 +6,7 @@ import chalk from 'chalk'; import windowSize from 'window-size'; import { execaCommand } from 'execa'; import { getWorkspaces } from './utils/workspace'; +import { findMostMatchText } from './utils/diff'; async function run() { const packages = await getWorkspaces(); @@ -18,10 +19,16 @@ async function run() { helpText: `build only the ${pkg.name} package`, }; }) - .reduce((acc, next) => { - acc[next.name] = next; - return acc; - }, {} as Record); + .reduce( + (acc, next) => { + acc[next.name] = next; + return acc; + }, + {} as Record< + string, + { name: string; defaultValue: boolean; suffix: string; helpText: string } + > + ); const tasks: Record< string, @@ -140,6 +147,25 @@ async function run() { process.stderr.write(`${chalk.red(v.name)}:\n${data}`); }); }); + + if (!selection.length && (watchMode || prodMode)) { + const args = program.rawArgs.slice(3); + const suffixList = Object.values(tasks) + .filter((t) => t.name.includes('@storybook')) + .map((t) => t.suffix); + + for (const arg of args) { + const matchText = findMostMatchText(suffixList, arg); + + if (matchText) { + console.log( + `\n${chalk.red('Error')}: ${chalk.cyan( + arg + )} is not a valid package name, Did you mean ${chalk.cyan(matchText)}?` + ); + } + } + } } run().catch((e) => { diff --git a/scripts/package.json b/scripts/package.json index 52d2013ec288..6b87c640e1c1 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -120,6 +120,7 @@ "danger": "^11.2.6", "dataloader": "^2.2.2", "detect-port": "^1.3.0", + "diff-match-patch-es": "^0.1.0", "ejs": "^3.1.8", "ejs-lint": "^2.0.0", "esbuild": "^0.18.0", diff --git a/scripts/utils/diff.ts b/scripts/utils/diff.ts new file mode 100644 index 000000000000..a07dce4abe20 --- /dev/null +++ b/scripts/utils/diff.ts @@ -0,0 +1,35 @@ +import { diff } from 'diff-match-patch-es'; + +function matchTextScore(text: string, pattern: string) { + const result = diff(text, pattern); + + if (!result.length) { + return 0; + } + + return result.reduce((pre, cur) => { + const [matchIndex, matchText] = cur; + + if (matchIndex === 0) { + return pre + matchText.length; + } + + return pre; + }, 0); +} + +export function findMostMatchText(list: string[], pattern: string) { + let maxScore = 0; + let result = ''; + + for (const text of list) { + const score = matchTextScore(text, pattern); + + if (score > maxScore) { + maxScore = score; + result = text; + } + } + + return result !== '' ? result : null; +} diff --git a/scripts/yarn.lock b/scripts/yarn.lock index fd8ab47be372..7b9efb2f18f0 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -2760,6 +2760,7 @@ __metadata: danger: "npm:^11.2.6" dataloader: "npm:^2.2.2" detect-port: "npm:^1.3.0" + diff-match-patch-es: "npm:^0.1.0" ejs: "npm:^3.1.8" ejs-lint: "npm:^2.0.0" esbuild: "npm:^0.18.0" @@ -6089,6 +6090,13 @@ __metadata: languageName: node linkType: hard +"diff-match-patch-es@npm:^0.1.0": + version: 0.1.0 + resolution: "diff-match-patch-es@npm:0.1.0" + checksum: c456d10662506f676489c1572af2a48ad52d015a856b74bf16594d39f11c9a352cd763fd66b5a5952c86a18818f4b7de28d55876e7ffd47f5d71282e3a5056a2 + languageName: node + linkType: hard + "diff-sequences@npm:^29.6.3": version: 29.6.3 resolution: "diff-sequences@npm:29.6.3" From 1ee63d16baddae7bd9036c4c7fb7477d53bc7ac2 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Tue, 15 Oct 2024 18:39:22 +0200 Subject: [PATCH 02/32] Refactor test addon to include stories automatically --- code/.storybook/vitest.config.ts | 7 --- code/addons/test/src/postinstall.ts | 6 +- code/addons/test/src/vitest-plugin/index.ts | 62 +++++++++++++-------- 3 files changed, 42 insertions(+), 33 deletions(-) diff --git a/code/.storybook/vitest.config.ts b/code/.storybook/vitest.config.ts index 05205f3e762a..2667035a4564 100644 --- a/code/.storybook/vitest.config.ts +++ b/code/.storybook/vitest.config.ts @@ -34,13 +34,6 @@ export default mergeConfig( ], test: { name: 'storybook-ui', - include: [ - '../addons/**/*.{story,stories}.?(c|m)[jt]s?(x)', - // '../core/template/stories/**/*.{story,stories}.?(c|m)[jt]s?(x)', - '../core/src/manager/**/*.{story,stories}.?(c|m)[jt]s?(x)', - '../core/src/preview-api/**/*.{story,stories}.?(c|m)[jt]s?(x)', - '../core/src/components/{brand,components}/**/*.{story,stories}.?(c|m)[jt]s?(x)', - ], exclude: [ ...defaultExclude, '../node_modules/**', diff --git a/code/addons/test/src/postinstall.ts b/code/addons/test/src/postinstall.ts index e179b42fa1d2..09604357bfb0 100644 --- a/code/addons/test/src/postinstall.ts +++ b/code/addons/test/src/postinstall.ts @@ -334,6 +334,7 @@ export default async function postInstall(options: PostinstallOptions) { { extends: '${viteConfigFile ? relative(dirname(browserWorkspaceFile), viteConfigFile) : ''}', plugins: [ + // The plugin will run tests in the stories defined in your Storybook config // See options at: https://storybook.js.org/docs/writing-tests/vitest-plugin#storybooktest storybookTest(),${vitestInfo.frameworkPluginDocs + vitestInfo.frameworkPluginCall} ], @@ -345,8 +346,6 @@ export default async function postInstall(options: PostinstallOptions) { name: 'chromium', provider: 'playwright', }, - // Make sure to adjust this pattern to match your stories files. - include: ['**/*.stories.?(m)[jt]s?(x)'], setupFiles: ['./.storybook/vitest.setup.ts'], }, }, @@ -370,6 +369,7 @@ export default async function postInstall(options: PostinstallOptions) { // More info at: https://storybook.js.org/docs/writing-tests/vitest-plugin export default defineConfig({ plugins: [ + // The plugin will run tests in the stories defined in your Storybook config // See options at: https://storybook.js.org/docs/writing-tests/vitest-plugin#storybooktest storybookTest(),${vitestInfo.frameworkPluginDocs + vitestInfo.frameworkPluginCall} ], @@ -381,8 +381,6 @@ export default async function postInstall(options: PostinstallOptions) { name: 'chromium', provider: 'playwright', }, - // Make sure to adjust this pattern to match your stories files. - include: ['**/*.stories.?(m)[jt]s?(x)'], setupFiles: ['./.storybook/vitest.setup.ts'], }, }); diff --git a/code/addons/test/src/vitest-plugin/index.ts b/code/addons/test/src/vitest-plugin/index.ts index e71b54cefe81..ad5768adcf76 100644 --- a/code/addons/test/src/vitest-plugin/index.ts +++ b/code/addons/test/src/vitest-plugin/index.ts @@ -6,6 +6,7 @@ import type { Plugin } from 'vitest/config'; import { getInterpretedFile, loadAllPresets, + normalizeStories, validateConfigurationFiles, } from 'storybook/internal/common'; import { readConfig, vitestTransform } from 'storybook/internal/csf-tools'; @@ -20,6 +21,39 @@ const defaultOptions: UserOptions = { storybookUrl: 'http://localhost:6006', }; +async function extractStorybookData(finalOptions: InternalOptions) { + const configDir = finalOptions.configDir; + try { + await validateConfigurationFiles(configDir); + } catch (err) { + throw new MainFileMissingError({ + location: configDir, + source: 'vitest', + }); + } + const previewLevelTags = await extractTagsFromPreview(configDir); + + const presets = await loadAllPresets({ + configDir, + corePresets: [], + overridePresets: [], + packageJson: {}, + }); + const stories = await presets.apply('stories', []); + + const normalizedStories = normalizeStories(stories, { + configDir: finalOptions.configDir, + workingDir: process.cwd(), + }); + + const storiesGlobs = normalizedStories.map((entry) => `${entry.directory}/${entry.files}`); + // To discuss: Do we want to filter out mdx files? + // The vitest plugin ignores mdx files, but perhaps it might still give side effects based on user's config + // However if we do filter out mdx, how do we do it without affecting things like ./*.stories.@(js|jsx|ts|mdx|tsx)? + // .filter((entry) => !entry.includes('mdx')); + return { previewLevelTags, stories, storiesGlobs }; +} + const extractTagsFromPreview = async (configDir: string) => { const previewConfigPath = getInterpretedFile(join(resolve(configDir), 'preview')); @@ -64,30 +98,14 @@ export const storybookTest = (options?: UserOptions): Plugin => { return { name: 'vite-plugin-storybook-test', enforce: 'pre', - async buildStart() { - // evaluate main.js and preview.js so we can extract - // stories for autotitle support and tags for tags filtering support - const configDir = finalOptions.configDir; - try { - await validateConfigurationFiles(configDir); - } catch (err) { - throw new MainFileMissingError({ - location: configDir, - source: 'vitest', - }); - } + async config(config) { + const storybookData = await extractStorybookData(finalOptions); + stories = storybookData.stories; + previewLevelTags = storybookData.previewLevelTags; - const presets = await loadAllPresets({ - configDir, - corePresets: [], - overridePresets: [], - packageJson: {}, - }); + config.test.include ??= []; + config.test.include.push(...storybookData.storiesGlobs); - stories = await presets.apply('stories', []); - previewLevelTags = await extractTagsFromPreview(configDir); - }, - async config(config) { // If we end up needing to know if we are running in browser mode later // const isRunningInBrowserMode = config.plugins.find((plugin: Plugin) => // plugin.name?.startsWith('vitest:browser') From 9360bb7ce05f34d1c77f691abef6f0efd12e7992 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 2 Dec 2024 11:54:01 +0100 Subject: [PATCH 03/32] add exceptions amending the error message to prompt users to install required packages for supporting coverage --- code/addons/test/src/node/test-manager.ts | 9 +++++++++ code/addons/test/src/node/vitest-manager.ts | 12 ++++++++++++ 2 files changed, 21 insertions(+) diff --git a/code/addons/test/src/node/test-manager.ts b/code/addons/test/src/node/test-manager.ts index 3660081de58c..cf63eb31e656 100644 --- a/code/addons/test/src/node/test-manager.ts +++ b/code/addons/test/src/node/test-manager.ts @@ -56,6 +56,15 @@ export class TestManager { this.coverage = payload.config.coverage; await this.restartVitest({ watchMode: this.watchMode, coverage: this.coverage }); } catch (e) { + const isV8 = e.message?.includes('@vitest/coverage-v8'); + const isIstanbul = e.message?.includes('@vitest/coverage-istanbul'); + + if (e.mesaage?.includes('Error: Failed to load url') && (isIstanbul || isV8)) { + const coveragePackage = isIstanbul ? 'coverage-istanbul' : 'coverage-v8'; + e.message = `Please install the @vitest/${coveragePackage} package to run with coverage`; + this.reportFatalError('Failed to change coverage mode', e); + return; + } this.reportFatalError('Failed to change coverage mode', e); } } diff --git a/code/addons/test/src/node/vitest-manager.ts b/code/addons/test/src/node/vitest-manager.ts index 59aba03e7c71..4fcc0591f182 100644 --- a/code/addons/test/src/node/vitest-manager.ts +++ b/code/addons/test/src/node/vitest-manager.ts @@ -83,6 +83,18 @@ export class VitestManager { try { await this.vitest.init(); } catch (e) { + const isV8 = e.message?.includes('@vitest/coverage-v8'); + const isIstanbul = e.message?.includes('@vitest/coverage-istanbul'); + + console.log('HELLO'); + + if (e.message?.includes('Failed to load url') && (isIstanbul || isV8)) { + const coveragePackage = isIstanbul ? 'coverage-istanbul' : 'coverage-v8'; + e.message = `Please install the @vitest/${coveragePackage} package to run with coverage`; + this.testManager.reportFatalError('Failed to change coverage mode', e); + return; + } + this.testManager.reportFatalError('Failed to init Vitest', e); } From fc1d07daafb8f968ac02abaf3bb79fef0292a04c Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 2 Dec 2024 14:41:19 +0100 Subject: [PATCH 04/32] adjust way of adjusting the error message --- code/addons/test/src/node/test-manager.ts | 4 +--- code/addons/test/src/node/vitest-manager.ts | 6 +----- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/code/addons/test/src/node/test-manager.ts b/code/addons/test/src/node/test-manager.ts index cf63eb31e656..139fffa3ef6b 100644 --- a/code/addons/test/src/node/test-manager.ts +++ b/code/addons/test/src/node/test-manager.ts @@ -59,11 +59,9 @@ export class TestManager { const isV8 = e.message?.includes('@vitest/coverage-v8'); const isIstanbul = e.message?.includes('@vitest/coverage-istanbul'); - if (e.mesaage?.includes('Error: Failed to load url') && (isIstanbul || isV8)) { + if (e.message?.includes('Error: Failed to load url') && (isIstanbul || isV8)) { const coveragePackage = isIstanbul ? 'coverage-istanbul' : 'coverage-v8'; e.message = `Please install the @vitest/${coveragePackage} package to run with coverage`; - this.reportFatalError('Failed to change coverage mode', e); - return; } this.reportFatalError('Failed to change coverage mode', e); } diff --git a/code/addons/test/src/node/vitest-manager.ts b/code/addons/test/src/node/vitest-manager.ts index 4fcc0591f182..0296945b43c9 100644 --- a/code/addons/test/src/node/vitest-manager.ts +++ b/code/addons/test/src/node/vitest-manager.ts @@ -86,13 +86,9 @@ export class VitestManager { const isV8 = e.message?.includes('@vitest/coverage-v8'); const isIstanbul = e.message?.includes('@vitest/coverage-istanbul'); - console.log('HELLO'); - - if (e.message?.includes('Failed to load url') && (isIstanbul || isV8)) { + if (e.message?.includes('Error: Failed to load url') && (isIstanbul || isV8)) { const coveragePackage = isIstanbul ? 'coverage-istanbul' : 'coverage-v8'; e.message = `Please install the @vitest/${coveragePackage} package to run with coverage`; - this.testManager.reportFatalError('Failed to change coverage mode', e); - return; } this.testManager.reportFatalError('Failed to init Vitest', e); From 4e7eb16b285d6f783dbe109b1f642215a254c570 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 3 Dec 2024 13:27:40 +0100 Subject: [PATCH 05/32] cleanup --- code/addons/test/src/vitest-plugin/index.ts | 37 --------------------- 1 file changed, 37 deletions(-) diff --git a/code/addons/test/src/vitest-plugin/index.ts b/code/addons/test/src/vitest-plugin/index.ts index 56df1c000a05..040b592d491a 100644 --- a/code/addons/test/src/vitest-plugin/index.ts +++ b/code/addons/test/src/vitest-plugin/index.ts @@ -22,39 +22,6 @@ const defaultOptions: UserOptions = { storybookUrl: 'http://localhost:6006', }; -async function extractStorybookData(finalOptions: InternalOptions) { - const configDir = finalOptions.configDir; - try { - await validateConfigurationFiles(configDir); - } catch (err) { - throw new MainFileMissingError({ - location: configDir, - source: 'vitest', - }); - } - const previewLevelTags = await extractTagsFromPreview(configDir); - - const presets = await loadAllPresets({ - configDir, - corePresets: [], - overridePresets: [], - packageJson: {}, - }); - const stories = await presets.apply('stories', []); - - const normalizedStories = normalizeStories(stories, { - configDir: finalOptions.configDir, - workingDir: process.cwd(), - }); - - const storiesGlobs = normalizedStories.map((entry) => `${entry.directory}/${entry.files}`); - // To discuss: Do we want to filter out mdx files? - // The vitest plugin ignores mdx files, but perhaps it might still give side effects based on user's config - // However if we do filter out mdx, how do we do it without affecting things like ./*.stories.@(js|jsx|ts|mdx|tsx)? - // .filter((entry) => !entry.includes('mdx')); - return { previewLevelTags, stories, storiesGlobs }; -} - const extractTagsFromPreview = async (configDir: string) => { const previewConfigPath = getInterpretedFile(join(resolve(configDir), 'preview')); @@ -137,8 +104,6 @@ export const storybookTest = (options?: UserOptions): Plugin => { const storyFiles = generator.storyFileNames(); - // console.log({ storyFiles }); - previewLevelTags = await extractTagsFromPreview(configDir); const framework = await presets.apply('framework', undefined); @@ -156,8 +121,6 @@ export const storybookTest = (options?: UserOptions): Plugin => { config.test.exclude ??= []; config.test.exclude.push('**/*.mdx'); - // console.log(config.test); - config.test.env ??= {}; config.test.env = { ...config.test.env, From c34a62e109a81b0fb8d744330800b87cf9b63f82 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 3 Dec 2024 13:28:40 +0100 Subject: [PATCH 06/32] add extra whilespace --- code/addons/test/src/vitest-plugin/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/code/addons/test/src/vitest-plugin/index.ts b/code/addons/test/src/vitest-plugin/index.ts index 040b592d491a..8713f7a9291d 100644 --- a/code/addons/test/src/vitest-plugin/index.ts +++ b/code/addons/test/src/vitest-plugin/index.ts @@ -113,6 +113,7 @@ export const storybookTest = (options?: UserOptions): Plugin => { // const isRunningInBrowserMode = config.plugins.find((plugin: Plugin) => // plugin.name?.startsWith('vitest:browser') // ) + config.test ??= {}; config.test.include ??= []; From 15139be55f4a64cd277aa22e59ffa7b5f5bcadee Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 3 Dec 2024 13:35:36 +0100 Subject: [PATCH 07/32] improve transform file condition --- code/addons/test/src/vitest-plugin/index.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/addons/test/src/vitest-plugin/index.ts b/code/addons/test/src/vitest-plugin/index.ts index 8713f7a9291d..df567d4b002b 100644 --- a/code/addons/test/src/vitest-plugin/index.ts +++ b/code/addons/test/src/vitest-plugin/index.ts @@ -61,6 +61,7 @@ export const storybookTest = (options?: UserOptions): Plugin => { let previewLevelTags: string[]; let storiesGlobs: StoriesEntry[]; + let storiesFiles: string[]; return { name: 'vite-plugin-storybook-test', @@ -102,7 +103,7 @@ export const storybookTest = (options?: UserOptions): Plugin => { await generator.initialize(); - const storyFiles = generator.storyFileNames(); + storiesFiles = generator.storyFileNames(); previewLevelTags = await extractTagsFromPreview(configDir); @@ -117,7 +118,7 @@ export const storybookTest = (options?: UserOptions): Plugin => { config.test ??= {}; config.test.include ??= []; - config.test.include.push(...storyFiles); + config.test.include.push(...storiesFiles); config.test.exclude ??= []; config.test.exclude.push('**/*.mdx'); @@ -191,7 +192,7 @@ export const storybookTest = (options?: UserOptions): Plugin => { return code; } - if (id.match(/(story|stories)\.[cm]?[jt]sx?$/)) { + if (storiesFiles.includes(id)) { return vitestTransform({ code, fileName: id, From 0247332a1cdaad4e0fdd5563b89fc9c859de90cc Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 3 Dec 2024 16:46:26 +0100 Subject: [PATCH 08/32] remove include list in sandbox generation, add exclude for svelte stories for now --- scripts/tasks/sandbox-parts.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/tasks/sandbox-parts.ts b/scripts/tasks/sandbox-parts.ts index 27b73c36de4e..920b31857a8b 100644 --- a/scripts/tasks/sandbox-parts.ts +++ b/scripts/tasks/sandbox-parts.ts @@ -498,14 +498,11 @@ export async function setupVitest(details: TemplateDetails, options: PassedOptio test: { name: "storybook", pool: "threads", - include: [ - "src/**/*.{story,stories}.?(c|m)[jt]s?(x)", - "template-stories/**/*.{story,stories}.?(c|m)[jt]s?(x)", - ], exclude: [ ...defaultExclude, // TODO: investigate TypeError: Cannot read properties of null (reading 'useContext') "**/*argtypes*", + ${template.expected.renderer === '@storybook/svelte' ? '"**/*.stories.svelte",' : ''} ], /** * TODO: Either fix or acknowledge limitation of: From 79a1a2ffd6f8ece21eb55d9030bb1858f69e6e58 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Tue, 3 Dec 2024 17:02:52 +0100 Subject: [PATCH 09/32] Support Storybook environment variables in Vitest --- code/addons/test/src/vitest-plugin/index.ts | 4 ++++ code/core/src/types/modules/core-common.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/code/addons/test/src/vitest-plugin/index.ts b/code/addons/test/src/vitest-plugin/index.ts index b93eed96ddcf..185473ee75c5 100644 --- a/code/addons/test/src/vitest-plugin/index.ts +++ b/code/addons/test/src/vitest-plugin/index.ts @@ -87,6 +87,7 @@ export const storybookTest = (options?: UserOptions): Plugin => { const framework = await presets.apply('framework', undefined); const frameworkName = typeof framework === 'string' ? framework : framework.name; + const storybookEnv = await presets.apply('env', {}); // If we end up needing to know if we are running in browser mode later // const isRunningInBrowserMode = config.plugins.find((plugin: Plugin) => @@ -96,6 +97,7 @@ export const storybookTest = (options?: UserOptions): Plugin => { config.test.env ??= {}; config.test.env = { + ...storybookEnv, ...config.test.env, // To be accessed by the setup file __STORYBOOK_URL__: storybookUrl, @@ -104,6 +106,8 @@ export const storybookTest = (options?: UserOptions): Plugin => { __VITEST_SKIP_TAGS__: finalOptions.tags.skip.join(','), }; + config.envPrefix = Array.from(new Set([...(config.envPrefix || []), 'STORYBOOK_', 'VITE_'])); + if (config.test.browser) { config.test.browser.screenshotFailures ??= false; } diff --git a/code/core/src/types/modules/core-common.ts b/code/core/src/types/modules/core-common.ts index 07372bc308dd..3254723fc4ee 100644 --- a/code/core/src/types/modules/core-common.ts +++ b/code/core/src/types/modules/core-common.ts @@ -71,6 +71,7 @@ export interface Presets { apply(extension: 'babel', config?: {}, args?: any): Promise; apply(extension: 'swc', config?: {}, args?: any): Promise; apply(extension: 'entries', config?: [], args?: any): Promise; + apply(extension: 'env', config?: {}, args?: any): Promise; apply(extension: 'stories', config?: [], args?: any): Promise; apply(extension: 'managerEntries', config: [], args?: any): Promise; apply(extension: 'refs', config?: [], args?: any): Promise; From 517dba5626340bee5f57890fa0e2383e15502457 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Wed, 4 Dec 2024 10:33:04 +0800 Subject: [PATCH 10/32] Vue: properly resolve vite plugin --- code/frameworks/vue3-vite/src/plugins/vue-component-meta.ts | 4 ++-- code/frameworks/vue3-vite/src/plugins/vue-docgen.ts | 4 ++-- code/frameworks/vue3-vite/src/plugins/vue-template.ts | 2 +- code/frameworks/vue3-vite/src/preset.ts | 4 ++-- code/frameworks/vue3-vite/src/vite-plugin.ts | 4 +++- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/code/frameworks/vue3-vite/src/plugins/vue-component-meta.ts b/code/frameworks/vue3-vite/src/plugins/vue-component-meta.ts index 2f3c13b59897..82c9f4dc3109 100644 --- a/code/frameworks/vue3-vite/src/plugins/vue-component-meta.ts +++ b/code/frameworks/vue3-vite/src/plugins/vue-component-meta.ts @@ -3,7 +3,7 @@ import { dirname, join, parse, relative, resolve } from 'node:path'; import findPackageJson from 'find-package-json'; import MagicString from 'magic-string'; -import type { ModuleNode, PluginOption } from 'vite'; +import type { ModuleNode, Plugin } from 'vite'; import { type ComponentMeta, type MetaCheckerOptions, @@ -21,7 +21,7 @@ type MetaSource = { } & ComponentMeta & MetaCheckerOptions['schema']; -export async function vueComponentMeta(tsconfigPath = 'tsconfig.json'): Promise { +export async function vueComponentMeta(tsconfigPath = 'tsconfig.json'): Promise { const { createFilter } = await import('vite'); // exclude stories, virtual modules and storybook internals diff --git a/code/frameworks/vue3-vite/src/plugins/vue-docgen.ts b/code/frameworks/vue3-vite/src/plugins/vue-docgen.ts index 502264f88f14..c8b9268d0f46 100644 --- a/code/frameworks/vue3-vite/src/plugins/vue-docgen.ts +++ b/code/frameworks/vue3-vite/src/plugins/vue-docgen.ts @@ -1,8 +1,8 @@ import MagicString from 'magic-string'; -import type { PluginOption } from 'vite'; +import type { Plugin } from 'vite'; import { parse } from 'vue-docgen-api'; -export async function vueDocgen(): Promise { +export async function vueDocgen(): Promise { const { createFilter } = await import('vite'); const include = /\.(vue)$/; diff --git a/code/frameworks/vue3-vite/src/plugins/vue-template.ts b/code/frameworks/vue3-vite/src/plugins/vue-template.ts index 325bc20341b4..22751c20222b 100644 --- a/code/frameworks/vue3-vite/src/plugins/vue-template.ts +++ b/code/frameworks/vue3-vite/src/plugins/vue-template.ts @@ -1,6 +1,6 @@ import type { Plugin } from 'vite'; -export async function templateCompilation() { +export async function templateCompilation(): Promise { return { name: 'storybook:vue-template-compilation', config: () => ({ diff --git a/code/frameworks/vue3-vite/src/preset.ts b/code/frameworks/vue3-vite/src/preset.ts index 8bbaf394d442..d565b947587c 100644 --- a/code/frameworks/vue3-vite/src/preset.ts +++ b/code/frameworks/vue3-vite/src/preset.ts @@ -2,7 +2,7 @@ import { dirname, join } from 'node:path'; import type { PresetProperty } from 'storybook/internal/types'; -import type { PluginOption } from 'vite'; +import type { Plugin } from 'vite'; import { vueComponentMeta } from './plugins/vue-component-meta'; import { vueDocgen } from './plugins/vue-docgen'; @@ -18,7 +18,7 @@ export const core: PresetProperty<'core'> = { }; export const viteFinal: StorybookConfig['viteFinal'] = async (config, options) => { - const plugins: PluginOption[] = [templateCompilation()]; + const plugins: Plugin[] = [await templateCompilation()]; const framework = await options.presets.apply('framework'); const frameworkOptions: FrameworkOptions = diff --git a/code/frameworks/vue3-vite/src/vite-plugin.ts b/code/frameworks/vue3-vite/src/vite-plugin.ts index eb2a3345e937..8b90ffe73ffa 100644 --- a/code/frameworks/vue3-vite/src/vite-plugin.ts +++ b/code/frameworks/vue3-vite/src/vite-plugin.ts @@ -1,5 +1,7 @@ +import type { Plugin } from 'vite'; + import { templateCompilation } from './plugins/vue-template'; -export const storybookVuePlugin = () => { +export const storybookVuePlugin = (): Promise[] => { return [templateCompilation()]; }; From 3985f97ce1473430d6a4895b53803f5ca1332881 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 4 Dec 2024 09:06:04 +0100 Subject: [PATCH 11/32] cleanup [skip-ci] --- code/.storybook/vitest.config.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/.storybook/vitest.config.ts b/code/.storybook/vitest.config.ts index 1d76c3708bf2..4b177f409281 100644 --- a/code/.storybook/vitest.config.ts +++ b/code/.storybook/vitest.config.ts @@ -39,10 +39,8 @@ export default mergeConfig( '../node_modules/**', '**/__mockdata__/**', '../**/__mockdata__/**', - // expected to fail in Vitest because of fetching /iframe.html to cause ECONNREFUSED - '**/Zoom.stories.tsx', - // @yannbf what's wrong with these stories, that they do not work - '**/lib/blocks/src/**', + '**/Zoom.stories.tsx', // expected to fail in Vitest because of fetching /iframe.html to cause ECONNREFUSED + '**/lib/blocks/src/**', // won't work because of https://github.com/storybookjs/storybook/issues/29783 ], // TODO: bring this back once portable stories support @storybook/core/preview-api hooks // @ts-expect-error this type does not exist but the property does! From 7dc82673f91c9da11e09b288987044b9acc36d67 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Wed, 4 Dec 2024 10:08:41 +0100 Subject: [PATCH 12/32] improve package guessing logic --- scripts/build-package.ts | 135 ++++++++++++++++++++------------------- 1 file changed, 68 insertions(+), 67 deletions(-) diff --git a/scripts/build-package.ts b/scripts/build-package.ts index 1a5172427e10..ca0b497ae268 100644 --- a/scripts/build-package.ts +++ b/scripts/build-package.ts @@ -81,60 +81,80 @@ async function run() { tasks[key].value = containsFlag || opts.all; }); - let selection; - let watchMode = false; - let prodMode = false; - if ( - !Object.keys(tasks) - .map((key) => tasks[key].value) - .filter(Boolean).length - ) { - selection = await prompts([ - { - type: 'toggle', - name: 'watch', - message: 'Start in watch mode', - initial: false, - active: 'yes', - inactive: 'no', - }, - { - type: 'toggle', - name: 'prod', - message: 'Start in production mode', - initial: false, - active: 'yes', - inactive: 'no', - }, - { - type: 'autocompleteMultiselect', - message: 'Select the packages to build', - name: 'todo', - min: 1, - hint: 'You can also run directly with package name like `yarn build core`, or `yarn build --all` for all packages!', - // @ts-expect-error @types incomplete - optionsPerPage: windowSize.height - 3, // 3 lines for extra info - choices: packages.map(({ name: key }) => ({ - value: key, - title: tasks[key].name || key, - selected: (tasks[key] && tasks[key].defaultValue) || false, - })), - }, - ]).then(({ watch, prod, todo }: { watch: boolean; prod: boolean; todo: Array }) => { + // hits here when running yarn build --packagename + let watchMode = process.argv.includes('--watch'); + let prodMode = process.argv.includes('--prod'); + let selection = Object.keys(tasks) + .map((key) => tasks[key]) + .filter((item) => !['watch', 'prod'].includes(item.name) && item.value === true); + + // user has passed an invalid package name(s) - try to guess the correct package name(s) + if ((!selection.length && main.args.length >= 1) || selection.length !== main.args.length) { + const suffixList = Object.values(tasks) + .filter((t) => t.name.includes('@storybook')) + .map((t) => t.suffix); + + for (const arg of main.args) { + if (!suffixList.includes(arg)) { + const matchText = findMostMatchText(suffixList, arg); + + if (matchText) { + console.log( + `${picocolors.red('Error')}: ${picocolors.cyan( + arg + )} is not a valid package name, Did you mean ${picocolors.cyan(matchText)}?` + ); + } + } + } + + process.exit(0); + } + + if (!selection.length) { + selection = await prompts( + [ + { + type: 'toggle', + name: 'watch', + message: 'Start in watch mode', + initial: false, + active: 'yes', + inactive: 'no', + }, + { + type: 'toggle', + name: 'prod', + message: 'Start in production mode', + initial: false, + active: 'yes', + inactive: 'no', + }, + { + type: 'autocompleteMultiselect', + message: 'Select the packages to build', + name: 'todo', + min: 1, + hint: 'You can also run directly with package name like `yarn build core`, or `yarn build --all` for all packages!', + // @ts-expect-error @types incomplete + optionsPerPage: windowSize.height - 3, // 3 lines for extra info + choices: packages.map(({ name: key }) => ({ + value: key, + title: tasks[key].name || key, + selected: (tasks[key] && tasks[key].defaultValue) || false, + })), + }, + ], + { onCancel: () => process.exit(0) } + ).then(({ watch, prod, todo }: { watch: boolean; prod: boolean; todo: Array }) => { watchMode = watch; prodMode = prod; return todo?.map((key) => tasks[key]); }); - } else { - // hits here when running yarn build --packagename - watchMode = process.argv.includes('--watch'); - prodMode = process.argv.includes('--prod'); - selection = Object.keys(tasks) - .map((key) => tasks[key]) - .filter((item) => !['watch', 'prod'].includes(item.name) && item.value === true); } - selection?.filter(Boolean).forEach(async (v) => { + console.log('Building selected packages...'); + selection.forEach(async (v) => { const command = (await readJSON(resolve('../code', v.location, 'package.json'))).scripts?.prep .split(posix.sep) .join(sep); @@ -165,25 +185,6 @@ async function run() { process.stderr.write(`${picocolors.red(v.name)}:\n${data}`); }); }); - - if (!selection.length && (watchMode || prodMode)) { - const args = program.rawArgs.slice(3); - const suffixList = Object.values(tasks) - .filter((t) => t.name.includes('@storybook')) - .map((t) => t.suffix); - - for (const arg of args) { - const matchText = findMostMatchText(suffixList, arg); - - if (matchText) { - console.log( - `\n${chalk.red('Error')}: ${chalk.cyan( - arg - )} is not a valid package name, Did you mean ${chalk.cyan(matchText)}?` - ); - } - } - } } run().catch((e) => { From dfff2d250575fedfab5f68c38daf0629ffceb14d Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Wed, 4 Dec 2024 10:12:17 +0100 Subject: [PATCH 13/32] remove comment --- scripts/build-package.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/build-package.ts b/scripts/build-package.ts index ca0b497ae268..8b74b5db9bfc 100644 --- a/scripts/build-package.ts +++ b/scripts/build-package.ts @@ -81,14 +81,13 @@ async function run() { tasks[key].value = containsFlag || opts.all; }); - // hits here when running yarn build --packagename let watchMode = process.argv.includes('--watch'); let prodMode = process.argv.includes('--prod'); let selection = Object.keys(tasks) .map((key) => tasks[key]) .filter((item) => !['watch', 'prod'].includes(item.name) && item.value === true); - // user has passed an invalid package name(s) - try to guess the correct package name(s) + // user has passed invalid package name(s) - try to guess the correct package name(s) if ((!selection.length && main.args.length >= 1) || selection.length !== main.args.length) { const suffixList = Object.values(tasks) .filter((t) => t.name.includes('@storybook')) From 8d5f56f2872ad0306a81abc1b01b78c661d2eeaa Mon Sep 17 00:00:00 2001 From: JamesHenry Date: Wed, 4 Dec 2024 13:53:21 +0400 Subject: [PATCH 14/32] chore: migrate repo to nx 19 --- .gitignore | 2 + code/.prettierignore | 2 + code/migrations.json | 21 -- code/nx.json | 3 - code/package.json | 17 +- code/yarn.lock | 707 +++++++++++++++++++++++++++++-------------- scripts/.gitignore | 3 +- scripts/nx.json | 5 + scripts/package.json | 6 +- scripts/yarn.lock | 292 +++++++++++------- 10 files changed, 688 insertions(+), 370 deletions(-) delete mode 100644 code/migrations.json create mode 100644 scripts/nx.json diff --git a/.gitignore b/.gitignore index 0724b9827912..fe790007a21e 100644 --- a/.gitignore +++ b/.gitignore @@ -55,8 +55,10 @@ code/bench-results/ /packs code/.nx/cache +code/.nx/workspace-data code/.vite-inspect .nx/cache +.nx/workspace-data !**/fixtures/**/yarn.lock code/core/report diff --git a/code/.prettierignore b/code/.prettierignore index 0e000200275b..1cc00895640d 100644 --- a/code/.prettierignore +++ b/code/.prettierignore @@ -2,3 +2,5 @@ /.nx/cache core/report + +/.nx/workspace-data \ No newline at end of file diff --git a/code/migrations.json b/code/migrations.json deleted file mode 100644 index 7581c9bc77a7..000000000000 --- a/code/migrations.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "migrations": [ - { - "cli": "nx", - "version": "17.3.0-beta.6", - "description": "Updates the nx wrapper.", - "implementation": "./src/migrations/update-17-3-0/update-nxw", - "package": "nx", - "name": "17.3.0-update-nx-wrapper" - }, - { - "cli": "nx", - "version": "18.0.0-beta.2", - "description": "Updates .env to disabled adding plugins when generating projects in an existing Nx workspace", - "implementation": "./src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces", - "x-repair-skip": true, - "package": "nx", - "name": "18.0.0-disable-adding-plugins-for-existing-workspaces" - } - ] -} diff --git a/code/nx.json b/code/nx.json index 2f726cea4387..4c09e7b3e2f6 100644 --- a/code/nx.json +++ b/code/nx.json @@ -5,9 +5,6 @@ "nxCloudAccessToken": "NGVmYTkxMmItYzY3OS00MjkxLTk1ZDktZDFmYTFmNmVlNGY4fHJlYWQ=", "defaultBase": "next", "parallel": 8, - "affected": { - "defaultBase": "next" - }, "cli": { "packageManager": "yarn" }, diff --git a/code/package.json b/code/package.json index d13274ba0b3f..3bfceacea865 100644 --- a/code/package.json +++ b/code/package.json @@ -92,9 +92,9 @@ "dependencies": { "@chromatic-com/storybook": "^3.2.0", "@happy-dom/global-registrator": "^14.12.0", - "@nx/eslint": "18.0.6", - "@nx/vite": "18.0.6", - "@nx/workspace": "18.0.6", + "@nx/eslint": "19.8.14", + "@nx/vite": "19.8.14", + "@nx/workspace": "19.8.14", "@playwright/test": "1.48.1", "@storybook/addon-a11y": "workspace:*", "@storybook/addon-actions": "workspace:*", @@ -174,8 +174,8 @@ "@types/react-dom": "^18.0.11", "@types/semver": "^7.3.4", "@types/serve-static": "^1.13.8", - "@typescript-eslint/experimental-utils": "^5.62.0", - "@typescript-eslint/parser": "^6.18.1", + "@typescript-eslint/eslint-plugin": "7.18.0", + "@typescript-eslint/parser": "7.18.0", "@vitejs/plugin-react": "^4.3.2", "@vitejs/plugin-vue": "^4.4.0", "@vitest/browser": "^2.1.3", @@ -188,9 +188,10 @@ "esbuild": "^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0", "esbuild-loader": "^4.2.0", "esbuild-plugin-alias": "^0.2.1", - "eslint": "^8.56.0", + "eslint": "8.57.1", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-depend": "^0.11.0", + "eslint-plugin-import": "^2.29.1", "eslint-plugin-local-rules": "portal:../scripts/eslint-plugin-local-rules", "eslint-plugin-playwright": "^1.6.2", "eslint-plugin-storybook": "^0.8.0", @@ -201,7 +202,7 @@ "husky": "^4.3.7", "lint-staged": "^13.2.2", "mock-require": "^3.0.3", - "nx": "18.0.6", + "nx": "19.8.14", "prettier": "^3.1.1", "prettier-plugin-brace-style": "^0.6.2", "prettier-plugin-css-order": "^2.1.2", @@ -217,7 +218,7 @@ "storybook": "workspace:^", "svelte": "^5.0.0-next.268", "ts-dedent": "^2.0.0", - "typescript": "^5.4.3", + "typescript": "5.5.4", "util": "^0.12.4", "vite": "^4.0.0", "vite-plugin-inspect": "^0.8.5", diff --git a/code/yarn.lock b/code/yarn.lock index 1bada105b2f1..c45076815369 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -927,7 +927,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.25.9, @babel/parser@npm:^7.26.0, @babel/parser@npm:^7.26.2": +"@babel/parser@npm:^7.25.4, @babel/parser@npm:^7.25.9, @babel/parser@npm:^7.26.0, @babel/parser@npm:^7.26.2": version: 7.26.2 resolution: "@babel/parser@npm:7.26.2" dependencies: @@ -2477,7 +2477,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.25.9, @babel/types@npm:^7.26.0": +"@babel/types@npm:^7.25.4, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.0": version: 7.26.0 resolution: "@babel/types@npm:7.26.0" dependencies: @@ -2680,6 +2680,25 @@ __metadata: languageName: node linkType: hard +"@emnapi/core@npm:^1.1.0": + version: 1.3.1 + resolution: "@emnapi/core@npm:1.3.1" + dependencies: + "@emnapi/wasi-threads": "npm:1.0.1" + tslib: "npm:^2.4.0" + checksum: 10c0/d3be1044ad704e2c486641bc18908523490f28c7d38bd12d9c1d4ce37d39dae6c4aecd2f2eaf44c6e3bd90eaf04e0591acc440b1b038cdf43cce078a355a0ea0 + languageName: node + linkType: hard + +"@emnapi/runtime@npm:^1.1.0, @emnapi/runtime@npm:^1.2.0": + version: 1.3.1 + resolution: "@emnapi/runtime@npm:1.3.1" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10c0/060ffede50f1b619c15083312b80a9e62a5b0c87aa8c1b54854c49766c9d69f8d1d3d87bd963a647071263a320db41b25eaa50b74d6a80dcc763c23dbeaafd6c + languageName: node + linkType: hard + "@emnapi/runtime@npm:^1.1.1": version: 1.2.0 resolution: "@emnapi/runtime@npm:1.2.0" @@ -2689,12 +2708,12 @@ __metadata: languageName: node linkType: hard -"@emnapi/runtime@npm:^1.2.0": - version: 1.3.1 - resolution: "@emnapi/runtime@npm:1.3.1" +"@emnapi/wasi-threads@npm:1.0.1": + version: 1.0.1 + resolution: "@emnapi/wasi-threads@npm:1.0.1" dependencies: tslib: "npm:^2.4.0" - checksum: 10c0/060ffede50f1b619c15083312b80a9e62a5b0c87aa8c1b54854c49766c9d69f8d1d3d87bd963a647071263a320db41b25eaa50b74d6a80dcc763c23dbeaafd6c + checksum: 10c0/1e0c8036b8d53e9b07cc9acf021705ef6c86ab6b13e1acda7fffaf541a2d3565072afb92597419173ced9ea14f6bf32fce149106e669b5902b825e8b499e5c6c languageName: node linkType: hard @@ -3039,6 +3058,13 @@ __metadata: languageName: node linkType: hard +"@eslint-community/regexpp@npm:^4.10.0": + version: 4.12.1 + resolution: "@eslint-community/regexpp@npm:4.12.1" + checksum: 10c0/a03d98c246bcb9109aec2c08e4d10c8d010256538dcb3f56610191607214523d4fb1b00aa81df830b6dffb74c5fa0be03642513a289c567949d3e550ca11cdf6 + languageName: node + linkType: hard + "@eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1": version: 4.10.0 resolution: "@eslint-community/regexpp@npm:4.10.0" @@ -3080,10 +3106,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.57.0": - version: 8.57.0 - resolution: "@eslint/js@npm:8.57.0" - checksum: 10c0/9a518bb8625ba3350613903a6d8c622352ab0c6557a59fe6ff6178bf882bf57123f9d92aa826ee8ac3ee74b9c6203fe630e9ee00efb03d753962dcf65ee4bd94 +"@eslint/js@npm:8.57.1": + version: 8.57.1 + resolution: "@eslint/js@npm:8.57.1" + checksum: 10c0/b489c474a3b5b54381c62e82b3f7f65f4b8a5eaaed126546520bf2fede5532a8ed53212919fed1e9048dcf7f37167c8561d58d0ba4492a4244004e7793805223 languageName: node linkType: hard @@ -3561,14 +3587,14 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.14": - version: 0.11.14 - resolution: "@humanwhocodes/config-array@npm:0.11.14" +"@humanwhocodes/config-array@npm:^0.13.0": + version: 0.13.0 + resolution: "@humanwhocodes/config-array@npm:0.13.0" dependencies: - "@humanwhocodes/object-schema": "npm:^2.0.2" + "@humanwhocodes/object-schema": "npm:^2.0.3" debug: "npm:^4.3.1" minimatch: "npm:^3.0.5" - checksum: 10c0/66f725b4ee5fdd8322c737cb5013e19fac72d4d69c8bf4b7feb192fcb83442b035b92186f8e9497c220e58b2d51a080f28a73f7899bc1ab288c3be172c467541 + checksum: 10c0/205c99e756b759f92e1f44a3dc6292b37db199beacba8f26c2165d4051fe73a4ae52fdcfd08ffa93e7e5cb63da7c88648f0e84e197d154bbbbe137b2e0dd332e languageName: node linkType: hard @@ -3604,10 +3630,10 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.2": - version: 2.0.2 - resolution: "@humanwhocodes/object-schema@npm:2.0.2" - checksum: 10c0/6fd83dc320231d71c4541d0244051df61f301817e9f9da9fd4cb7e44ec8aacbde5958c1665b0c419401ab935114fdf532a6ad5d4e7294b1af2f347dd91a6983f +"@humanwhocodes/object-schema@npm:^2.0.3": + version: 2.0.3 + resolution: "@humanwhocodes/object-schema@npm:2.0.3" + checksum: 10c0/80520eabbfc2d32fe195a93557cef50dfe8c8905de447f022675aaf66abc33ae54098f5ea78548d925aa671cd4ab7c7daa5ad704fe42358c9b5e7db60f80696c languageName: node linkType: hard @@ -4264,6 +4290,17 @@ __metadata: languageName: node linkType: hard +"@napi-rs/wasm-runtime@npm:0.2.4": + version: 0.2.4 + resolution: "@napi-rs/wasm-runtime@npm:0.2.4" + dependencies: + "@emnapi/core": "npm:^1.1.0" + "@emnapi/runtime": "npm:^1.1.0" + "@tybys/wasm-util": "npm:^0.9.0" + checksum: 10c0/1040de49b2ef509db207e2517465dbf7fb3474f20e8ec32897672a962ff4f59872385666dac61dc9dbeae3cae5dad265d8dc3865da756adeb07d1634c67b03a1 + languageName: node + linkType: hard + "@ndelangen/get-tarball@npm:^3.0.7": version: 3.0.9 resolution: "@ndelangen/get-tarball@npm:3.0.9" @@ -4490,94 +4527,96 @@ __metadata: languageName: node linkType: hard -"@nrwl/devkit@npm:18.0.6": - version: 18.0.6 - resolution: "@nrwl/devkit@npm:18.0.6" +"@nrwl/devkit@npm:19.8.14": + version: 19.8.14 + resolution: "@nrwl/devkit@npm:19.8.14" dependencies: - "@nx/devkit": "npm:18.0.6" - checksum: 10c0/70e02f256216fe11392e2d12a692ddc76acb28140246dfabeac59d3c7a1d8ee1c811e4bcaa6e879a610a7ba7d4669850469676508e8f333e6d42ee487b2ce279 + "@nx/devkit": "npm:19.8.14" + checksum: 10c0/de398c1fbb53c4737ea3c8361a3c8a66442c24e3ec7fe366de66c5ede8009ff8975c037a3b6ba4784d3a223f0f4ee4f9b47faefa6ce1aa85c26822e7a17689da languageName: node linkType: hard -"@nrwl/js@npm:18.0.6": - version: 18.0.6 - resolution: "@nrwl/js@npm:18.0.6" +"@nrwl/js@npm:19.8.14": + version: 19.8.14 + resolution: "@nrwl/js@npm:19.8.14" dependencies: - "@nx/js": "npm:18.0.6" - checksum: 10c0/b1126517ab2fd7a8358109169fe42c29da955956526b0ac5f39f60abaed497fc66cbf8d45977cac633ce9038b6c6ae23b368b6228f82be93382979d999745244 + "@nx/js": "npm:19.8.14" + checksum: 10c0/0a7944a13dcb6e9229315cd9fdd1fa22ef2c3bd9c6f9dfee323bf5d28b750c50b78e568b5b1f43d54d78dce6cab5fcad95c3a1e3283e6e560018e98fa1e9f5f0 languageName: node linkType: hard -"@nrwl/tao@npm:18.0.6": - version: 18.0.6 - resolution: "@nrwl/tao@npm:18.0.6" +"@nrwl/tao@npm:19.8.14": + version: 19.8.14 + resolution: "@nrwl/tao@npm:19.8.14" dependencies: - nx: "npm:18.0.6" + nx: "npm:19.8.14" tslib: "npm:^2.3.0" bin: tao: index.js - checksum: 10c0/f11f0f579dcfb59c501308a9143844785d5aa63c8cca97e5adc6f8faa51468b3105a99ac421b3e5a241001fdfe319a675b586afff1ef3f5d42301994c38da202 + checksum: 10c0/863a28ab4746f5999a8049d5b86e3d7412c17608135b84513f37997874611672b06c61c026b06cbaa12e37016986c90601d82e65efe34e828414c69b159c4457 languageName: node linkType: hard -"@nrwl/vite@npm:18.0.6": - version: 18.0.6 - resolution: "@nrwl/vite@npm:18.0.6" +"@nrwl/vite@npm:19.8.14": + version: 19.8.14 + resolution: "@nrwl/vite@npm:19.8.14" dependencies: - "@nx/vite": "npm:18.0.6" - checksum: 10c0/bb72cfbae2febb9a064f7538bb67c0fa6e4cf50ba875c3d483b1923ac007267f0a4f316d53e6c52984781cd2b764911f749cd0604128eb3c134bc0a434841cf9 + "@nx/vite": "npm:19.8.14" + checksum: 10c0/efb3f03e978a46eeae8aa02cf1fb3c2cb1581355e166126bb051a9ebcff1c8408381d9569930deb67ba49698d6ebcd6844c42ca6c2b76d15b7f8a8988aa88a67 languageName: node linkType: hard -"@nrwl/workspace@npm:18.0.6": - version: 18.0.6 - resolution: "@nrwl/workspace@npm:18.0.6" +"@nrwl/workspace@npm:19.8.14": + version: 19.8.14 + resolution: "@nrwl/workspace@npm:19.8.14" dependencies: - "@nx/workspace": "npm:18.0.6" - checksum: 10c0/0cf5ec95c036fd98269d9e746ab08f578d793011667823053aecfb062337a9b0bd98def282acf7fba453930537d5adb7c2d5284b5faebe676f22717a1a7040c1 + "@nx/workspace": "npm:19.8.14" + checksum: 10c0/7477c0999e651c94d96abb40923355238bbca8d6949a1ce84742b3e9d18f8546ef9a8a55b890bb6f7788f13c4a2b5200a1f1bb9051aaabaac1726478607b59da languageName: node linkType: hard -"@nx/devkit@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/devkit@npm:18.0.6" +"@nx/devkit@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/devkit@npm:19.8.14" dependencies: - "@nrwl/devkit": "npm:18.0.6" + "@nrwl/devkit": "npm:19.8.14" ejs: "npm:^3.1.7" enquirer: "npm:~2.3.6" ignore: "npm:^5.0.4" + minimatch: "npm:9.0.3" semver: "npm:^7.5.3" tmp: "npm:~0.2.1" tslib: "npm:^2.3.0" yargs-parser: "npm:21.1.1" peerDependencies: - nx: ">= 16 <= 18" - checksum: 10c0/1645003b800475257fce500802ce99acc35490c73161896247f7e2747a0160c47a40245b17daf568b6d05f66ddf55097772e2ab8ba895a286f8b544af1b51c44 + nx: ">= 19 <= 21" + checksum: 10c0/86de0ba41cd30c2c9ac20fa45d77e7f0f878d7df8423ac3905e6846211ae67b3f843987dec76e712e3e82c05af2e89fa6b1b9cab24675ab30221e678d05d1be7 languageName: node linkType: hard -"@nx/eslint@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/eslint@npm:18.0.6" +"@nx/eslint@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/eslint@npm:19.8.14" dependencies: - "@nx/devkit": "npm:18.0.6" - "@nx/js": "npm:18.0.6" - "@nx/linter": "npm:18.0.6" - eslint: "npm:^8.0.0" + "@nx/devkit": "npm:19.8.14" + "@nx/js": "npm:19.8.14" + "@nx/linter": "npm:19.8.14" + semver: "npm:^7.5.3" tslib: "npm:^2.3.0" - typescript: "npm:~5.3.2" + typescript: "npm:~5.4.2" peerDependencies: - js-yaml: 4.1.0 + "@zkochan/js-yaml": 0.0.7 + eslint: ^8.0.0 || ^9.0.0 peerDependenciesMeta: - js-yaml: + "@zkochan/js-yaml": optional: true - checksum: 10c0/c9b1821b3b5fd5ffbe7aa7a412a3256d24464d662a31bfe7f026347cf7ebd73d8860b2beadcbbaa0d312011d7def3250b9e4d2285f974f7bd0828f1300cf80a7 + checksum: 10c0/0a391875b595355d03e0c8a85754cb9f57a0363b7efb1bcb594a9ed51c1675dd75d8760b624dc4cfd604f72ac468aa4c203e21bf63a846142eff6a0d327db302 languageName: node linkType: hard -"@nx/js@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/js@npm:18.0.6" +"@nx/js@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/js@npm:19.8.14" dependencies: "@babel/core": "npm:^7.23.2" "@babel/plugin-proposal-decorators": "npm:^7.22.7" @@ -4586,20 +4625,20 @@ __metadata: "@babel/preset-env": "npm:^7.23.2" "@babel/preset-typescript": "npm:^7.22.5" "@babel/runtime": "npm:^7.22.6" - "@nrwl/js": "npm:18.0.6" - "@nx/devkit": "npm:18.0.6" - "@nx/workspace": "npm:18.0.6" - "@phenomnomnominal/tsquery": "npm:~5.0.1" + "@nrwl/js": "npm:19.8.14" + "@nx/devkit": "npm:19.8.14" + "@nx/workspace": "npm:19.8.14" babel-plugin-const-enum: "npm:^1.0.1" babel-plugin-macros: "npm:^2.8.0" babel-plugin-transform-typescript-metadata: "npm:^0.3.1" chalk: "npm:^4.1.0" columnify: "npm:^1.6.0" detect-port: "npm:^1.5.1" + enquirer: "npm:~2.3.6" fast-glob: "npm:3.2.7" - fs-extra: "npm:^11.1.0" ignore: "npm:^5.0.4" js-tokens: "npm:^4.0.0" + jsonc-parser: "npm:3.2.0" minimatch: "npm:9.0.3" npm-package-arg: "npm:11.0.1" npm-run-path: "npm:^4.0.1" @@ -4614,119 +4653,120 @@ __metadata: peerDependenciesMeta: verdaccio: optional: true - checksum: 10c0/dd35398a3af7013255e1f78bbd435377a85a5a887ea10fc121e13b4bda530f3ee6b238373c74ba4a90cd1afd78187c12b7efca2617445024d67ebd5dd027145d + checksum: 10c0/c7e226f7ff88f5b916247925a795ebe5e3b950f7667317c790d035f850f4359a466e9669c8561a228c0fb89675e94b91080729746f12c3c651a1dd0585fea379 languageName: node linkType: hard -"@nx/linter@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/linter@npm:18.0.6" +"@nx/linter@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/linter@npm:19.8.14" dependencies: - "@nx/eslint": "npm:18.0.6" - checksum: 10c0/b9c05840392a088ea6b70f675096556ef5510b495286327eed3548c373093a8e773a836968747e92ed1dc4448eda8af3af652d79063b68fa9d68f1e69b5eb2ca + "@nx/eslint": "npm:19.8.14" + checksum: 10c0/f8ebd340a05541055b7fb9834753e0c9ab53a4e8134b41bc8f9ca0fbff6422850d21cfb9e7e238602dc36d915620c4948b716c59b7c3159519b8b146222902a6 languageName: node linkType: hard -"@nx/nx-darwin-arm64@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-darwin-arm64@npm:18.0.6" +"@nx/nx-darwin-arm64@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-darwin-arm64@npm:19.8.14" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@nx/nx-darwin-x64@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-darwin-x64@npm:18.0.6" +"@nx/nx-darwin-x64@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-darwin-x64@npm:19.8.14" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@nx/nx-freebsd-x64@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-freebsd-x64@npm:18.0.6" +"@nx/nx-freebsd-x64@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-freebsd-x64@npm:19.8.14" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@nx/nx-linux-arm-gnueabihf@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:18.0.6" +"@nx/nx-linux-arm-gnueabihf@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:19.8.14" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@nx/nx-linux-arm64-gnu@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-linux-arm64-gnu@npm:18.0.6" +"@nx/nx-linux-arm64-gnu@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-linux-arm64-gnu@npm:19.8.14" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-arm64-musl@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-linux-arm64-musl@npm:18.0.6" +"@nx/nx-linux-arm64-musl@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-linux-arm64-musl@npm:19.8.14" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@nx/nx-linux-x64-gnu@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-linux-x64-gnu@npm:18.0.6" +"@nx/nx-linux-x64-gnu@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-linux-x64-gnu@npm:19.8.14" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-x64-musl@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-linux-x64-musl@npm:18.0.6" +"@nx/nx-linux-x64-musl@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-linux-x64-musl@npm:19.8.14" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@nx/nx-win32-arm64-msvc@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-win32-arm64-msvc@npm:18.0.6" +"@nx/nx-win32-arm64-msvc@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-win32-arm64-msvc@npm:19.8.14" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@nx/nx-win32-x64-msvc@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-win32-x64-msvc@npm:18.0.6" +"@nx/nx-win32-x64-msvc@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-win32-x64-msvc@npm:19.8.14" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@nx/vite@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/vite@npm:18.0.6" +"@nx/vite@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/vite@npm:19.8.14" dependencies: - "@nrwl/vite": "npm:18.0.6" - "@nx/devkit": "npm:18.0.6" - "@nx/js": "npm:18.0.6" + "@nrwl/vite": "npm:19.8.14" + "@nx/devkit": "npm:19.8.14" + "@nx/js": "npm:19.8.14" "@phenomnomnominal/tsquery": "npm:~5.0.1" "@swc/helpers": "npm:~0.5.0" enquirer: "npm:~2.3.6" + minimatch: "npm:9.0.3" tsconfig-paths: "npm:^4.1.2" peerDependencies: vite: ^5.0.0 - vitest: ^1.3.1 - checksum: 10c0/58a7d158e8143e67143ef3cbe29f3fbfff1940e0fbffcbd14770a89a6391db1b61185e807039edee295d5d7b5a04a39be34d9b8af159334ca0433bad269151fd + vitest: ^1.3.1 || ^2.0.0 + checksum: 10c0/cb2af4fa3c55d996b4f5247f95caa24901962e4e262b84e99238fc29c30ef0c01c4fe7e1d92a0f633c9b12462149c3a15a5bf462f462d60175397596d51b8169 languageName: node linkType: hard -"@nx/workspace@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/workspace@npm:18.0.6" +"@nx/workspace@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/workspace@npm:19.8.14" dependencies: - "@nrwl/workspace": "npm:18.0.6" - "@nx/devkit": "npm:18.0.6" + "@nrwl/workspace": "npm:19.8.14" + "@nx/devkit": "npm:19.8.14" chalk: "npm:^4.1.0" enquirer: "npm:~2.3.6" - nx: "npm:18.0.6" + nx: "npm:19.8.14" tslib: "npm:^2.3.0" yargs-parser: "npm:21.1.1" - checksum: 10c0/bd01b6b28fbe0c783a9c37bfdf0a01846df4ef46f366f6596e586063dff06d87761c35b06819839fefdf66a9c32947697db7ecc21b2933a06a633693a962272c + checksum: 10c0/f0846dfbe01fb4f13a8368b92fbc28c88ad650402e3d3a70bcee7fed95ec3c88bde3c415bc9f79ca62a5361b26513d7d6d28af956997d57f32e1f39f0a425722 languageName: node linkType: hard @@ -7222,9 +7262,9 @@ __metadata: dependencies: "@chromatic-com/storybook": "npm:^3.2.0" "@happy-dom/global-registrator": "npm:^14.12.0" - "@nx/eslint": "npm:18.0.6" - "@nx/vite": "npm:18.0.6" - "@nx/workspace": "npm:18.0.6" + "@nx/eslint": "npm:19.8.14" + "@nx/vite": "npm:19.8.14" + "@nx/workspace": "npm:19.8.14" "@playwright/test": "npm:1.48.1" "@storybook/addon-a11y": "workspace:*" "@storybook/addon-actions": "workspace:*" @@ -7304,8 +7344,8 @@ __metadata: "@types/react-dom": "npm:^18.0.11" "@types/semver": "npm:^7.3.4" "@types/serve-static": "npm:^1.13.8" - "@typescript-eslint/experimental-utils": "npm:^5.62.0" - "@typescript-eslint/parser": "npm:^6.18.1" + "@typescript-eslint/eslint-plugin": "npm:7.18.0" + "@typescript-eslint/parser": "npm:7.18.0" "@vitejs/plugin-react": "npm:^4.3.2" "@vitejs/plugin-vue": "npm:^4.4.0" "@vitest/browser": "npm:^2.1.3" @@ -7318,9 +7358,10 @@ __metadata: esbuild: "npm:^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0" esbuild-loader: "npm:^4.2.0" esbuild-plugin-alias: "npm:^0.2.1" - eslint: "npm:^8.56.0" + eslint: "npm:8.57.1" eslint-import-resolver-typescript: "npm:^3.6.1" eslint-plugin-depend: "npm:^0.11.0" + eslint-plugin-import: "npm:^2.29.1" eslint-plugin-local-rules: "portal:../scripts/eslint-plugin-local-rules" eslint-plugin-playwright: "npm:^1.6.2" eslint-plugin-storybook: "npm:^0.8.0" @@ -7331,7 +7372,7 @@ __metadata: husky: "npm:^4.3.7" lint-staged: "npm:^13.2.2" mock-require: "npm:^3.0.3" - nx: "npm:18.0.6" + nx: "npm:19.8.14" prettier: "npm:^3.1.1" prettier-plugin-brace-style: "npm:^0.6.2" prettier-plugin-css-order: "npm:^2.1.2" @@ -7347,7 +7388,7 @@ __metadata: storybook: "workspace:^" svelte: "npm:^5.0.0-next.268" ts-dedent: "npm:^2.0.0" - typescript: "npm:^5.4.3" + typescript: "npm:5.5.4" util: "npm:^0.12.4" vite: "npm:^4.0.0" vite-plugin-inspect: "npm:^0.8.5" @@ -7968,6 +8009,15 @@ __metadata: languageName: node linkType: hard +"@tybys/wasm-util@npm:^0.9.0": + version: 0.9.0 + resolution: "@tybys/wasm-util@npm:0.9.0" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10c0/f9fde5c554455019f33af6c8215f1a1435028803dc2a2825b077d812bed4209a1a64444a4ca0ce2ea7e1175c8d88e2f9173a36a33c199e8a5c671aa31de8242d + languageName: node + linkType: hard + "@types/acorn@npm:^4.0.0": version: 4.0.6 resolution: "@types/acorn@npm:4.0.6" @@ -8894,6 +8944,29 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/eslint-plugin@npm:7.18.0": + version: 7.18.0 + resolution: "@typescript-eslint/eslint-plugin@npm:7.18.0" + dependencies: + "@eslint-community/regexpp": "npm:^4.10.0" + "@typescript-eslint/scope-manager": "npm:7.18.0" + "@typescript-eslint/type-utils": "npm:7.18.0" + "@typescript-eslint/utils": "npm:7.18.0" + "@typescript-eslint/visitor-keys": "npm:7.18.0" + graphemer: "npm:^1.4.0" + ignore: "npm:^5.3.1" + natural-compare: "npm:^1.4.0" + ts-api-utils: "npm:^1.3.0" + peerDependencies: + "@typescript-eslint/parser": ^7.0.0 + eslint: ^8.56.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/2b37948fa1b0dab77138909dabef242a4d49ab93e4019d4ef930626f0a7d96b03e696cd027fa0087881c20e73be7be77c942606b4a76fa599e6b37f6985304c3 + languageName: node + linkType: hard + "@typescript-eslint/eslint-plugin@npm:^6.18.1": version: 6.21.0 resolution: "@typescript-eslint/eslint-plugin@npm:6.21.0" @@ -8919,14 +8992,21 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/experimental-utils@npm:^5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/experimental-utils@npm:5.62.0" +"@typescript-eslint/parser@npm:7.18.0": + version: 7.18.0 + resolution: "@typescript-eslint/parser@npm:7.18.0" dependencies: - "@typescript-eslint/utils": "npm:5.62.0" + "@typescript-eslint/scope-manager": "npm:7.18.0" + "@typescript-eslint/types": "npm:7.18.0" + "@typescript-eslint/typescript-estree": "npm:7.18.0" + "@typescript-eslint/visitor-keys": "npm:7.18.0" + debug: "npm:^4.3.4" peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: 10c0/f7037977e00849cd8c03677a88b0659a4f0e0b1e0151aebb47c49c92b8e57408578142df598eac08b364623d926343c724f42494f87662e437b1c89f0b2e815b + eslint: ^8.56.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/370e73fca4278091bc1b657f85e7d74cd52b24257ea20c927a8e17546107ce04fbf313fec99aed0cc2a145ddbae1d3b12e9cc2c1320117636dc1281bcfd08059 languageName: node linkType: hard @@ -8978,6 +9058,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:7.18.0": + version: 7.18.0 + resolution: "@typescript-eslint/scope-manager@npm:7.18.0" + dependencies: + "@typescript-eslint/types": "npm:7.18.0" + "@typescript-eslint/visitor-keys": "npm:7.18.0" + checksum: 10c0/038cd58c2271de146b3a594afe2c99290034033326d57ff1f902976022c8b0138ffd3cb893ae439ae41003b5e4bcc00cabf6b244ce40e8668f9412cc96d97b8e + languageName: node + linkType: hard + "@typescript-eslint/type-utils@npm:6.21.0": version: 6.21.0 resolution: "@typescript-eslint/type-utils@npm:6.21.0" @@ -8995,6 +9085,23 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/type-utils@npm:7.18.0": + version: 7.18.0 + resolution: "@typescript-eslint/type-utils@npm:7.18.0" + dependencies: + "@typescript-eslint/typescript-estree": "npm:7.18.0" + "@typescript-eslint/utils": "npm:7.18.0" + debug: "npm:^4.3.4" + ts-api-utils: "npm:^1.3.0" + peerDependencies: + eslint: ^8.56.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/ad92a38007be620f3f7036f10e234abdc2fdc518787b5a7227e55fd12896dacf56e8b34578723fbf9bea8128df2510ba8eb6739439a3879eda9519476d5783fd + languageName: node + linkType: hard + "@typescript-eslint/types@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/types@npm:5.62.0" @@ -9016,6 +9123,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:7.18.0": + version: 7.18.0 + resolution: "@typescript-eslint/types@npm:7.18.0" + checksum: 10c0/eb7371ac55ca77db8e59ba0310b41a74523f17e06f485a0ef819491bc3dd8909bb930120ff7d30aaf54e888167e0005aa1337011f3663dc90fb19203ce478054 + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" @@ -9072,21 +9186,22 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.62.0, @typescript-eslint/utils@npm:^5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/utils@npm:5.62.0" +"@typescript-eslint/typescript-estree@npm:7.18.0": + version: 7.18.0 + resolution: "@typescript-eslint/typescript-estree@npm:7.18.0" dependencies: - "@eslint-community/eslint-utils": "npm:^4.2.0" - "@types/json-schema": "npm:^7.0.9" - "@types/semver": "npm:^7.3.12" - "@typescript-eslint/scope-manager": "npm:5.62.0" - "@typescript-eslint/types": "npm:5.62.0" - "@typescript-eslint/typescript-estree": "npm:5.62.0" - eslint-scope: "npm:^5.1.1" - semver: "npm:^7.3.7" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: 10c0/f09b7d9952e4a205eb1ced31d7684dd55cee40bf8c2d78e923aa8a255318d97279825733902742c09d8690f37a50243f4c4d383ab16bd7aefaf9c4b438f785e1 + "@typescript-eslint/types": "npm:7.18.0" + "@typescript-eslint/visitor-keys": "npm:7.18.0" + debug: "npm:^4.3.4" + globby: "npm:^11.1.0" + is-glob: "npm:^4.0.3" + minimatch: "npm:^9.0.4" + semver: "npm:^7.6.0" + ts-api-utils: "npm:^1.3.0" + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/0c7f109a2e460ec8a1524339479cf78ff17814d23c83aa5112c77fb345e87b3642616291908dcddea1e671da63686403dfb712e4a4435104f92abdfddf9aba81 languageName: node linkType: hard @@ -9107,6 +9222,38 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/utils@npm:7.18.0": + version: 7.18.0 + resolution: "@typescript-eslint/utils@npm:7.18.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@typescript-eslint/scope-manager": "npm:7.18.0" + "@typescript-eslint/types": "npm:7.18.0" + "@typescript-eslint/typescript-estree": "npm:7.18.0" + peerDependencies: + eslint: ^8.56.0 + checksum: 10c0/a25a6d50eb45c514469a01ff01f215115a4725fb18401055a847ddf20d1b681409c4027f349033a95c4ff7138d28c3b0a70253dfe8262eb732df4b87c547bd1e + languageName: node + linkType: hard + +"@typescript-eslint/utils@npm:^5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/utils@npm:5.62.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.2.0" + "@types/json-schema": "npm:^7.0.9" + "@types/semver": "npm:^7.3.12" + "@typescript-eslint/scope-manager": "npm:5.62.0" + "@typescript-eslint/types": "npm:5.62.0" + "@typescript-eslint/typescript-estree": "npm:5.62.0" + eslint-scope: "npm:^5.1.1" + semver: "npm:^7.3.7" + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + checksum: 10c0/f09b7d9952e4a205eb1ced31d7684dd55cee40bf8c2d78e923aa8a255318d97279825733902742c09d8690f37a50243f4c4d383ab16bd7aefaf9c4b438f785e1 + languageName: node + linkType: hard + "@typescript-eslint/visitor-keys@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" @@ -9137,6 +9284,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:7.18.0": + version: 7.18.0 + resolution: "@typescript-eslint/visitor-keys@npm:7.18.0" + dependencies: + "@typescript-eslint/types": "npm:7.18.0" + eslint-visitor-keys: "npm:^3.4.3" + checksum: 10c0/538b645f8ff1d9debf264865c69a317074eaff0255e63d7407046176b0f6a6beba34a6c51d511f12444bae12a98c69891eb6f403c9f54c6c2e2849d1c1cb73c0 + languageName: node + linkType: hard + "@ungap/structured-clone@npm:^1.0.0, @ungap/structured-clone@npm:^1.2.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" @@ -9207,48 +9364,48 @@ __metadata: linkType: hard "@vitest/coverage-istanbul@npm:^2.1.3": - version: 2.1.3 - resolution: "@vitest/coverage-istanbul@npm:2.1.3" + version: 2.1.8 + resolution: "@vitest/coverage-istanbul@npm:2.1.8" dependencies: "@istanbuljs/schema": "npm:^0.1.3" - debug: "npm:^4.3.6" + debug: "npm:^4.3.7" istanbul-lib-coverage: "npm:^3.2.2" istanbul-lib-instrument: "npm:^6.0.3" istanbul-lib-report: "npm:^3.0.1" istanbul-lib-source-maps: "npm:^5.0.6" istanbul-reports: "npm:^3.1.7" - magicast: "npm:^0.3.4" + magicast: "npm:^0.3.5" test-exclude: "npm:^7.0.1" tinyrainbow: "npm:^1.2.0" peerDependencies: - vitest: 2.1.3 - checksum: 10c0/6b21eb219f45dc0f3bfb35049280658687b6b2f4ba5e17dc2c7e2c221f5d37e60c6962c5cfd77bd5f2848bb56debd26f82e5684b293f5775a8a416a0173f1803 + vitest: 2.1.8 + checksum: 10c0/809eeccebaa7fd0e349d89a8d374e449c65a1d626f46b03b080aa507ac93dfb340c90dd491fe9a08dca896d6832e0f3dcffd6fd7ba3d05c1dc95c7a32aabc50c languageName: node linkType: hard "@vitest/coverage-v8@npm:^2.1.3": - version: 2.1.3 - resolution: "@vitest/coverage-v8@npm:2.1.3" + version: 2.1.8 + resolution: "@vitest/coverage-v8@npm:2.1.8" dependencies: "@ampproject/remapping": "npm:^2.3.0" "@bcoe/v8-coverage": "npm:^0.2.3" - debug: "npm:^4.3.6" + debug: "npm:^4.3.7" istanbul-lib-coverage: "npm:^3.2.2" istanbul-lib-report: "npm:^3.0.1" istanbul-lib-source-maps: "npm:^5.0.6" istanbul-reports: "npm:^3.1.7" - magic-string: "npm:^0.30.11" - magicast: "npm:^0.3.4" - std-env: "npm:^3.7.0" + magic-string: "npm:^0.30.12" + magicast: "npm:^0.3.5" + std-env: "npm:^3.8.0" test-exclude: "npm:^7.0.1" tinyrainbow: "npm:^1.2.0" peerDependencies: - "@vitest/browser": 2.1.3 - vitest: 2.1.3 + "@vitest/browser": 2.1.8 + vitest: 2.1.8 peerDependenciesMeta: "@vitest/browser": optional: true - checksum: 10c0/5fdff9e9dd8b8d2030c00a5273ba2b27441c0cb45d007b6671504745dac6d095c160a01433789e7ed1ca6cd234246f883c1d52c02cfb62f8ae81dda17dd56bc6 + checksum: 10c0/b228a23bbaf0eae07ac939399f968b0def2df786091948a12d614919db3f5b6e46db7a1ab4f9d05d5d7f696afd53133a67abc25915f85480cd032442664ac725 languageName: node linkType: hard @@ -10018,14 +10175,14 @@ __metadata: languageName: node linkType: hard -"@zkochan/js-yaml@npm:0.0.6": - version: 0.0.6 - resolution: "@zkochan/js-yaml@npm:0.0.6" +"@zkochan/js-yaml@npm:0.0.7": + version: 0.0.7 + resolution: "@zkochan/js-yaml@npm:0.0.7" dependencies: argparse: "npm:^2.0.1" bin: js-yaml: bin/js-yaml.js - checksum: 10c0/5ce27ae75fb1db9657d4065bf6b380b4c0f756feb1bdf42bfde40551a74bcc0ec918f748cbdbd5d95b7107d00bc2f731ee731b5cfe93acb6f7da5639b16aa1f8 + checksum: 10c0/c8b3525717912811f9422ed50e94c5751ed6f771eb1b7e5cde097f14835654931e2bdaecb1e5fc37b51cf8d822410a307f16dd1581d46149398c30215f3f9bac languageName: node linkType: hard @@ -10823,7 +10980,7 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.6.0, axios@npm:^1.6.1": +"axios@npm:^1.6.1": version: 1.6.7 resolution: "axios@npm:1.6.7" dependencies: @@ -10834,6 +10991,17 @@ __metadata: languageName: node linkType: hard +"axios@npm:^1.7.4": + version: 1.7.9 + resolution: "axios@npm:1.7.9" + dependencies: + follow-redirects: "npm:^1.15.6" + form-data: "npm:^4.0.0" + proxy-from-env: "npm:^1.1.0" + checksum: 10c0/b7a41e24b59fee5f0f26c1fc844b45b17442832eb3a0fb42dd4f1430eb4abc571fe168e67913e8a1d91c993232bd1d1ab03e20e4d1fee8c6147649b576fc1b0b + languageName: node + linkType: hard + "axobject-query@npm:^3.2.1": version: 3.2.1 resolution: "axobject-query@npm:3.2.1" @@ -13888,20 +14056,36 @@ __metadata: languageName: node linkType: hard -"dotenv-expand@npm:^10.0.0, dotenv-expand@npm:~10.0.0": +"dotenv-expand@npm:^10.0.0": version: 10.0.0 resolution: "dotenv-expand@npm:10.0.0" checksum: 10c0/298f5018e29cfdcb0b5f463ba8e8627749103fbcf6cf81c561119115754ed582deee37b49dfc7253028aaba875ab7aea5fa90e5dac88e511d009ab0e6677924e languageName: node linkType: hard -"dotenv@npm:^16.0.0, dotenv@npm:~16.3.1": +"dotenv-expand@npm:~11.0.6": + version: 11.0.7 + resolution: "dotenv-expand@npm:11.0.7" + dependencies: + dotenv: "npm:^16.4.5" + checksum: 10c0/d80b8a7be085edf351270b96ac0e794bc3ddd7f36157912939577cb4d33ba6492ebee349d59798b71b90e36f498d24a2a564fb4aa00073b2ef4c2a3a49c467b1 + languageName: node + linkType: hard + +"dotenv@npm:^16.0.0": version: 16.3.1 resolution: "dotenv@npm:16.3.1" checksum: 10c0/b95ff1bbe624ead85a3cd70dbd827e8e06d5f05f716f2d0cbc476532d54c7c9469c3bc4dd93ea519f6ad711cb522c00ac9a62b6eb340d5affae8008facc3fbd7 languageName: node linkType: hard +"dotenv@npm:^16.4.5, dotenv@npm:~16.4.5": + version: 16.4.7 + resolution: "dotenv@npm:16.4.7" + checksum: 10c0/be9f597e36a8daf834452daa1f4cc30e5375a5968f98f46d89b16b983c567398a330580c88395069a77473943c06b877d1ca25b4afafcdd6d4adb549e8293462 + languageName: node + linkType: hard + "downshift@npm:^9.0.4": version: 9.0.4 resolution: "downshift@npm:9.0.4" @@ -15134,15 +15318,15 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.0.0, eslint@npm:^8.56.0": - version: 8.57.0 - resolution: "eslint@npm:8.57.0" +"eslint@npm:8.57.1": + version: 8.57.1 + resolution: "eslint@npm:8.57.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.6.1" "@eslint/eslintrc": "npm:^2.1.4" - "@eslint/js": "npm:8.57.0" - "@humanwhocodes/config-array": "npm:^0.11.14" + "@eslint/js": "npm:8.57.1" + "@humanwhocodes/config-array": "npm:^0.13.0" "@humanwhocodes/module-importer": "npm:^1.0.1" "@nodelib/fs.walk": "npm:^1.2.8" "@ungap/structured-clone": "npm:^1.2.0" @@ -15178,7 +15362,7 @@ __metadata: text-table: "npm:^0.2.0" bin: eslint: bin/eslint.js - checksum: 10c0/00bb96fd2471039a312435a6776fe1fd557c056755eaa2b96093ef3a8508c92c8775d5f754768be6b1dddd09fdd3379ddb231eeb9b6c579ee17ea7d68000a529 + checksum: 10c0/1fd31533086c1b72f86770a4d9d7058ee8b4643fd1cfd10c7aac1ecb8725698e88352a87805cf4b2ce890aa35947df4b4da9655fb7fdfa60dbb448a43f6ebcf1 languageName: node linkType: hard @@ -16088,6 +16272,16 @@ __metadata: languageName: node linkType: hard +"follow-redirects@npm:^1.15.6": + version: 1.15.9 + resolution: "follow-redirects@npm:1.15.9" + peerDependenciesMeta: + debug: + optional: true + checksum: 10c0/5829165bd112c3c0e82be6c15b1a58fa9dcfaede3b3c54697a82fe4a62dd5ae5e8222956b448d2f98e331525f05d00404aba7d696de9e761ef6e42fdc780244f + languageName: node + linkType: hard + "for-each@npm:^0.3.3": version: 0.3.3 resolution: "for-each@npm:0.3.3" @@ -16234,6 +16428,15 @@ __metadata: languageName: node linkType: hard +"front-matter@npm:^4.0.2": + version: 4.0.2 + resolution: "front-matter@npm:4.0.2" + dependencies: + js-yaml: "npm:^3.13.1" + checksum: 10c0/7a0df5ca37428dd563c057bc17a8940481fe53876609bcdc443a02ce463c70f1842c7cb4628b80916de46a253732794b36fb6a31105db0f185698a93acee4011 + languageName: node + linkType: hard + "fs-constants@npm:^1.0.0": version: 1.0.0 resolution: "fs-constants@npm:1.0.0" @@ -16259,7 +16462,7 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^11.1.0, fs-extra@npm:^11.2.0": +"fs-extra@npm:^11.2.0": version: 11.2.0 resolution: "fs-extra@npm:11.2.0" dependencies: @@ -17773,6 +17976,13 @@ __metadata: languageName: node linkType: hard +"ignore@npm:^5.3.1": + version: 5.3.2 + resolution: "ignore@npm:5.3.2" + checksum: 10c0/f9f652c957983634ded1e7f02da3b559a0d4cc210fca3792cb67f1b153623c9c42efdc1c4121af171e295444459fc4a9201101fb041b1104a3c000bccb188337 + languageName: node + linkType: hard + "image-size@npm:^1.0.0, image-size@npm:^1.1.1": version: 1.1.1 resolution: "image-size@npm:1.1.1" @@ -18898,17 +19108,6 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:4.1.0, js-yaml@npm:^4.1.0": - version: 4.1.0 - resolution: "js-yaml@npm:4.1.0" - dependencies: - argparse: "npm:^2.0.1" - bin: - js-yaml: bin/js-yaml.js - checksum: 10c0/184a24b4eaacfce40ad9074c64fd42ac83cf74d8c8cd137718d456ced75051229e5061b8633c3366b8aada17945a7a356b337828c19da92b51ae62126575018f - languageName: node - linkType: hard - "js-yaml@npm:^3.10.0, js-yaml@npm:^3.13.1": version: 3.14.1 resolution: "js-yaml@npm:3.14.1" @@ -18921,6 +19120,17 @@ __metadata: languageName: node linkType: hard +"js-yaml@npm:^4.1.0": + version: 4.1.0 + resolution: "js-yaml@npm:4.1.0" + dependencies: + argparse: "npm:^2.0.1" + bin: + js-yaml: bin/js-yaml.js + checksum: 10c0/184a24b4eaacfce40ad9074c64fd42ac83cf74d8c8cd137718d456ced75051229e5061b8633c3366b8aada17945a7a356b337828c19da92b51ae62126575018f + languageName: node + linkType: hard + "jscodeshift@npm:^0.13.1": version: 0.13.1 resolution: "jscodeshift@npm:0.13.1" @@ -19468,6 +19678,13 @@ __metadata: languageName: node linkType: hard +"lines-and-columns@npm:2.0.3": + version: 2.0.3 + resolution: "lines-and-columns@npm:2.0.3" + checksum: 10c0/09525c10010a925b7efe858f1dd3184eeac34f0a9bc34993075ec490efad71e948147746b18e9540279cc87cd44085b038f986903db3de65ffe96d38a7b91c4c + languageName: node + linkType: hard + "lines-and-columns@npm:^1.1.6": version: 1.2.4 resolution: "lines-and-columns@npm:1.2.4" @@ -19475,7 +19692,7 @@ __metadata: languageName: node linkType: hard -"lines-and-columns@npm:^2.0.3, lines-and-columns@npm:~2.0.3": +"lines-and-columns@npm:^2.0.3": version: 2.0.4 resolution: "lines-and-columns@npm:2.0.4" checksum: 10c0/4db28bf065cd7ad897c0700f22d3d0d7c5ed6777e138861c601c496d545340df3fc19e18bd04ff8d95a246a245eb55685b82ca2f8c2ca53a008e9c5316250379 @@ -19972,14 +20189,14 @@ __metadata: languageName: node linkType: hard -"magicast@npm:^0.3.4": - version: 0.3.4 - resolution: "magicast@npm:0.3.4" +"magicast@npm:^0.3.5": + version: 0.3.5 + resolution: "magicast@npm:0.3.5" dependencies: - "@babel/parser": "npm:^7.24.4" - "@babel/types": "npm:^7.24.0" + "@babel/parser": "npm:^7.25.4" + "@babel/types": "npm:^7.25.4" source-map-js: "npm:^1.2.0" - checksum: 10c0/7ebaaac397b13c31ca05e6d9649296751d76749b945d10a0800107872119fbdf267acdb604571d25e38ec6fd7ab3568a951b6e76eaef1caba9eaa11778fd9783 + checksum: 10c0/a6cacc0a848af84f03e3f5bda7b0de75e4d0aa9ddce5517fd23ed0f31b5ddd51b2d0ff0b7e09b51f7de0f4053c7a1107117edda6b0732dca3e9e39e6c5a68c64 languageName: node linkType: hard @@ -22193,40 +22410,40 @@ __metadata: languageName: node linkType: hard -"nx@npm:18.0.6": - version: 18.0.6 - resolution: "nx@npm:18.0.6" +"nx@npm:19.8.14": + version: 19.8.14 + resolution: "nx@npm:19.8.14" dependencies: - "@nrwl/tao": "npm:18.0.6" - "@nx/nx-darwin-arm64": "npm:18.0.6" - "@nx/nx-darwin-x64": "npm:18.0.6" - "@nx/nx-freebsd-x64": "npm:18.0.6" - "@nx/nx-linux-arm-gnueabihf": "npm:18.0.6" - "@nx/nx-linux-arm64-gnu": "npm:18.0.6" - "@nx/nx-linux-arm64-musl": "npm:18.0.6" - "@nx/nx-linux-x64-gnu": "npm:18.0.6" - "@nx/nx-linux-x64-musl": "npm:18.0.6" - "@nx/nx-win32-arm64-msvc": "npm:18.0.6" - "@nx/nx-win32-x64-msvc": "npm:18.0.6" + "@napi-rs/wasm-runtime": "npm:0.2.4" + "@nrwl/tao": "npm:19.8.14" + "@nx/nx-darwin-arm64": "npm:19.8.14" + "@nx/nx-darwin-x64": "npm:19.8.14" + "@nx/nx-freebsd-x64": "npm:19.8.14" + "@nx/nx-linux-arm-gnueabihf": "npm:19.8.14" + "@nx/nx-linux-arm64-gnu": "npm:19.8.14" + "@nx/nx-linux-arm64-musl": "npm:19.8.14" + "@nx/nx-linux-x64-gnu": "npm:19.8.14" + "@nx/nx-linux-x64-musl": "npm:19.8.14" + "@nx/nx-win32-arm64-msvc": "npm:19.8.14" + "@nx/nx-win32-x64-msvc": "npm:19.8.14" "@yarnpkg/lockfile": "npm:^1.1.0" "@yarnpkg/parsers": "npm:3.0.0-rc.46" - "@zkochan/js-yaml": "npm:0.0.6" - axios: "npm:^1.6.0" + "@zkochan/js-yaml": "npm:0.0.7" + axios: "npm:^1.7.4" chalk: "npm:^4.1.0" cli-cursor: "npm:3.1.0" cli-spinners: "npm:2.6.1" cliui: "npm:^8.0.1" - dotenv: "npm:~16.3.1" - dotenv-expand: "npm:~10.0.0" + dotenv: "npm:~16.4.5" + dotenv-expand: "npm:~11.0.6" enquirer: "npm:~2.3.6" figures: "npm:3.2.0" flat: "npm:^5.0.2" - fs-extra: "npm:^11.1.0" + front-matter: "npm:^4.0.2" ignore: "npm:^5.0.4" jest-diff: "npm:^29.4.1" - js-yaml: "npm:4.1.0" jsonc-parser: "npm:3.2.0" - lines-and-columns: "npm:~2.0.3" + lines-and-columns: "npm:2.0.3" minimatch: "npm:9.0.3" node-machine-id: "npm:1.1.12" npm-run-path: "npm:^4.0.1" @@ -22273,7 +22490,7 @@ __metadata: bin: nx: bin/nx.js nx-cloud: bin/nx-cloud.js - checksum: 10c0/608ffda300706d8cf067428921a76d62157b20131796c006258d96b493efba7618572c7dfa8cdab4b7dfb47a8adbcacd65fb69d03dc7480d8229236a1f2cc881 + checksum: 10c0/3bc8b33b341054875a9ddbd9da63d001504948e1e4c7e707c138c939c52ea0269d6bc436aa3b9cf66c315177c626974d8f9322d19a5c1deceb4aa6faaaf67309 languageName: node linkType: hard @@ -26855,6 +27072,13 @@ __metadata: languageName: node linkType: hard +"std-env@npm:^3.8.0": + version: 3.8.0 + resolution: "std-env@npm:3.8.0" + checksum: 10c0/f560a2902fd0fa3d648d7d0acecbd19d664006f7372c1fba197ed4c216b4c9e48db6e2769b5fe1616d42a9333c9f066c5011935035e85c59f45dc4f796272040 + languageName: node + linkType: hard + "stop-iteration-iterator@npm:^1.0.0": version: 1.0.0 resolution: "stop-iteration-iterator@npm:1.0.0" @@ -27945,6 +28169,15 @@ __metadata: languageName: node linkType: hard +"ts-api-utils@npm:^1.3.0": + version: 1.4.3 + resolution: "ts-api-utils@npm:1.4.3" + peerDependencies: + typescript: ">=4.2.0" + checksum: 10c0/e65dc6e7e8141140c23e1dc94984bf995d4f6801919c71d6dc27cf0cd51b100a91ffcfe5217626193e5bea9d46831e8586febdc7e172df3f1091a7384299e23a + languageName: node + linkType: hard + "ts-dedent@npm:^2.0.0, ts-dedent@npm:^2.2.0": version: 2.2.0 resolution: "ts-dedent@npm:2.2.0" @@ -28206,6 +28439,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:5.5.4": + version: 5.5.4 + resolution: "typescript@npm:5.5.4" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/422be60f89e661eab29ac488c974b6cc0a660fb2228003b297c3d10c32c90f3bcffc1009b43876a082515a3c376b1eefcce823d6e78982e6878408b9a923199c + languageName: node + linkType: hard + "typescript@npm:^3.8.3": version: 3.9.10 resolution: "typescript@npm:3.9.10" @@ -28216,7 +28459,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.3.2, typescript@npm:^5.4.3": +"typescript@npm:^5.3.2": version: 5.4.3 resolution: "typescript@npm:5.4.3" bin: @@ -28226,13 +28469,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:~5.3.2": - version: 5.3.3 - resolution: "typescript@npm:5.3.3" +"typescript@npm:~5.4.2": + version: 5.4.5 + resolution: "typescript@npm:5.4.5" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/e33cef99d82573624fc0f854a2980322714986bc35b9cb4d1ce736ed182aeab78e2cb32b385efa493b2a976ef52c53e20d6c6918312353a91850e2b76f1ea44f + checksum: 10c0/2954022ada340fd3d6a9e2b8e534f65d57c92d5f3989a263754a78aba549f7e6529acc1921913560a4b816c46dce7df4a4d29f9f11a3dc0d4213bb76d043251e + languageName: node + linkType: hard + +"typescript@patch:typescript@npm%3A5.5.4#optional!builtin": + version: 5.5.4 + resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin::version=5.5.4&hash=b45daf" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/10dd9881baba22763de859e8050d6cb6e2db854197495c6f1929b08d1eb2b2b00d0b5d9b0bcee8472f1c3f4a7ef6a5d7ebe0cfd703f853aa5ae465b8404bc1ba languageName: node linkType: hard @@ -28246,7 +28499,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.3.2#optional!builtin, typescript@patch:typescript@npm%3A^5.4.3#optional!builtin": +"typescript@patch:typescript@npm%3A^5.3.2#optional!builtin": version: 5.4.3 resolution: "typescript@patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=5adc0c" bin: @@ -28256,13 +28509,13 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A~5.3.2#optional!builtin": - version: 5.3.3 - resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7" +"typescript@patch:typescript@npm%3A~5.4.2#optional!builtin": + version: 5.4.5 + resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/1d0a5f4ce496c42caa9a30e659c467c5686eae15d54b027ee7866744952547f1be1262f2d40de911618c242b510029d51d43ff605dba8fb740ec85ca2d3f9500 + checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9 languageName: node linkType: hard diff --git a/scripts/.gitignore b/scripts/.gitignore index 0cba03f65076..548bd0679402 100644 --- a/scripts/.gitignore +++ b/scripts/.gitignore @@ -1 +1,2 @@ -.nx/cache \ No newline at end of file +.nx/cache +.nx/workspace-data diff --git a/scripts/nx.json b/scripts/nx.json new file mode 100644 index 000000000000..c0844e456578 --- /dev/null +++ b/scripts/nx.json @@ -0,0 +1,5 @@ +{ + "$schema": "./node_modules/nx/schemas/nx-schema.json", + "defaultBase": "next", + "parallel": 8 +} diff --git a/scripts/package.json b/scripts/package.json index ee3aff691838..bbf6dd2cfbc2 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -62,7 +62,7 @@ "@actions/core": "^1.10.1", "@fal-works/esbuild-plugin-global-externals": "^2.1.2", "@google-cloud/bigquery": "^6.2.0", - "@nx/workspace": "18.0.6", + "@nx/workspace": "19.8.14", "@octokit/graphql": "^5.0.5", "@octokit/request": "^8.1.2", "@polka/parse": "^1.0.0-next.28", @@ -140,7 +140,7 @@ "memoizerific": "^1.11.3", "minimatch": "^10.0.1", "node-gyp": "^9.3.1", - "nx": "18.0.6", + "nx": "19.8.14", "ora": "^5.4.1", "p-limit": "^3.1.0", "p-retry": "^5.1.2", @@ -180,7 +180,7 @@ "ts-dedent": "^2.2.0", "tsup": "^6.7.0", "type-fest": "~2.19", - "typescript": "^5.4.5", + "typescript": "5.5.4", "util": "^0.12.5", "uuid": "^9.0.1", "vitest": "^2.1.3", diff --git a/scripts/yarn.lock b/scripts/yarn.lock index 015159a4b042..8cd8e6ca8896 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -263,6 +263,34 @@ __metadata: languageName: node linkType: hard +"@emnapi/core@npm:^1.1.0": + version: 1.3.1 + resolution: "@emnapi/core@npm:1.3.1" + dependencies: + "@emnapi/wasi-threads": "npm:1.0.1" + tslib: "npm:^2.4.0" + checksum: 10c0/d3be1044ad704e2c486641bc18908523490f28c7d38bd12d9c1d4ce37d39dae6c4aecd2f2eaf44c6e3bd90eaf04e0591acc440b1b038cdf43cce078a355a0ea0 + languageName: node + linkType: hard + +"@emnapi/runtime@npm:^1.1.0": + version: 1.3.1 + resolution: "@emnapi/runtime@npm:1.3.1" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10c0/060ffede50f1b619c15083312b80a9e62a5b0c87aa8c1b54854c49766c9d69f8d1d3d87bd963a647071263a320db41b25eaa50b74d6a80dcc763c23dbeaafd6c + languageName: node + linkType: hard + +"@emnapi/wasi-threads@npm:1.0.1": + version: 1.0.1 + resolution: "@emnapi/wasi-threads@npm:1.0.1" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10c0/1e0c8036b8d53e9b07cc9acf021705ef6c86ab6b13e1acda7fffaf541a2d3565072afb92597419173ced9ea14f6bf32fce149106e669b5902b825e8b499e5c6c + languageName: node + linkType: hard + "@esbuild/aix-ppc64@npm:0.24.0": version: 0.24.0 resolution: "@esbuild/aix-ppc64@npm:0.24.0" @@ -758,6 +786,17 @@ __metadata: languageName: node linkType: hard +"@napi-rs/wasm-runtime@npm:0.2.4": + version: 0.2.4 + resolution: "@napi-rs/wasm-runtime@npm:0.2.4" + dependencies: + "@emnapi/core": "npm:^1.1.0" + "@emnapi/runtime": "npm:^1.1.0" + "@tybys/wasm-util": "npm:^0.9.0" + checksum: 10c0/1040de49b2ef509db207e2517465dbf7fb3474f20e8ec32897672a962ff4f59872385666dac61dc9dbeae3cae5dad265d8dc3865da756adeb07d1634c67b03a1 + languageName: node + linkType: hard + "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -862,136 +901,137 @@ __metadata: languageName: node linkType: hard -"@nrwl/devkit@npm:18.0.6": - version: 18.0.6 - resolution: "@nrwl/devkit@npm:18.0.6" +"@nrwl/devkit@npm:19.8.14": + version: 19.8.14 + resolution: "@nrwl/devkit@npm:19.8.14" dependencies: - "@nx/devkit": "npm:18.0.6" - checksum: 10c0/70e02f256216fe11392e2d12a692ddc76acb28140246dfabeac59d3c7a1d8ee1c811e4bcaa6e879a610a7ba7d4669850469676508e8f333e6d42ee487b2ce279 + "@nx/devkit": "npm:19.8.14" + checksum: 10c0/de398c1fbb53c4737ea3c8361a3c8a66442c24e3ec7fe366de66c5ede8009ff8975c037a3b6ba4784d3a223f0f4ee4f9b47faefa6ce1aa85c26822e7a17689da languageName: node linkType: hard -"@nrwl/tao@npm:18.0.6": - version: 18.0.6 - resolution: "@nrwl/tao@npm:18.0.6" +"@nrwl/tao@npm:19.8.14": + version: 19.8.14 + resolution: "@nrwl/tao@npm:19.8.14" dependencies: - nx: "npm:18.0.6" + nx: "npm:19.8.14" tslib: "npm:^2.3.0" bin: tao: index.js - checksum: 10c0/f11f0f579dcfb59c501308a9143844785d5aa63c8cca97e5adc6f8faa51468b3105a99ac421b3e5a241001fdfe319a675b586afff1ef3f5d42301994c38da202 + checksum: 10c0/863a28ab4746f5999a8049d5b86e3d7412c17608135b84513f37997874611672b06c61c026b06cbaa12e37016986c90601d82e65efe34e828414c69b159c4457 languageName: node linkType: hard -"@nrwl/workspace@npm:18.0.6": - version: 18.0.6 - resolution: "@nrwl/workspace@npm:18.0.6" +"@nrwl/workspace@npm:19.8.14": + version: 19.8.14 + resolution: "@nrwl/workspace@npm:19.8.14" dependencies: - "@nx/workspace": "npm:18.0.6" - checksum: 10c0/0cf5ec95c036fd98269d9e746ab08f578d793011667823053aecfb062337a9b0bd98def282acf7fba453930537d5adb7c2d5284b5faebe676f22717a1a7040c1 + "@nx/workspace": "npm:19.8.14" + checksum: 10c0/7477c0999e651c94d96abb40923355238bbca8d6949a1ce84742b3e9d18f8546ef9a8a55b890bb6f7788f13c4a2b5200a1f1bb9051aaabaac1726478607b59da languageName: node linkType: hard -"@nx/devkit@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/devkit@npm:18.0.6" +"@nx/devkit@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/devkit@npm:19.8.14" dependencies: - "@nrwl/devkit": "npm:18.0.6" + "@nrwl/devkit": "npm:19.8.14" ejs: "npm:^3.1.7" enquirer: "npm:~2.3.6" ignore: "npm:^5.0.4" + minimatch: "npm:9.0.3" semver: "npm:^7.5.3" tmp: "npm:~0.2.1" tslib: "npm:^2.3.0" yargs-parser: "npm:21.1.1" peerDependencies: - nx: ">= 16 <= 18" - checksum: 10c0/1645003b800475257fce500802ce99acc35490c73161896247f7e2747a0160c47a40245b17daf568b6d05f66ddf55097772e2ab8ba895a286f8b544af1b51c44 + nx: ">= 19 <= 21" + checksum: 10c0/86de0ba41cd30c2c9ac20fa45d77e7f0f878d7df8423ac3905e6846211ae67b3f843987dec76e712e3e82c05af2e89fa6b1b9cab24675ab30221e678d05d1be7 languageName: node linkType: hard -"@nx/nx-darwin-arm64@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-darwin-arm64@npm:18.0.6" +"@nx/nx-darwin-arm64@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-darwin-arm64@npm:19.8.14" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@nx/nx-darwin-x64@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-darwin-x64@npm:18.0.6" +"@nx/nx-darwin-x64@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-darwin-x64@npm:19.8.14" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@nx/nx-freebsd-x64@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-freebsd-x64@npm:18.0.6" +"@nx/nx-freebsd-x64@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-freebsd-x64@npm:19.8.14" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@nx/nx-linux-arm-gnueabihf@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:18.0.6" +"@nx/nx-linux-arm-gnueabihf@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:19.8.14" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@nx/nx-linux-arm64-gnu@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-linux-arm64-gnu@npm:18.0.6" +"@nx/nx-linux-arm64-gnu@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-linux-arm64-gnu@npm:19.8.14" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-arm64-musl@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-linux-arm64-musl@npm:18.0.6" +"@nx/nx-linux-arm64-musl@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-linux-arm64-musl@npm:19.8.14" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@nx/nx-linux-x64-gnu@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-linux-x64-gnu@npm:18.0.6" +"@nx/nx-linux-x64-gnu@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-linux-x64-gnu@npm:19.8.14" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-x64-musl@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-linux-x64-musl@npm:18.0.6" +"@nx/nx-linux-x64-musl@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-linux-x64-musl@npm:19.8.14" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@nx/nx-win32-arm64-msvc@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-win32-arm64-msvc@npm:18.0.6" +"@nx/nx-win32-arm64-msvc@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-win32-arm64-msvc@npm:19.8.14" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@nx/nx-win32-x64-msvc@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/nx-win32-x64-msvc@npm:18.0.6" +"@nx/nx-win32-x64-msvc@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/nx-win32-x64-msvc@npm:19.8.14" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@nx/workspace@npm:18.0.6": - version: 18.0.6 - resolution: "@nx/workspace@npm:18.0.6" +"@nx/workspace@npm:19.8.14": + version: 19.8.14 + resolution: "@nx/workspace@npm:19.8.14" dependencies: - "@nrwl/workspace": "npm:18.0.6" - "@nx/devkit": "npm:18.0.6" + "@nrwl/workspace": "npm:19.8.14" + "@nx/devkit": "npm:19.8.14" chalk: "npm:^4.1.0" enquirer: "npm:~2.3.6" - nx: "npm:18.0.6" + nx: "npm:19.8.14" tslib: "npm:^2.3.0" yargs-parser: "npm:21.1.1" - checksum: 10c0/bd01b6b28fbe0c783a9c37bfdf0a01846df4ef46f366f6596e586063dff06d87761c35b06819839fefdf66a9c32947697db7ecc21b2933a06a633693a962272c + checksum: 10c0/f0846dfbe01fb4f13a8368b92fbc28c88ad650402e3d3a70bcee7fed95ec3c88bde3c415bc9f79ca62a5361b26513d7d6d28af956997d57f32e1f39f0a425722 languageName: node linkType: hard @@ -1545,7 +1585,7 @@ __metadata: "@actions/core": "npm:^1.10.1" "@fal-works/esbuild-plugin-global-externals": "npm:^2.1.2" "@google-cloud/bigquery": "npm:^6.2.0" - "@nx/workspace": "npm:18.0.6" + "@nx/workspace": "npm:19.8.14" "@octokit/graphql": "npm:^5.0.5" "@octokit/request": "npm:^8.1.2" "@polka/parse": "npm:^1.0.0-next.28" @@ -1625,7 +1665,7 @@ __metadata: memoizerific: "npm:^1.11.3" minimatch: "npm:^10.0.1" node-gyp: "npm:^9.3.1" - nx: "npm:18.0.6" + nx: "npm:19.8.14" ora: "npm:^5.4.1" p-limit: "npm:^3.1.0" p-retry: "npm:^5.1.2" @@ -1665,7 +1705,7 @@ __metadata: ts-dedent: "npm:^2.2.0" tsup: "npm:^6.7.0" type-fest: "npm:~2.19" - typescript: "npm:^5.4.5" + typescript: "npm:5.5.4" util: "npm:^0.12.5" uuid: "npm:^9.0.1" verdaccio: "npm:^5.31.1" @@ -1786,6 +1826,15 @@ __metadata: languageName: node linkType: hard +"@tybys/wasm-util@npm:^0.9.0": + version: 0.9.0 + resolution: "@tybys/wasm-util@npm:0.9.0" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10c0/f9fde5c554455019f33af6c8215f1a1435028803dc2a2825b077d812bed4209a1a64444a4ca0ce2ea7e1175c8d88e2f9173a36a33c199e8a5c671aa31de8242d + languageName: node + linkType: hard + "@types/aria-query@npm:^5.0.1": version: 5.0.3 resolution: "@types/aria-query@npm:5.0.3" @@ -2914,14 +2963,14 @@ __metadata: languageName: node linkType: hard -"@zkochan/js-yaml@npm:0.0.6": - version: 0.0.6 - resolution: "@zkochan/js-yaml@npm:0.0.6" +"@zkochan/js-yaml@npm:0.0.7": + version: 0.0.7 + resolution: "@zkochan/js-yaml@npm:0.0.7" dependencies: argparse: "npm:^2.0.1" bin: js-yaml: bin/js-yaml.js - checksum: 10c0/5ce27ae75fb1db9657d4065bf6b380b4c0f756feb1bdf42bfde40551a74bcc0ec918f748cbdbd5d95b7107d00bc2f731ee731b5cfe93acb6f7da5639b16aa1f8 + checksum: 10c0/c8b3525717912811f9422ed50e94c5751ed6f771eb1b7e5cde097f14835654931e2bdaecb1e5fc37b51cf8d822410a307f16dd1581d46149398c30215f3f9bac languageName: node linkType: hard @@ -3484,7 +3533,7 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.6.0, axios@npm:^1.6.1": +"axios@npm:^1.6.1": version: 1.7.2 resolution: "axios@npm:1.7.2" dependencies: @@ -3495,6 +3544,17 @@ __metadata: languageName: node linkType: hard +"axios@npm:^1.7.4": + version: 1.7.9 + resolution: "axios@npm:1.7.9" + dependencies: + follow-redirects: "npm:^1.15.6" + form-data: "npm:^4.0.0" + proxy-from-env: "npm:^1.1.0" + checksum: 10c0/b7a41e24b59fee5f0f26c1fc844b45b17442832eb3a0fb42dd4f1430eb4abc571fe168e67913e8a1d91c993232bd1d1ab03e20e4d1fee8c6147649b576fc1b0b + languageName: node + linkType: hard + "axobject-query@npm:^3.2.1": version: 3.2.1 resolution: "axobject-query@npm:3.2.1" @@ -4961,17 +5021,19 @@ __metadata: languageName: node linkType: hard -"dotenv-expand@npm:~10.0.0": - version: 10.0.0 - resolution: "dotenv-expand@npm:10.0.0" - checksum: 10c0/298f5018e29cfdcb0b5f463ba8e8627749103fbcf6cf81c561119115754ed582deee37b49dfc7253028aaba875ab7aea5fa90e5dac88e511d009ab0e6677924e +"dotenv-expand@npm:~11.0.6": + version: 11.0.7 + resolution: "dotenv-expand@npm:11.0.7" + dependencies: + dotenv: "npm:^16.4.5" + checksum: 10c0/d80b8a7be085edf351270b96ac0e794bc3ddd7f36157912939577cb4d33ba6492ebee349d59798b71b90e36f498d24a2a564fb4aa00073b2ef4c2a3a49c467b1 languageName: node linkType: hard -"dotenv@npm:~16.3.1": - version: 16.3.1 - resolution: "dotenv@npm:16.3.1" - checksum: 10c0/b95ff1bbe624ead85a3cd70dbd827e8e06d5f05f716f2d0cbc476532d54c7c9469c3bc4dd93ea519f6ad711cb522c00ac9a62b6eb340d5affae8008facc3fbd7 +"dotenv@npm:^16.4.5, dotenv@npm:~16.4.5": + version: 16.4.7 + resolution: "dotenv@npm:16.4.7" + checksum: 10c0/be9f597e36a8daf834452daa1f4cc30e5375a5968f98f46d89b16b983c567398a330580c88395069a77473943c06b877d1ca25b4afafcdd6d4adb549e8293462 languageName: node linkType: hard @@ -6458,6 +6520,15 @@ __metadata: languageName: node linkType: hard +"front-matter@npm:^4.0.2": + version: 4.0.2 + resolution: "front-matter@npm:4.0.2" + dependencies: + js-yaml: "npm:^3.13.1" + checksum: 10c0/7a0df5ca37428dd563c057bc17a8940481fe53876609bcdc443a02ce463c70f1842c7cb4628b80916de46a253732794b36fb6a31105db0f185698a93acee4011 + languageName: node + linkType: hard + "fs-constants@npm:^1.0.0": version: 1.0.0 resolution: "fs-constants@npm:1.0.0" @@ -6472,7 +6543,7 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^11.1.0, fs-extra@npm:^11.2.0": +"fs-extra@npm:^11.2.0": version: 11.2.0 resolution: "fs-extra@npm:11.2.0" dependencies: @@ -8234,7 +8305,7 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:3.14.1, js-yaml@npm:^3.10.0": +"js-yaml@npm:3.14.1, js-yaml@npm:^3.10.0, js-yaml@npm:^3.13.1": version: 3.14.1 resolution: "js-yaml@npm:3.14.1" dependencies: @@ -8594,6 +8665,13 @@ __metadata: languageName: node linkType: hard +"lines-and-columns@npm:2.0.3": + version: 2.0.3 + resolution: "lines-and-columns@npm:2.0.3" + checksum: 10c0/09525c10010a925b7efe858f1dd3184eeac34f0a9bc34993075ec490efad71e948147746b18e9540279cc87cd44085b038f986903db3de65ffe96d38a7b91c4c + languageName: node + linkType: hard + "lines-and-columns@npm:^1.1.6": version: 1.2.4 resolution: "lines-and-columns@npm:1.2.4" @@ -8601,7 +8679,7 @@ __metadata: languageName: node linkType: hard -"lines-and-columns@npm:^2.0.3, lines-and-columns@npm:~2.0.3": +"lines-and-columns@npm:^2.0.3": version: 2.0.4 resolution: "lines-and-columns@npm:2.0.4" checksum: 10c0/4db28bf065cd7ad897c0700f22d3d0d7c5ed6777e138861c601c496d545340df3fc19e18bd04ff8d95a246a245eb55685b82ca2f8c2ca53a008e9c5316250379 @@ -10290,40 +10368,40 @@ __metadata: languageName: node linkType: hard -"nx@npm:18.0.6": - version: 18.0.6 - resolution: "nx@npm:18.0.6" +"nx@npm:19.8.14": + version: 19.8.14 + resolution: "nx@npm:19.8.14" dependencies: - "@nrwl/tao": "npm:18.0.6" - "@nx/nx-darwin-arm64": "npm:18.0.6" - "@nx/nx-darwin-x64": "npm:18.0.6" - "@nx/nx-freebsd-x64": "npm:18.0.6" - "@nx/nx-linux-arm-gnueabihf": "npm:18.0.6" - "@nx/nx-linux-arm64-gnu": "npm:18.0.6" - "@nx/nx-linux-arm64-musl": "npm:18.0.6" - "@nx/nx-linux-x64-gnu": "npm:18.0.6" - "@nx/nx-linux-x64-musl": "npm:18.0.6" - "@nx/nx-win32-arm64-msvc": "npm:18.0.6" - "@nx/nx-win32-x64-msvc": "npm:18.0.6" + "@napi-rs/wasm-runtime": "npm:0.2.4" + "@nrwl/tao": "npm:19.8.14" + "@nx/nx-darwin-arm64": "npm:19.8.14" + "@nx/nx-darwin-x64": "npm:19.8.14" + "@nx/nx-freebsd-x64": "npm:19.8.14" + "@nx/nx-linux-arm-gnueabihf": "npm:19.8.14" + "@nx/nx-linux-arm64-gnu": "npm:19.8.14" + "@nx/nx-linux-arm64-musl": "npm:19.8.14" + "@nx/nx-linux-x64-gnu": "npm:19.8.14" + "@nx/nx-linux-x64-musl": "npm:19.8.14" + "@nx/nx-win32-arm64-msvc": "npm:19.8.14" + "@nx/nx-win32-x64-msvc": "npm:19.8.14" "@yarnpkg/lockfile": "npm:^1.1.0" "@yarnpkg/parsers": "npm:3.0.0-rc.46" - "@zkochan/js-yaml": "npm:0.0.6" - axios: "npm:^1.6.0" + "@zkochan/js-yaml": "npm:0.0.7" + axios: "npm:^1.7.4" chalk: "npm:^4.1.0" cli-cursor: "npm:3.1.0" cli-spinners: "npm:2.6.1" cliui: "npm:^8.0.1" - dotenv: "npm:~16.3.1" - dotenv-expand: "npm:~10.0.0" + dotenv: "npm:~16.4.5" + dotenv-expand: "npm:~11.0.6" enquirer: "npm:~2.3.6" figures: "npm:3.2.0" flat: "npm:^5.0.2" - fs-extra: "npm:^11.1.0" + front-matter: "npm:^4.0.2" ignore: "npm:^5.0.4" jest-diff: "npm:^29.4.1" - js-yaml: "npm:4.1.0" jsonc-parser: "npm:3.2.0" - lines-and-columns: "npm:~2.0.3" + lines-and-columns: "npm:2.0.3" minimatch: "npm:9.0.3" node-machine-id: "npm:1.1.12" npm-run-path: "npm:^4.0.1" @@ -10370,7 +10448,7 @@ __metadata: bin: nx: bin/nx.js nx-cloud: bin/nx-cloud.js - checksum: 10c0/608ffda300706d8cf067428921a76d62157b20131796c006258d96b493efba7618572c7dfa8cdab4b7dfb47a8adbcacd65fb69d03dc7480d8229236a1f2cc881 + checksum: 10c0/3bc8b33b341054875a9ddbd9da63d001504948e1e4c7e707c138c939c52ea0269d6bc436aa3b9cf66c315177c626974d8f9322d19a5c1deceb4aa6faaaf67309 languageName: node linkType: hard @@ -14151,23 +14229,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.4.5": - version: 5.4.5 - resolution: "typescript@npm:5.4.5" +"typescript@npm:5.5.4": + version: 5.5.4 + resolution: "typescript@npm:5.5.4" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/2954022ada340fd3d6a9e2b8e534f65d57c92d5f3989a263754a78aba549f7e6529acc1921913560a4b816c46dce7df4a4d29f9f11a3dc0d4213bb76d043251e + checksum: 10c0/422be60f89e661eab29ac488c974b6cc0a660fb2228003b297c3d10c32c90f3bcffc1009b43876a082515a3c376b1eefcce823d6e78982e6878408b9a923199c languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.4.5#optional!builtin": - version: 5.4.5 - resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c" +"typescript@patch:typescript@npm%3A5.5.4#optional!builtin": + version: 5.5.4 + resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin::version=5.5.4&hash=b45daf" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9 + checksum: 10c0/10dd9881baba22763de859e8050d6cb6e2db854197495c6f1929b08d1eb2b2b00d0b5d9b0bcee8472f1c3f4a7ef6a5d7ebe0cfd703f853aa5ae465b8404bc1ba languageName: node linkType: hard From e2ef61c70b2cf8266426dcdd583db750478d80e0 Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Wed, 4 Dec 2024 11:01:30 +0100 Subject: [PATCH 15/32] Fix ts error --- code/core/src/manager-api/modules/stories.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/code/core/src/manager-api/modules/stories.ts b/code/core/src/manager-api/modules/stories.ts index e92e7a90ce55..b312eeff02db 100644 --- a/code/core/src/manager-api/modules/stories.ts +++ b/code/core/src/manager-api/modules/stories.ts @@ -338,7 +338,6 @@ export const init: ModuleFn = ({ return undefined; } if (refId) { - // @ts-expect-error (possibly undefined) return refs[refId].index ? refs[refId].index[storyId] : undefined; } return index ? index[storyId] : undefined; From 8dccaf819dca074dd971dffb271bf5e14f0d2745 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 4 Dec 2024 11:22:00 +0100 Subject: [PATCH 16/32] Do not show contextMenu on refs --- code/core/src/manager/components/sidebar/Tree.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/core/src/manager/components/sidebar/Tree.tsx b/code/core/src/manager/components/sidebar/Tree.tsx index 0a22df1cb420..d08ab8ffc4d7 100644 --- a/code/core/src/manager/components/sidebar/Tree.tsx +++ b/code/core/src/manager/components/sidebar/Tree.tsx @@ -273,7 +273,10 @@ const Node = React.memo(function Node({ ]); const id = createId(item.id, refId); - const contextMenu = useContextMenu(item, statusLinks, api); + const contextMenu = + refId === 'storybook_internal' + ? useContextMenu(item, statusLinks, api) + : { node: null, onMouseEnter: () => {} }; if (item.type === 'story' || item.type === 'docs') { const LeafNode = item.type === 'docs' ? DocumentNode : StoryNode; From eff4b9ff83f11e2a316675c4555d166b73e72c50 Mon Sep 17 00:00:00 2001 From: JamesHenry Date: Wed, 4 Dec 2024 14:28:39 +0400 Subject: [PATCH 17/32] chore: fix check configurations --- code/frameworks/angular/project.json | 6 +----- code/renderers/vue3/project.json | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/code/frameworks/angular/project.json b/code/frameworks/angular/project.json index 4c096a145ebc..8281c8a8742f 100644 --- a/code/frameworks/angular/project.json +++ b/code/frameworks/angular/project.json @@ -5,11 +5,7 @@ "targets": { "build": {}, "check": { - "executor": "nx:run-commands", - "options": { - "command": "echo '\"nx check angular\" can only run with the parameter \"-c production\"'", - "description": "We need to expand code/storybook/storybook/scripts/prepare/check.ts" - }, + "command": "echo '\"nx check angular\" can only run with the parameter \"-c production\", we need to expand code/storybook/storybook/scripts/prepare/check.ts'", "configurations": { "production": { "cwd": "{projectRoot}", diff --git a/code/renderers/vue3/project.json b/code/renderers/vue3/project.json index fcde94c77422..e45231254348 100644 --- a/code/renderers/vue3/project.json +++ b/code/renderers/vue3/project.json @@ -5,11 +5,7 @@ "targets": { "build": {}, "check": { - "executor": "nx:run-commands", - "options": { - "command": "echo '\"nx check vue3\" can only run with the parameter \"-c production\"'", - "description": "We need to expand code/storybook/storybook/scripts/prepare/check.ts" - }, + "command": "echo '\"nx check vue3\" can only run with the parameter \"-c production\", we need to expand code/storybook/storybook/scripts/prepare/check.ts'", "configurations": { "production": { "cwd": "{projectRoot}", From e25e33d67eb5291f971e00e13cf60c86ee50272b Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Wed, 4 Dec 2024 11:50:44 +0100 Subject: [PATCH 18/32] Escape stories paths before passing them as globs --- code/addons/test/package.json | 1 + code/addons/test/src/vitest-plugin/index.ts | 8 +++++++- code/yarn.lock | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/code/addons/test/package.json b/code/addons/test/package.json index 55babe10d98a..9be90b1c5199 100644 --- a/code/addons/test/package.json +++ b/code/addons/test/package.json @@ -103,6 +103,7 @@ "execa": "^8.0.1", "find-up": "^7.0.0", "formik": "^2.2.9", + "glob": "^10.0.0", "istanbul-lib-report": "^3.0.1", "pathe": "^1.1.2", "picocolors": "^1.1.0", diff --git a/code/addons/test/src/vitest-plugin/index.ts b/code/addons/test/src/vitest-plugin/index.ts index df567d4b002b..177b2e6ca745 100644 --- a/code/addons/test/src/vitest-plugin/index.ts +++ b/code/addons/test/src/vitest-plugin/index.ts @@ -12,6 +12,8 @@ import { readConfig, vitestTransform } from 'storybook/internal/csf-tools'; import { MainFileMissingError } from 'storybook/internal/server-errors'; import type { DocsOptions, StoriesEntry } from 'storybook/internal/types'; +// eslint-disable-next-line depend/ban-dependencies +import { escape } from 'glob'; import { join, resolve } from 'pathe'; import type { InternalOptions, UserOptions } from './types'; @@ -118,7 +120,11 @@ export const storybookTest = (options?: UserOptions): Plugin => { config.test ??= {}; config.test.include ??= []; - config.test.include.push(...storiesFiles); + config.test.include.push( + // Escape magic characters in paths because they shouldn't be treated as glob patterns + // Paths are resolved using `pathe` to convert Windows paths to POSIX paths first + ...storiesFiles.map((path) => escape(resolve(path))) + ); config.test.exclude ??= []; config.test.exclude.push('**/*.mdx'); diff --git a/code/yarn.lock b/code/yarn.lock index 1bada105b2f1..71d84f6cdb7c 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -6623,6 +6623,7 @@ __metadata: execa: "npm:^8.0.1" find-up: "npm:^7.0.0" formik: "npm:^2.2.9" + glob: "npm:^10.0.0" istanbul-lib-report: "npm:^3.0.1" pathe: "npm:^1.1.2" picocolors: "npm:^1.1.0" From 9c4e983e53a6c5d0d37ff936c71647149765303f Mon Sep 17 00:00:00 2001 From: JamesHenry Date: Wed, 4 Dec 2024 15:23:59 +0400 Subject: [PATCH 19/32] chore: fix issues --- code/core/src/manager-api/modules/stories.ts | 1 + code/package.json | 2 +- code/yarn.lock | 38 +++++--------------- scripts/package.json | 2 +- scripts/yarn.lock | 18 +++++----- 5 files changed, 21 insertions(+), 40 deletions(-) diff --git a/code/core/src/manager-api/modules/stories.ts b/code/core/src/manager-api/modules/stories.ts index b312eeff02db..e92e7a90ce55 100644 --- a/code/core/src/manager-api/modules/stories.ts +++ b/code/core/src/manager-api/modules/stories.ts @@ -338,6 +338,7 @@ export const init: ModuleFn = ({ return undefined; } if (refId) { + // @ts-expect-error (possibly undefined) return refs[refId].index ? refs[refId].index[storyId] : undefined; } return index ? index[storyId] : undefined; diff --git a/code/package.json b/code/package.json index 3bfceacea865..fed59b58fa24 100644 --- a/code/package.json +++ b/code/package.json @@ -218,7 +218,7 @@ "storybook": "workspace:^", "svelte": "^5.0.0-next.268", "ts-dedent": "^2.0.0", - "typescript": "5.5.4", + "typescript": "5.4.3", "util": "^0.12.4", "vite": "^4.0.0", "vite-plugin-inspect": "^0.8.5", diff --git a/code/yarn.lock b/code/yarn.lock index 44536ea07a8a..356ad7526c0f 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -7392,7 +7392,7 @@ __metadata: storybook: "workspace:^" svelte: "npm:^5.0.0-next.268" ts-dedent: "npm:^2.0.0" - typescript: "npm:5.5.4" + typescript: "npm:5.4.3" util: "npm:^0.12.4" vite: "npm:^4.0.0" vite-plugin-inspect: "npm:^0.8.5" @@ -28443,13 +28443,13 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.5.4": - version: 5.5.4 - resolution: "typescript@npm:5.5.4" +"typescript@npm:5.4.3, typescript@npm:^5.3.2": + version: 5.4.3 + resolution: "typescript@npm:5.4.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/422be60f89e661eab29ac488c974b6cc0a660fb2228003b297c3d10c32c90f3bcffc1009b43876a082515a3c376b1eefcce823d6e78982e6878408b9a923199c + checksum: 10c0/22443a8760c3668e256c0b34b6b45c359ef6cecc10c42558806177a7d500ab1a7d7aac1f976d712e26989ddf6731d2fbdd3212b7c73290a45127c1c43ba2005a languageName: node linkType: hard @@ -28463,16 +28463,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.3.2": - version: 5.4.3 - resolution: "typescript@npm:5.4.3" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/22443a8760c3668e256c0b34b6b45c359ef6cecc10c42558806177a7d500ab1a7d7aac1f976d712e26989ddf6731d2fbdd3212b7c73290a45127c1c43ba2005a - languageName: node - linkType: hard - "typescript@npm:~5.4.2": version: 5.4.5 resolution: "typescript@npm:5.4.5" @@ -28483,13 +28473,13 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5.5.4#optional!builtin": - version: 5.5.4 - resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin::version=5.5.4&hash=b45daf" +"typescript@patch:typescript@npm%3A5.4.3#optional!builtin, typescript@patch:typescript@npm%3A^5.3.2#optional!builtin": + version: 5.4.3 + resolution: "typescript@patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=5adc0c" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/10dd9881baba22763de859e8050d6cb6e2db854197495c6f1929b08d1eb2b2b00d0b5d9b0bcee8472f1c3f4a7ef6a5d7ebe0cfd703f853aa5ae465b8404bc1ba + checksum: 10c0/6e51f8b7e6ec55b897b9e56b67e864fe8f44e30f4a14357aad5dc0f7432db2f01efc0522df0b6c36d361c51f2dc3dcac5c832efd96a404cfabf884e915d38828 languageName: node linkType: hard @@ -28503,16 +28493,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.3.2#optional!builtin": - version: 5.4.3 - resolution: "typescript@patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=5adc0c" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/6e51f8b7e6ec55b897b9e56b67e864fe8f44e30f4a14357aad5dc0f7432db2f01efc0522df0b6c36d361c51f2dc3dcac5c832efd96a404cfabf884e915d38828 - languageName: node - linkType: hard - "typescript@patch:typescript@npm%3A~5.4.2#optional!builtin": version: 5.4.5 resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c" diff --git a/scripts/package.json b/scripts/package.json index bbf6dd2cfbc2..ebb4b0bbbe98 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -180,7 +180,7 @@ "ts-dedent": "^2.2.0", "tsup": "^6.7.0", "type-fest": "~2.19", - "typescript": "5.5.4", + "typescript": "5.4.5", "util": "^0.12.5", "uuid": "^9.0.1", "vitest": "^2.1.3", diff --git a/scripts/yarn.lock b/scripts/yarn.lock index 8cd8e6ca8896..602e1a26c543 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -1705,7 +1705,7 @@ __metadata: ts-dedent: "npm:^2.2.0" tsup: "npm:^6.7.0" type-fest: "npm:~2.19" - typescript: "npm:5.5.4" + typescript: "npm:5.4.5" util: "npm:^0.12.5" uuid: "npm:^9.0.1" verdaccio: "npm:^5.31.1" @@ -14229,23 +14229,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.5.4": - version: 5.5.4 - resolution: "typescript@npm:5.5.4" +"typescript@npm:5.4.5": + version: 5.4.5 + resolution: "typescript@npm:5.4.5" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/422be60f89e661eab29ac488c974b6cc0a660fb2228003b297c3d10c32c90f3bcffc1009b43876a082515a3c376b1eefcce823d6e78982e6878408b9a923199c + checksum: 10c0/2954022ada340fd3d6a9e2b8e534f65d57c92d5f3989a263754a78aba549f7e6529acc1921913560a4b816c46dce7df4a4d29f9f11a3dc0d4213bb76d043251e languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5.5.4#optional!builtin": - version: 5.5.4 - resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin::version=5.5.4&hash=b45daf" +"typescript@patch:typescript@npm%3A5.4.5#optional!builtin": + version: 5.4.5 + resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/10dd9881baba22763de859e8050d6cb6e2db854197495c6f1929b08d1eb2b2b00d0b5d9b0bcee8472f1c3f4a7ef6a5d7ebe0cfd703f853aa5ae465b8404bc1ba + checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9 languageName: node linkType: hard From 67b4e1f361a3bc0e440993ea218c4c3b9ba42d06 Mon Sep 17 00:00:00 2001 From: JamesHenry Date: Wed, 4 Dec 2024 15:25:38 +0400 Subject: [PATCH 20/32] chore: remove trailing comma --- code/nx.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nx.json b/code/nx.json index 4c09e7b3e2f6..91f415c22d17 100644 --- a/code/nx.json +++ b/code/nx.json @@ -135,7 +135,7 @@ "sharedGlobals": ["{workspaceRoot}/tsconfig.json"], "production": [ "default", - "!{projectRoot}/src/**/**/*.{test,spec,stories}.?(c|m)[jt]s?(x)?(.snap),", + "!{projectRoot}/src/**/**/*.{test,spec,stories}.?(c|m)[jt]s?(x)?(.snap)", "!{projectRoot}/vitest.config.[jt]s", "!{projectRoot}/README.md", "!{projectRoot}/.eslintrc.{json,js}", From ff25dfc3005043be195c9e4581aa47e3607516a6 Mon Sep 17 00:00:00 2001 From: JamesHenry Date: Wed, 4 Dec 2024 15:35:50 +0400 Subject: [PATCH 21/32] chore: disable daemon for now --- code/.env | 3 ++- code/nx.json | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/.env b/code/.env index 11ed57e43222..c72d77796abc 100644 --- a/code/.env +++ b/code/.env @@ -1,4 +1,5 @@ # Nx 18 enables using plugins to infer targets by default # This is disabled for existing workspaces to maintain compatibility # For more info, see: https://nx.dev/concepts/inferred-tasks -NX_ADD_PLUGINS=false \ No newline at end of file +NX_ADD_PLUGINS=false +NX_DAEMON=false \ No newline at end of file diff --git a/code/nx.json b/code/nx.json index 91f415c22d17..62ea9c2bd79b 100644 --- a/code/nx.json +++ b/code/nx.json @@ -1,7 +1,6 @@ { "$schema": "./node_modules/nx/schemas/nx-schema.json", "extends": "nx/presets/npm.json", - "cacheDirectory": "../.nx/cache", "nxCloudAccessToken": "NGVmYTkxMmItYzY3OS00MjkxLTk1ZDktZDFmYTFmNmVlNGY4fHJlYWQ=", "defaultBase": "next", "parallel": 8, From 235dcf6383ea3f0a4584a01e3d52225acfb80b42 Mon Sep 17 00:00:00 2001 From: JamesHenry Date: Wed, 4 Dec 2024 14:12:16 +0400 Subject: [PATCH 22/32] chore: WIP --- code/.gitignore | 1 + code/nx.json | 4 - code/package.json | 8 +- code/yarn.lock | 254 ++++++++++++++----------------------------- scripts/package.json | 4 +- scripts/yarn.lock | 178 +++++++++++------------------- 6 files changed, 151 insertions(+), 298 deletions(-) create mode 100644 code/.gitignore diff --git a/code/.gitignore b/code/.gitignore new file mode 100644 index 000000000000..9d3dd898a13d --- /dev/null +++ b/code/.gitignore @@ -0,0 +1 @@ +vite.config.*.timestamp* \ No newline at end of file diff --git a/code/nx.json b/code/nx.json index 62ea9c2bd79b..d8454bccc034 100644 --- a/code/nx.json +++ b/code/nx.json @@ -1,12 +1,8 @@ { "$schema": "./node_modules/nx/schemas/nx-schema.json", - "extends": "nx/presets/npm.json", "nxCloudAccessToken": "NGVmYTkxMmItYzY3OS00MjkxLTk1ZDktZDFmYTFmNmVlNGY4fHJlYWQ=", "defaultBase": "next", "parallel": 8, - "cli": { - "packageManager": "yarn" - }, "plugins": [ { "plugin": "@nx/vite/plugin", diff --git a/code/package.json b/code/package.json index fed59b58fa24..071fad9c2723 100644 --- a/code/package.json +++ b/code/package.json @@ -92,9 +92,9 @@ "dependencies": { "@chromatic-com/storybook": "^3.2.0", "@happy-dom/global-registrator": "^14.12.0", - "@nx/eslint": "19.8.14", - "@nx/vite": "19.8.14", - "@nx/workspace": "19.8.14", + "@nx/eslint": "20.1.4", + "@nx/vite": "20.1.4", + "@nx/workspace": "20.1.4", "@playwright/test": "1.48.1", "@storybook/addon-a11y": "workspace:*", "@storybook/addon-actions": "workspace:*", @@ -202,7 +202,7 @@ "husky": "^4.3.7", "lint-staged": "^13.2.2", "mock-require": "^3.0.3", - "nx": "19.8.14", + "nx": "20.1.4", "prettier": "^3.1.1", "prettier-plugin-brace-style": "^0.6.2", "prettier-plugin-css-order": "^2.1.2", diff --git a/code/yarn.lock b/code/yarn.lock index 356ad7526c0f..1d52e262e4c6 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -4527,59 +4527,10 @@ __metadata: languageName: node linkType: hard -"@nrwl/devkit@npm:19.8.14": - version: 19.8.14 - resolution: "@nrwl/devkit@npm:19.8.14" +"@nx/devkit@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/devkit@npm:20.1.4" dependencies: - "@nx/devkit": "npm:19.8.14" - checksum: 10c0/de398c1fbb53c4737ea3c8361a3c8a66442c24e3ec7fe366de66c5ede8009ff8975c037a3b6ba4784d3a223f0f4ee4f9b47faefa6ce1aa85c26822e7a17689da - languageName: node - linkType: hard - -"@nrwl/js@npm:19.8.14": - version: 19.8.14 - resolution: "@nrwl/js@npm:19.8.14" - dependencies: - "@nx/js": "npm:19.8.14" - checksum: 10c0/0a7944a13dcb6e9229315cd9fdd1fa22ef2c3bd9c6f9dfee323bf5d28b750c50b78e568b5b1f43d54d78dce6cab5fcad95c3a1e3283e6e560018e98fa1e9f5f0 - languageName: node - linkType: hard - -"@nrwl/tao@npm:19.8.14": - version: 19.8.14 - resolution: "@nrwl/tao@npm:19.8.14" - dependencies: - nx: "npm:19.8.14" - tslib: "npm:^2.3.0" - bin: - tao: index.js - checksum: 10c0/863a28ab4746f5999a8049d5b86e3d7412c17608135b84513f37997874611672b06c61c026b06cbaa12e37016986c90601d82e65efe34e828414c69b159c4457 - languageName: node - linkType: hard - -"@nrwl/vite@npm:19.8.14": - version: 19.8.14 - resolution: "@nrwl/vite@npm:19.8.14" - dependencies: - "@nx/vite": "npm:19.8.14" - checksum: 10c0/efb3f03e978a46eeae8aa02cf1fb3c2cb1581355e166126bb051a9ebcff1c8408381d9569930deb67ba49698d6ebcd6844c42ca6c2b76d15b7f8a8988aa88a67 - languageName: node - linkType: hard - -"@nrwl/workspace@npm:19.8.14": - version: 19.8.14 - resolution: "@nrwl/workspace@npm:19.8.14" - dependencies: - "@nx/workspace": "npm:19.8.14" - checksum: 10c0/7477c0999e651c94d96abb40923355238bbca8d6949a1ce84742b3e9d18f8546ef9a8a55b890bb6f7788f13c4a2b5200a1f1bb9051aaabaac1726478607b59da - languageName: node - linkType: hard - -"@nx/devkit@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/devkit@npm:19.8.14" - dependencies: - "@nrwl/devkit": "npm:19.8.14" ejs: "npm:^3.1.7" enquirer: "npm:~2.3.6" ignore: "npm:^5.0.4" @@ -4590,17 +4541,16 @@ __metadata: yargs-parser: "npm:21.1.1" peerDependencies: nx: ">= 19 <= 21" - checksum: 10c0/86de0ba41cd30c2c9ac20fa45d77e7f0f878d7df8423ac3905e6846211ae67b3f843987dec76e712e3e82c05af2e89fa6b1b9cab24675ab30221e678d05d1be7 + checksum: 10c0/e8ae35e9b421cf558b35b792fcff1f769438be45808c2d4e1317e6c56779b773d2d05c3234e2431c258670b1880b5b4fbe22ac472ff639320df0b5bcf3b2ee95 languageName: node linkType: hard -"@nx/eslint@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/eslint@npm:19.8.14" +"@nx/eslint@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/eslint@npm:20.1.4" dependencies: - "@nx/devkit": "npm:19.8.14" - "@nx/js": "npm:19.8.14" - "@nx/linter": "npm:19.8.14" + "@nx/devkit": "npm:20.1.4" + "@nx/js": "npm:20.1.4" semver: "npm:^7.5.3" tslib: "npm:^2.3.0" typescript: "npm:~5.4.2" @@ -4610,13 +4560,13 @@ __metadata: peerDependenciesMeta: "@zkochan/js-yaml": optional: true - checksum: 10c0/0a391875b595355d03e0c8a85754cb9f57a0363b7efb1bcb594a9ed51c1675dd75d8760b624dc4cfd604f72ac468aa4c203e21bf63a846142eff6a0d327db302 + checksum: 10c0/3fa816de9232b478469e9d7f6eaea4a0d47f22c8ee5a510f7d4759261497b11248c49a73a771f2fa356524f5c4f02c673f9c47af3c5503c445c21a9924a0a8fd languageName: node linkType: hard -"@nx/js@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/js@npm:19.8.14" +"@nx/js@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/js@npm:20.1.4" dependencies: "@babel/core": "npm:^7.23.2" "@babel/plugin-proposal-decorators": "npm:^7.22.7" @@ -4625,9 +4575,9 @@ __metadata: "@babel/preset-env": "npm:^7.23.2" "@babel/preset-typescript": "npm:^7.22.5" "@babel/runtime": "npm:^7.22.6" - "@nrwl/js": "npm:19.8.14" - "@nx/devkit": "npm:19.8.14" - "@nx/workspace": "npm:19.8.14" + "@nx/devkit": "npm:20.1.4" + "@nx/workspace": "npm:20.1.4" + "@zkochan/js-yaml": "npm:0.0.7" babel-plugin-const-enum: "npm:^1.0.1" babel-plugin-macros: "npm:^2.8.0" babel-plugin-transform-typescript-metadata: "npm:^0.3.1" @@ -4653,96 +4603,86 @@ __metadata: peerDependenciesMeta: verdaccio: optional: true - checksum: 10c0/c7e226f7ff88f5b916247925a795ebe5e3b950f7667317c790d035f850f4359a466e9669c8561a228c0fb89675e94b91080729746f12c3c651a1dd0585fea379 - languageName: node - linkType: hard - -"@nx/linter@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/linter@npm:19.8.14" - dependencies: - "@nx/eslint": "npm:19.8.14" - checksum: 10c0/f8ebd340a05541055b7fb9834753e0c9ab53a4e8134b41bc8f9ca0fbff6422850d21cfb9e7e238602dc36d915620c4948b716c59b7c3159519b8b146222902a6 + checksum: 10c0/cefd563fffebcb8858fe528005aff69f44232bb42e4bfadfa703e37b0a1db9010f8400126639be3fd19beb81e2135c8a8b239ff37ed3f203b040a311038206bf languageName: node linkType: hard -"@nx/nx-darwin-arm64@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-darwin-arm64@npm:19.8.14" +"@nx/nx-darwin-arm64@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-darwin-arm64@npm:20.1.4" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@nx/nx-darwin-x64@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-darwin-x64@npm:19.8.14" +"@nx/nx-darwin-x64@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-darwin-x64@npm:20.1.4" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@nx/nx-freebsd-x64@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-freebsd-x64@npm:19.8.14" +"@nx/nx-freebsd-x64@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-freebsd-x64@npm:20.1.4" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@nx/nx-linux-arm-gnueabihf@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:19.8.14" +"@nx/nx-linux-arm-gnueabihf@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:20.1.4" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@nx/nx-linux-arm64-gnu@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-linux-arm64-gnu@npm:19.8.14" +"@nx/nx-linux-arm64-gnu@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-linux-arm64-gnu@npm:20.1.4" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-arm64-musl@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-linux-arm64-musl@npm:19.8.14" +"@nx/nx-linux-arm64-musl@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-linux-arm64-musl@npm:20.1.4" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@nx/nx-linux-x64-gnu@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-linux-x64-gnu@npm:19.8.14" +"@nx/nx-linux-x64-gnu@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-linux-x64-gnu@npm:20.1.4" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-x64-musl@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-linux-x64-musl@npm:19.8.14" +"@nx/nx-linux-x64-musl@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-linux-x64-musl@npm:20.1.4" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@nx/nx-win32-arm64-msvc@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-win32-arm64-msvc@npm:19.8.14" +"@nx/nx-win32-arm64-msvc@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-win32-arm64-msvc@npm:20.1.4" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@nx/nx-win32-x64-msvc@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-win32-x64-msvc@npm:19.8.14" +"@nx/nx-win32-x64-msvc@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-win32-x64-msvc@npm:20.1.4" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@nx/vite@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/vite@npm:19.8.14" +"@nx/vite@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/vite@npm:20.1.4" dependencies: - "@nrwl/vite": "npm:19.8.14" - "@nx/devkit": "npm:19.8.14" - "@nx/js": "npm:19.8.14" + "@nx/devkit": "npm:20.1.4" + "@nx/js": "npm:20.1.4" "@phenomnomnominal/tsquery": "npm:~5.0.1" "@swc/helpers": "npm:~0.5.0" enquirer: "npm:~2.3.6" @@ -4751,22 +4691,21 @@ __metadata: peerDependencies: vite: ^5.0.0 vitest: ^1.3.1 || ^2.0.0 - checksum: 10c0/cb2af4fa3c55d996b4f5247f95caa24901962e4e262b84e99238fc29c30ef0c01c4fe7e1d92a0f633c9b12462149c3a15a5bf462f462d60175397596d51b8169 + checksum: 10c0/48230903e2b5c2c6610677fe501e144285e543a6137500715b643063e8758b6df14fc2c2bd39dbd6ff69612539185f15e24ffc5e1a1d1e245e146b8bb902cf14 languageName: node linkType: hard -"@nx/workspace@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/workspace@npm:19.8.14" +"@nx/workspace@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/workspace@npm:20.1.4" dependencies: - "@nrwl/workspace": "npm:19.8.14" - "@nx/devkit": "npm:19.8.14" + "@nx/devkit": "npm:20.1.4" chalk: "npm:^4.1.0" enquirer: "npm:~2.3.6" - nx: "npm:19.8.14" + nx: "npm:20.1.4" tslib: "npm:^2.3.0" yargs-parser: "npm:21.1.1" - checksum: 10c0/f0846dfbe01fb4f13a8368b92fbc28c88ad650402e3d3a70bcee7fed95ec3c88bde3c415bc9f79ca62a5361b26513d7d6d28af956997d57f32e1f39f0a425722 + checksum: 10c0/ad0bd040f87fce8bc7e01bc5122c8d52698743cbb5652cac423f54b64aedc7fe48ba090d8030dd9f4b205cd20f3e6a393936a395ab39247bd8c6b7ae0ac1692e languageName: node linkType: hard @@ -7266,9 +7205,9 @@ __metadata: dependencies: "@chromatic-com/storybook": "npm:^3.2.0" "@happy-dom/global-registrator": "npm:^14.12.0" - "@nx/eslint": "npm:19.8.14" - "@nx/vite": "npm:19.8.14" - "@nx/workspace": "npm:19.8.14" + "@nx/eslint": "npm:20.1.4" + "@nx/vite": "npm:20.1.4" + "@nx/workspace": "npm:20.1.4" "@playwright/test": "npm:1.48.1" "@storybook/addon-a11y": "workspace:*" "@storybook/addon-actions": "workspace:*" @@ -7376,7 +7315,7 @@ __metadata: husky: "npm:^4.3.7" lint-staged: "npm:^13.2.2" mock-require: "npm:^3.0.3" - nx: "npm:19.8.14" + nx: "npm:20.1.4" prettier: "npm:^3.1.1" prettier-plugin-brace-style: "npm:^0.6.2" prettier-plugin-css-order: "npm:^2.1.2" @@ -10169,13 +10108,13 @@ __metadata: languageName: node linkType: hard -"@yarnpkg/parsers@npm:3.0.0-rc.46": - version: 3.0.0-rc.46 - resolution: "@yarnpkg/parsers@npm:3.0.0-rc.46" +"@yarnpkg/parsers@npm:3.0.2": + version: 3.0.2 + resolution: "@yarnpkg/parsers@npm:3.0.2" dependencies: js-yaml: "npm:^3.10.0" tslib: "npm:^2.4.0" - checksum: 10c0/c7f421c6885142f351459031c093fb2e79abcce6f4a89765a10e600bb7ab122949c54bcea2b23de9572a2b34ba29f822b17831c1c43ba50373ceb8cb5b336667 + checksum: 10c0/a0c340e13129643162423d7e666061c0b39b143bfad3fc5a74c7d92a30fd740f6665d41cd4e61832c20375889d793eea1d1d103cacb39ed68f7acd168add8c53 languageName: node linkType: hard @@ -14116,13 +14055,6 @@ __metadata: languageName: node linkType: hard -"duplexer@npm:^0.1.1": - version: 0.1.2 - resolution: "duplexer@npm:0.1.2" - checksum: 10c0/c57bcd4bdf7e623abab2df43a7b5b23d18152154529d166c1e0da6bee341d84c432d157d7e97b32fecb1bf3a8b8857dd85ed81a915789f550637ed25b8e64fc2 - languageName: node - linkType: hard - "duplexify@npm:^3.5.0, duplexify@npm:^3.6.0": version: 3.7.1 resolution: "duplexify@npm:3.7.1" @@ -22414,24 +22346,23 @@ __metadata: languageName: node linkType: hard -"nx@npm:19.8.14": - version: 19.8.14 - resolution: "nx@npm:19.8.14" +"nx@npm:20.1.4": + version: 20.1.4 + resolution: "nx@npm:20.1.4" dependencies: "@napi-rs/wasm-runtime": "npm:0.2.4" - "@nrwl/tao": "npm:19.8.14" - "@nx/nx-darwin-arm64": "npm:19.8.14" - "@nx/nx-darwin-x64": "npm:19.8.14" - "@nx/nx-freebsd-x64": "npm:19.8.14" - "@nx/nx-linux-arm-gnueabihf": "npm:19.8.14" - "@nx/nx-linux-arm64-gnu": "npm:19.8.14" - "@nx/nx-linux-arm64-musl": "npm:19.8.14" - "@nx/nx-linux-x64-gnu": "npm:19.8.14" - "@nx/nx-linux-x64-musl": "npm:19.8.14" - "@nx/nx-win32-arm64-msvc": "npm:19.8.14" - "@nx/nx-win32-x64-msvc": "npm:19.8.14" + "@nx/nx-darwin-arm64": "npm:20.1.4" + "@nx/nx-darwin-x64": "npm:20.1.4" + "@nx/nx-freebsd-x64": "npm:20.1.4" + "@nx/nx-linux-arm-gnueabihf": "npm:20.1.4" + "@nx/nx-linux-arm64-gnu": "npm:20.1.4" + "@nx/nx-linux-arm64-musl": "npm:20.1.4" + "@nx/nx-linux-x64-gnu": "npm:20.1.4" + "@nx/nx-linux-x64-musl": "npm:20.1.4" + "@nx/nx-win32-arm64-msvc": "npm:20.1.4" + "@nx/nx-win32-x64-msvc": "npm:20.1.4" "@yarnpkg/lockfile": "npm:^1.1.0" - "@yarnpkg/parsers": "npm:3.0.0-rc.46" + "@yarnpkg/parsers": "npm:3.0.2" "@zkochan/js-yaml": "npm:0.0.7" axios: "npm:^1.7.4" chalk: "npm:^4.1.0" @@ -22455,7 +22386,6 @@ __metadata: ora: "npm:5.3.0" semver: "npm:^7.5.3" string-width: "npm:^4.2.3" - strong-log-transformer: "npm:^2.1.0" tar-stream: "npm:~2.2.0" tmp: "npm:~0.2.1" tsconfig-paths: "npm:^4.1.2" @@ -22494,7 +22424,7 @@ __metadata: bin: nx: bin/nx.js nx-cloud: bin/nx-cloud.js - checksum: 10c0/3bc8b33b341054875a9ddbd9da63d001504948e1e4c7e707c138c939c52ea0269d6bc436aa3b9cf66c315177c626974d8f9322d19a5c1deceb4aa6faaaf67309 + checksum: 10c0/a9407ea70ecf9b2f465c94552124ef01d90828025540fa5733e1d3d35e6adab41adfe0c0545ebed37b0e7059e4dfee972351949fd9b643adb13e6daba4dd0214 languageName: node linkType: hard @@ -27391,19 +27321,6 @@ __metadata: languageName: node linkType: hard -"strong-log-transformer@npm:^2.1.0": - version: 2.1.0 - resolution: "strong-log-transformer@npm:2.1.0" - dependencies: - duplexer: "npm:^0.1.1" - minimist: "npm:^1.2.0" - through: "npm:^2.3.4" - bin: - sl-log-transformer: bin/sl-log-transformer.js - checksum: 10c0/3c3b8aa8f34d661910563ff996412e2f527fc814e699a376854b554d4a4294ab7e285b4e2c08a080a7b19c5600a9b93a98798d3ac600fe3de545ca6605c07829 - languageName: node - linkType: hard - "stubs@npm:^3.0.0": version: 3.0.0 resolution: "stubs@npm:3.0.0" @@ -27876,13 +27793,6 @@ __metadata: languageName: node linkType: hard -"through@npm:^2.3.4": - version: 2.3.8 - resolution: "through@npm:2.3.8" - checksum: 10c0/4b09f3774099de0d4df26d95c5821a62faee32c7e96fb1f4ebd54a2d7c11c57fe88b0a0d49cf375de5fee5ae6bf4eb56dbbf29d07366864e2ee805349970d3cc - languageName: node - linkType: hard - "thunky@npm:^1.0.2": version: 1.1.0 resolution: "thunky@npm:1.1.0" diff --git a/scripts/package.json b/scripts/package.json index ebb4b0bbbe98..9a17a87e6610 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -62,7 +62,7 @@ "@actions/core": "^1.10.1", "@fal-works/esbuild-plugin-global-externals": "^2.1.2", "@google-cloud/bigquery": "^6.2.0", - "@nx/workspace": "19.8.14", + "@nx/workspace": "20.1.4", "@octokit/graphql": "^5.0.5", "@octokit/request": "^8.1.2", "@polka/parse": "^1.0.0-next.28", @@ -140,7 +140,7 @@ "memoizerific": "^1.11.3", "minimatch": "^10.0.1", "node-gyp": "^9.3.1", - "nx": "19.8.14", + "nx": "20.1.4", "ora": "^5.4.1", "p-limit": "^3.1.0", "p-retry": "^5.1.2", diff --git a/scripts/yarn.lock b/scripts/yarn.lock index 602e1a26c543..936298d00a9b 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -901,41 +901,10 @@ __metadata: languageName: node linkType: hard -"@nrwl/devkit@npm:19.8.14": - version: 19.8.14 - resolution: "@nrwl/devkit@npm:19.8.14" +"@nx/devkit@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/devkit@npm:20.1.4" dependencies: - "@nx/devkit": "npm:19.8.14" - checksum: 10c0/de398c1fbb53c4737ea3c8361a3c8a66442c24e3ec7fe366de66c5ede8009ff8975c037a3b6ba4784d3a223f0f4ee4f9b47faefa6ce1aa85c26822e7a17689da - languageName: node - linkType: hard - -"@nrwl/tao@npm:19.8.14": - version: 19.8.14 - resolution: "@nrwl/tao@npm:19.8.14" - dependencies: - nx: "npm:19.8.14" - tslib: "npm:^2.3.0" - bin: - tao: index.js - checksum: 10c0/863a28ab4746f5999a8049d5b86e3d7412c17608135b84513f37997874611672b06c61c026b06cbaa12e37016986c90601d82e65efe34e828414c69b159c4457 - languageName: node - linkType: hard - -"@nrwl/workspace@npm:19.8.14": - version: 19.8.14 - resolution: "@nrwl/workspace@npm:19.8.14" - dependencies: - "@nx/workspace": "npm:19.8.14" - checksum: 10c0/7477c0999e651c94d96abb40923355238bbca8d6949a1ce84742b3e9d18f8546ef9a8a55b890bb6f7788f13c4a2b5200a1f1bb9051aaabaac1726478607b59da - languageName: node - linkType: hard - -"@nx/devkit@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/devkit@npm:19.8.14" - dependencies: - "@nrwl/devkit": "npm:19.8.14" ejs: "npm:^3.1.7" enquirer: "npm:~2.3.6" ignore: "npm:^5.0.4" @@ -946,92 +915,91 @@ __metadata: yargs-parser: "npm:21.1.1" peerDependencies: nx: ">= 19 <= 21" - checksum: 10c0/86de0ba41cd30c2c9ac20fa45d77e7f0f878d7df8423ac3905e6846211ae67b3f843987dec76e712e3e82c05af2e89fa6b1b9cab24675ab30221e678d05d1be7 + checksum: 10c0/e8ae35e9b421cf558b35b792fcff1f769438be45808c2d4e1317e6c56779b773d2d05c3234e2431c258670b1880b5b4fbe22ac472ff639320df0b5bcf3b2ee95 languageName: node linkType: hard -"@nx/nx-darwin-arm64@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-darwin-arm64@npm:19.8.14" +"@nx/nx-darwin-arm64@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-darwin-arm64@npm:20.1.4" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@nx/nx-darwin-x64@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-darwin-x64@npm:19.8.14" +"@nx/nx-darwin-x64@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-darwin-x64@npm:20.1.4" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@nx/nx-freebsd-x64@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-freebsd-x64@npm:19.8.14" +"@nx/nx-freebsd-x64@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-freebsd-x64@npm:20.1.4" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@nx/nx-linux-arm-gnueabihf@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:19.8.14" +"@nx/nx-linux-arm-gnueabihf@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:20.1.4" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@nx/nx-linux-arm64-gnu@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-linux-arm64-gnu@npm:19.8.14" +"@nx/nx-linux-arm64-gnu@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-linux-arm64-gnu@npm:20.1.4" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-arm64-musl@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-linux-arm64-musl@npm:19.8.14" +"@nx/nx-linux-arm64-musl@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-linux-arm64-musl@npm:20.1.4" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@nx/nx-linux-x64-gnu@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-linux-x64-gnu@npm:19.8.14" +"@nx/nx-linux-x64-gnu@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-linux-x64-gnu@npm:20.1.4" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-x64-musl@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-linux-x64-musl@npm:19.8.14" +"@nx/nx-linux-x64-musl@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-linux-x64-musl@npm:20.1.4" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@nx/nx-win32-arm64-msvc@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-win32-arm64-msvc@npm:19.8.14" +"@nx/nx-win32-arm64-msvc@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-win32-arm64-msvc@npm:20.1.4" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@nx/nx-win32-x64-msvc@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/nx-win32-x64-msvc@npm:19.8.14" +"@nx/nx-win32-x64-msvc@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/nx-win32-x64-msvc@npm:20.1.4" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@nx/workspace@npm:19.8.14": - version: 19.8.14 - resolution: "@nx/workspace@npm:19.8.14" +"@nx/workspace@npm:20.1.4": + version: 20.1.4 + resolution: "@nx/workspace@npm:20.1.4" dependencies: - "@nrwl/workspace": "npm:19.8.14" - "@nx/devkit": "npm:19.8.14" + "@nx/devkit": "npm:20.1.4" chalk: "npm:^4.1.0" enquirer: "npm:~2.3.6" - nx: "npm:19.8.14" + nx: "npm:20.1.4" tslib: "npm:^2.3.0" yargs-parser: "npm:21.1.1" - checksum: 10c0/f0846dfbe01fb4f13a8368b92fbc28c88ad650402e3d3a70bcee7fed95ec3c88bde3c415bc9f79ca62a5361b26513d7d6d28af956997d57f32e1f39f0a425722 + checksum: 10c0/ad0bd040f87fce8bc7e01bc5122c8d52698743cbb5652cac423f54b64aedc7fe48ba090d8030dd9f4b205cd20f3e6a393936a395ab39247bd8c6b7ae0ac1692e languageName: node linkType: hard @@ -1585,7 +1553,7 @@ __metadata: "@actions/core": "npm:^1.10.1" "@fal-works/esbuild-plugin-global-externals": "npm:^2.1.2" "@google-cloud/bigquery": "npm:^6.2.0" - "@nx/workspace": "npm:19.8.14" + "@nx/workspace": "npm:20.1.4" "@octokit/graphql": "npm:^5.0.5" "@octokit/request": "npm:^8.1.2" "@polka/parse": "npm:^1.0.0-next.28" @@ -1665,7 +1633,7 @@ __metadata: memoizerific: "npm:^1.11.3" minimatch: "npm:^10.0.1" node-gyp: "npm:^9.3.1" - nx: "npm:19.8.14" + nx: "npm:20.1.4" ora: "npm:^5.4.1" p-limit: "npm:^3.1.0" p-retry: "npm:^5.1.2" @@ -2953,13 +2921,13 @@ __metadata: languageName: node linkType: hard -"@yarnpkg/parsers@npm:3.0.0-rc.46": - version: 3.0.0-rc.46 - resolution: "@yarnpkg/parsers@npm:3.0.0-rc.46" +"@yarnpkg/parsers@npm:3.0.2": + version: 3.0.2 + resolution: "@yarnpkg/parsers@npm:3.0.2" dependencies: js-yaml: "npm:^3.10.0" tslib: "npm:^2.4.0" - checksum: 10c0/c7f421c6885142f351459031c093fb2e79abcce6f4a89765a10e600bb7ab122949c54bcea2b23de9572a2b34ba29f822b17831c1c43ba50373ceb8cb5b336667 + checksum: 10c0/a0c340e13129643162423d7e666061c0b39b143bfad3fc5a74c7d92a30fd740f6665d41cd4e61832c20375889d793eea1d1d103cacb39ed68f7acd168add8c53 languageName: node linkType: hard @@ -5037,13 +5005,6 @@ __metadata: languageName: node linkType: hard -"duplexer@npm:^0.1.1": - version: 0.1.2 - resolution: "duplexer@npm:0.1.2" - checksum: 10c0/c57bcd4bdf7e623abab2df43a7b5b23d18152154529d166c1e0da6bee341d84c432d157d7e97b32fecb1bf3a8b8857dd85ed81a915789f550637ed25b8e64fc2 - languageName: node - linkType: hard - "duplexify@npm:^3.5.0, duplexify@npm:^3.6.0": version: 3.7.1 resolution: "duplexify@npm:3.7.1" @@ -10368,24 +10329,23 @@ __metadata: languageName: node linkType: hard -"nx@npm:19.8.14": - version: 19.8.14 - resolution: "nx@npm:19.8.14" +"nx@npm:20.1.4": + version: 20.1.4 + resolution: "nx@npm:20.1.4" dependencies: "@napi-rs/wasm-runtime": "npm:0.2.4" - "@nrwl/tao": "npm:19.8.14" - "@nx/nx-darwin-arm64": "npm:19.8.14" - "@nx/nx-darwin-x64": "npm:19.8.14" - "@nx/nx-freebsd-x64": "npm:19.8.14" - "@nx/nx-linux-arm-gnueabihf": "npm:19.8.14" - "@nx/nx-linux-arm64-gnu": "npm:19.8.14" - "@nx/nx-linux-arm64-musl": "npm:19.8.14" - "@nx/nx-linux-x64-gnu": "npm:19.8.14" - "@nx/nx-linux-x64-musl": "npm:19.8.14" - "@nx/nx-win32-arm64-msvc": "npm:19.8.14" - "@nx/nx-win32-x64-msvc": "npm:19.8.14" + "@nx/nx-darwin-arm64": "npm:20.1.4" + "@nx/nx-darwin-x64": "npm:20.1.4" + "@nx/nx-freebsd-x64": "npm:20.1.4" + "@nx/nx-linux-arm-gnueabihf": "npm:20.1.4" + "@nx/nx-linux-arm64-gnu": "npm:20.1.4" + "@nx/nx-linux-arm64-musl": "npm:20.1.4" + "@nx/nx-linux-x64-gnu": "npm:20.1.4" + "@nx/nx-linux-x64-musl": "npm:20.1.4" + "@nx/nx-win32-arm64-msvc": "npm:20.1.4" + "@nx/nx-win32-x64-msvc": "npm:20.1.4" "@yarnpkg/lockfile": "npm:^1.1.0" - "@yarnpkg/parsers": "npm:3.0.0-rc.46" + "@yarnpkg/parsers": "npm:3.0.2" "@zkochan/js-yaml": "npm:0.0.7" axios: "npm:^1.7.4" chalk: "npm:^4.1.0" @@ -10409,7 +10369,6 @@ __metadata: ora: "npm:5.3.0" semver: "npm:^7.5.3" string-width: "npm:^4.2.3" - strong-log-transformer: "npm:^2.1.0" tar-stream: "npm:~2.2.0" tmp: "npm:~0.2.1" tsconfig-paths: "npm:^4.1.2" @@ -10448,7 +10407,7 @@ __metadata: bin: nx: bin/nx.js nx-cloud: bin/nx-cloud.js - checksum: 10c0/3bc8b33b341054875a9ddbd9da63d001504948e1e4c7e707c138c939c52ea0269d6bc436aa3b9cf66c315177c626974d8f9322d19a5c1deceb4aa6faaaf67309 + checksum: 10c0/a9407ea70ecf9b2f465c94552124ef01d90828025540fa5733e1d3d35e6adab41adfe0c0545ebed37b0e7059e4dfee972351949fd9b643adb13e6daba4dd0214 languageName: node linkType: hard @@ -13571,19 +13530,6 @@ __metadata: languageName: node linkType: hard -"strong-log-transformer@npm:^2.1.0": - version: 2.1.0 - resolution: "strong-log-transformer@npm:2.1.0" - dependencies: - duplexer: "npm:^0.1.1" - minimist: "npm:^1.2.0" - through: "npm:^2.3.4" - bin: - sl-log-transformer: bin/sl-log-transformer.js - checksum: 10c0/3c3b8aa8f34d661910563ff996412e2f527fc814e699a376854b554d4a4294ab7e285b4e2c08a080a7b19c5600a9b93a98798d3ac600fe3de545ca6605c07829 - languageName: node - linkType: hard - "stubs@npm:^3.0.0": version: 3.0.0 resolution: "stubs@npm:3.0.0" @@ -13836,7 +13782,7 @@ __metadata: languageName: node linkType: hard -"through@npm:>=2.2.7 <3, through@npm:^2.3.4, through@npm:^2.3.8": +"through@npm:>=2.2.7 <3, through@npm:^2.3.8": version: 2.3.8 resolution: "through@npm:2.3.8" checksum: 10c0/4b09f3774099de0d4df26d95c5821a62faee32c7e96fb1f4ebd54a2d7c11c57fe88b0a0d49cf375de5fee5ae6bf4eb56dbbf29d07366864e2ee805349970d3cc From 307102f86656200674948be53f3d7d5def1c458f Mon Sep 17 00:00:00 2001 From: JamesHenry Date: Wed, 4 Dec 2024 15:46:50 +0400 Subject: [PATCH 23/32] chore: re-enable daemon --- code/.env | 3 +-- code/nx.json | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/.env b/code/.env index c72d77796abc..11ed57e43222 100644 --- a/code/.env +++ b/code/.env @@ -1,5 +1,4 @@ # Nx 18 enables using plugins to infer targets by default # This is disabled for existing workspaces to maintain compatibility # For more info, see: https://nx.dev/concepts/inferred-tasks -NX_ADD_PLUGINS=false -NX_DAEMON=false \ No newline at end of file +NX_ADD_PLUGINS=false \ No newline at end of file diff --git a/code/nx.json b/code/nx.json index d8454bccc034..688fc38b5dd6 100644 --- a/code/nx.json +++ b/code/nx.json @@ -1,5 +1,6 @@ { "$schema": "./node_modules/nx/schemas/nx-schema.json", + "extends": "nx/presets/npm.json", "nxCloudAccessToken": "NGVmYTkxMmItYzY3OS00MjkxLTk1ZDktZDFmYTFmNmVlNGY4fHJlYWQ=", "defaultBase": "next", "parallel": 8, From 3b9f33ef331efd8dc04d876b0ea0dc54aab5ec37 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Wed, 4 Dec 2024 12:55:22 +0100 Subject: [PATCH 24/32] Apply suggestions from code review --- code/addons/test/src/postinstall.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/addons/test/src/postinstall.ts b/code/addons/test/src/postinstall.ts index 38beabc9e060..3ea45bd01bf7 100644 --- a/code/addons/test/src/postinstall.ts +++ b/code/addons/test/src/postinstall.ts @@ -353,7 +353,7 @@ export default async function postInstall(options: PostinstallOptions) { { extends: '${viteConfigFile ? relative(dirname(browserWorkspaceFile), viteConfigFile) : ''}', plugins: [ - // The plugin will run tests in the stories defined in your Storybook config + // The plugin will run tests for the stories defined in your Storybook config // See options at: https://storybook.js.org/docs/writing-tests/vitest-plugin#storybooktest storybookTest({ configDir: '${options.configDir}' }),${vitestInfo.frameworkPluginDocs + vitestInfo.frameworkPluginCall} ], @@ -390,7 +390,7 @@ export default async function postInstall(options: PostinstallOptions) { // More info at: https://storybook.js.org/docs/writing-tests/vitest-plugin export default defineConfig({ plugins: [ - // The plugin will run tests in the stories defined in your Storybook config + // The plugin will run tests for the stories defined in your Storybook config // See options at: https://storybook.js.org/docs/writing-tests/vitest-plugin#storybooktest storybookTest({ configDir: '${options.configDir}' }),${vitestInfo.frameworkPluginDocs + vitestInfo.frameworkPluginCall} ], From 476905d7744fb18493f7bf06863c4068e2b1d5ab Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Wed, 4 Dec 2024 13:13:57 +0100 Subject: [PATCH 25/32] Remove nx from script --- scripts/.gitignore | 2 -- scripts/nx.json | 5 ----- scripts/package.json | 2 -- 3 files changed, 9 deletions(-) delete mode 100644 scripts/.gitignore delete mode 100644 scripts/nx.json diff --git a/scripts/.gitignore b/scripts/.gitignore deleted file mode 100644 index 548bd0679402..000000000000 --- a/scripts/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -.nx/cache -.nx/workspace-data diff --git a/scripts/nx.json b/scripts/nx.json deleted file mode 100644 index c0844e456578..000000000000 --- a/scripts/nx.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "./node_modules/nx/schemas/nx-schema.json", - "defaultBase": "next", - "parallel": 8 -} diff --git a/scripts/package.json b/scripts/package.json index 9a17a87e6610..fb606853ccb5 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -62,7 +62,6 @@ "@actions/core": "^1.10.1", "@fal-works/esbuild-plugin-global-externals": "^2.1.2", "@google-cloud/bigquery": "^6.2.0", - "@nx/workspace": "20.1.4", "@octokit/graphql": "^5.0.5", "@octokit/request": "^8.1.2", "@polka/parse": "^1.0.0-next.28", @@ -140,7 +139,6 @@ "memoizerific": "^1.11.3", "minimatch": "^10.0.1", "node-gyp": "^9.3.1", - "nx": "20.1.4", "ora": "^5.4.1", "p-limit": "^3.1.0", "p-retry": "^5.1.2", From 9716985ef2e841d11e57689b64dc2c1794abc18f Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Wed, 4 Dec 2024 13:15:40 +0100 Subject: [PATCH 26/32] yarn.lock --- scripts/yarn.lock | 464 ++-------------------------------------------- 1 file changed, 13 insertions(+), 451 deletions(-) diff --git a/scripts/yarn.lock b/scripts/yarn.lock index 936298d00a9b..1ad241091ccc 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -263,34 +263,6 @@ __metadata: languageName: node linkType: hard -"@emnapi/core@npm:^1.1.0": - version: 1.3.1 - resolution: "@emnapi/core@npm:1.3.1" - dependencies: - "@emnapi/wasi-threads": "npm:1.0.1" - tslib: "npm:^2.4.0" - checksum: 10c0/d3be1044ad704e2c486641bc18908523490f28c7d38bd12d9c1d4ce37d39dae6c4aecd2f2eaf44c6e3bd90eaf04e0591acc440b1b038cdf43cce078a355a0ea0 - languageName: node - linkType: hard - -"@emnapi/runtime@npm:^1.1.0": - version: 1.3.1 - resolution: "@emnapi/runtime@npm:1.3.1" - dependencies: - tslib: "npm:^2.4.0" - checksum: 10c0/060ffede50f1b619c15083312b80a9e62a5b0c87aa8c1b54854c49766c9d69f8d1d3d87bd963a647071263a320db41b25eaa50b74d6a80dcc763c23dbeaafd6c - languageName: node - linkType: hard - -"@emnapi/wasi-threads@npm:1.0.1": - version: 1.0.1 - resolution: "@emnapi/wasi-threads@npm:1.0.1" - dependencies: - tslib: "npm:^2.4.0" - checksum: 10c0/1e0c8036b8d53e9b07cc9acf021705ef6c86ab6b13e1acda7fffaf541a2d3565072afb92597419173ced9ea14f6bf32fce149106e669b5902b825e8b499e5c6c - languageName: node - linkType: hard - "@esbuild/aix-ppc64@npm:0.24.0": version: 0.24.0 resolution: "@esbuild/aix-ppc64@npm:0.24.0" @@ -786,17 +758,6 @@ __metadata: languageName: node linkType: hard -"@napi-rs/wasm-runtime@npm:0.2.4": - version: 0.2.4 - resolution: "@napi-rs/wasm-runtime@npm:0.2.4" - dependencies: - "@emnapi/core": "npm:^1.1.0" - "@emnapi/runtime": "npm:^1.1.0" - "@tybys/wasm-util": "npm:^0.9.0" - checksum: 10c0/1040de49b2ef509db207e2517465dbf7fb3474f20e8ec32897672a962ff4f59872385666dac61dc9dbeae3cae5dad265d8dc3865da756adeb07d1634c67b03a1 - languageName: node - linkType: hard - "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -901,108 +862,6 @@ __metadata: languageName: node linkType: hard -"@nx/devkit@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/devkit@npm:20.1.4" - dependencies: - ejs: "npm:^3.1.7" - enquirer: "npm:~2.3.6" - ignore: "npm:^5.0.4" - minimatch: "npm:9.0.3" - semver: "npm:^7.5.3" - tmp: "npm:~0.2.1" - tslib: "npm:^2.3.0" - yargs-parser: "npm:21.1.1" - peerDependencies: - nx: ">= 19 <= 21" - checksum: 10c0/e8ae35e9b421cf558b35b792fcff1f769438be45808c2d4e1317e6c56779b773d2d05c3234e2431c258670b1880b5b4fbe22ac472ff639320df0b5bcf3b2ee95 - languageName: node - linkType: hard - -"@nx/nx-darwin-arm64@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-darwin-arm64@npm:20.1.4" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - -"@nx/nx-darwin-x64@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-darwin-x64@npm:20.1.4" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - -"@nx/nx-freebsd-x64@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-freebsd-x64@npm:20.1.4" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"@nx/nx-linux-arm-gnueabihf@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:20.1.4" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - -"@nx/nx-linux-arm64-gnu@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-linux-arm64-gnu@npm:20.1.4" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - -"@nx/nx-linux-arm64-musl@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-linux-arm64-musl@npm:20.1.4" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - -"@nx/nx-linux-x64-gnu@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-linux-x64-gnu@npm:20.1.4" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - -"@nx/nx-linux-x64-musl@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-linux-x64-musl@npm:20.1.4" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - -"@nx/nx-win32-arm64-msvc@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-win32-arm64-msvc@npm:20.1.4" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"@nx/nx-win32-x64-msvc@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-win32-x64-msvc@npm:20.1.4" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"@nx/workspace@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/workspace@npm:20.1.4" - dependencies: - "@nx/devkit": "npm:20.1.4" - chalk: "npm:^4.1.0" - enquirer: "npm:~2.3.6" - nx: "npm:20.1.4" - tslib: "npm:^2.3.0" - yargs-parser: "npm:21.1.1" - checksum: 10c0/ad0bd040f87fce8bc7e01bc5122c8d52698743cbb5652cac423f54b64aedc7fe48ba090d8030dd9f4b205cd20f3e6a393936a395ab39247bd8c6b7ae0ac1692e - languageName: node - linkType: hard - "@octokit/auth-token@npm:^2.4.0, @octokit/auth-token@npm:^2.4.4": version: 2.5.0 resolution: "@octokit/auth-token@npm:2.5.0" @@ -1553,7 +1412,6 @@ __metadata: "@actions/core": "npm:^1.10.1" "@fal-works/esbuild-plugin-global-externals": "npm:^2.1.2" "@google-cloud/bigquery": "npm:^6.2.0" - "@nx/workspace": "npm:20.1.4" "@octokit/graphql": "npm:^5.0.5" "@octokit/request": "npm:^8.1.2" "@polka/parse": "npm:^1.0.0-next.28" @@ -1633,7 +1491,6 @@ __metadata: memoizerific: "npm:^1.11.3" minimatch: "npm:^10.0.1" node-gyp: "npm:^9.3.1" - nx: "npm:20.1.4" ora: "npm:^5.4.1" p-limit: "npm:^3.1.0" p-retry: "npm:^5.1.2" @@ -1794,15 +1651,6 @@ __metadata: languageName: node linkType: hard -"@tybys/wasm-util@npm:^0.9.0": - version: 0.9.0 - resolution: "@tybys/wasm-util@npm:0.9.0" - dependencies: - tslib: "npm:^2.4.0" - checksum: 10c0/f9fde5c554455019f33af6c8215f1a1435028803dc2a2825b077d812bed4209a1a64444a4ca0ce2ea7e1175c8d88e2f9173a36a33c199e8a5c671aa31de8242d - languageName: node - linkType: hard - "@types/aria-query@npm:^5.0.1": version: 5.0.3 resolution: "@types/aria-query@npm:5.0.3" @@ -2914,34 +2762,6 @@ __metadata: languageName: node linkType: hard -"@yarnpkg/lockfile@npm:^1.1.0": - version: 1.1.0 - resolution: "@yarnpkg/lockfile@npm:1.1.0" - checksum: 10c0/0bfa50a3d756623d1f3409bc23f225a1d069424dbc77c6fd2f14fb377390cd57ec703dc70286e081c564be9051ead9ba85d81d66a3e68eeb6eb506d4e0c0fbda - languageName: node - linkType: hard - -"@yarnpkg/parsers@npm:3.0.2": - version: 3.0.2 - resolution: "@yarnpkg/parsers@npm:3.0.2" - dependencies: - js-yaml: "npm:^3.10.0" - tslib: "npm:^2.4.0" - checksum: 10c0/a0c340e13129643162423d7e666061c0b39b143bfad3fc5a74c7d92a30fd740f6665d41cd4e61832c20375889d793eea1d1d103cacb39ed68f7acd168add8c53 - languageName: node - linkType: hard - -"@zkochan/js-yaml@npm:0.0.7": - version: 0.0.7 - resolution: "@zkochan/js-yaml@npm:0.0.7" - dependencies: - argparse: "npm:^2.0.1" - bin: - js-yaml: bin/js-yaml.js - checksum: 10c0/c8b3525717912811f9422ed50e94c5751ed6f771eb1b7e5cde097f14835654931e2bdaecb1e5fc37b51cf8d822410a307f16dd1581d46149398c30215f3f9bac - languageName: node - linkType: hard - "JSONStream@npm:1.3.5": version: 1.3.5 resolution: "JSONStream@npm:1.3.5" @@ -3100,13 +2920,6 @@ __metadata: languageName: node linkType: hard -"ansi-colors@npm:^4.1.1": - version: 4.1.3 - resolution: "ansi-colors@npm:4.1.3" - checksum: 10c0/ec87a2f59902f74e61eada7f6e6fe20094a628dab765cfdbd03c3477599368768cffccdb5d3bb19a1b6c99126783a143b1fee31aab729b31ffe5836c7e5e28b9 - languageName: node - linkType: hard - "ansi-escapes@npm:^6.2.0": version: 6.2.1 resolution: "ansi-escapes@npm:6.2.1" @@ -3512,17 +3325,6 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.7.4": - version: 1.7.9 - resolution: "axios@npm:1.7.9" - dependencies: - follow-redirects: "npm:^1.15.6" - form-data: "npm:^4.0.0" - proxy-from-env: "npm:^1.1.0" - checksum: 10c0/b7a41e24b59fee5f0f26c1fc844b45b17442832eb3a0fb42dd4f1430eb4abc571fe168e67913e8a1d91c993232bd1d1ab03e20e4d1fee8c6147649b576fc1b0b - languageName: node - linkType: hard - "axobject-query@npm:^3.2.1": version: 3.2.1 resolution: "axobject-query@npm:3.2.1" @@ -3652,7 +3454,7 @@ __metadata: languageName: node linkType: hard -"bl@npm:^4.0.3, bl@npm:^4.1.0": +"bl@npm:^4.1.0": version: 4.1.0 resolution: "bl@npm:4.1.0" dependencies: @@ -4063,7 +3865,7 @@ __metadata: languageName: node linkType: hard -"cli-cursor@npm:3.1.0, cli-cursor@npm:^3.1.0": +"cli-cursor@npm:^3.1.0": version: 3.1.0 resolution: "cli-cursor@npm:3.1.0" dependencies: @@ -4081,13 +3883,6 @@ __metadata: languageName: node linkType: hard -"cli-spinners@npm:2.6.1": - version: 2.6.1 - resolution: "cli-spinners@npm:2.6.1" - checksum: 10c0/6abcdfef59aa68e6b51376d87d257f9120a0a7120a39dd21633702d24797decb6dc747dff2217c88732710db892b5053c5c672d221b6c4d13bbcb5372e203596 - languageName: node - linkType: hard - "cli-spinners@npm:^2.5.0": version: 2.9.1 resolution: "cli-spinners@npm:2.9.1" @@ -4737,13 +4532,6 @@ __metadata: languageName: node linkType: hard -"define-lazy-prop@npm:^2.0.0": - version: 2.0.0 - resolution: "define-lazy-prop@npm:2.0.0" - checksum: 10c0/db6c63864a9d3b7dc9def55d52764968a5af296de87c1b2cc71d8be8142e445208071953649e0386a8cc37cfcf9a2067a47207f1eb9ff250c2a269658fdae422 - languageName: node - linkType: hard - "define-properties@npm:^1.1.3, define-properties@npm:^1.2.0, define-properties@npm:^1.2.1": version: 1.2.1 resolution: "define-properties@npm:1.2.1" @@ -4989,22 +4777,6 @@ __metadata: languageName: node linkType: hard -"dotenv-expand@npm:~11.0.6": - version: 11.0.7 - resolution: "dotenv-expand@npm:11.0.7" - dependencies: - dotenv: "npm:^16.4.5" - checksum: 10c0/d80b8a7be085edf351270b96ac0e794bc3ddd7f36157912939577cb4d33ba6492ebee349d59798b71b90e36f498d24a2a564fb4aa00073b2ef4c2a3a49c467b1 - languageName: node - linkType: hard - -"dotenv@npm:^16.4.5, dotenv@npm:~16.4.5": - version: 16.4.7 - resolution: "dotenv@npm:16.4.7" - checksum: 10c0/be9f597e36a8daf834452daa1f4cc30e5375a5968f98f46d89b16b983c567398a330580c88395069a77473943c06b877d1ca25b4afafcdd6d4adb549e8293462 - languageName: node - linkType: hard - "duplexify@npm:^3.5.0, duplexify@npm:^3.6.0": version: 3.7.1 resolution: "duplexify@npm:3.7.1" @@ -5111,7 +4883,7 @@ __metadata: languageName: node linkType: hard -"ejs@npm:^3.1.10, ejs@npm:^3.1.7": +"ejs@npm:^3.1.10": version: 3.1.10 resolution: "ejs@npm:3.1.10" dependencies: @@ -5178,15 +4950,6 @@ __metadata: languageName: node linkType: hard -"enquirer@npm:~2.3.6": - version: 2.3.6 - resolution: "enquirer@npm:2.3.6" - dependencies: - ansi-colors: "npm:^4.1.1" - checksum: 10c0/8e070e052c2c64326a2803db9084d21c8aaa8c688327f133bf65c4a712586beb126fd98c8a01cfb0433e82a4bd3b6262705c55a63e0f7fb91d06b9cedbde9a11 - languageName: node - linkType: hard - "ent@npm:^2.2.0": version: 2.2.0 resolution: "ent@npm:2.2.0" @@ -6281,15 +6044,6 @@ __metadata: languageName: node linkType: hard -"figures@npm:3.2.0": - version: 3.2.0 - resolution: "figures@npm:3.2.0" - dependencies: - escape-string-regexp: "npm:^1.0.5" - checksum: 10c0/9c421646ede432829a50bc4e55c7a4eb4bcb7cc07b5bab2f471ef1ab9a344595bbebb6c5c21470093fbb730cd81bbca119624c40473a125293f656f49cb47629 - languageName: node - linkType: hard - "file-entry-cache@npm:^6.0.1": version: 6.0.1 resolution: "file-entry-cache@npm:6.0.1" @@ -6393,15 +6147,6 @@ __metadata: languageName: node linkType: hard -"flat@npm:^5.0.2": - version: 5.0.2 - resolution: "flat@npm:5.0.2" - bin: - flat: cli.js - checksum: 10c0/f178b13482f0cd80c7fede05f4d10585b1f2fdebf26e12edc138e32d3150c6ea6482b7f12813a1091143bad52bb6d3596bca51a162257a21163c0ff438baa5fe - languageName: node - linkType: hard - "flatted@npm:^3.2.9": version: 3.2.9 resolution: "flatted@npm:3.2.9" @@ -6481,15 +6226,6 @@ __metadata: languageName: node linkType: hard -"front-matter@npm:^4.0.2": - version: 4.0.2 - resolution: "front-matter@npm:4.0.2" - dependencies: - js-yaml: "npm:^3.13.1" - checksum: 10c0/7a0df5ca37428dd563c057bc17a8940481fe53876609bcdc443a02ce463c70f1842c7cb4628b80916de46a253732794b36fb6a31105db0f185698a93acee4011 - languageName: node - linkType: hard - "fs-constants@npm:^1.0.0": version: 1.0.0 resolution: "fs-constants@npm:1.0.0" @@ -7442,7 +7178,7 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.0.0, ignore@npm:^5.0.4, ignore@npm:^5.0.5, ignore@npm:^5.1.1, ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1": +"ignore@npm:^5.0.0, ignore@npm:^5.0.5, ignore@npm:^5.1.1, ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1": version: 5.3.1 resolution: "ignore@npm:5.3.1" checksum: 10c0/703f7f45ffb2a27fb2c5a8db0c32e7dee66b33a225d28e8db4e1be6474795f606686a6e3bcc50e1aa12f2042db4c9d4a7d60af3250511de74620fbed052ea4cd @@ -7721,15 +7457,6 @@ __metadata: languageName: node linkType: hard -"is-docker@npm:^2.0.0, is-docker@npm:^2.1.1": - version: 2.2.1 - resolution: "is-docker@npm:2.2.1" - bin: - is-docker: cli.js - checksum: 10c0/e828365958d155f90c409cdbe958f64051d99e8aedc2c8c4cd7c89dcf35329daed42f7b99346f7828df013e27deb8f721cf9408ba878c76eb9e8290235fbcdcc - languageName: node - linkType: hard - "is-empty@npm:^1.0.0": version: 1.2.0 resolution: "is-empty@npm:1.2.0" @@ -8024,15 +7751,6 @@ __metadata: languageName: node linkType: hard -"is-wsl@npm:^2.2.0": - version: 2.2.0 - resolution: "is-wsl@npm:2.2.0" - dependencies: - is-docker: "npm:^2.0.0" - checksum: 10c0/a6fa2d370d21be487c0165c7a440d567274fbba1a817f2f0bfa41cc5e3af25041d84267baa22df66696956038a43973e72fca117918c91431920bdef490fa25e - languageName: node - linkType: hard - "is@npm:^3.3.0": version: 3.3.0 resolution: "is@npm:3.3.0" @@ -8161,7 +7879,7 @@ __metadata: languageName: node linkType: hard -"jest-diff@npm:^29.4.1, jest-diff@npm:^29.7.0": +"jest-diff@npm:^29.7.0": version: 29.7.0 resolution: "jest-diff@npm:29.7.0" dependencies: @@ -8266,7 +7984,7 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:3.14.1, js-yaml@npm:^3.10.0, js-yaml@npm:^3.13.1": +"js-yaml@npm:3.14.1": version: 3.14.1 resolution: "js-yaml@npm:3.14.1" dependencies: @@ -8381,7 +8099,7 @@ __metadata: languageName: node linkType: hard -"json5@npm:^2.0.0, json5@npm:^2.2.2, json5@npm:^2.2.3": +"json5@npm:^2.0.0, json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" bin: @@ -8390,7 +8108,7 @@ __metadata: languageName: node linkType: hard -"jsonc-parser@npm:3.2.0, jsonc-parser@npm:^3.0.0": +"jsonc-parser@npm:^3.0.0": version: 3.2.0 resolution: "jsonc-parser@npm:3.2.0" checksum: 10c0/5a12d4d04dad381852476872a29dcee03a57439574e4181d91dca71904fcdcc5e8e4706c0a68a2c61ad9810e1e1c5806b5100d52d3e727b78f5cdc595401045b @@ -8626,13 +8344,6 @@ __metadata: languageName: node linkType: hard -"lines-and-columns@npm:2.0.3": - version: 2.0.3 - resolution: "lines-and-columns@npm:2.0.3" - checksum: 10c0/09525c10010a925b7efe858f1dd3184eeac34f0a9bc34993075ec490efad71e948147746b18e9540279cc87cd44085b038f986903db3de65ffe96d38a7b91c4c - languageName: node - linkType: hard - "lines-and-columns@npm:^1.1.6": version: 1.2.4 resolution: "lines-and-columns@npm:1.2.4" @@ -8837,7 +8548,7 @@ __metadata: languageName: node linkType: hard -"log-symbols@npm:^4.0.0, log-symbols@npm:^4.1.0": +"log-symbols@npm:^4.1.0": version: 4.1.0 resolution: "log-symbols@npm:4.1.0" dependencies: @@ -10226,13 +9937,6 @@ __metadata: languageName: node linkType: hard -"node-machine-id@npm:1.1.12": - version: 1.1.12 - resolution: "node-machine-id@npm:1.1.12" - checksum: 10c0/ab2fea5f75a6f1ce3c76c5e0ae3903b631230e0a99b003d176568fff8ddbdf7b2943be96cd8d220c497ca0f6149411831f8a450601929f326781cb1b59bab7f8 - languageName: node - linkType: hard - "nopt@npm:^6.0.0": version: 6.0.0 resolution: "nopt@npm:6.0.0" @@ -10329,88 +10033,6 @@ __metadata: languageName: node linkType: hard -"nx@npm:20.1.4": - version: 20.1.4 - resolution: "nx@npm:20.1.4" - dependencies: - "@napi-rs/wasm-runtime": "npm:0.2.4" - "@nx/nx-darwin-arm64": "npm:20.1.4" - "@nx/nx-darwin-x64": "npm:20.1.4" - "@nx/nx-freebsd-x64": "npm:20.1.4" - "@nx/nx-linux-arm-gnueabihf": "npm:20.1.4" - "@nx/nx-linux-arm64-gnu": "npm:20.1.4" - "@nx/nx-linux-arm64-musl": "npm:20.1.4" - "@nx/nx-linux-x64-gnu": "npm:20.1.4" - "@nx/nx-linux-x64-musl": "npm:20.1.4" - "@nx/nx-win32-arm64-msvc": "npm:20.1.4" - "@nx/nx-win32-x64-msvc": "npm:20.1.4" - "@yarnpkg/lockfile": "npm:^1.1.0" - "@yarnpkg/parsers": "npm:3.0.2" - "@zkochan/js-yaml": "npm:0.0.7" - axios: "npm:^1.7.4" - chalk: "npm:^4.1.0" - cli-cursor: "npm:3.1.0" - cli-spinners: "npm:2.6.1" - cliui: "npm:^8.0.1" - dotenv: "npm:~16.4.5" - dotenv-expand: "npm:~11.0.6" - enquirer: "npm:~2.3.6" - figures: "npm:3.2.0" - flat: "npm:^5.0.2" - front-matter: "npm:^4.0.2" - ignore: "npm:^5.0.4" - jest-diff: "npm:^29.4.1" - jsonc-parser: "npm:3.2.0" - lines-and-columns: "npm:2.0.3" - minimatch: "npm:9.0.3" - node-machine-id: "npm:1.1.12" - npm-run-path: "npm:^4.0.1" - open: "npm:^8.4.0" - ora: "npm:5.3.0" - semver: "npm:^7.5.3" - string-width: "npm:^4.2.3" - tar-stream: "npm:~2.2.0" - tmp: "npm:~0.2.1" - tsconfig-paths: "npm:^4.1.2" - tslib: "npm:^2.3.0" - yargs: "npm:^17.6.2" - yargs-parser: "npm:21.1.1" - peerDependencies: - "@swc-node/register": ^1.8.0 - "@swc/core": ^1.3.85 - dependenciesMeta: - "@nx/nx-darwin-arm64": - optional: true - "@nx/nx-darwin-x64": - optional: true - "@nx/nx-freebsd-x64": - optional: true - "@nx/nx-linux-arm-gnueabihf": - optional: true - "@nx/nx-linux-arm64-gnu": - optional: true - "@nx/nx-linux-arm64-musl": - optional: true - "@nx/nx-linux-x64-gnu": - optional: true - "@nx/nx-linux-x64-musl": - optional: true - "@nx/nx-win32-arm64-msvc": - optional: true - "@nx/nx-win32-x64-msvc": - optional: true - peerDependenciesMeta: - "@swc-node/register": - optional: true - "@swc/core": - optional: true - bin: - nx: bin/nx.js - nx-cloud: bin/nx-cloud.js - checksum: 10c0/a9407ea70ecf9b2f465c94552124ef01d90828025540fa5733e1d3d35e6adab41adfe0c0545ebed37b0e7059e4dfee972351949fd9b643adb13e6daba4dd0214 - languageName: node - linkType: hard - "object-assign@npm:^4, object-assign@npm:^4.0.1, object-assign@npm:^4.1.1": version: 4.1.1 resolution: "object-assign@npm:4.1.1" @@ -10558,17 +10180,6 @@ __metadata: languageName: node linkType: hard -"open@npm:^8.4.0": - version: 8.4.2 - resolution: "open@npm:8.4.2" - dependencies: - define-lazy-prop: "npm:^2.0.0" - is-docker: "npm:^2.1.1" - is-wsl: "npm:^2.2.0" - checksum: 10c0/bb6b3a58401dacdb0aad14360626faf3fb7fba4b77816b373495988b724fb48941cad80c1b65d62bb31a17609b2cd91c41a181602caea597ca80dfbcc27e84c9 - languageName: node - linkType: hard - "opencollective-postinstall@npm:^2.0.2": version: 2.0.3 resolution: "opencollective-postinstall@npm:2.0.3" @@ -10601,22 +10212,6 @@ __metadata: languageName: node linkType: hard -"ora@npm:5.3.0": - version: 5.3.0 - resolution: "ora@npm:5.3.0" - dependencies: - bl: "npm:^4.0.3" - chalk: "npm:^4.1.0" - cli-cursor: "npm:^3.1.0" - cli-spinners: "npm:^2.5.0" - is-interactive: "npm:^1.0.0" - log-symbols: "npm:^4.0.0" - strip-ansi: "npm:^6.0.0" - wcwidth: "npm:^1.0.1" - checksum: 10c0/30d5f3218eb75b0a2028c5fb9aa88e83e38a2f1745ab56839abb06c3ba31bae35f768f4e72c4f9e04e2a66be6a898e9312e8cf85c9333e1e3613eabb8c7cdf57 - languageName: node - linkType: hard - "ora@npm:^5.4.1": version: 5.4.1 resolution: "ora@npm:5.4.1" @@ -12525,7 +12120,7 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": +"rimraf@npm:^3.0.2": version: 3.0.2 resolution: "rimraf@npm:3.0.2" dependencies: @@ -13656,19 +13251,6 @@ __metadata: languageName: node linkType: hard -"tar-stream@npm:~2.2.0": - version: 2.2.0 - resolution: "tar-stream@npm:2.2.0" - dependencies: - bl: "npm:^4.0.3" - end-of-stream: "npm:^1.4.1" - fs-constants: "npm:^1.0.0" - inherits: "npm:^2.0.3" - readable-stream: "npm:^3.1.1" - checksum: 10c0/2f4c910b3ee7196502e1ff015a7ba321ec6ea837667220d7bcb8d0852d51cb04b87f7ae471008a6fb8f5b1a1b5078f62f3a82d30c706f20ada1238ac797e7692 - languageName: node - linkType: hard - "tar@npm:^6.1.11, tar@npm:^6.1.2": version: 6.2.0 resolution: "tar@npm:6.2.0" @@ -13831,15 +13413,6 @@ __metadata: languageName: node linkType: hard -"tmp@npm:~0.2.1": - version: 0.2.1 - resolution: "tmp@npm:0.2.1" - dependencies: - rimraf: "npm:^3.0.0" - checksum: 10c0/67607aa012059c9ce697bee820ee51bc0f39b29a8766def4f92d3f764d67c7cf9205d537d24e0cb1ce9685c40d4c628ead010910118ea18348666b5c46ed9123 - languageName: node - linkType: hard - "to-buffer@npm:^1.1.1": version: 1.1.1 resolution: "to-buffer@npm:1.1.1" @@ -13988,17 +13561,6 @@ __metadata: languageName: node linkType: hard -"tsconfig-paths@npm:^4.1.2": - version: 4.2.0 - resolution: "tsconfig-paths@npm:4.2.0" - dependencies: - json5: "npm:^2.2.2" - minimist: "npm:^1.2.6" - strip-bom: "npm:^3.0.0" - checksum: 10c0/09a5877402d082bb1134930c10249edeebc0211f36150c35e1c542e5b91f1047b1ccf7da1e59babca1ef1f014c525510f4f870de7c9bda470c73bb4e2721b3ea - languageName: node - linkType: hard - "tslib@npm:^1.8.1": version: 1.14.1 resolution: "tslib@npm:1.14.1" @@ -14006,7 +13568,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.0.1, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.4.0, tslib@npm:^2.6.2": +"tslib@npm:^2.0.1, tslib@npm:^2.1.0, tslib@npm:^2.6.2": version: 2.6.2 resolution: "tslib@npm:2.6.2" checksum: 10c0/e03a8a4271152c8b26604ed45535954c0a45296e32445b4b87f8a5abdb2421f40b59b4ca437c4346af0f28179780d604094eb64546bee2019d903d01c6c19bdb @@ -15405,14 +14967,14 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:21.1.1, yargs-parser@npm:^21.1.1": +"yargs-parser@npm:^21.1.1": version: 21.1.1 resolution: "yargs-parser@npm:21.1.1" checksum: 10c0/f84b5e48169479d2f402239c59f084cfd1c3acc197a05c59b98bab067452e6b3ea46d4dd8ba2985ba7b3d32a343d77df0debd6b343e5dae3da2aab2cdf5886b2 languageName: node linkType: hard -"yargs@npm:^17.0.0, yargs@npm:^17.6.2": +"yargs@npm:^17.0.0": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: From e6824cf2b914c0d4fe85bf478b4d4bc6d4dcdd7c Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Wed, 4 Dec 2024 13:30:01 +0100 Subject: [PATCH 27/32] Use yarn nx over nx --- scripts/tasks/compile.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tasks/compile.ts b/scripts/tasks/compile.ts index bb0bf918812a..e2987b6f0001 100644 --- a/scripts/tasks/compile.ts +++ b/scripts/tasks/compile.ts @@ -12,8 +12,8 @@ const amountOfVCPUs = 4; const parallel = `--parallel=${process.env.CI ? amountOfVCPUs - 1 : maxConcurrentTasks}`; const linkedContents = `export * from '../../src/manager-api/index.ts';`; -const linkCommand = `nx run-many -t build ${parallel}`; -const noLinkCommand = `nx run-many -t build -c production ${parallel}`; +const linkCommand = `yarn nx run-many -t build ${parallel}`; +const noLinkCommand = `yarn nx run-many -t build -c production ${parallel}`; export const compile: Task = { description: 'Compile the source code of the monorepo', From d6b4e7b6dea2b70e452bbca2501c95956f55be0c Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Wed, 4 Dec 2024 13:44:07 +0100 Subject: [PATCH 28/32] Use yarn nx over nx --- scripts/tasks/check.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tasks/check.ts b/scripts/tasks/check.ts index 1f5928c48147..4089728b580a 100644 --- a/scripts/tasks/check.ts +++ b/scripts/tasks/check.ts @@ -7,8 +7,8 @@ const amountOfVCPUs = 8; const parallel = `--parallel=${process.env.CI ? amountOfVCPUs - 1 : maxConcurrentTasks}`; -const linkCommand = `nx affected -t check ${parallel}`; -const nolinkCommand = `nx affected -t check -c production ${parallel}`; +const linkCommand = `yarn nx affected -t check ${parallel}`; +const nolinkCommand = `yarn nx affected -t check -c production ${parallel}`; export const check: Task = { description: 'Typecheck the source code of the monorepo', From 53c66f963e894e665eddc3798a98f63db7746281 Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Wed, 4 Dec 2024 14:37:33 +0100 Subject: [PATCH 29/32] Use npx nx over nx --- scripts/tasks/check.ts | 4 ++-- scripts/tasks/compile.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/tasks/check.ts b/scripts/tasks/check.ts index 4089728b580a..a3f4edf31f2b 100644 --- a/scripts/tasks/check.ts +++ b/scripts/tasks/check.ts @@ -7,8 +7,8 @@ const amountOfVCPUs = 8; const parallel = `--parallel=${process.env.CI ? amountOfVCPUs - 1 : maxConcurrentTasks}`; -const linkCommand = `yarn nx affected -t check ${parallel}`; -const nolinkCommand = `yarn nx affected -t check -c production ${parallel}`; +const linkCommand = `npx nx affected -t check ${parallel}`; +const nolinkCommand = `npx nx affected -t check -c production ${parallel}`; export const check: Task = { description: 'Typecheck the source code of the monorepo', diff --git a/scripts/tasks/compile.ts b/scripts/tasks/compile.ts index e2987b6f0001..dc8bfb7f3f6c 100644 --- a/scripts/tasks/compile.ts +++ b/scripts/tasks/compile.ts @@ -12,8 +12,8 @@ const amountOfVCPUs = 4; const parallel = `--parallel=${process.env.CI ? amountOfVCPUs - 1 : maxConcurrentTasks}`; const linkedContents = `export * from '../../src/manager-api/index.ts';`; -const linkCommand = `yarn nx run-many -t build ${parallel}`; -const noLinkCommand = `yarn nx run-many -t build -c production ${parallel}`; +const linkCommand = `npx nx run-many -t build ${parallel}`; +const noLinkCommand = `npx nx run-many -t build -c production ${parallel}`; export const compile: Task = { description: 'Compile the source code of the monorepo', From 099c3f6e10793df24fa5931315b87114e88708f9 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Thu, 5 Dec 2024 09:09:03 +0100 Subject: [PATCH 30/32] Replace glob with tinyglobby --- code/addons/test/package.json | 2 +- code/addons/test/src/vitest-plugin/index.ts | 9 ++------- code/yarn.lock | 21 +++++++++++++++++++-- 3 files changed, 22 insertions(+), 10 deletions(-) diff --git a/code/addons/test/package.json b/code/addons/test/package.json index 4adcf51977b9..29d77a92968c 100644 --- a/code/addons/test/package.json +++ b/code/addons/test/package.json @@ -103,7 +103,6 @@ "execa": "^8.0.1", "find-up": "^7.0.0", "formik": "^2.2.9", - "glob": "^10.0.0", "istanbul-lib-report": "^3.0.1", "pathe": "^1.1.2", "picocolors": "^1.1.0", @@ -112,6 +111,7 @@ "semver": "^7.6.3", "slash": "^5.0.0", "strip-ansi": "^7.1.0", + "tinyglobby": "^0.2.10", "ts-dedent": "^2.2.0", "typescript": "^5.3.2", "vitest": "^2.1.3" diff --git a/code/addons/test/src/vitest-plugin/index.ts b/code/addons/test/src/vitest-plugin/index.ts index 238cc798128a..111e53fd2a8f 100644 --- a/code/addons/test/src/vitest-plugin/index.ts +++ b/code/addons/test/src/vitest-plugin/index.ts @@ -12,9 +12,8 @@ import { readConfig, vitestTransform } from 'storybook/internal/csf-tools'; import { MainFileMissingError } from 'storybook/internal/server-errors'; import type { DocsOptions, StoriesEntry } from 'storybook/internal/types'; -// eslint-disable-next-line depend/ban-dependencies -import { escape } from 'glob'; import { join, resolve } from 'pathe'; +import { convertPathToPattern } from 'tinyglobby'; import type { InternalOptions, UserOptions } from './types'; @@ -121,11 +120,7 @@ export const storybookTest = (options?: UserOptions): Plugin => { config.test ??= {}; config.test.include ??= []; - config.test.include.push( - // Escape magic characters in paths because they shouldn't be treated as glob patterns - // Paths are resolved using `pathe` to convert Windows paths to POSIX paths first - ...storiesFiles.map((path) => escape(resolve(path))) - ); + config.test.include.push(...storiesFiles.map((path) => convertPathToPattern(path))); config.test.exclude ??= []; config.test.exclude.push('**/*.mdx'); diff --git a/code/yarn.lock b/code/yarn.lock index 1e1ae3d6d095..398c335d0bbc 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -6602,7 +6602,6 @@ __metadata: execa: "npm:^8.0.1" find-up: "npm:^7.0.0" formik: "npm:^2.2.9" - glob: "npm:^10.0.0" istanbul-lib-report: "npm:^3.0.1" pathe: "npm:^1.1.2" picocolors: "npm:^1.1.0" @@ -6613,6 +6612,7 @@ __metadata: semver: "npm:^7.6.3" slash: "npm:^5.0.0" strip-ansi: "npm:^7.1.0" + tinyglobby: "npm:^0.2.10" ts-dedent: "npm:^2.2.0" typescript: "npm:^5.3.2" vitest: "npm:^2.1.3" @@ -15875,7 +15875,7 @@ __metadata: languageName: node linkType: hard -"fdir@npm:^6.2.0": +"fdir@npm:^6.2.0, fdir@npm:^6.4.2": version: 6.4.2 resolution: "fdir@npm:6.4.2" peerDependencies: @@ -23340,6 +23340,13 @@ __metadata: 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 + "picoquery@npm:^1.4.0": version: 1.4.0 resolution: "picoquery@npm:1.4.0" @@ -27838,6 +27845,16 @@ __metadata: languageName: node linkType: hard +"tinyglobby@npm:^0.2.10": + version: 0.2.10 + resolution: "tinyglobby@npm:0.2.10" + dependencies: + fdir: "npm:^6.4.2" + picomatch: "npm:^4.0.2" + checksum: 10c0/ce946135d39b8c0e394e488ad59f4092e8c4ecd675ef1bcd4585c47de1b325e61ec6adfbfbe20c3c2bfa6fd674c5b06de2a2e65c433f752ae170aff11793e5ef + languageName: node + linkType: hard + "tinypool@npm:^1.0.0": version: 1.0.0 resolution: "tinypool@npm:1.0.0" From b713e8e0990e156b590741a9a5ee9e4d99a0a8e8 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Thu, 5 Dec 2024 11:04:12 +0100 Subject: [PATCH 31/32] Revert "Build: Migrate repo to Nx 20" --- .gitignore | 2 - code/.gitignore | 1 - code/.prettierignore | 2 - code/frameworks/angular/project.json | 6 +- code/migrations.json | 21 + code/nx.json | 9 +- code/package.json | 17 +- code/renderers/vue3/project.json | 6 +- code/yarn.lock | 741 +++++++++++---------------- scripts/.gitignore | 1 + scripts/package.json | 4 +- scripts/tasks/check.ts | 4 +- scripts/tasks/compile.ts | 4 +- scripts/yarn.lock | 452 +++++++++++++++- 14 files changed, 787 insertions(+), 483 deletions(-) delete mode 100644 code/.gitignore create mode 100644 code/migrations.json create mode 100644 scripts/.gitignore diff --git a/.gitignore b/.gitignore index fe790007a21e..0724b9827912 100644 --- a/.gitignore +++ b/.gitignore @@ -55,10 +55,8 @@ code/bench-results/ /packs code/.nx/cache -code/.nx/workspace-data code/.vite-inspect .nx/cache -.nx/workspace-data !**/fixtures/**/yarn.lock code/core/report diff --git a/code/.gitignore b/code/.gitignore deleted file mode 100644 index 9d3dd898a13d..000000000000 --- a/code/.gitignore +++ /dev/null @@ -1 +0,0 @@ -vite.config.*.timestamp* \ No newline at end of file diff --git a/code/.prettierignore b/code/.prettierignore index 1cc00895640d..0e000200275b 100644 --- a/code/.prettierignore +++ b/code/.prettierignore @@ -2,5 +2,3 @@ /.nx/cache core/report - -/.nx/workspace-data \ No newline at end of file diff --git a/code/frameworks/angular/project.json b/code/frameworks/angular/project.json index 8281c8a8742f..4c096a145ebc 100644 --- a/code/frameworks/angular/project.json +++ b/code/frameworks/angular/project.json @@ -5,7 +5,11 @@ "targets": { "build": {}, "check": { - "command": "echo '\"nx check angular\" can only run with the parameter \"-c production\", we need to expand code/storybook/storybook/scripts/prepare/check.ts'", + "executor": "nx:run-commands", + "options": { + "command": "echo '\"nx check angular\" can only run with the parameter \"-c production\"'", + "description": "We need to expand code/storybook/storybook/scripts/prepare/check.ts" + }, "configurations": { "production": { "cwd": "{projectRoot}", diff --git a/code/migrations.json b/code/migrations.json new file mode 100644 index 000000000000..7581c9bc77a7 --- /dev/null +++ b/code/migrations.json @@ -0,0 +1,21 @@ +{ + "migrations": [ + { + "cli": "nx", + "version": "17.3.0-beta.6", + "description": "Updates the nx wrapper.", + "implementation": "./src/migrations/update-17-3-0/update-nxw", + "package": "nx", + "name": "17.3.0-update-nx-wrapper" + }, + { + "cli": "nx", + "version": "18.0.0-beta.2", + "description": "Updates .env to disabled adding plugins when generating projects in an existing Nx workspace", + "implementation": "./src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces", + "x-repair-skip": true, + "package": "nx", + "name": "18.0.0-disable-adding-plugins-for-existing-workspaces" + } + ] +} diff --git a/code/nx.json b/code/nx.json index 688fc38b5dd6..2f726cea4387 100644 --- a/code/nx.json +++ b/code/nx.json @@ -1,9 +1,16 @@ { "$schema": "./node_modules/nx/schemas/nx-schema.json", "extends": "nx/presets/npm.json", + "cacheDirectory": "../.nx/cache", "nxCloudAccessToken": "NGVmYTkxMmItYzY3OS00MjkxLTk1ZDktZDFmYTFmNmVlNGY4fHJlYWQ=", "defaultBase": "next", "parallel": 8, + "affected": { + "defaultBase": "next" + }, + "cli": { + "packageManager": "yarn" + }, "plugins": [ { "plugin": "@nx/vite/plugin", @@ -131,7 +138,7 @@ "sharedGlobals": ["{workspaceRoot}/tsconfig.json"], "production": [ "default", - "!{projectRoot}/src/**/**/*.{test,spec,stories}.?(c|m)[jt]s?(x)?(.snap)", + "!{projectRoot}/src/**/**/*.{test,spec,stories}.?(c|m)[jt]s?(x)?(.snap),", "!{projectRoot}/vitest.config.[jt]s", "!{projectRoot}/README.md", "!{projectRoot}/.eslintrc.{json,js}", diff --git a/code/package.json b/code/package.json index 4fcb35cf2975..b030cd2c70a9 100644 --- a/code/package.json +++ b/code/package.json @@ -92,9 +92,9 @@ "dependencies": { "@chromatic-com/storybook": "^3.2.0", "@happy-dom/global-registrator": "^14.12.0", - "@nx/eslint": "20.1.4", - "@nx/vite": "20.1.4", - "@nx/workspace": "20.1.4", + "@nx/eslint": "18.0.6", + "@nx/vite": "18.0.6", + "@nx/workspace": "18.0.6", "@playwright/test": "1.48.1", "@storybook/addon-a11y": "workspace:*", "@storybook/addon-actions": "workspace:*", @@ -174,8 +174,8 @@ "@types/react-dom": "^18.0.11", "@types/semver": "^7.3.4", "@types/serve-static": "^1.13.8", - "@typescript-eslint/eslint-plugin": "7.18.0", - "@typescript-eslint/parser": "7.18.0", + "@typescript-eslint/experimental-utils": "^5.62.0", + "@typescript-eslint/parser": "^6.18.1", "@vitejs/plugin-react": "^4.3.2", "@vitejs/plugin-vue": "^4.4.0", "@vitest/browser": "^2.1.3", @@ -188,10 +188,9 @@ "esbuild": "^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0", "esbuild-loader": "^4.2.0", "esbuild-plugin-alias": "^0.2.1", - "eslint": "8.57.1", + "eslint": "^8.56.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-depend": "^0.11.0", - "eslint-plugin-import": "^2.29.1", "eslint-plugin-local-rules": "portal:../scripts/eslint-plugin-local-rules", "eslint-plugin-playwright": "^1.6.2", "eslint-plugin-storybook": "^0.8.0", @@ -202,7 +201,7 @@ "husky": "^4.3.7", "lint-staged": "^13.2.2", "mock-require": "^3.0.3", - "nx": "20.1.4", + "nx": "18.0.6", "prettier": "^3.1.1", "prettier-plugin-brace-style": "^0.6.2", "prettier-plugin-css-order": "^2.1.2", @@ -218,7 +217,7 @@ "storybook": "workspace:^", "svelte": "^5.0.0-next.268", "ts-dedent": "^2.0.0", - "typescript": "5.4.3", + "typescript": "^5.4.3", "util": "^0.12.4", "vite": "^4.0.0", "vite-plugin-inspect": "^0.8.5", diff --git a/code/renderers/vue3/project.json b/code/renderers/vue3/project.json index e45231254348..fcde94c77422 100644 --- a/code/renderers/vue3/project.json +++ b/code/renderers/vue3/project.json @@ -5,7 +5,11 @@ "targets": { "build": {}, "check": { - "command": "echo '\"nx check vue3\" can only run with the parameter \"-c production\", we need to expand code/storybook/storybook/scripts/prepare/check.ts'", + "executor": "nx:run-commands", + "options": { + "command": "echo '\"nx check vue3\" can only run with the parameter \"-c production\"'", + "description": "We need to expand code/storybook/storybook/scripts/prepare/check.ts" + }, "configurations": { "production": { "cwd": "{projectRoot}", diff --git a/code/yarn.lock b/code/yarn.lock index 1e1ae3d6d095..97473ea1d726 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -927,7 +927,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.25.4, @babel/parser@npm:^7.25.9, @babel/parser@npm:^7.26.0, @babel/parser@npm:^7.26.2": +"@babel/parser@npm:^7.25.9, @babel/parser@npm:^7.26.0, @babel/parser@npm:^7.26.2": version: 7.26.2 resolution: "@babel/parser@npm:7.26.2" dependencies: @@ -2477,7 +2477,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.25.4, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.0": +"@babel/types@npm:^7.25.9, @babel/types@npm:^7.26.0": version: 7.26.0 resolution: "@babel/types@npm:7.26.0" dependencies: @@ -2680,25 +2680,6 @@ __metadata: languageName: node linkType: hard -"@emnapi/core@npm:^1.1.0": - version: 1.3.1 - resolution: "@emnapi/core@npm:1.3.1" - dependencies: - "@emnapi/wasi-threads": "npm:1.0.1" - tslib: "npm:^2.4.0" - checksum: 10c0/d3be1044ad704e2c486641bc18908523490f28c7d38bd12d9c1d4ce37d39dae6c4aecd2f2eaf44c6e3bd90eaf04e0591acc440b1b038cdf43cce078a355a0ea0 - languageName: node - linkType: hard - -"@emnapi/runtime@npm:^1.1.0, @emnapi/runtime@npm:^1.2.0": - version: 1.3.1 - resolution: "@emnapi/runtime@npm:1.3.1" - dependencies: - tslib: "npm:^2.4.0" - checksum: 10c0/060ffede50f1b619c15083312b80a9e62a5b0c87aa8c1b54854c49766c9d69f8d1d3d87bd963a647071263a320db41b25eaa50b74d6a80dcc763c23dbeaafd6c - languageName: node - linkType: hard - "@emnapi/runtime@npm:^1.1.1": version: 1.2.0 resolution: "@emnapi/runtime@npm:1.2.0" @@ -2708,12 +2689,12 @@ __metadata: languageName: node linkType: hard -"@emnapi/wasi-threads@npm:1.0.1": - version: 1.0.1 - resolution: "@emnapi/wasi-threads@npm:1.0.1" +"@emnapi/runtime@npm:^1.2.0": + version: 1.3.1 + resolution: "@emnapi/runtime@npm:1.3.1" dependencies: tslib: "npm:^2.4.0" - checksum: 10c0/1e0c8036b8d53e9b07cc9acf021705ef6c86ab6b13e1acda7fffaf541a2d3565072afb92597419173ced9ea14f6bf32fce149106e669b5902b825e8b499e5c6c + checksum: 10c0/060ffede50f1b619c15083312b80a9e62a5b0c87aa8c1b54854c49766c9d69f8d1d3d87bd963a647071263a320db41b25eaa50b74d6a80dcc763c23dbeaafd6c languageName: node linkType: hard @@ -3058,13 +3039,6 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.10.0": - version: 4.12.1 - resolution: "@eslint-community/regexpp@npm:4.12.1" - checksum: 10c0/a03d98c246bcb9109aec2c08e4d10c8d010256538dcb3f56610191607214523d4fb1b00aa81df830b6dffb74c5fa0be03642513a289c567949d3e550ca11cdf6 - languageName: node - linkType: hard - "@eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1": version: 4.10.0 resolution: "@eslint-community/regexpp@npm:4.10.0" @@ -3106,10 +3080,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.57.1": - version: 8.57.1 - resolution: "@eslint/js@npm:8.57.1" - checksum: 10c0/b489c474a3b5b54381c62e82b3f7f65f4b8a5eaaed126546520bf2fede5532a8ed53212919fed1e9048dcf7f37167c8561d58d0ba4492a4244004e7793805223 +"@eslint/js@npm:8.57.0": + version: 8.57.0 + resolution: "@eslint/js@npm:8.57.0" + checksum: 10c0/9a518bb8625ba3350613903a6d8c622352ab0c6557a59fe6ff6178bf882bf57123f9d92aa826ee8ac3ee74b9c6203fe630e9ee00efb03d753962dcf65ee4bd94 languageName: node linkType: hard @@ -3587,14 +3561,14 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.13.0": - version: 0.13.0 - resolution: "@humanwhocodes/config-array@npm:0.13.0" +"@humanwhocodes/config-array@npm:^0.11.14": + version: 0.11.14 + resolution: "@humanwhocodes/config-array@npm:0.11.14" dependencies: - "@humanwhocodes/object-schema": "npm:^2.0.3" + "@humanwhocodes/object-schema": "npm:^2.0.2" debug: "npm:^4.3.1" minimatch: "npm:^3.0.5" - checksum: 10c0/205c99e756b759f92e1f44a3dc6292b37db199beacba8f26c2165d4051fe73a4ae52fdcfd08ffa93e7e5cb63da7c88648f0e84e197d154bbbbe137b2e0dd332e + checksum: 10c0/66f725b4ee5fdd8322c737cb5013e19fac72d4d69c8bf4b7feb192fcb83442b035b92186f8e9497c220e58b2d51a080f28a73f7899bc1ab288c3be172c467541 languageName: node linkType: hard @@ -3630,10 +3604,10 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.3": - version: 2.0.3 - resolution: "@humanwhocodes/object-schema@npm:2.0.3" - checksum: 10c0/80520eabbfc2d32fe195a93557cef50dfe8c8905de447f022675aaf66abc33ae54098f5ea78548d925aa671cd4ab7c7daa5ad704fe42358c9b5e7db60f80696c +"@humanwhocodes/object-schema@npm:^2.0.2": + version: 2.0.2 + resolution: "@humanwhocodes/object-schema@npm:2.0.2" + checksum: 10c0/6fd83dc320231d71c4541d0244051df61f301817e9f9da9fd4cb7e44ec8aacbde5958c1665b0c419401ab935114fdf532a6ad5d4e7294b1af2f347dd91a6983f languageName: node linkType: hard @@ -4290,17 +4264,6 @@ __metadata: languageName: node linkType: hard -"@napi-rs/wasm-runtime@npm:0.2.4": - version: 0.2.4 - resolution: "@napi-rs/wasm-runtime@npm:0.2.4" - dependencies: - "@emnapi/core": "npm:^1.1.0" - "@emnapi/runtime": "npm:^1.1.0" - "@tybys/wasm-util": "npm:^0.9.0" - checksum: 10c0/1040de49b2ef509db207e2517465dbf7fb3474f20e8ec32897672a962ff4f59872385666dac61dc9dbeae3cae5dad265d8dc3865da756adeb07d1634c67b03a1 - languageName: node - linkType: hard - "@ndelangen/get-tarball@npm:^3.0.7": version: 3.0.9 resolution: "@ndelangen/get-tarball@npm:3.0.9" @@ -4527,46 +4490,94 @@ __metadata: languageName: node linkType: hard -"@nx/devkit@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/devkit@npm:20.1.4" +"@nrwl/devkit@npm:18.0.6": + version: 18.0.6 + resolution: "@nrwl/devkit@npm:18.0.6" + dependencies: + "@nx/devkit": "npm:18.0.6" + checksum: 10c0/70e02f256216fe11392e2d12a692ddc76acb28140246dfabeac59d3c7a1d8ee1c811e4bcaa6e879a610a7ba7d4669850469676508e8f333e6d42ee487b2ce279 + languageName: node + linkType: hard + +"@nrwl/js@npm:18.0.6": + version: 18.0.6 + resolution: "@nrwl/js@npm:18.0.6" + dependencies: + "@nx/js": "npm:18.0.6" + checksum: 10c0/b1126517ab2fd7a8358109169fe42c29da955956526b0ac5f39f60abaed497fc66cbf8d45977cac633ce9038b6c6ae23b368b6228f82be93382979d999745244 + languageName: node + linkType: hard + +"@nrwl/tao@npm:18.0.6": + version: 18.0.6 + resolution: "@nrwl/tao@npm:18.0.6" dependencies: + nx: "npm:18.0.6" + tslib: "npm:^2.3.0" + bin: + tao: index.js + checksum: 10c0/f11f0f579dcfb59c501308a9143844785d5aa63c8cca97e5adc6f8faa51468b3105a99ac421b3e5a241001fdfe319a675b586afff1ef3f5d42301994c38da202 + languageName: node + linkType: hard + +"@nrwl/vite@npm:18.0.6": + version: 18.0.6 + resolution: "@nrwl/vite@npm:18.0.6" + dependencies: + "@nx/vite": "npm:18.0.6" + checksum: 10c0/bb72cfbae2febb9a064f7538bb67c0fa6e4cf50ba875c3d483b1923ac007267f0a4f316d53e6c52984781cd2b764911f749cd0604128eb3c134bc0a434841cf9 + languageName: node + linkType: hard + +"@nrwl/workspace@npm:18.0.6": + version: 18.0.6 + resolution: "@nrwl/workspace@npm:18.0.6" + dependencies: + "@nx/workspace": "npm:18.0.6" + checksum: 10c0/0cf5ec95c036fd98269d9e746ab08f578d793011667823053aecfb062337a9b0bd98def282acf7fba453930537d5adb7c2d5284b5faebe676f22717a1a7040c1 + languageName: node + linkType: hard + +"@nx/devkit@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/devkit@npm:18.0.6" + dependencies: + "@nrwl/devkit": "npm:18.0.6" ejs: "npm:^3.1.7" enquirer: "npm:~2.3.6" ignore: "npm:^5.0.4" - minimatch: "npm:9.0.3" semver: "npm:^7.5.3" tmp: "npm:~0.2.1" tslib: "npm:^2.3.0" yargs-parser: "npm:21.1.1" peerDependencies: - nx: ">= 19 <= 21" - checksum: 10c0/e8ae35e9b421cf558b35b792fcff1f769438be45808c2d4e1317e6c56779b773d2d05c3234e2431c258670b1880b5b4fbe22ac472ff639320df0b5bcf3b2ee95 + nx: ">= 16 <= 18" + checksum: 10c0/1645003b800475257fce500802ce99acc35490c73161896247f7e2747a0160c47a40245b17daf568b6d05f66ddf55097772e2ab8ba895a286f8b544af1b51c44 languageName: node linkType: hard -"@nx/eslint@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/eslint@npm:20.1.4" +"@nx/eslint@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/eslint@npm:18.0.6" dependencies: - "@nx/devkit": "npm:20.1.4" - "@nx/js": "npm:20.1.4" - semver: "npm:^7.5.3" + "@nx/devkit": "npm:18.0.6" + "@nx/js": "npm:18.0.6" + "@nx/linter": "npm:18.0.6" + eslint: "npm:^8.0.0" tslib: "npm:^2.3.0" - typescript: "npm:~5.4.2" + typescript: "npm:~5.3.2" peerDependencies: - "@zkochan/js-yaml": 0.0.7 - eslint: ^8.0.0 || ^9.0.0 + js-yaml: 4.1.0 peerDependenciesMeta: - "@zkochan/js-yaml": + js-yaml: optional: true - checksum: 10c0/3fa816de9232b478469e9d7f6eaea4a0d47f22c8ee5a510f7d4759261497b11248c49a73a771f2fa356524f5c4f02c673f9c47af3c5503c445c21a9924a0a8fd + checksum: 10c0/c9b1821b3b5fd5ffbe7aa7a412a3256d24464d662a31bfe7f026347cf7ebd73d8860b2beadcbbaa0d312011d7def3250b9e4d2285f974f7bd0828f1300cf80a7 languageName: node linkType: hard -"@nx/js@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/js@npm:20.1.4" +"@nx/js@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/js@npm:18.0.6" dependencies: "@babel/core": "npm:^7.23.2" "@babel/plugin-proposal-decorators": "npm:^7.22.7" @@ -4575,20 +4586,20 @@ __metadata: "@babel/preset-env": "npm:^7.23.2" "@babel/preset-typescript": "npm:^7.22.5" "@babel/runtime": "npm:^7.22.6" - "@nx/devkit": "npm:20.1.4" - "@nx/workspace": "npm:20.1.4" - "@zkochan/js-yaml": "npm:0.0.7" + "@nrwl/js": "npm:18.0.6" + "@nx/devkit": "npm:18.0.6" + "@nx/workspace": "npm:18.0.6" + "@phenomnomnominal/tsquery": "npm:~5.0.1" babel-plugin-const-enum: "npm:^1.0.1" babel-plugin-macros: "npm:^2.8.0" babel-plugin-transform-typescript-metadata: "npm:^0.3.1" chalk: "npm:^4.1.0" columnify: "npm:^1.6.0" detect-port: "npm:^1.5.1" - enquirer: "npm:~2.3.6" fast-glob: "npm:3.2.7" + fs-extra: "npm:^11.1.0" ignore: "npm:^5.0.4" js-tokens: "npm:^4.0.0" - jsonc-parser: "npm:3.2.0" minimatch: "npm:9.0.3" npm-package-arg: "npm:11.0.1" npm-run-path: "npm:^4.0.1" @@ -4603,109 +4614,119 @@ __metadata: peerDependenciesMeta: verdaccio: optional: true - checksum: 10c0/cefd563fffebcb8858fe528005aff69f44232bb42e4bfadfa703e37b0a1db9010f8400126639be3fd19beb81e2135c8a8b239ff37ed3f203b040a311038206bf + checksum: 10c0/dd35398a3af7013255e1f78bbd435377a85a5a887ea10fc121e13b4bda530f3ee6b238373c74ba4a90cd1afd78187c12b7efca2617445024d67ebd5dd027145d languageName: node linkType: hard -"@nx/nx-darwin-arm64@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-darwin-arm64@npm:20.1.4" +"@nx/linter@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/linter@npm:18.0.6" + dependencies: + "@nx/eslint": "npm:18.0.6" + checksum: 10c0/b9c05840392a088ea6b70f675096556ef5510b495286327eed3548c373093a8e773a836968747e92ed1dc4448eda8af3af652d79063b68fa9d68f1e69b5eb2ca + languageName: node + linkType: hard + +"@nx/nx-darwin-arm64@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-darwin-arm64@npm:18.0.6" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@nx/nx-darwin-x64@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-darwin-x64@npm:20.1.4" +"@nx/nx-darwin-x64@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-darwin-x64@npm:18.0.6" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@nx/nx-freebsd-x64@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-freebsd-x64@npm:20.1.4" +"@nx/nx-freebsd-x64@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-freebsd-x64@npm:18.0.6" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@nx/nx-linux-arm-gnueabihf@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:20.1.4" +"@nx/nx-linux-arm-gnueabihf@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:18.0.6" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@nx/nx-linux-arm64-gnu@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-linux-arm64-gnu@npm:20.1.4" +"@nx/nx-linux-arm64-gnu@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-linux-arm64-gnu@npm:18.0.6" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-arm64-musl@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-linux-arm64-musl@npm:20.1.4" +"@nx/nx-linux-arm64-musl@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-linux-arm64-musl@npm:18.0.6" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@nx/nx-linux-x64-gnu@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-linux-x64-gnu@npm:20.1.4" +"@nx/nx-linux-x64-gnu@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-linux-x64-gnu@npm:18.0.6" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-x64-musl@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-linux-x64-musl@npm:20.1.4" +"@nx/nx-linux-x64-musl@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-linux-x64-musl@npm:18.0.6" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@nx/nx-win32-arm64-msvc@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-win32-arm64-msvc@npm:20.1.4" +"@nx/nx-win32-arm64-msvc@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-win32-arm64-msvc@npm:18.0.6" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@nx/nx-win32-x64-msvc@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/nx-win32-x64-msvc@npm:20.1.4" +"@nx/nx-win32-x64-msvc@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-win32-x64-msvc@npm:18.0.6" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@nx/vite@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/vite@npm:20.1.4" +"@nx/vite@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/vite@npm:18.0.6" dependencies: - "@nx/devkit": "npm:20.1.4" - "@nx/js": "npm:20.1.4" + "@nrwl/vite": "npm:18.0.6" + "@nx/devkit": "npm:18.0.6" + "@nx/js": "npm:18.0.6" "@phenomnomnominal/tsquery": "npm:~5.0.1" "@swc/helpers": "npm:~0.5.0" enquirer: "npm:~2.3.6" - minimatch: "npm:9.0.3" tsconfig-paths: "npm:^4.1.2" peerDependencies: vite: ^5.0.0 - vitest: ^1.3.1 || ^2.0.0 - checksum: 10c0/48230903e2b5c2c6610677fe501e144285e543a6137500715b643063e8758b6df14fc2c2bd39dbd6ff69612539185f15e24ffc5e1a1d1e245e146b8bb902cf14 + vitest: ^1.3.1 + checksum: 10c0/58a7d158e8143e67143ef3cbe29f3fbfff1940e0fbffcbd14770a89a6391db1b61185e807039edee295d5d7b5a04a39be34d9b8af159334ca0433bad269151fd languageName: node linkType: hard -"@nx/workspace@npm:20.1.4": - version: 20.1.4 - resolution: "@nx/workspace@npm:20.1.4" +"@nx/workspace@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/workspace@npm:18.0.6" dependencies: - "@nx/devkit": "npm:20.1.4" + "@nrwl/workspace": "npm:18.0.6" + "@nx/devkit": "npm:18.0.6" chalk: "npm:^4.1.0" enquirer: "npm:~2.3.6" - nx: "npm:20.1.4" + nx: "npm:18.0.6" tslib: "npm:^2.3.0" yargs-parser: "npm:21.1.1" - checksum: 10c0/ad0bd040f87fce8bc7e01bc5122c8d52698743cbb5652cac423f54b64aedc7fe48ba090d8030dd9f4b205cd20f3e6a393936a395ab39247bd8c6b7ae0ac1692e + checksum: 10c0/bd01b6b28fbe0c783a9c37bfdf0a01846df4ef46f366f6596e586063dff06d87761c35b06819839fefdf66a9c32947697db7ecc21b2933a06a633693a962272c languageName: node linkType: hard @@ -7206,9 +7227,9 @@ __metadata: dependencies: "@chromatic-com/storybook": "npm:^3.2.0" "@happy-dom/global-registrator": "npm:^14.12.0" - "@nx/eslint": "npm:20.1.4" - "@nx/vite": "npm:20.1.4" - "@nx/workspace": "npm:20.1.4" + "@nx/eslint": "npm:18.0.6" + "@nx/vite": "npm:18.0.6" + "@nx/workspace": "npm:18.0.6" "@playwright/test": "npm:1.48.1" "@storybook/addon-a11y": "workspace:*" "@storybook/addon-actions": "workspace:*" @@ -7288,8 +7309,8 @@ __metadata: "@types/react-dom": "npm:^18.0.11" "@types/semver": "npm:^7.3.4" "@types/serve-static": "npm:^1.13.8" - "@typescript-eslint/eslint-plugin": "npm:7.18.0" - "@typescript-eslint/parser": "npm:7.18.0" + "@typescript-eslint/experimental-utils": "npm:^5.62.0" + "@typescript-eslint/parser": "npm:^6.18.1" "@vitejs/plugin-react": "npm:^4.3.2" "@vitejs/plugin-vue": "npm:^4.4.0" "@vitest/browser": "npm:^2.1.3" @@ -7302,10 +7323,9 @@ __metadata: esbuild: "npm:^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0" esbuild-loader: "npm:^4.2.0" esbuild-plugin-alias: "npm:^0.2.1" - eslint: "npm:8.57.1" + eslint: "npm:^8.56.0" eslint-import-resolver-typescript: "npm:^3.6.1" eslint-plugin-depend: "npm:^0.11.0" - eslint-plugin-import: "npm:^2.29.1" eslint-plugin-local-rules: "portal:../scripts/eslint-plugin-local-rules" eslint-plugin-playwright: "npm:^1.6.2" eslint-plugin-storybook: "npm:^0.8.0" @@ -7316,7 +7336,7 @@ __metadata: husky: "npm:^4.3.7" lint-staged: "npm:^13.2.2" mock-require: "npm:^3.0.3" - nx: "npm:20.1.4" + nx: "npm:18.0.6" prettier: "npm:^3.1.1" prettier-plugin-brace-style: "npm:^0.6.2" prettier-plugin-css-order: "npm:^2.1.2" @@ -7332,7 +7352,7 @@ __metadata: storybook: "workspace:^" svelte: "npm:^5.0.0-next.268" ts-dedent: "npm:^2.0.0" - typescript: "npm:5.4.3" + typescript: "npm:^5.4.3" util: "npm:^0.12.4" vite: "npm:^4.0.0" vite-plugin-inspect: "npm:^0.8.5" @@ -7953,15 +7973,6 @@ __metadata: languageName: node linkType: hard -"@tybys/wasm-util@npm:^0.9.0": - version: 0.9.0 - resolution: "@tybys/wasm-util@npm:0.9.0" - dependencies: - tslib: "npm:^2.4.0" - checksum: 10c0/f9fde5c554455019f33af6c8215f1a1435028803dc2a2825b077d812bed4209a1a64444a4ca0ce2ea7e1175c8d88e2f9173a36a33c199e8a5c671aa31de8242d - languageName: node - linkType: hard - "@types/acorn@npm:^4.0.0": version: 4.0.6 resolution: "@types/acorn@npm:4.0.6" @@ -8888,29 +8899,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/eslint-plugin@npm:7.18.0" - dependencies: - "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:7.18.0" - "@typescript-eslint/type-utils": "npm:7.18.0" - "@typescript-eslint/utils": "npm:7.18.0" - "@typescript-eslint/visitor-keys": "npm:7.18.0" - graphemer: "npm:^1.4.0" - ignore: "npm:^5.3.1" - natural-compare: "npm:^1.4.0" - ts-api-utils: "npm:^1.3.0" - peerDependencies: - "@typescript-eslint/parser": ^7.0.0 - eslint: ^8.56.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/2b37948fa1b0dab77138909dabef242a4d49ab93e4019d4ef930626f0a7d96b03e696cd027fa0087881c20e73be7be77c942606b4a76fa599e6b37f6985304c3 - languageName: node - linkType: hard - "@typescript-eslint/eslint-plugin@npm:^6.18.1": version: 6.21.0 resolution: "@typescript-eslint/eslint-plugin@npm:6.21.0" @@ -8936,21 +8924,14 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/parser@npm:7.18.0" +"@typescript-eslint/experimental-utils@npm:^5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/experimental-utils@npm:5.62.0" dependencies: - "@typescript-eslint/scope-manager": "npm:7.18.0" - "@typescript-eslint/types": "npm:7.18.0" - "@typescript-eslint/typescript-estree": "npm:7.18.0" - "@typescript-eslint/visitor-keys": "npm:7.18.0" - debug: "npm:^4.3.4" + "@typescript-eslint/utils": "npm:5.62.0" peerDependencies: - eslint: ^8.56.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/370e73fca4278091bc1b657f85e7d74cd52b24257ea20c927a8e17546107ce04fbf313fec99aed0cc2a145ddbae1d3b12e9cc2c1320117636dc1281bcfd08059 + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + checksum: 10c0/f7037977e00849cd8c03677a88b0659a4f0e0b1e0151aebb47c49c92b8e57408578142df598eac08b364623d926343c724f42494f87662e437b1c89f0b2e815b languageName: node linkType: hard @@ -9002,16 +8983,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/scope-manager@npm:7.18.0" - dependencies: - "@typescript-eslint/types": "npm:7.18.0" - "@typescript-eslint/visitor-keys": "npm:7.18.0" - checksum: 10c0/038cd58c2271de146b3a594afe2c99290034033326d57ff1f902976022c8b0138ffd3cb893ae439ae41003b5e4bcc00cabf6b244ce40e8668f9412cc96d97b8e - languageName: node - linkType: hard - "@typescript-eslint/type-utils@npm:6.21.0": version: 6.21.0 resolution: "@typescript-eslint/type-utils@npm:6.21.0" @@ -9029,23 +9000,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/type-utils@npm:7.18.0" - dependencies: - "@typescript-eslint/typescript-estree": "npm:7.18.0" - "@typescript-eslint/utils": "npm:7.18.0" - debug: "npm:^4.3.4" - ts-api-utils: "npm:^1.3.0" - peerDependencies: - eslint: ^8.56.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/ad92a38007be620f3f7036f10e234abdc2fdc518787b5a7227e55fd12896dacf56e8b34578723fbf9bea8128df2510ba8eb6739439a3879eda9519476d5783fd - languageName: node - linkType: hard - "@typescript-eslint/types@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/types@npm:5.62.0" @@ -9067,13 +9021,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/types@npm:7.18.0" - checksum: 10c0/eb7371ac55ca77db8e59ba0310b41a74523f17e06f485a0ef819491bc3dd8909bb930120ff7d30aaf54e888167e0005aa1337011f3663dc90fb19203ce478054 - languageName: node - linkType: hard - "@typescript-eslint/typescript-estree@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" @@ -9130,22 +9077,21 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/typescript-estree@npm:7.18.0" +"@typescript-eslint/utils@npm:5.62.0, @typescript-eslint/utils@npm:^5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/utils@npm:5.62.0" dependencies: - "@typescript-eslint/types": "npm:7.18.0" - "@typescript-eslint/visitor-keys": "npm:7.18.0" - debug: "npm:^4.3.4" - globby: "npm:^11.1.0" - is-glob: "npm:^4.0.3" - minimatch: "npm:^9.0.4" - semver: "npm:^7.6.0" - ts-api-utils: "npm:^1.3.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/0c7f109a2e460ec8a1524339479cf78ff17814d23c83aa5112c77fb345e87b3642616291908dcddea1e671da63686403dfb712e4a4435104f92abdfddf9aba81 + "@eslint-community/eslint-utils": "npm:^4.2.0" + "@types/json-schema": "npm:^7.0.9" + "@types/semver": "npm:^7.3.12" + "@typescript-eslint/scope-manager": "npm:5.62.0" + "@typescript-eslint/types": "npm:5.62.0" + "@typescript-eslint/typescript-estree": "npm:5.62.0" + eslint-scope: "npm:^5.1.1" + semver: "npm:^7.3.7" + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + checksum: 10c0/f09b7d9952e4a205eb1ced31d7684dd55cee40bf8c2d78e923aa8a255318d97279825733902742c09d8690f37a50243f4c4d383ab16bd7aefaf9c4b438f785e1 languageName: node linkType: hard @@ -9166,38 +9112,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/utils@npm:7.18.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:7.18.0" - "@typescript-eslint/types": "npm:7.18.0" - "@typescript-eslint/typescript-estree": "npm:7.18.0" - peerDependencies: - eslint: ^8.56.0 - checksum: 10c0/a25a6d50eb45c514469a01ff01f215115a4725fb18401055a847ddf20d1b681409c4027f349033a95c4ff7138d28c3b0a70253dfe8262eb732df4b87c547bd1e - languageName: node - linkType: hard - -"@typescript-eslint/utils@npm:^5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/utils@npm:5.62.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.2.0" - "@types/json-schema": "npm:^7.0.9" - "@types/semver": "npm:^7.3.12" - "@typescript-eslint/scope-manager": "npm:5.62.0" - "@typescript-eslint/types": "npm:5.62.0" - "@typescript-eslint/typescript-estree": "npm:5.62.0" - eslint-scope: "npm:^5.1.1" - semver: "npm:^7.3.7" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: 10c0/f09b7d9952e4a205eb1ced31d7684dd55cee40bf8c2d78e923aa8a255318d97279825733902742c09d8690f37a50243f4c4d383ab16bd7aefaf9c4b438f785e1 - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" @@ -9228,16 +9142,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/visitor-keys@npm:7.18.0" - dependencies: - "@typescript-eslint/types": "npm:7.18.0" - eslint-visitor-keys: "npm:^3.4.3" - checksum: 10c0/538b645f8ff1d9debf264865c69a317074eaff0255e63d7407046176b0f6a6beba34a6c51d511f12444bae12a98c69891eb6f403c9f54c6c2e2849d1c1cb73c0 - languageName: node - linkType: hard - "@ungap/structured-clone@npm:^1.0.0, @ungap/structured-clone@npm:^1.2.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" @@ -9308,48 +9212,48 @@ __metadata: linkType: hard "@vitest/coverage-istanbul@npm:^2.1.3": - version: 2.1.8 - resolution: "@vitest/coverage-istanbul@npm:2.1.8" + version: 2.1.3 + resolution: "@vitest/coverage-istanbul@npm:2.1.3" dependencies: "@istanbuljs/schema": "npm:^0.1.3" - debug: "npm:^4.3.7" + debug: "npm:^4.3.6" istanbul-lib-coverage: "npm:^3.2.2" istanbul-lib-instrument: "npm:^6.0.3" istanbul-lib-report: "npm:^3.0.1" istanbul-lib-source-maps: "npm:^5.0.6" istanbul-reports: "npm:^3.1.7" - magicast: "npm:^0.3.5" + magicast: "npm:^0.3.4" test-exclude: "npm:^7.0.1" tinyrainbow: "npm:^1.2.0" peerDependencies: - vitest: 2.1.8 - checksum: 10c0/809eeccebaa7fd0e349d89a8d374e449c65a1d626f46b03b080aa507ac93dfb340c90dd491fe9a08dca896d6832e0f3dcffd6fd7ba3d05c1dc95c7a32aabc50c + vitest: 2.1.3 + checksum: 10c0/6b21eb219f45dc0f3bfb35049280658687b6b2f4ba5e17dc2c7e2c221f5d37e60c6962c5cfd77bd5f2848bb56debd26f82e5684b293f5775a8a416a0173f1803 languageName: node linkType: hard "@vitest/coverage-v8@npm:^2.1.3": - version: 2.1.8 - resolution: "@vitest/coverage-v8@npm:2.1.8" + version: 2.1.3 + resolution: "@vitest/coverage-v8@npm:2.1.3" dependencies: "@ampproject/remapping": "npm:^2.3.0" "@bcoe/v8-coverage": "npm:^0.2.3" - debug: "npm:^4.3.7" + debug: "npm:^4.3.6" istanbul-lib-coverage: "npm:^3.2.2" istanbul-lib-report: "npm:^3.0.1" istanbul-lib-source-maps: "npm:^5.0.6" istanbul-reports: "npm:^3.1.7" - magic-string: "npm:^0.30.12" - magicast: "npm:^0.3.5" - std-env: "npm:^3.8.0" + magic-string: "npm:^0.30.11" + magicast: "npm:^0.3.4" + std-env: "npm:^3.7.0" test-exclude: "npm:^7.0.1" tinyrainbow: "npm:^1.2.0" peerDependencies: - "@vitest/browser": 2.1.8 - vitest: 2.1.8 + "@vitest/browser": 2.1.3 + vitest: 2.1.3 peerDependenciesMeta: "@vitest/browser": optional: true - checksum: 10c0/b228a23bbaf0eae07ac939399f968b0def2df786091948a12d614919db3f5b6e46db7a1ab4f9d05d5d7f696afd53133a67abc25915f85480cd032442664ac725 + checksum: 10c0/5fdff9e9dd8b8d2030c00a5273ba2b27441c0cb45d007b6671504745dac6d095c160a01433789e7ed1ca6cd234246f883c1d52c02cfb62f8ae81dda17dd56bc6 languageName: node linkType: hard @@ -10109,24 +10013,24 @@ __metadata: languageName: node linkType: hard -"@yarnpkg/parsers@npm:3.0.2": - version: 3.0.2 - resolution: "@yarnpkg/parsers@npm:3.0.2" +"@yarnpkg/parsers@npm:3.0.0-rc.46": + version: 3.0.0-rc.46 + resolution: "@yarnpkg/parsers@npm:3.0.0-rc.46" dependencies: js-yaml: "npm:^3.10.0" tslib: "npm:^2.4.0" - checksum: 10c0/a0c340e13129643162423d7e666061c0b39b143bfad3fc5a74c7d92a30fd740f6665d41cd4e61832c20375889d793eea1d1d103cacb39ed68f7acd168add8c53 + checksum: 10c0/c7f421c6885142f351459031c093fb2e79abcce6f4a89765a10e600bb7ab122949c54bcea2b23de9572a2b34ba29f822b17831c1c43ba50373ceb8cb5b336667 languageName: node linkType: hard -"@zkochan/js-yaml@npm:0.0.7": - version: 0.0.7 - resolution: "@zkochan/js-yaml@npm:0.0.7" +"@zkochan/js-yaml@npm:0.0.6": + version: 0.0.6 + resolution: "@zkochan/js-yaml@npm:0.0.6" dependencies: argparse: "npm:^2.0.1" bin: js-yaml: bin/js-yaml.js - checksum: 10c0/c8b3525717912811f9422ed50e94c5751ed6f771eb1b7e5cde097f14835654931e2bdaecb1e5fc37b51cf8d822410a307f16dd1581d46149398c30215f3f9bac + checksum: 10c0/5ce27ae75fb1db9657d4065bf6b380b4c0f756feb1bdf42bfde40551a74bcc0ec918f748cbdbd5d95b7107d00bc2f731ee731b5cfe93acb6f7da5639b16aa1f8 languageName: node linkType: hard @@ -10924,7 +10828,7 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.6.1": +"axios@npm:^1.6.0, axios@npm:^1.6.1": version: 1.6.7 resolution: "axios@npm:1.6.7" dependencies: @@ -10935,17 +10839,6 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.7.4": - version: 1.7.9 - resolution: "axios@npm:1.7.9" - dependencies: - follow-redirects: "npm:^1.15.6" - form-data: "npm:^4.0.0" - proxy-from-env: "npm:^1.1.0" - checksum: 10c0/b7a41e24b59fee5f0f26c1fc844b45b17442832eb3a0fb42dd4f1430eb4abc571fe168e67913e8a1d91c993232bd1d1ab03e20e4d1fee8c6147649b576fc1b0b - languageName: node - linkType: hard - "axobject-query@npm:^3.2.1": version: 3.2.1 resolution: "axobject-query@npm:3.2.1" @@ -14000,36 +13893,20 @@ __metadata: languageName: node linkType: hard -"dotenv-expand@npm:^10.0.0": +"dotenv-expand@npm:^10.0.0, dotenv-expand@npm:~10.0.0": version: 10.0.0 resolution: "dotenv-expand@npm:10.0.0" checksum: 10c0/298f5018e29cfdcb0b5f463ba8e8627749103fbcf6cf81c561119115754ed582deee37b49dfc7253028aaba875ab7aea5fa90e5dac88e511d009ab0e6677924e languageName: node linkType: hard -"dotenv-expand@npm:~11.0.6": - version: 11.0.7 - resolution: "dotenv-expand@npm:11.0.7" - dependencies: - dotenv: "npm:^16.4.5" - checksum: 10c0/d80b8a7be085edf351270b96ac0e794bc3ddd7f36157912939577cb4d33ba6492ebee349d59798b71b90e36f498d24a2a564fb4aa00073b2ef4c2a3a49c467b1 - languageName: node - linkType: hard - -"dotenv@npm:^16.0.0": +"dotenv@npm:^16.0.0, dotenv@npm:~16.3.1": version: 16.3.1 resolution: "dotenv@npm:16.3.1" checksum: 10c0/b95ff1bbe624ead85a3cd70dbd827e8e06d5f05f716f2d0cbc476532d54c7c9469c3bc4dd93ea519f6ad711cb522c00ac9a62b6eb340d5affae8008facc3fbd7 languageName: node linkType: hard -"dotenv@npm:^16.4.5, dotenv@npm:~16.4.5": - version: 16.4.7 - resolution: "dotenv@npm:16.4.7" - checksum: 10c0/be9f597e36a8daf834452daa1f4cc30e5375a5968f98f46d89b16b983c567398a330580c88395069a77473943c06b877d1ca25b4afafcdd6d4adb549e8293462 - languageName: node - linkType: hard - "downshift@npm:^9.0.4": version: 9.0.4 resolution: "downshift@npm:9.0.4" @@ -14056,6 +13933,13 @@ __metadata: languageName: node linkType: hard +"duplexer@npm:^0.1.1": + version: 0.1.2 + resolution: "duplexer@npm:0.1.2" + checksum: 10c0/c57bcd4bdf7e623abab2df43a7b5b23d18152154529d166c1e0da6bee341d84c432d157d7e97b32fecb1bf3a8b8857dd85ed81a915789f550637ed25b8e64fc2 + languageName: node + linkType: hard + "duplexify@npm:^3.5.0, duplexify@npm:^3.6.0": version: 3.7.1 resolution: "duplexify@npm:3.7.1" @@ -15255,15 +15139,15 @@ __metadata: languageName: node linkType: hard -"eslint@npm:8.57.1": - version: 8.57.1 - resolution: "eslint@npm:8.57.1" +"eslint@npm:^8.0.0, eslint@npm:^8.56.0": + version: 8.57.0 + resolution: "eslint@npm:8.57.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.6.1" "@eslint/eslintrc": "npm:^2.1.4" - "@eslint/js": "npm:8.57.1" - "@humanwhocodes/config-array": "npm:^0.13.0" + "@eslint/js": "npm:8.57.0" + "@humanwhocodes/config-array": "npm:^0.11.14" "@humanwhocodes/module-importer": "npm:^1.0.1" "@nodelib/fs.walk": "npm:^1.2.8" "@ungap/structured-clone": "npm:^1.2.0" @@ -15299,7 +15183,7 @@ __metadata: text-table: "npm:^0.2.0" bin: eslint: bin/eslint.js - checksum: 10c0/1fd31533086c1b72f86770a4d9d7058ee8b4643fd1cfd10c7aac1ecb8725698e88352a87805cf4b2ce890aa35947df4b4da9655fb7fdfa60dbb448a43f6ebcf1 + checksum: 10c0/00bb96fd2471039a312435a6776fe1fd557c056755eaa2b96093ef3a8508c92c8775d5f754768be6b1dddd09fdd3379ddb231eeb9b6c579ee17ea7d68000a529 languageName: node linkType: hard @@ -16209,16 +16093,6 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.15.6": - version: 1.15.9 - resolution: "follow-redirects@npm:1.15.9" - peerDependenciesMeta: - debug: - optional: true - checksum: 10c0/5829165bd112c3c0e82be6c15b1a58fa9dcfaede3b3c54697a82fe4a62dd5ae5e8222956b448d2f98e331525f05d00404aba7d696de9e761ef6e42fdc780244f - languageName: node - linkType: hard - "for-each@npm:^0.3.3": version: 0.3.3 resolution: "for-each@npm:0.3.3" @@ -16365,15 +16239,6 @@ __metadata: languageName: node linkType: hard -"front-matter@npm:^4.0.2": - version: 4.0.2 - resolution: "front-matter@npm:4.0.2" - dependencies: - js-yaml: "npm:^3.13.1" - checksum: 10c0/7a0df5ca37428dd563c057bc17a8940481fe53876609bcdc443a02ce463c70f1842c7cb4628b80916de46a253732794b36fb6a31105db0f185698a93acee4011 - languageName: node - linkType: hard - "fs-constants@npm:^1.0.0": version: 1.0.0 resolution: "fs-constants@npm:1.0.0" @@ -16399,7 +16264,7 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^11.2.0": +"fs-extra@npm:^11.1.0, fs-extra@npm:^11.2.0": version: 11.2.0 resolution: "fs-extra@npm:11.2.0" dependencies: @@ -17913,13 +17778,6 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.3.1": - version: 5.3.2 - resolution: "ignore@npm:5.3.2" - checksum: 10c0/f9f652c957983634ded1e7f02da3b559a0d4cc210fca3792cb67f1b153623c9c42efdc1c4121af171e295444459fc4a9201101fb041b1104a3c000bccb188337 - languageName: node - linkType: hard - "image-size@npm:^1.0.0, image-size@npm:^1.1.1": version: 1.1.1 resolution: "image-size@npm:1.1.1" @@ -19045,26 +18903,26 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:^3.10.0, js-yaml@npm:^3.13.1": - version: 3.14.1 - resolution: "js-yaml@npm:3.14.1" +"js-yaml@npm:4.1.0, js-yaml@npm:^4.1.0": + version: 4.1.0 + resolution: "js-yaml@npm:4.1.0" dependencies: - argparse: "npm:^1.0.7" - esprima: "npm:^4.0.0" + argparse: "npm:^2.0.1" bin: js-yaml: bin/js-yaml.js - checksum: 10c0/6746baaaeac312c4db8e75fa22331d9a04cccb7792d126ed8ce6a0bbcfef0cedaddd0c5098fade53db067c09fe00aa1c957674b4765610a8b06a5a189e46433b + checksum: 10c0/184a24b4eaacfce40ad9074c64fd42ac83cf74d8c8cd137718d456ced75051229e5061b8633c3366b8aada17945a7a356b337828c19da92b51ae62126575018f languageName: node linkType: hard -"js-yaml@npm:^4.1.0": - version: 4.1.0 - resolution: "js-yaml@npm:4.1.0" +"js-yaml@npm:^3.10.0, js-yaml@npm:^3.13.1": + version: 3.14.1 + resolution: "js-yaml@npm:3.14.1" dependencies: - argparse: "npm:^2.0.1" + argparse: "npm:^1.0.7" + esprima: "npm:^4.0.0" bin: js-yaml: bin/js-yaml.js - checksum: 10c0/184a24b4eaacfce40ad9074c64fd42ac83cf74d8c8cd137718d456ced75051229e5061b8633c3366b8aada17945a7a356b337828c19da92b51ae62126575018f + checksum: 10c0/6746baaaeac312c4db8e75fa22331d9a04cccb7792d126ed8ce6a0bbcfef0cedaddd0c5098fade53db067c09fe00aa1c957674b4765610a8b06a5a189e46433b languageName: node linkType: hard @@ -19615,13 +19473,6 @@ __metadata: languageName: node linkType: hard -"lines-and-columns@npm:2.0.3": - version: 2.0.3 - resolution: "lines-and-columns@npm:2.0.3" - checksum: 10c0/09525c10010a925b7efe858f1dd3184eeac34f0a9bc34993075ec490efad71e948147746b18e9540279cc87cd44085b038f986903db3de65ffe96d38a7b91c4c - languageName: node - linkType: hard - "lines-and-columns@npm:^1.1.6": version: 1.2.4 resolution: "lines-and-columns@npm:1.2.4" @@ -19629,7 +19480,7 @@ __metadata: languageName: node linkType: hard -"lines-and-columns@npm:^2.0.3": +"lines-and-columns@npm:^2.0.3, lines-and-columns@npm:~2.0.3": version: 2.0.4 resolution: "lines-and-columns@npm:2.0.4" checksum: 10c0/4db28bf065cd7ad897c0700f22d3d0d7c5ed6777e138861c601c496d545340df3fc19e18bd04ff8d95a246a245eb55685b82ca2f8c2ca53a008e9c5316250379 @@ -20126,14 +19977,14 @@ __metadata: languageName: node linkType: hard -"magicast@npm:^0.3.5": - version: 0.3.5 - resolution: "magicast@npm:0.3.5" +"magicast@npm:^0.3.4": + version: 0.3.4 + resolution: "magicast@npm:0.3.4" dependencies: - "@babel/parser": "npm:^7.25.4" - "@babel/types": "npm:^7.25.4" + "@babel/parser": "npm:^7.24.4" + "@babel/types": "npm:^7.24.0" source-map-js: "npm:^1.2.0" - checksum: 10c0/a6cacc0a848af84f03e3f5bda7b0de75e4d0aa9ddce5517fd23ed0f31b5ddd51b2d0ff0b7e09b51f7de0f4053c7a1107117edda6b0732dca3e9e39e6c5a68c64 + checksum: 10c0/7ebaaac397b13c31ca05e6d9649296751d76749b945d10a0800107872119fbdf267acdb604571d25e38ec6fd7ab3568a951b6e76eaef1caba9eaa11778fd9783 languageName: node linkType: hard @@ -22347,39 +22198,40 @@ __metadata: languageName: node linkType: hard -"nx@npm:20.1.4": - version: 20.1.4 - resolution: "nx@npm:20.1.4" +"nx@npm:18.0.6": + version: 18.0.6 + resolution: "nx@npm:18.0.6" dependencies: - "@napi-rs/wasm-runtime": "npm:0.2.4" - "@nx/nx-darwin-arm64": "npm:20.1.4" - "@nx/nx-darwin-x64": "npm:20.1.4" - "@nx/nx-freebsd-x64": "npm:20.1.4" - "@nx/nx-linux-arm-gnueabihf": "npm:20.1.4" - "@nx/nx-linux-arm64-gnu": "npm:20.1.4" - "@nx/nx-linux-arm64-musl": "npm:20.1.4" - "@nx/nx-linux-x64-gnu": "npm:20.1.4" - "@nx/nx-linux-x64-musl": "npm:20.1.4" - "@nx/nx-win32-arm64-msvc": "npm:20.1.4" - "@nx/nx-win32-x64-msvc": "npm:20.1.4" + "@nrwl/tao": "npm:18.0.6" + "@nx/nx-darwin-arm64": "npm:18.0.6" + "@nx/nx-darwin-x64": "npm:18.0.6" + "@nx/nx-freebsd-x64": "npm:18.0.6" + "@nx/nx-linux-arm-gnueabihf": "npm:18.0.6" + "@nx/nx-linux-arm64-gnu": "npm:18.0.6" + "@nx/nx-linux-arm64-musl": "npm:18.0.6" + "@nx/nx-linux-x64-gnu": "npm:18.0.6" + "@nx/nx-linux-x64-musl": "npm:18.0.6" + "@nx/nx-win32-arm64-msvc": "npm:18.0.6" + "@nx/nx-win32-x64-msvc": "npm:18.0.6" "@yarnpkg/lockfile": "npm:^1.1.0" - "@yarnpkg/parsers": "npm:3.0.2" - "@zkochan/js-yaml": "npm:0.0.7" - axios: "npm:^1.7.4" + "@yarnpkg/parsers": "npm:3.0.0-rc.46" + "@zkochan/js-yaml": "npm:0.0.6" + axios: "npm:^1.6.0" chalk: "npm:^4.1.0" cli-cursor: "npm:3.1.0" cli-spinners: "npm:2.6.1" cliui: "npm:^8.0.1" - dotenv: "npm:~16.4.5" - dotenv-expand: "npm:~11.0.6" + dotenv: "npm:~16.3.1" + dotenv-expand: "npm:~10.0.0" enquirer: "npm:~2.3.6" figures: "npm:3.2.0" flat: "npm:^5.0.2" - front-matter: "npm:^4.0.2" + fs-extra: "npm:^11.1.0" ignore: "npm:^5.0.4" jest-diff: "npm:^29.4.1" + js-yaml: "npm:4.1.0" jsonc-parser: "npm:3.2.0" - lines-and-columns: "npm:2.0.3" + lines-and-columns: "npm:~2.0.3" minimatch: "npm:9.0.3" node-machine-id: "npm:1.1.12" npm-run-path: "npm:^4.0.1" @@ -22387,6 +22239,7 @@ __metadata: ora: "npm:5.3.0" semver: "npm:^7.5.3" string-width: "npm:^4.2.3" + strong-log-transformer: "npm:^2.1.0" tar-stream: "npm:~2.2.0" tmp: "npm:~0.2.1" tsconfig-paths: "npm:^4.1.2" @@ -22425,7 +22278,7 @@ __metadata: bin: nx: bin/nx.js nx-cloud: bin/nx-cloud.js - checksum: 10c0/a9407ea70ecf9b2f465c94552124ef01d90828025540fa5733e1d3d35e6adab41adfe0c0545ebed37b0e7059e4dfee972351949fd9b643adb13e6daba4dd0214 + checksum: 10c0/608ffda300706d8cf067428921a76d62157b20131796c006258d96b493efba7618572c7dfa8cdab4b7dfb47a8adbcacd65fb69d03dc7480d8229236a1f2cc881 languageName: node linkType: hard @@ -27007,13 +26860,6 @@ __metadata: languageName: node linkType: hard -"std-env@npm:^3.8.0": - version: 3.8.0 - resolution: "std-env@npm:3.8.0" - checksum: 10c0/f560a2902fd0fa3d648d7d0acecbd19d664006f7372c1fba197ed4c216b4c9e48db6e2769b5fe1616d42a9333c9f066c5011935035e85c59f45dc4f796272040 - languageName: node - linkType: hard - "stop-iteration-iterator@npm:^1.0.0": version: 1.0.0 resolution: "stop-iteration-iterator@npm:1.0.0" @@ -27322,6 +27168,19 @@ __metadata: languageName: node linkType: hard +"strong-log-transformer@npm:^2.1.0": + version: 2.1.0 + resolution: "strong-log-transformer@npm:2.1.0" + dependencies: + duplexer: "npm:^0.1.1" + minimist: "npm:^1.2.0" + through: "npm:^2.3.4" + bin: + sl-log-transformer: bin/sl-log-transformer.js + checksum: 10c0/3c3b8aa8f34d661910563ff996412e2f527fc814e699a376854b554d4a4294ab7e285b4e2c08a080a7b19c5600a9b93a98798d3ac600fe3de545ca6605c07829 + languageName: node + linkType: hard + "stubs@npm:^3.0.0": version: 3.0.0 resolution: "stubs@npm:3.0.0" @@ -27794,6 +27653,13 @@ __metadata: languageName: node linkType: hard +"through@npm:^2.3.4": + version: 2.3.8 + resolution: "through@npm:2.3.8" + checksum: 10c0/4b09f3774099de0d4df26d95c5821a62faee32c7e96fb1f4ebd54a2d7c11c57fe88b0a0d49cf375de5fee5ae6bf4eb56dbbf29d07366864e2ee805349970d3cc + languageName: node + linkType: hard + "thunky@npm:^1.0.2": version: 1.1.0 resolution: "thunky@npm:1.1.0" @@ -28084,15 +27950,6 @@ __metadata: languageName: node linkType: hard -"ts-api-utils@npm:^1.3.0": - version: 1.4.3 - resolution: "ts-api-utils@npm:1.4.3" - peerDependencies: - typescript: ">=4.2.0" - checksum: 10c0/e65dc6e7e8141140c23e1dc94984bf995d4f6801919c71d6dc27cf0cd51b100a91ffcfe5217626193e5bea9d46831e8586febdc7e172df3f1091a7384299e23a - languageName: node - linkType: hard - "ts-dedent@npm:^2.0.0, ts-dedent@npm:^2.2.0": version: 2.2.0 resolution: "ts-dedent@npm:2.2.0" @@ -28354,16 +28211,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.4.3, typescript@npm:^5.3.2": - version: 5.4.3 - resolution: "typescript@npm:5.4.3" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/22443a8760c3668e256c0b34b6b45c359ef6cecc10c42558806177a7d500ab1a7d7aac1f976d712e26989ddf6731d2fbdd3212b7c73290a45127c1c43ba2005a - languageName: node - linkType: hard - "typescript@npm:^3.8.3": version: 3.9.10 resolution: "typescript@npm:3.9.10" @@ -28374,23 +28221,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:~5.4.2": - version: 5.4.5 - resolution: "typescript@npm:5.4.5" +"typescript@npm:^5.3.2, typescript@npm:^5.4.3": + version: 5.4.3 + resolution: "typescript@npm:5.4.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/2954022ada340fd3d6a9e2b8e534f65d57c92d5f3989a263754a78aba549f7e6529acc1921913560a4b816c46dce7df4a4d29f9f11a3dc0d4213bb76d043251e + checksum: 10c0/22443a8760c3668e256c0b34b6b45c359ef6cecc10c42558806177a7d500ab1a7d7aac1f976d712e26989ddf6731d2fbdd3212b7c73290a45127c1c43ba2005a languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5.4.3#optional!builtin, typescript@patch:typescript@npm%3A^5.3.2#optional!builtin": - version: 5.4.3 - resolution: "typescript@patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=5adc0c" +"typescript@npm:~5.3.2": + version: 5.3.3 + resolution: "typescript@npm:5.3.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/6e51f8b7e6ec55b897b9e56b67e864fe8f44e30f4a14357aad5dc0f7432db2f01efc0522df0b6c36d361c51f2dc3dcac5c832efd96a404cfabf884e915d38828 + checksum: 10c0/e33cef99d82573624fc0f854a2980322714986bc35b9cb4d1ce736ed182aeab78e2cb32b385efa493b2a976ef52c53e20d6c6918312353a91850e2b76f1ea44f languageName: node linkType: hard @@ -28404,13 +28251,23 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A~5.4.2#optional!builtin": - version: 5.4.5 - resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c" +"typescript@patch:typescript@npm%3A^5.3.2#optional!builtin, typescript@patch:typescript@npm%3A^5.4.3#optional!builtin": + version: 5.4.3 + resolution: "typescript@patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=5adc0c" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/6e51f8b7e6ec55b897b9e56b67e864fe8f44e30f4a14357aad5dc0f7432db2f01efc0522df0b6c36d361c51f2dc3dcac5c832efd96a404cfabf884e915d38828 + languageName: node + linkType: hard + +"typescript@patch:typescript@npm%3A~5.3.2#optional!builtin": + version: 5.3.3 + resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9 + checksum: 10c0/1d0a5f4ce496c42caa9a30e659c467c5686eae15d54b027ee7866744952547f1be1262f2d40de911618c242b510029d51d43ff605dba8fb740ec85ca2d3f9500 languageName: node linkType: hard diff --git a/scripts/.gitignore b/scripts/.gitignore new file mode 100644 index 000000000000..0cba03f65076 --- /dev/null +++ b/scripts/.gitignore @@ -0,0 +1 @@ +.nx/cache \ No newline at end of file diff --git a/scripts/package.json b/scripts/package.json index b02d6abc9bba..ae72fcc9783a 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -62,6 +62,7 @@ "@actions/core": "^1.10.1", "@fal-works/esbuild-plugin-global-externals": "^2.1.2", "@google-cloud/bigquery": "^6.2.0", + "@nx/workspace": "18.0.6", "@octokit/graphql": "^5.0.5", "@octokit/request": "^8.1.2", "@polka/parse": "^1.0.0-next.28", @@ -140,6 +141,7 @@ "memoizerific": "^1.11.3", "minimatch": "^10.0.1", "node-gyp": "^9.3.1", + "nx": "18.0.6", "ora": "^5.4.1", "p-limit": "^3.1.0", "p-retry": "^5.1.2", @@ -179,7 +181,7 @@ "ts-dedent": "^2.2.0", "tsup": "^6.7.0", "type-fest": "~2.19", - "typescript": "5.4.5", + "typescript": "^5.4.5", "util": "^0.12.5", "uuid": "^9.0.1", "vitest": "^2.1.3", diff --git a/scripts/tasks/check.ts b/scripts/tasks/check.ts index a3f4edf31f2b..1f5928c48147 100644 --- a/scripts/tasks/check.ts +++ b/scripts/tasks/check.ts @@ -7,8 +7,8 @@ const amountOfVCPUs = 8; const parallel = `--parallel=${process.env.CI ? amountOfVCPUs - 1 : maxConcurrentTasks}`; -const linkCommand = `npx nx affected -t check ${parallel}`; -const nolinkCommand = `npx nx affected -t check -c production ${parallel}`; +const linkCommand = `nx affected -t check ${parallel}`; +const nolinkCommand = `nx affected -t check -c production ${parallel}`; export const check: Task = { description: 'Typecheck the source code of the monorepo', diff --git a/scripts/tasks/compile.ts b/scripts/tasks/compile.ts index dc8bfb7f3f6c..bb0bf918812a 100644 --- a/scripts/tasks/compile.ts +++ b/scripts/tasks/compile.ts @@ -12,8 +12,8 @@ const amountOfVCPUs = 4; const parallel = `--parallel=${process.env.CI ? amountOfVCPUs - 1 : maxConcurrentTasks}`; const linkedContents = `export * from '../../src/manager-api/index.ts';`; -const linkCommand = `npx nx run-many -t build ${parallel}`; -const noLinkCommand = `npx nx run-many -t build -c production ${parallel}`; +const linkCommand = `nx run-many -t build ${parallel}`; +const noLinkCommand = `nx run-many -t build -c production ${parallel}`; export const compile: Task = { description: 'Compile the source code of the monorepo', diff --git a/scripts/yarn.lock b/scripts/yarn.lock index 4d776ab9a75c..3f740c74a6a4 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -901,6 +901,139 @@ __metadata: languageName: node linkType: hard +"@nrwl/devkit@npm:18.0.6": + version: 18.0.6 + resolution: "@nrwl/devkit@npm:18.0.6" + dependencies: + "@nx/devkit": "npm:18.0.6" + checksum: 10c0/70e02f256216fe11392e2d12a692ddc76acb28140246dfabeac59d3c7a1d8ee1c811e4bcaa6e879a610a7ba7d4669850469676508e8f333e6d42ee487b2ce279 + languageName: node + linkType: hard + +"@nrwl/tao@npm:18.0.6": + version: 18.0.6 + resolution: "@nrwl/tao@npm:18.0.6" + dependencies: + nx: "npm:18.0.6" + tslib: "npm:^2.3.0" + bin: + tao: index.js + checksum: 10c0/f11f0f579dcfb59c501308a9143844785d5aa63c8cca97e5adc6f8faa51468b3105a99ac421b3e5a241001fdfe319a675b586afff1ef3f5d42301994c38da202 + languageName: node + linkType: hard + +"@nrwl/workspace@npm:18.0.6": + version: 18.0.6 + resolution: "@nrwl/workspace@npm:18.0.6" + dependencies: + "@nx/workspace": "npm:18.0.6" + checksum: 10c0/0cf5ec95c036fd98269d9e746ab08f578d793011667823053aecfb062337a9b0bd98def282acf7fba453930537d5adb7c2d5284b5faebe676f22717a1a7040c1 + languageName: node + linkType: hard + +"@nx/devkit@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/devkit@npm:18.0.6" + dependencies: + "@nrwl/devkit": "npm:18.0.6" + ejs: "npm:^3.1.7" + enquirer: "npm:~2.3.6" + ignore: "npm:^5.0.4" + semver: "npm:^7.5.3" + tmp: "npm:~0.2.1" + tslib: "npm:^2.3.0" + yargs-parser: "npm:21.1.1" + peerDependencies: + nx: ">= 16 <= 18" + checksum: 10c0/1645003b800475257fce500802ce99acc35490c73161896247f7e2747a0160c47a40245b17daf568b6d05f66ddf55097772e2ab8ba895a286f8b544af1b51c44 + languageName: node + linkType: hard + +"@nx/nx-darwin-arm64@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-darwin-arm64@npm:18.0.6" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@nx/nx-darwin-x64@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-darwin-x64@npm:18.0.6" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@nx/nx-freebsd-x64@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-freebsd-x64@npm:18.0.6" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@nx/nx-linux-arm-gnueabihf@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:18.0.6" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@nx/nx-linux-arm64-gnu@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-linux-arm64-gnu@npm:18.0.6" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@nx/nx-linux-arm64-musl@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-linux-arm64-musl@npm:18.0.6" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@nx/nx-linux-x64-gnu@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-linux-x64-gnu@npm:18.0.6" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@nx/nx-linux-x64-musl@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-linux-x64-musl@npm:18.0.6" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@nx/nx-win32-arm64-msvc@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-win32-arm64-msvc@npm:18.0.6" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@nx/nx-win32-x64-msvc@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/nx-win32-x64-msvc@npm:18.0.6" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@nx/workspace@npm:18.0.6": + version: 18.0.6 + resolution: "@nx/workspace@npm:18.0.6" + dependencies: + "@nrwl/workspace": "npm:18.0.6" + "@nx/devkit": "npm:18.0.6" + chalk: "npm:^4.1.0" + enquirer: "npm:~2.3.6" + nx: "npm:18.0.6" + tslib: "npm:^2.3.0" + yargs-parser: "npm:21.1.1" + checksum: 10c0/bd01b6b28fbe0c783a9c37bfdf0a01846df4ef46f366f6596e586063dff06d87761c35b06819839fefdf66a9c32947697db7ecc21b2933a06a633693a962272c + languageName: node + linkType: hard + "@octokit/auth-token@npm:^2.4.0, @octokit/auth-token@npm:^2.4.4": version: 2.5.0 resolution: "@octokit/auth-token@npm:2.5.0" @@ -1451,6 +1584,7 @@ __metadata: "@actions/core": "npm:^1.10.1" "@fal-works/esbuild-plugin-global-externals": "npm:^2.1.2" "@google-cloud/bigquery": "npm:^6.2.0" + "@nx/workspace": "npm:18.0.6" "@octokit/graphql": "npm:^5.0.5" "@octokit/request": "npm:^8.1.2" "@polka/parse": "npm:^1.0.0-next.28" @@ -1531,6 +1665,7 @@ __metadata: memoizerific: "npm:^1.11.3" minimatch: "npm:^10.0.1" node-gyp: "npm:^9.3.1" + nx: "npm:18.0.6" ora: "npm:^5.4.1" p-limit: "npm:^3.1.0" p-retry: "npm:^5.1.2" @@ -1570,7 +1705,7 @@ __metadata: ts-dedent: "npm:^2.2.0" tsup: "npm:^6.7.0" type-fest: "npm:~2.19" - typescript: "npm:5.4.5" + typescript: "npm:^5.4.5" util: "npm:^0.12.5" uuid: "npm:^9.0.1" verdaccio: "npm:^5.31.1" @@ -2802,6 +2937,34 @@ __metadata: languageName: node linkType: hard +"@yarnpkg/lockfile@npm:^1.1.0": + version: 1.1.0 + resolution: "@yarnpkg/lockfile@npm:1.1.0" + checksum: 10c0/0bfa50a3d756623d1f3409bc23f225a1d069424dbc77c6fd2f14fb377390cd57ec703dc70286e081c564be9051ead9ba85d81d66a3e68eeb6eb506d4e0c0fbda + languageName: node + linkType: hard + +"@yarnpkg/parsers@npm:3.0.0-rc.46": + version: 3.0.0-rc.46 + resolution: "@yarnpkg/parsers@npm:3.0.0-rc.46" + dependencies: + js-yaml: "npm:^3.10.0" + tslib: "npm:^2.4.0" + checksum: 10c0/c7f421c6885142f351459031c093fb2e79abcce6f4a89765a10e600bb7ab122949c54bcea2b23de9572a2b34ba29f822b17831c1c43ba50373ceb8cb5b336667 + languageName: node + linkType: hard + +"@zkochan/js-yaml@npm:0.0.6": + version: 0.0.6 + resolution: "@zkochan/js-yaml@npm:0.0.6" + dependencies: + argparse: "npm:^2.0.1" + bin: + js-yaml: bin/js-yaml.js + checksum: 10c0/5ce27ae75fb1db9657d4065bf6b380b4c0f756feb1bdf42bfde40551a74bcc0ec918f748cbdbd5d95b7107d00bc2f731ee731b5cfe93acb6f7da5639b16aa1f8 + languageName: node + linkType: hard + "JSONStream@npm:1.3.5": version: 1.3.5 resolution: "JSONStream@npm:1.3.5" @@ -2960,6 +3123,13 @@ __metadata: languageName: node linkType: hard +"ansi-colors@npm:^4.1.1": + version: 4.1.3 + resolution: "ansi-colors@npm:4.1.3" + checksum: 10c0/ec87a2f59902f74e61eada7f6e6fe20094a628dab765cfdbd03c3477599368768cffccdb5d3bb19a1b6c99126783a143b1fee31aab729b31ffe5836c7e5e28b9 + languageName: node + linkType: hard + "ansi-escapes@npm:^6.2.0": version: 6.2.1 resolution: "ansi-escapes@npm:6.2.1" @@ -3354,7 +3524,7 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.6.1": +"axios@npm:^1.6.0, axios@npm:^1.6.1": version: 1.7.2 resolution: "axios@npm:1.7.2" dependencies: @@ -3494,7 +3664,7 @@ __metadata: languageName: node linkType: hard -"bl@npm:^4.1.0": +"bl@npm:^4.0.3, bl@npm:^4.1.0": version: 4.1.0 resolution: "bl@npm:4.1.0" dependencies: @@ -3905,7 +4075,7 @@ __metadata: languageName: node linkType: hard -"cli-cursor@npm:^3.1.0": +"cli-cursor@npm:3.1.0, cli-cursor@npm:^3.1.0": version: 3.1.0 resolution: "cli-cursor@npm:3.1.0" dependencies: @@ -3923,6 +4093,13 @@ __metadata: languageName: node linkType: hard +"cli-spinners@npm:2.6.1": + version: 2.6.1 + resolution: "cli-spinners@npm:2.6.1" + checksum: 10c0/6abcdfef59aa68e6b51376d87d257f9120a0a7120a39dd21633702d24797decb6dc747dff2217c88732710db892b5053c5c672d221b6c4d13bbcb5372e203596 + languageName: node + linkType: hard + "cli-spinners@npm:^2.5.0": version: 2.9.1 resolution: "cli-spinners@npm:2.9.1" @@ -4579,6 +4756,13 @@ __metadata: languageName: node linkType: hard +"define-lazy-prop@npm:^2.0.0": + version: 2.0.0 + resolution: "define-lazy-prop@npm:2.0.0" + checksum: 10c0/db6c63864a9d3b7dc9def55d52764968a5af296de87c1b2cc71d8be8142e445208071953649e0386a8cc37cfcf9a2067a47207f1eb9ff250c2a269658fdae422 + languageName: node + linkType: hard + "define-properties@npm:^1.1.3, define-properties@npm:^1.2.0, define-properties@npm:^1.2.1": version: 1.2.1 resolution: "define-properties@npm:1.2.1" @@ -4831,6 +5015,27 @@ __metadata: languageName: node linkType: hard +"dotenv-expand@npm:~10.0.0": + version: 10.0.0 + resolution: "dotenv-expand@npm:10.0.0" + checksum: 10c0/298f5018e29cfdcb0b5f463ba8e8627749103fbcf6cf81c561119115754ed582deee37b49dfc7253028aaba875ab7aea5fa90e5dac88e511d009ab0e6677924e + languageName: node + linkType: hard + +"dotenv@npm:~16.3.1": + version: 16.3.1 + resolution: "dotenv@npm:16.3.1" + checksum: 10c0/b95ff1bbe624ead85a3cd70dbd827e8e06d5f05f716f2d0cbc476532d54c7c9469c3bc4dd93ea519f6ad711cb522c00ac9a62b6eb340d5affae8008facc3fbd7 + languageName: node + linkType: hard + +"duplexer@npm:^0.1.1": + version: 0.1.2 + resolution: "duplexer@npm:0.1.2" + checksum: 10c0/c57bcd4bdf7e623abab2df43a7b5b23d18152154529d166c1e0da6bee341d84c432d157d7e97b32fecb1bf3a8b8857dd85ed81a915789f550637ed25b8e64fc2 + languageName: node + linkType: hard + "duplexify@npm:^3.5.0, duplexify@npm:^3.6.0": version: 3.7.1 resolution: "duplexify@npm:3.7.1" @@ -5015,6 +5220,15 @@ __metadata: languageName: node linkType: hard +"enquirer@npm:~2.3.6": + version: 2.3.6 + resolution: "enquirer@npm:2.3.6" + dependencies: + ansi-colors: "npm:^4.1.1" + checksum: 10c0/8e070e052c2c64326a2803db9084d21c8aaa8c688327f133bf65c4a712586beb126fd98c8a01cfb0433e82a4bd3b6262705c55a63e0f7fb91d06b9cedbde9a11 + languageName: node + linkType: hard + "ent@npm:^2.2.0": version: 2.2.0 resolution: "ent@npm:2.2.0" @@ -6109,6 +6323,15 @@ __metadata: languageName: node linkType: hard +"figures@npm:3.2.0": + version: 3.2.0 + resolution: "figures@npm:3.2.0" + dependencies: + escape-string-regexp: "npm:^1.0.5" + checksum: 10c0/9c421646ede432829a50bc4e55c7a4eb4bcb7cc07b5bab2f471ef1ab9a344595bbebb6c5c21470093fbb730cd81bbca119624c40473a125293f656f49cb47629 + languageName: node + linkType: hard + "file-entry-cache@npm:^6.0.1": version: 6.0.1 resolution: "file-entry-cache@npm:6.0.1" @@ -6212,6 +6435,15 @@ __metadata: languageName: node linkType: hard +"flat@npm:^5.0.2": + version: 5.0.2 + resolution: "flat@npm:5.0.2" + bin: + flat: cli.js + checksum: 10c0/f178b13482f0cd80c7fede05f4d10585b1f2fdebf26e12edc138e32d3150c6ea6482b7f12813a1091143bad52bb6d3596bca51a162257a21163c0ff438baa5fe + languageName: node + linkType: hard + "flatted@npm:^3.2.9": version: 3.2.9 resolution: "flatted@npm:3.2.9" @@ -6305,7 +6537,7 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^11.2.0": +"fs-extra@npm:^11.1.0, fs-extra@npm:^11.2.0": version: 11.2.0 resolution: "fs-extra@npm:11.2.0" dependencies: @@ -7243,7 +7475,7 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.0.0, ignore@npm:^5.0.5, ignore@npm:^5.1.1, ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1": +"ignore@npm:^5.0.0, ignore@npm:^5.0.4, ignore@npm:^5.0.5, ignore@npm:^5.1.1, ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1": version: 5.3.1 resolution: "ignore@npm:5.3.1" checksum: 10c0/703f7f45ffb2a27fb2c5a8db0c32e7dee66b33a225d28e8db4e1be6474795f606686a6e3bcc50e1aa12f2042db4c9d4a7d60af3250511de74620fbed052ea4cd @@ -7522,6 +7754,15 @@ __metadata: languageName: node linkType: hard +"is-docker@npm:^2.0.0, is-docker@npm:^2.1.1": + version: 2.2.1 + resolution: "is-docker@npm:2.2.1" + bin: + is-docker: cli.js + checksum: 10c0/e828365958d155f90c409cdbe958f64051d99e8aedc2c8c4cd7c89dcf35329daed42f7b99346f7828df013e27deb8f721cf9408ba878c76eb9e8290235fbcdcc + languageName: node + linkType: hard + "is-empty@npm:^1.0.0": version: 1.2.0 resolution: "is-empty@npm:1.2.0" @@ -7816,6 +8057,15 @@ __metadata: languageName: node linkType: hard +"is-wsl@npm:^2.2.0": + version: 2.2.0 + resolution: "is-wsl@npm:2.2.0" + dependencies: + is-docker: "npm:^2.0.0" + checksum: 10c0/a6fa2d370d21be487c0165c7a440d567274fbba1a817f2f0bfa41cc5e3af25041d84267baa22df66696956038a43973e72fca117918c91431920bdef490fa25e + languageName: node + linkType: hard + "is@npm:^3.3.0": version: 3.3.0 resolution: "is@npm:3.3.0" @@ -7944,7 +8194,7 @@ __metadata: languageName: node linkType: hard -"jest-diff@npm:^29.7.0": +"jest-diff@npm:^29.4.1, jest-diff@npm:^29.7.0": version: 29.7.0 resolution: "jest-diff@npm:29.7.0" dependencies: @@ -8049,7 +8299,7 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:3.14.1": +"js-yaml@npm:3.14.1, js-yaml@npm:^3.10.0": version: 3.14.1 resolution: "js-yaml@npm:3.14.1" dependencies: @@ -8164,7 +8414,7 @@ __metadata: languageName: node linkType: hard -"json5@npm:^2.0.0, json5@npm:^2.2.3": +"json5@npm:^2.0.0, json5@npm:^2.2.2, json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" bin: @@ -8173,7 +8423,7 @@ __metadata: languageName: node linkType: hard -"jsonc-parser@npm:^3.0.0": +"jsonc-parser@npm:3.2.0, jsonc-parser@npm:^3.0.0": version: 3.2.0 resolution: "jsonc-parser@npm:3.2.0" checksum: 10c0/5a12d4d04dad381852476872a29dcee03a57439574e4181d91dca71904fcdcc5e8e4706c0a68a2c61ad9810e1e1c5806b5100d52d3e727b78f5cdc595401045b @@ -8416,7 +8666,7 @@ __metadata: languageName: node linkType: hard -"lines-and-columns@npm:^2.0.3": +"lines-and-columns@npm:^2.0.3, lines-and-columns@npm:~2.0.3": version: 2.0.4 resolution: "lines-and-columns@npm:2.0.4" checksum: 10c0/4db28bf065cd7ad897c0700f22d3d0d7c5ed6777e138861c601c496d545340df3fc19e18bd04ff8d95a246a245eb55685b82ca2f8c2ca53a008e9c5316250379 @@ -8613,7 +8863,7 @@ __metadata: languageName: node linkType: hard -"log-symbols@npm:^4.1.0": +"log-symbols@npm:^4.0.0, log-symbols@npm:^4.1.0": version: 4.1.0 resolution: "log-symbols@npm:4.1.0" dependencies: @@ -10009,6 +10259,13 @@ __metadata: languageName: node linkType: hard +"node-machine-id@npm:1.1.12": + version: 1.1.12 + resolution: "node-machine-id@npm:1.1.12" + checksum: 10c0/ab2fea5f75a6f1ce3c76c5e0ae3903b631230e0a99b003d176568fff8ddbdf7b2943be96cd8d220c497ca0f6149411831f8a450601929f326781cb1b59bab7f8 + languageName: node + linkType: hard + "nopt@npm:^6.0.0": version: 6.0.0 resolution: "nopt@npm:6.0.0" @@ -10105,6 +10362,90 @@ __metadata: languageName: node linkType: hard +"nx@npm:18.0.6": + version: 18.0.6 + resolution: "nx@npm:18.0.6" + dependencies: + "@nrwl/tao": "npm:18.0.6" + "@nx/nx-darwin-arm64": "npm:18.0.6" + "@nx/nx-darwin-x64": "npm:18.0.6" + "@nx/nx-freebsd-x64": "npm:18.0.6" + "@nx/nx-linux-arm-gnueabihf": "npm:18.0.6" + "@nx/nx-linux-arm64-gnu": "npm:18.0.6" + "@nx/nx-linux-arm64-musl": "npm:18.0.6" + "@nx/nx-linux-x64-gnu": "npm:18.0.6" + "@nx/nx-linux-x64-musl": "npm:18.0.6" + "@nx/nx-win32-arm64-msvc": "npm:18.0.6" + "@nx/nx-win32-x64-msvc": "npm:18.0.6" + "@yarnpkg/lockfile": "npm:^1.1.0" + "@yarnpkg/parsers": "npm:3.0.0-rc.46" + "@zkochan/js-yaml": "npm:0.0.6" + axios: "npm:^1.6.0" + chalk: "npm:^4.1.0" + cli-cursor: "npm:3.1.0" + cli-spinners: "npm:2.6.1" + cliui: "npm:^8.0.1" + dotenv: "npm:~16.3.1" + dotenv-expand: "npm:~10.0.0" + enquirer: "npm:~2.3.6" + figures: "npm:3.2.0" + flat: "npm:^5.0.2" + fs-extra: "npm:^11.1.0" + ignore: "npm:^5.0.4" + jest-diff: "npm:^29.4.1" + js-yaml: "npm:4.1.0" + jsonc-parser: "npm:3.2.0" + lines-and-columns: "npm:~2.0.3" + minimatch: "npm:9.0.3" + node-machine-id: "npm:1.1.12" + npm-run-path: "npm:^4.0.1" + open: "npm:^8.4.0" + ora: "npm:5.3.0" + semver: "npm:^7.5.3" + string-width: "npm:^4.2.3" + strong-log-transformer: "npm:^2.1.0" + tar-stream: "npm:~2.2.0" + tmp: "npm:~0.2.1" + tsconfig-paths: "npm:^4.1.2" + tslib: "npm:^2.3.0" + yargs: "npm:^17.6.2" + yargs-parser: "npm:21.1.1" + peerDependencies: + "@swc-node/register": ^1.8.0 + "@swc/core": ^1.3.85 + dependenciesMeta: + "@nx/nx-darwin-arm64": + optional: true + "@nx/nx-darwin-x64": + optional: true + "@nx/nx-freebsd-x64": + optional: true + "@nx/nx-linux-arm-gnueabihf": + optional: true + "@nx/nx-linux-arm64-gnu": + optional: true + "@nx/nx-linux-arm64-musl": + optional: true + "@nx/nx-linux-x64-gnu": + optional: true + "@nx/nx-linux-x64-musl": + optional: true + "@nx/nx-win32-arm64-msvc": + optional: true + "@nx/nx-win32-x64-msvc": + optional: true + peerDependenciesMeta: + "@swc-node/register": + optional: true + "@swc/core": + optional: true + bin: + nx: bin/nx.js + nx-cloud: bin/nx-cloud.js + checksum: 10c0/608ffda300706d8cf067428921a76d62157b20131796c006258d96b493efba7618572c7dfa8cdab4b7dfb47a8adbcacd65fb69d03dc7480d8229236a1f2cc881 + languageName: node + linkType: hard + "object-assign@npm:^4, object-assign@npm:^4.0.1, object-assign@npm:^4.1.1": version: 4.1.1 resolution: "object-assign@npm:4.1.1" @@ -10252,6 +10593,17 @@ __metadata: languageName: node linkType: hard +"open@npm:^8.4.0": + version: 8.4.2 + resolution: "open@npm:8.4.2" + dependencies: + define-lazy-prop: "npm:^2.0.0" + is-docker: "npm:^2.1.1" + is-wsl: "npm:^2.2.0" + checksum: 10c0/bb6b3a58401dacdb0aad14360626faf3fb7fba4b77816b373495988b724fb48941cad80c1b65d62bb31a17609b2cd91c41a181602caea597ca80dfbcc27e84c9 + languageName: node + linkType: hard + "opencollective-postinstall@npm:^2.0.2": version: 2.0.3 resolution: "opencollective-postinstall@npm:2.0.3" @@ -10284,6 +10636,22 @@ __metadata: languageName: node linkType: hard +"ora@npm:5.3.0": + version: 5.3.0 + resolution: "ora@npm:5.3.0" + dependencies: + bl: "npm:^4.0.3" + chalk: "npm:^4.1.0" + cli-cursor: "npm:^3.1.0" + cli-spinners: "npm:^2.5.0" + is-interactive: "npm:^1.0.0" + log-symbols: "npm:^4.0.0" + strip-ansi: "npm:^6.0.0" + wcwidth: "npm:^1.0.1" + checksum: 10c0/30d5f3218eb75b0a2028c5fb9aa88e83e38a2f1745ab56839abb06c3ba31bae35f768f4e72c4f9e04e2a66be6a898e9312e8cf85c9333e1e3613eabb8c7cdf57 + languageName: node + linkType: hard + "ora@npm:^5.4.1": version: 5.4.1 resolution: "ora@npm:5.4.1" @@ -12192,7 +12560,7 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^3.0.2": +"rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": version: 3.0.2 resolution: "rimraf@npm:3.0.2" dependencies: @@ -13197,6 +13565,19 @@ __metadata: languageName: node linkType: hard +"strong-log-transformer@npm:^2.1.0": + version: 2.1.0 + resolution: "strong-log-transformer@npm:2.1.0" + dependencies: + duplexer: "npm:^0.1.1" + minimist: "npm:^1.2.0" + through: "npm:^2.3.4" + bin: + sl-log-transformer: bin/sl-log-transformer.js + checksum: 10c0/3c3b8aa8f34d661910563ff996412e2f527fc814e699a376854b554d4a4294ab7e285b4e2c08a080a7b19c5600a9b93a98798d3ac600fe3de545ca6605c07829 + languageName: node + linkType: hard + "stubs@npm:^3.0.0": version: 3.0.0 resolution: "stubs@npm:3.0.0" @@ -13323,6 +13704,19 @@ __metadata: languageName: node linkType: hard +"tar-stream@npm:~2.2.0": + version: 2.2.0 + resolution: "tar-stream@npm:2.2.0" + dependencies: + bl: "npm:^4.0.3" + end-of-stream: "npm:^1.4.1" + fs-constants: "npm:^1.0.0" + inherits: "npm:^2.0.3" + readable-stream: "npm:^3.1.1" + checksum: 10c0/2f4c910b3ee7196502e1ff015a7ba321ec6ea837667220d7bcb8d0852d51cb04b87f7ae471008a6fb8f5b1a1b5078f62f3a82d30c706f20ada1238ac797e7692 + languageName: node + linkType: hard + "tar@npm:^6.1.11, tar@npm:^6.1.2": version: 6.2.0 resolution: "tar@npm:6.2.0" @@ -13436,7 +13830,7 @@ __metadata: languageName: node linkType: hard -"through@npm:>=2.2.7 <3, through@npm:^2.3.8": +"through@npm:>=2.2.7 <3, through@npm:^2.3.4, through@npm:^2.3.8": version: 2.3.8 resolution: "through@npm:2.3.8" checksum: 10c0/4b09f3774099de0d4df26d95c5821a62faee32c7e96fb1f4ebd54a2d7c11c57fe88b0a0d49cf375de5fee5ae6bf4eb56dbbf29d07366864e2ee805349970d3cc @@ -13485,6 +13879,15 @@ __metadata: languageName: node linkType: hard +"tmp@npm:~0.2.1": + version: 0.2.1 + resolution: "tmp@npm:0.2.1" + dependencies: + rimraf: "npm:^3.0.0" + checksum: 10c0/67607aa012059c9ce697bee820ee51bc0f39b29a8766def4f92d3f764d67c7cf9205d537d24e0cb1ce9685c40d4c628ead010910118ea18348666b5c46ed9123 + languageName: node + linkType: hard + "to-buffer@npm:^1.1.1": version: 1.1.1 resolution: "to-buffer@npm:1.1.1" @@ -13633,6 +14036,17 @@ __metadata: languageName: node linkType: hard +"tsconfig-paths@npm:^4.1.2": + version: 4.2.0 + resolution: "tsconfig-paths@npm:4.2.0" + dependencies: + json5: "npm:^2.2.2" + minimist: "npm:^1.2.6" + strip-bom: "npm:^3.0.0" + checksum: 10c0/09a5877402d082bb1134930c10249edeebc0211f36150c35e1c542e5b91f1047b1ccf7da1e59babca1ef1f014c525510f4f870de7c9bda470c73bb4e2721b3ea + languageName: node + linkType: hard + "tslib@npm:^1.8.1": version: 1.14.1 resolution: "tslib@npm:1.14.1" @@ -13640,7 +14054,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.0.1, tslib@npm:^2.1.0, tslib@npm:^2.6.2": +"tslib@npm:^2.0.1, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.4.0, tslib@npm:^2.6.2": version: 2.6.2 resolution: "tslib@npm:2.6.2" checksum: 10c0/e03a8a4271152c8b26604ed45535954c0a45296e32445b4b87f8a5abdb2421f40b59b4ca437c4346af0f28179780d604094eb64546bee2019d903d01c6c19bdb @@ -13809,7 +14223,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.4.5": +"typescript@npm:^5.4.5": version: 5.4.5 resolution: "typescript@npm:5.4.5" bin: @@ -13819,7 +14233,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5.4.5#optional!builtin": +"typescript@patch:typescript@npm%3A^5.4.5#optional!builtin": version: 5.4.5 resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c" bin: @@ -15039,14 +15453,14 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:^21.1.1": +"yargs-parser@npm:21.1.1, yargs-parser@npm:^21.1.1": version: 21.1.1 resolution: "yargs-parser@npm:21.1.1" checksum: 10c0/f84b5e48169479d2f402239c59f084cfd1c3acc197a05c59b98bab067452e6b3ea46d4dd8ba2985ba7b3d32a343d77df0debd6b343e5dae3da2aab2cdf5886b2 languageName: node linkType: hard -"yargs@npm:^17.0.0": +"yargs@npm:^17.0.0, yargs@npm:^17.6.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: From cb2e01bb44f563362a28162f61154f27c4c05823 Mon Sep 17 00:00:00 2001 From: storybook-bot <32066757+storybook-bot@users.noreply.github.com> Date: Thu, 5 Dec 2024 14:28:35 +0000 Subject: [PATCH 32/32] Write changelog for 8.5.0-alpha.18 [skip ci] --- CHANGELOG.prerelease.md | 9 +++++++++ code/package.json | 3 ++- docs/versions/next.json | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.prerelease.md b/CHANGELOG.prerelease.md index 2ad71c357e65..baec48071eda 100644 --- a/CHANGELOG.prerelease.md +++ b/CHANGELOG.prerelease.md @@ -1,3 +1,12 @@ +## 8.5.0-alpha.18 + +- Addon Test: Clarify message when `vitest` detects missing deps - [#29763](https://github.com/storybookjs/storybook/pull/29763), thanks @ndelangen! +- Addon Test: Refactor test addon to include stories automatically - [#29367](https://github.com/storybookjs/storybook/pull/29367), thanks @yannbf! +- Addon Test: Replace `glob` with `tinyglobby` - [#29817](https://github.com/storybookjs/storybook/pull/29817), thanks @ghengeveld! +- Addon Test: Support Storybook environment variables in Vitest - [#29792](https://github.com/storybookjs/storybook/pull/29792), thanks @ghengeveld! +- Composition: Hide contextMenu on composed storybooks - [#29803](https://github.com/storybookjs/storybook/pull/29803), thanks @ndelangen! +- Vue: Properly resolve Vite plugin - [#29795](https://github.com/storybookjs/storybook/pull/29795), thanks @tobiasdiez! + ## 8.5.0-alpha.17 - CLI: Fix new-frameworks automigration - [#29804](https://github.com/storybookjs/storybook/pull/29804), thanks @yannbf! diff --git a/code/package.json b/code/package.json index b030cd2c70a9..d85d0a6817c0 100644 --- a/code/package.json +++ b/code/package.json @@ -293,5 +293,6 @@ "Dependency Upgrades" ] ] - } + }, + "deferredNextVersion": "8.5.0-alpha.18" } diff --git a/docs/versions/next.json b/docs/versions/next.json index 37255d98f54a..0fee1f4e6446 100644 --- a/docs/versions/next.json +++ b/docs/versions/next.json @@ -1 +1 @@ -{"version":"8.5.0-alpha.17","info":{"plain":"- CLI: Fix new-frameworks automigration - [#29804](https://github.com/storybookjs/storybook/pull/29804), thanks @yannbf!\n- ReactVite: Add `@storybook/test` as optional peer dependency - [#29754](https://github.com/storybookjs/storybook/pull/29754), thanks @yannbf!\n- Vite: Fix preview runtime import - [#29802](https://github.com/storybookjs/storybook/pull/29802), thanks @yannbf!"}} +{"version":"8.5.0-alpha.18","info":{"plain":"- Addon Test: Clarify message when `vitest` detects missing deps - [#29763](https://github.com/storybookjs/storybook/pull/29763), thanks @ndelangen!\n- Addon Test: Refactor test addon to include stories automatically - [#29367](https://github.com/storybookjs/storybook/pull/29367), thanks @yannbf!\n- Addon Test: Replace `glob` with `tinyglobby` - [#29817](https://github.com/storybookjs/storybook/pull/29817), thanks @ghengeveld!\n- Addon Test: Support Storybook environment variables in Vitest - [#29792](https://github.com/storybookjs/storybook/pull/29792), thanks @ghengeveld!\n- Composition: Hide contextMenu on composed storybooks - [#29803](https://github.com/storybookjs/storybook/pull/29803), thanks @ndelangen!\n- Vue: Properly resolve Vite plugin - [#29795](https://github.com/storybookjs/storybook/pull/29795), thanks @tobiasdiez!"}}