@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.
@@ -1,29 +1,10 @@
1
- /* eslint-disable storybook/no-uninstalled-addons */
2
1
  /** @type { import('@storybook/vue3-vite').StorybookConfig } */
3
- export default {
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
- addons: [
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
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 vueless
3
+ Copyright (c) 2025 vuelessjs
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,5 +1,25 @@
1
+ ![vueless-examples.png](public/images/storybook-demo.png)
2
+
1
3
  # Vueless Storybook preset
2
4
 
3
- The package simplifies Storybook configuration for `vueless` UI library.
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
- [Documentation](https://docs.vueless.com/advanced/local-storybook-docs)
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.2",
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 --ext .vue,.js,.ts --no-fix --ignore-path .eslintignore src/",
18
- "lint:fix": "eslint --ext .vue,.js,.ts --fix --ignore-path .eslintignore src/",
19
- "lint:ci": "eslint --ext .vue,.js,.ts --no-fix --ignore-path .eslintignore --max-warnings=0",
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.0.18",
28
- "@storybook/addon-links": "9.0.18",
29
- "@storybook/addon-themes": "9.0.18",
30
- "@storybook/vue3-vite": "9.0.18",
31
- "@vueless/storybook-dark-mode": "^9.0.6",
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.5",
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.0.18",
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": "^8.57.0",
43
- "eslint-config-prettier": "^9.1.0",
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.1.3",
46
- "prettier": "^3.2.5",
47
- "prettier-eslint": "^16.3.0",
48
- "release-it": "^19.0.2",
49
- "tailwindcss": "^4.1.7",
50
- "vue": "^3.5.16",
51
- "vue-router": "^4.5.1",
52
- "vueless": "^1.0.0"
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": {