Skip to content

Commit 70a42ac

Browse files
authored
Merge pull request #70 from buggregator/issue/#58-implement-fsd-folder-sctructure
Issue/#58 implement fsd folder sctructure
2 parents cf3cf9d + a5d0b58 commit 70a42ac

File tree

495 files changed

+8086
-7181
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

495 files changed

+8086
-7181
lines changed

.eslintrc renamed to .eslintrc.json

+18-7
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,19 @@
88
"plugin:@typescript-eslint/recommended",
99
"plugin:@typescript-eslint/eslint-recommended",
1010
"prettier",
11-
"plugin:nuxt/recommended"
11+
"plugin:nuxt/recommended",
12+
"plugin:@conarti/feature-sliced/recommended"
1213
],
1314
"parser": "vue-eslint-parser",
1415
"plugins": ["@typescript-eslint"],
1516
"root": true,
16-
"ignorePatterns": ["package.json", "postcss.config.js","tailwind.config.js", "vendor/"],
17+
"ignorePatterns": [
18+
"package.json",
19+
"postcss.config.js",
20+
"tailwind.config.js",
21+
"src/shared/lib/vendor/",
22+
"src/.eslintrc.json"
23+
],
1724
"parserOptions": {
1825
"project": "./tsconfig.json",
1926
"extraFileExtensions": [".vue"],
@@ -24,10 +31,14 @@
2431
},
2532
"rules": {
2633
"import/prefer-default-export": "off",
27-
"no-console": ["error", { "allow": ["info","warn", "error"] }],
28-
"vue/component-name-in-template-casing": ["error", "PascalCase", {
29-
"registeredComponentsOnly": true,
30-
"ignores": []
31-
}]
34+
"no-console": ["error", { "allow": ["info", "warn", "error"] }],
35+
"vue/component-name-in-template-casing": [
36+
"error",
37+
"PascalCase",
38+
{
39+
"registeredComponentsOnly": true,
40+
"ignores": []
41+
}
42+
]
3243
}
3344
}

.storybook/main.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = {
1010
"../components/**/*.stories.@(js|jsx|ts|tsx)",
1111
"../layouts/**/*.stories.@(js|jsx|ts|tsx)",
1212
"../pages/**/*.stories.@(js|jsx|ts|tsx)",
13+
"../src/**/**/**/*.stories.@(js|jsx|ts|tsx)",
1314
],
1415
addons: [
1516
"@storybook/addon-links",
@@ -67,7 +68,7 @@ module.exports = {
6768
};
6869
},
6970
env: (config) => {
70-
const iconComponentFolder = path.resolve(__dirname, '../components/IconSvg');
71+
const iconComponentFolder = path.resolve(__dirname, '../src/shared/ui/icon-svg/icon-svg-originals');
7172
const allIconNamesList = !fs.existsSync(iconComponentFolder)
7273
? []
7374
: fs

.storybook/preview.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {addParameters, app} from '@storybook/vue3';
33
import "../assets/index.css";
44
import "../assets/index";
55
import "./stories.css"
6-
import SfdumpWrap from "../vendor/dumper";
6+
import SfdumpWrap from "~/src/shared/lib/vendor/dumper";
77

88
addParameters({
99
actions: {argTypesRegex: "^on[A-Z].*"},

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88

99
Welcome to the official repository for the Buggregator Frontend Single Page Application (SPA), a crucial component of the Buggregator. This repository focuses exclusively on the frontend aspect of Buggregator, developed using Nuxt.js framework and enriched with Storybook for an enhanced component-driven development experience.
1010

11-
1211
## Overview
13-
Buggregator is a comprehensive, lightweight server designed for debugging applications written on PHP, JS, etc. This repository is tailored to work seamlessly with the Buggregator server, providing a user-friendly interface and interactive features that make debugging more efficient and less cumbersome.
1412

13+
Buggregator is a comprehensive, lightweight server designed for debugging applications written on PHP, JS, etc. This repository is tailored to work seamlessly with the Buggregator server, providing a user-friendly interface and interactive features that make debugging more efficient and less cumbersome.
1514

1615
## Contribution
16+
1717
Contributions to the Buggregator Frontend SPA are always welcome. Whether it's fixing bugs, improving documentation, or suggesting new features, your input is valuable. Please read our contribution guidelines before submitting your pull request.
1818

1919
## Support
20+
2021
If you encounter any issues or have questions, feel free to open an issue in this repository. For more detailed discussions or support, join our community on [Discord](https://discord.gg/FTpBM7xU).

assets/vue3-tabs-component.scss

-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,3 @@
2525
.tabs-component-panel {
2626

2727
}
28-
29-
.preview-tab-badge {
30-
@apply bg-red-800 ml-2 text-2xs px-2 py-1 rounded text-white uppercase;
31-
}

components/CodeSnippet/CodeSnippet.vue

-91
This file was deleted.

components/EventTable/EventTable.stories.ts

-31
This file was deleted.

components/EventTableRow/EventTableRow.stories.ts

-24
This file was deleted.

components/EventTableRow/EventTableRow.vue

-48
This file was deleted.

components/FileView/FileView.stories.ts

-30
This file was deleted.

0 commit comments

Comments
 (0)