sb 8.0.0-alpha.3 → 8.0.0-alpha.5

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sb",
3
- "version": "8.0.0-alpha.3",
3
+ "version": "8.0.0-alpha.5",
4
4
  "description": "Storybook CLI",
5
5
  "keywords": [
6
6
  "storybook"
@@ -21,7 +21,7 @@
21
21
  "license": "MIT",
22
22
  "bin": "./index.js",
23
23
  "dependencies": {
24
- "@storybook/cli": "8.0.0-alpha.3"
24
+ "@storybook/cli": "8.0.0-alpha.5"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"
@@ -0,0 +1,13 @@
1
+ import { defineConfig, mergeConfig } from 'vitest/config';
2
+ import { sep, posix } from 'path';
3
+ import { vitestCommonConfig } from '../../vitest.workspace';
4
+
5
+ export default mergeConfig(
6
+ vitestCommonConfig,
7
+ defineConfig({
8
+ test: {
9
+ environment: 'node',
10
+ name: __dirname.split(sep).slice(-2).join(posix.sep),
11
+ },
12
+ })
13
+ );
package/jest.config.js DELETED
@@ -1,7 +0,0 @@
1
- const path = require('path');
2
- const baseConfig = require('../../jest.config.node');
3
-
4
- module.exports = {
5
- ...baseConfig,
6
- displayName: __dirname.split(path.sep).slice(-2).join(path.posix.sep),
7
- };