create-packer 1.43.10 → 1.43.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/lib/workspace/.storybook/main.ts +1 -8
- package/template/lib/workspace/package.json +8 -8
- package/template/lib/workspace/packages/react/src/button/button.stories.ts +2 -1
- package/template/web-app/vue/.stylelintrc +6 -0
- package/template/web-app/vue/eslint.config.js +1 -0
- package/template/web-app/vue/package.json +1 -0
- package/template/web-app/vue/tsconfig.json +1 -0
- package/template/web-app/vue-rsbuild/.stylelintrc +6 -0
- package/template/web-app/vue-rsbuild/eslint.config.js +1 -0
- package/template/web-app/vue-rsbuild/package.json +1 -0
- package/template/web-app/vue-rsbuild/tsconfig.json +1 -0
package/package.json
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import svgr from '@svgr/rollup'
|
|
2
2
|
import type { StorybookConfig } from '@storybook/react-vite'
|
|
3
3
|
|
|
4
|
-
function createStories(lib: string): string[] {
|
|
5
|
-
return [
|
|
6
|
-
`../packages/${lib}/src/**/*.mdx`,
|
|
7
|
-
`../packages/${lib}/src/**/*.stories.@(js|jsx|ts|tsx)`
|
|
8
|
-
]
|
|
9
|
-
}
|
|
10
|
-
|
|
11
4
|
const config: StorybookConfig = {
|
|
12
|
-
stories: [
|
|
5
|
+
stories: [`../packages/**/*.mdx`, `../packages/**/*.stories.@(js|jsx|ts|tsx)`],
|
|
13
6
|
addons: [
|
|
14
7
|
'@storybook/addon-links',
|
|
15
8
|
'@storybook/addon-essentials',
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@changesets/cli": "2.26.2",
|
|
45
45
|
"@eslint/js": "9.15.0",
|
|
46
|
-
"@storybook/addon-essentials": "8.
|
|
47
|
-
"@storybook/addon-interactions": "8.
|
|
48
|
-
"@storybook/addon-links": "8.
|
|
49
|
-
"@storybook/blocks": "8.
|
|
50
|
-
"@storybook/react": "8.
|
|
51
|
-
"@storybook/react-vite": "8.
|
|
46
|
+
"@storybook/addon-essentials": "8.6.12",
|
|
47
|
+
"@storybook/addon-interactions": "8.6.12",
|
|
48
|
+
"@storybook/addon-links": "8.6.12",
|
|
49
|
+
"@storybook/blocks": "8.6.12",
|
|
50
|
+
"@storybook/react": "8.6.12",
|
|
51
|
+
"@storybook/react-vite": "8.6.12",
|
|
52
52
|
"@storybook/testing-library": "0.2.2",
|
|
53
53
|
"@svgr/rollup": "8.1.0",
|
|
54
54
|
"@types/node": "20.3.2",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"eslint-plugin-import": "2.31.0",
|
|
61
61
|
"eslint-plugin-react": "7.37.2",
|
|
62
62
|
"eslint-plugin-react-hooks": "5.1.0",
|
|
63
|
-
"eslint-plugin-storybook": "0.
|
|
63
|
+
"eslint-plugin-storybook": "0.12.0",
|
|
64
64
|
"globals": "15.12.0",
|
|
65
65
|
"inquirer": "^8.1.2",
|
|
66
66
|
"postcss": "8.4.31",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"prop-types": "15.8.1",
|
|
73
73
|
"react": "18.2.0",
|
|
74
74
|
"react-dom": "18.2.0",
|
|
75
|
-
"storybook": "8.
|
|
75
|
+
"storybook": "8.6.12",
|
|
76
76
|
"stylelint": "16.10.0",
|
|
77
77
|
"stylelint-config-standard-scss": "13.0.0",
|
|
78
78
|
"ts-node": "10.9.1",
|
|
@@ -10,10 +10,11 @@ const meta: Meta<typeof Button> = {
|
|
|
10
10
|
backgroundColor: { control: 'color' }
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
type Story = StoryObj<typeof meta>
|
|
14
13
|
|
|
15
14
|
export default meta
|
|
16
15
|
|
|
16
|
+
type Story = StoryObj<typeof Button>
|
|
17
|
+
|
|
17
18
|
// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
|
|
18
19
|
export const Primary: Story = {
|
|
19
20
|
args: {
|