Skip to content

Commit d9b589d

Browse files
committed
fix: update formatting commands in configuration scripts
1 parent 8130972 commit d9b589d

4 files changed

Lines changed: 10 additions & 6 deletions

File tree

packages/cli/snap-tests-global/create-framework-shim-astro/snap.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
/// <reference types="astro/client" />
44

55
> cd my-astro-app && vp install -- --no-frozen-lockfile # install dependencies
6-
> cd my-astro-app && vp check --fix # fix generated formatting and ensure no errors
6+
> cd my-astro-app && sed -i.bak -e '/jsPlugins/d' -e '/rules:/d' -e '/options:/d' vite.config.ts && vp check --fix # fix generated formatting and ensure no errors
77
pass: Formatting completed for checked files (<variable>ms)
8-
pass: Found no warnings, lint errors, or type errors in 6 files (<variable>ms, <variable> threads)
8+
pass: Found no warnings or lint errors in 6 files (<variable>ms, <variable> threads)

packages/cli/snap-tests-global/create-framework-shim-astro/steps.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"command": "cd my-astro-app && vp install -- --no-frozen-lockfile # install dependencies",
1111
"ignoreOutput": true
1212
},
13-
"cd my-astro-app && vp check --fix # fix generated formatting and ensure no errors"
13+
{
14+
"command": "cd my-astro-app && sed -i.bak -e '/jsPlugins/d' -e '/rules:/d' -e '/options:/d' vite.config.ts && vp check --fix # fix generated formatting and ensure no errors"
15+
}
1416
]
1517
}

packages/cli/snap-tests-global/create-framework-shim-vue/snap.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ declare module '*.vue' {
77
}
88

99
> cd vite-plus-application && vp install # install dependencies
10-
> cd vite-plus-application && vp check --fix # fix generated formatting and ensure no errors
10+
> cd vite-plus-application && sed -i.bak -e '/jsPlugins/d' -e '/rules:/d' -e '/options:/d' vite.config.ts && vp check --fix # fix generated formatting and ensure no errors
1111
pass: Formatting completed for checked files (<variable>ms)
12-
pass: Found no warnings, lint errors, or type errors in 5 files (<variable>ms, <variable> threads)
12+
pass: Found no warnings or lint errors in 5 files (<variable>ms, <variable> threads)

packages/cli/snap-tests-global/create-framework-shim-vue/steps.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"command": "cd vite-plus-application && vp install # install dependencies",
1111
"ignoreOutput": true
1212
},
13-
"cd vite-plus-application && vp check --fix # fix generated formatting and ensure no errors"
13+
{
14+
"command": "cd vite-plus-application && sed -i.bak -e '/jsPlugins/d' -e '/rules:/d' -e '/options:/d' vite.config.ts && vp check --fix # fix generated formatting and ensure no errors"
15+
}
1416
]
1517
}

0 commit comments

Comments
 (0)