@storybook/ember 8.2.0-alpha.9 → 8.2.0-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/client/preview/docs/config.d.ts +1 -1
- package/dist/client/preview/docs/config.js +1 -1
- package/dist/client/preview/render.d.ts +1 -1
- package/dist/client/preview/types.d.ts +2 -2
- package/dist/preset.d.ts +1 -1
- package/dist/preset.js +3 -3
- package/dist/preset.mjs +1 -1
- package/dist/server/framework-preset-babel-ember.d.ts +1 -1
- package/dist/server/framework-preset-ember-docs.d.ts +1 -1
- package/dist/server/framework-preset-ember-docs.js +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +4 -7
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.argTypesEnhancers = exports.parameters = void 0;
|
4
|
-
const docs_tools_1 = require("
|
4
|
+
const docs_tools_1 = require("storybook/internal/docs-tools");
|
5
5
|
const jsondoc_1 = require("./jsondoc");
|
6
6
|
exports.parameters = {
|
7
7
|
docs: {
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import type { RenderContext } from '
|
1
|
+
import type { RenderContext } from 'storybook/internal/types';
|
2
2
|
import type { EmberRenderer } from './types';
|
3
3
|
export declare function renderToCanvas({ storyFn, kind, name, showMain, showError }: RenderContext<EmberRenderer>, canvasElement: EmberRenderer['canvasElement']): void;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { WebRenderer } from '
|
2
|
-
export type { RenderContext } from '
|
1
|
+
import type { WebRenderer } from 'storybook/internal/types';
|
2
|
+
export type { RenderContext } from 'storybook/internal/types';
|
3
3
|
export interface ShowErrorArgs {
|
4
4
|
title: string;
|
5
5
|
description: string;
|
package/dist/preset.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { PresetProperty } from '
|
1
|
+
import type { PresetProperty } from 'storybook/internal/types';
|
2
2
|
import type { StorybookConfig } from './types';
|
3
3
|
export declare const addons: PresetProperty<'addons'>;
|
4
4
|
export declare const webpackFinal: StorybookConfig['webpackFinal'];
|
package/dist/preset.js
CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.core = exports.webpackFinal = exports.addons = void 0;
|
4
4
|
const path_1 = require("path");
|
5
5
|
const builder_webpack5_1 = require("@storybook/builder-webpack5");
|
6
|
-
const
|
6
|
+
const common_1 = require("storybook/internal/common");
|
7
7
|
const getAbsolutePath = (input) => (0, path_1.dirname)(require.resolve((0, path_1.join)(input, 'package.json')));
|
8
8
|
exports.addons = [
|
9
9
|
require.resolve('./server/framework-preset-babel-ember'),
|
@@ -25,12 +25,12 @@ const webpackFinal = async (baseConfig, options) => {
|
|
25
25
|
{
|
26
26
|
loader: require.resolve('babel-loader'),
|
27
27
|
options: {
|
28
|
-
cacheDirectory: (0,
|
28
|
+
cacheDirectory: (0, common_1.resolvePathInStorybookCache)('babel'),
|
29
29
|
...babelOptions,
|
30
30
|
},
|
31
31
|
},
|
32
32
|
],
|
33
|
-
include: [(0,
|
33
|
+
include: [(0, common_1.getProjectRoot)()],
|
34
34
|
exclude: [/node_modules/, ...Object.keys(virtualModules)],
|
35
35
|
},
|
36
36
|
],
|
package/dist/preset.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { dirname, join } from 'path';
|
2
2
|
import { getVirtualModules } from '@storybook/builder-webpack5';
|
3
|
-
import { getProjectRoot, resolvePathInStorybookCache } from '
|
3
|
+
import { getProjectRoot, resolvePathInStorybookCache } from 'storybook/internal/common';
|
4
4
|
const getAbsolutePath = (input) => dirname(require.resolve(join(input, 'package.json')));
|
5
5
|
export const addons = [
|
6
6
|
require.resolve('./server/framework-preset-babel-ember'),
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import type { PresetProperty, PresetPropertyFn } from '
|
1
|
+
import type { PresetProperty, PresetPropertyFn } from 'storybook/internal/types';
|
2
2
|
export declare const babel: PresetPropertyFn<'babel'>;
|
3
3
|
export declare const previewAnnotations: PresetProperty<'previewAnnotations'>;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { PresetProperty } from '
|
1
|
+
import type { PresetProperty } from 'storybook/internal/types';
|
2
2
|
export declare const previewAnnotations: PresetProperty<'previewAnnotations'>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.previewAnnotations = void 0;
|
4
|
-
const docs_tools_1 = require("
|
4
|
+
const docs_tools_1 = require("storybook/internal/docs-tools");
|
5
5
|
const util_1 = require("../util");
|
6
6
|
const previewAnnotations = (entry = [], options) => {
|
7
7
|
if (!(0, docs_tools_1.hasDocsOrControls)(options))
|
package/dist/types.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { StorybookConfig as StorybookConfigBase, TypescriptOptions as TypescriptOptionsReact } from '@storybook/core-webpack';
|
2
2
|
import type { StorybookConfigWebpack, BuilderOptions, TypescriptOptions as TypescriptOptionsBuilder } from '@storybook/builder-webpack5';
|
3
|
-
import type { CompatibleString } from '
|
3
|
+
import type { CompatibleString } from 'storybook/internal/types';
|
4
4
|
type FrameworkName = CompatibleString<'@storybook/ember-webpack5'>;
|
5
5
|
type BuilderName = CompatibleString<'@storybook/builder-webpack5'>;
|
6
6
|
export type FrameworkOptions = {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/ember",
|
3
|
-
"version": "8.2.0-
|
3
|
+
"version": "8.2.0-beta.0",
|
4
4
|
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
|
5
5
|
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/frameworks/ember",
|
6
6
|
"bugs": {
|
@@ -32,12 +32,8 @@
|
|
32
32
|
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/tsc.ts"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
|
-
"@storybook/builder-webpack5": "8.2.0-
|
36
|
-
"@storybook/core-common": "8.2.0-alpha.9",
|
37
|
-
"@storybook/docs-tools": "8.2.0-alpha.9",
|
35
|
+
"@storybook/builder-webpack5": "8.2.0-beta.0",
|
38
36
|
"@storybook/global": "^5.0.0",
|
39
|
-
"@storybook/preview-api": "8.2.0-alpha.9",
|
40
|
-
"@storybook/types": "8.2.0-alpha.9",
|
41
37
|
"babel-loader": "9.1.3",
|
42
38
|
"find-up": "^5.0.0",
|
43
39
|
"ts-dedent": "^2.0.0"
|
@@ -53,7 +49,8 @@
|
|
53
49
|
"babel-plugin-htmlbars-inline-precompile": "^5.3.1",
|
54
50
|
"ember-source": "~3.28.1 || ^4.0.0",
|
55
51
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
56
|
-
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
52
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
53
|
+
"storybook": "^8.2.0-beta.0"
|
57
54
|
},
|
58
55
|
"engines": {
|
59
56
|
"node": ">=18.0.0"
|