@vueless/storybook 1.1.3-beta.2 → 1.1.3-beta.4
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/.storybook/main.js +4 -23
- package/LICENSE +1 -1
- package/README.md +22 -2
- package/index.js +1 -0
- package/package.json +23 -21
package/.storybook/main.js
CHANGED
|
@@ -1,29 +1,10 @@
|
|
|
1
|
-
/* eslint-disable storybook/no-uninstalled-addons */
|
|
2
1
|
/** @type { import('@storybook/vue3-vite').StorybookConfig } */
|
|
3
|
-
|
|
2
|
+
import { defineConfigWithVueless } from "vueless/utils/node/storybook.js";
|
|
3
|
+
|
|
4
|
+
export default defineConfigWithVueless({
|
|
4
5
|
stories: [
|
|
5
|
-
"../node_modules/vueless/**/stories.{js,jsx,ts,tsx}",
|
|
6
|
-
"../node_modules/vueless/**/docs.mdx",
|
|
7
6
|
/* Define a path to your own component stories. */
|
|
8
7
|
// "../src/**/stories.{js,jsx,ts,tsx}",
|
|
9
8
|
// "../src/**/docs.mdx",
|
|
10
9
|
],
|
|
11
|
-
|
|
12
|
-
"@storybook/addon-docs",
|
|
13
|
-
"@storybook/addon-links",
|
|
14
|
-
"@vueless/storybook-dark-mode",
|
|
15
|
-
"@storybook/addon-themes",
|
|
16
|
-
],
|
|
17
|
-
framework: {
|
|
18
|
-
name: "@storybook/vue3-vite",
|
|
19
|
-
options: {
|
|
20
|
-
builder: {
|
|
21
|
-
viteConfigPath: ".storybook/vite.config.js",
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
env: (config) => ({
|
|
26
|
-
...config,
|
|
27
|
-
BASE_URL: "/",
|
|
28
|
-
}),
|
|
29
|
-
};
|
|
10
|
+
});
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
1
3
|
# Vueless Storybook preset
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
Zero config preset to launch a tailored Storybook instance for a [Vueless](https://github.com/vuelessjs/vueless) UI library.
|
|
6
|
+
|
|
7
|
+
[Documentation](https://docs.vueless.com/installation/storybook/) | [Demo](https://ui.vueless.com/) | [About Vueless UI](http://vueless.com/)
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install @vueless/storybook
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Contributing
|
|
16
|
+
|
|
17
|
+
* We encourage you to contribute to Vueless! Please check out the
|
|
18
|
+
[contributing to Vueless](CONTRIBUTING.md) for guidelines.
|
|
19
|
+
* Trying to report a possible security vulnerability in Vueless? Please
|
|
20
|
+
check out our [security policy](SECURITY.md) for guidelines.
|
|
21
|
+
* Everyone interacting in Vueless and its sub-projects' codebases, issue trackers, chats, and mailing lists is expected to follow our [code of conduct](CODE_OF_CONDUCT.md) rules.
|
|
22
|
+
|
|
23
|
+
## License
|
|
4
24
|
|
|
5
|
-
[
|
|
25
|
+
Vueless is released under the [MIT License](https://opensource.org/licenses/MIT).
|
package/index.js
CHANGED
|
@@ -31,6 +31,7 @@ function copyStorybookPreset(source, target, { consoles = true } = {}) {
|
|
|
31
31
|
|
|
32
32
|
const warnMessage = styleText(
|
|
33
33
|
"yellow",
|
|
34
|
+
// eslint-disable-next-line vue/max-len
|
|
34
35
|
`Current Storybook preset backed into : '${path.basename(renamedTarget)}' folder. Don't forget to remove it before commit.`,
|
|
35
36
|
);
|
|
36
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vueless/storybook",
|
|
3
|
-
"version": "1.1.3-beta.
|
|
3
|
+
"version": "1.1.3-beta.4",
|
|
4
4
|
"description": "Simplifies Storybook configuration for Vueless UI library.",
|
|
5
5
|
"author": "Johnny Grid <hello@vueless.com> (https://vueless.com)",
|
|
6
6
|
"homepage": "https://vueless.com",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"copy": "./index.js"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
|
-
"lint": "eslint --
|
|
18
|
-
"lint:fix": "eslint --
|
|
19
|
-
"lint:ci": "eslint --
|
|
17
|
+
"lint": "eslint --no-fix src/",
|
|
18
|
+
"lint:fix": "eslint --fix src/",
|
|
19
|
+
"lint:ci": "eslint --no-fix --max-warnings=0",
|
|
20
20
|
"release:prepare": "rm -rf dist && mkdir -p dist && cp -r src/. package.json LICENSE README.md dist/",
|
|
21
21
|
"release:beta": "release-it --ci --npm.publish --preRelease=beta --increment=prerelease",
|
|
22
22
|
"release:patch": "release-it patch --ci --npm.publish --git.tag --github.release",
|
|
@@ -24,32 +24,34 @@
|
|
|
24
24
|
"release:major": "release-it major --ci --npm.publish --git.tag --github.release"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@storybook/addon-docs": "9.
|
|
28
|
-
"@storybook/addon-links": "9.
|
|
29
|
-
"@storybook/addon-themes": "9.
|
|
30
|
-
"@storybook/vue3-vite": "9.
|
|
31
|
-
"@vueless/storybook-dark-mode": "^9.0.
|
|
27
|
+
"@storybook/addon-docs": "9.1.2",
|
|
28
|
+
"@storybook/addon-links": "9.1.2",
|
|
29
|
+
"@storybook/addon-themes": "9.1.2",
|
|
30
|
+
"@storybook/vue3-vite": "9.1.2",
|
|
31
|
+
"@vueless/storybook-dark-mode": "^9.0.7",
|
|
32
32
|
"chokidar": "^4.0.3",
|
|
33
|
-
"esbuild": "^0.25.
|
|
33
|
+
"esbuild": "^0.25.9",
|
|
34
34
|
"globby": "^14.1.0",
|
|
35
35
|
"mkdirp": "^3.0.1",
|
|
36
36
|
"prettier2": "npm:prettier@2.8.8",
|
|
37
|
-
"storybook": "9.
|
|
37
|
+
"storybook": "9.1.2",
|
|
38
38
|
"vue-docgen-api": "^4.79.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@release-it/bumper": "^7.0.5",
|
|
42
|
-
"eslint": "^
|
|
43
|
-
"
|
|
42
|
+
"@stylistic/eslint-plugin": "^5.2.3",
|
|
43
|
+
"@types/node": "^24.3.0",
|
|
44
|
+
"eslint": "^9.33.0",
|
|
45
|
+
"eslint-config-prettier": "^10.1.8",
|
|
44
46
|
"eslint-plugin-node": "^11.1.0",
|
|
45
|
-
"eslint-plugin-prettier": "^5.
|
|
46
|
-
"
|
|
47
|
-
"prettier
|
|
48
|
-
"release-it": "^19.0.
|
|
49
|
-
"tailwindcss": "^4.1.
|
|
50
|
-
"vue": "
|
|
51
|
-
"vue-router": "
|
|
52
|
-
"vueless": "^1.
|
|
47
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
48
|
+
"eslint-plugin-storybook": "9.1.2",
|
|
49
|
+
"prettier": "^3.6.2",
|
|
50
|
+
"release-it": "^19.0.4",
|
|
51
|
+
"tailwindcss": "^4.1.12",
|
|
52
|
+
"vue": "latest",
|
|
53
|
+
"vue-router": "latest",
|
|
54
|
+
"vueless": "^1.1.1-beta.56"
|
|
53
55
|
},
|
|
54
56
|
"overrides": {
|
|
55
57
|
"vue-docgen-api": {
|