From fd5bd1107e90574c93bd21c0356ddb5fb7400311 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 9 Aug 2024 19:46:49 +0200 Subject: [PATCH] formatting fixes on next --- code/addons/docs/docs/docspage.md | 2 +- scripts/vite-ecosystem-ci/before-test.js | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/code/addons/docs/docs/docspage.md b/code/addons/docs/docs/docspage.md index 478b674609b9..26f75811de5b 100644 --- a/code/addons/docs/docs/docspage.md +++ b/code/addons/docs/docs/docspage.md @@ -142,9 +142,9 @@ That being said, there is a system in place to remove the necessity of this trad ```js import React from 'react'; +import { render } from 'react-dom'; import { addParameters } from '@storybook/vue'; import toReact from '@egoist/vue-to-react'; -import { render } from 'react-dom'; addParameters({ docs: { diff --git a/scripts/vite-ecosystem-ci/before-test.js b/scripts/vite-ecosystem-ci/before-test.js index 04c6fa742b05..15ff7126b188 100644 --- a/scripts/vite-ecosystem-ci/before-test.js +++ b/scripts/vite-ecosystem-ci/before-test.js @@ -3,10 +3,11 @@ * This is necessary because the sandbox package.json is used to run the tests and the resolutions are needed to run the tests. * The vite-ecosystem-ci, though, sets the resolutions in the root package.json. */ -import fs from 'fs'; -import path from 'path'; -import { fileURLToPath } from 'url'; -import { execaCommand, execa } from 'execa'; +import fs from 'node:fs'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; + +import { execa, execaCommand } from 'execa'; const filename = fileURLToPath(import.meta.url); const dirname = path.dirname(filename);