-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
331 changed files
with
15,167 additions
and
18,126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"*.{js,ts,vue}": "yarn eslint --fix", | ||
"*.{css,vue}": "yarn stylelint", | ||
"*.svg": "yarn svgo --disable=removeViewBox --enable=removeOffCanvasPaths" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
const path = require("path") | ||
|
||
module.exports = { | ||
stories: [ | ||
"../stories/**/*.stories.mdx", | ||
"../stories/**/*.stories.@(js|jsx|ts|tsx)", | ||
"../components/**/*.stories.@(js|jsx|ts|tsx)", | ||
], | ||
addons: [ | ||
"@storybook/addon-essentials", | ||
{ | ||
name: '@storybook/addon-postcss', | ||
options: { | ||
cssLoaderOptions: { | ||
importLoaders: 1, | ||
}, | ||
postcssLoaderOptions: { | ||
implementation: require('postcss'), | ||
} | ||
} | ||
}, | ||
"storybook-addon-mock", | ||
"storybook-addon-validate-html", | ||
], | ||
framework: "@storybook/vue3", | ||
core: { | ||
builder: "@storybook/builder-vite" | ||
}, | ||
async viteFinal(config, options) { | ||
config.resolve.alias = { | ||
...config.resolve.alias, | ||
'~': path.resolve(__dirname, "../"), | ||
"#app": path.resolve(__dirname, "../node_modules/nuxt/dist/app"), | ||
"#app/*": path.resolve(__dirname, "../node_modules/nuxt/dist/app/*"), | ||
"#head": path.resolve(__dirname, "../node_modules/nuxt/dist/head/runtime"), | ||
"#head/*": path.resolve(__dirname, "../node_modules/nuxt/dist/head/runtime/*"), | ||
"#build": path.resolve(__dirname, "../.nuxt"), | ||
"#build/*": path.resolve(__dirname, "../.nuxt/*"), | ||
} | ||
return config | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// https://github.com/yarnpkg/berry/issues/2384 | ||
module.exports = { | ||
name: `@yarnpkg/plugin-compat`, | ||
factory: (require) => { | ||
// dummy implementation to override the built-in version of this plugin | ||
return {} | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Contributing to the Code | ||
- Follow the existing code style when making changes or adding new code. | ||
- Add code typing, more is better than less. | ||
- Indent with 2 spaces, no tab, and use Unix line endings. | ||
- If modifying the code requires a hack, avoid making the change. | ||
|
||
## Vue3 and Nuxt3 | ||
- Use the option API when possible. | ||
- Avoid using the store in low-level components to make them easier to manipulate and test. | ||
|
||
# Testing | ||
- Include tests with any changes made. | ||
- Add Histoire stories for new components or when modifying existing ones. | ||
- Maintain and add Cypress tests for new features. | ||
|
||
# Contributing on GitHub | ||
- Split changes into coherent commits, ensuring that the commit comments and messages remain readable for years. | ||
- Only include one fix or feature per PR. If the feature is large, split it into multiple PRs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.