This repository has been archived by the owner on Feb 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #370 from ergonode/develop
Release v0.7.0
- Loading branch information
Showing
1,446 changed files
with
66,196 additions
and
33,091 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
API_PROTOCOL=http | ||
API_HOST=localhost | ||
API_PREFIX=/api/v1/ | ||
|
||
# if port exist-- | ||
# API_PORT=8000 | ||
# --------------- | ||
API_BASE_URL=http://localhost:8000/api/v1/ |
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,7 +1,9 @@ | ||
package.json | ||
router.js | ||
node_modules/ | ||
cypress/ | ||
build/ | ||
dist/ | ||
coverage/ | ||
lib/ | ||
vendor/ | ||
.history/ | ||
.vscode/ | ||
modules.config.js |
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
File renamed without changes.
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,59 @@ | ||
/* | ||
* Copyright © Bold Brand Commerce Sp. z o.o. All rights reserved. | ||
* See LICENSE for license details. | ||
*/ | ||
const path = require("path"); | ||
|
||
module.exports = { | ||
presets: ['@storybook/addon-docs/preset'], | ||
stories: ['../stories/**/*.stories.(js|mdx)'], | ||
addons: [ | ||
'@storybook/addon-actions', | ||
'@storybook/addon-links', | ||
'@storybook/addon-knobs', | ||
], | ||
webpack: async config => { | ||
config.resolve.alias = { | ||
...config.resolve.alias, | ||
['@Core']: path.resolve(__dirname, '../modules/@ergo/core'), | ||
}; | ||
|
||
config.module.rules.push({ | ||
test: /\.scss$/, | ||
loaders: [ | ||
'style-loader', | ||
'css-loader', | ||
'sass-loader', | ||
{ | ||
loader: 'sass-resources-loader', | ||
options: { | ||
resources: path.resolve(__dirname, '../modules/@ergo/core/assets/scss/main.scss') | ||
} | ||
}], | ||
include: path.resolve(__dirname, '../'), | ||
}); | ||
|
||
const mdxRules = config.module.rules.filter(({ test }) => { | ||
return String(test) === String(/\.mdx$/) || String(test) === String(/\.(stories|story).mdx$/) | ||
}); | ||
mdxRules.forEach(mdxRule => { | ||
const [babelLoader] = mdxRule.use.filter(({ loader }) => loader === 'babel-loader'); | ||
babelLoader.options.presets = babelLoader.options.presets.filter(preset => !preset.includes('babel-preset-vue')) | ||
}); | ||
|
||
config.module.rules.push({ | ||
test: /\.(mjs|jsx?)$/, | ||
use: [{ | ||
loader: 'babel-loader', | ||
options: { | ||
cacheDirectory: path.resolve(__dirname, '../node_modules/.cache/storybook'), | ||
presets: ['@vue/app'], | ||
babelrc: false | ||
} | ||
}], | ||
exclude: [path.resolve(__dirname, '../node_modules')] | ||
}); | ||
|
||
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,15 @@ | ||
/* | ||
* Copyright © Bold Brand Commerce Sp. z o.o. All rights reserved. | ||
* See LICENSE for license details. | ||
*/ | ||
import '!style-loader!css-loader!sass-loader!./reset-storybook.scss'; | ||
import { DocsPage, DocsContainer } from '@storybook/addon-docs/blocks'; | ||
import { addParameters } from '@storybook/vue'; | ||
|
||
addParameters({ | ||
docs: { | ||
container: DocsContainer, | ||
page: DocsPage, | ||
inlineStories: true, | ||
}, | ||
}); |
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,52 @@ | ||
/* | ||
* Copyright © Bold Brand Commerce Sp. z o.o. All rights reserved. | ||
* See LICENSE for license details. | ||
*/ | ||
html, body, div, span, applet, object, iframe, | ||
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
a, abbr, acronym, address, big, cite, code, | ||
del, dfn, em, img, ins, kbd, q, s, samp, | ||
small, strike, strong, sub, sup, tt, var, | ||
b, u, i, center, | ||
dl, dt, dd, ol, ul, li, | ||
fieldset, form, label, legend, | ||
table, caption, tbody, tfoot, thead, tr, th, td, | ||
article, aside, canvas, details, embed, | ||
figure, figcaption, footer, header, hgroup, | ||
menu, nav, output, ruby, section, summary, | ||
time, mark, audio, video { | ||
border: 0; | ||
padding: 0; | ||
margin: 0; | ||
font: inherit; | ||
font-size: 100%; | ||
vertical-align: baseline; | ||
} | ||
/* HTML5 display-role reset for older browsers */ | ||
article, aside, details, figcaption, figure, | ||
footer, header, hgroup, menu, nav, section { | ||
display: block; | ||
} | ||
|
||
body { | ||
line-height: 1; | ||
} | ||
|
||
ol, ul { | ||
list-style: none; | ||
} | ||
|
||
blockquote, q { | ||
quotes: none; | ||
} | ||
|
||
blockquote:before, blockquote:after, | ||
q:before, q:after { | ||
content: ""; | ||
content: none; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} |
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.