Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #65

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c0d1955
Add Github Actions configuration
mtancoigne Sep 19, 2021
90f5063
Updgrade dependencies
mtancoigne Sep 1, 2021
e70404c
Run "vue upgrade"
mtancoigne Sep 5, 2021
738146c
Update vue-docgen-api
mtancoigne Sep 3, 2021
2733e62
Update @babel/standalone
mtancoigne Sep 3, 2021
9c97064
Fix getAttributesFromComment
mtancoigne Sep 3, 2021
9f077e8
Update markdown-it dependencies
mtancoigne Sep 3, 2021
d672562
Update node-sass and sass-loader
mtancoigne Sep 3, 2021
6188c15
Update async-validator
mtancoigne Sep 3, 2021
6b80279
Update "clipboard-copy", "cross-env", "dot-prop"
mtancoigne Sep 3, 2021
8459b7a
Update "mkdir-p", "onchange", "vue-svg-loader", "webpack-bundle-anayl…
mtancoigne Sep 3, 2021
dcf6aee
Update "babel-jest", "babel-plugin-transform-require-context"
mtancoigne Sep 3, 2021
9e225ee
Update eslint and plugins
mtancoigne Sep 3, 2021
181c70a
Update "vue-docgen-api"
mtancoigne Sep 19, 2021
172b83a
Use @values instead of @options
mtancoigne Sep 19, 2021
26a4893
Fix jest config
mtancoigne Sep 9, 2021
5dba758
Lint all the files
mtancoigne Sep 19, 2021
992f19f
Update jest snapshots
mtancoigne Sep 19, 2021
794650b
Fix jest stests
mtancoigne Sep 19, 2021
cc70da2
Update coverage data
mtancoigne Sep 19, 2021
a625a2f
Rebuild library
mtancoigne Sep 19, 2021
067a53b
Rebuild docs
mtancoigne Sep 19, 2021
c86e55b
Install landingpage example dependencies
mtancoigne Sep 19, 2021
0dc36a6
Run "vue upgrade" on landingpage example
mtancoigne Sep 19, 2021
d10e12e
Lint examples
mtancoigne Sep 19, 2021
8688178
Rebuild landingpage example
mtancoigne Sep 19, 2021
c5c4747
Test landingpage example build in Github actions
mtancoigne Sep 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
module.exports = {
root: true,
env: {
node: true
},
extends: ['plugin:vue/strongly-recommended', '@vue/prettier'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
root: true,
env: {
node: true,
},
extends: ['plugin:vue/strongly-recommended', '@vue/prettier'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
},
parserOptions: {
parser: 'babel-eslint',
},
}
36 changes: 36 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: NodeJS with Webpack

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: yarn install
- name: Lint files
run: yarn lint
- name: Run tests
run: yarn theo && yarn test:unit
- name: Build library
run: yarn build:lib
- name: Build documentation
run: yarn build
- name: Build examples
run: cd _examples/landingpage && yarn install && yarn build
6 changes: 3 additions & 3 deletions .postcssrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
plugins: {
autoprefixer: {}
}
}
autoprefixer: {},
},
}
24 changes: 12 additions & 12 deletions _examples/landingpage/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
module.exports = {
root: true,
env: {
node: true
},
extends: ['plugin:vue/strongly-recommended', '@vue/prettier'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
root: true,
env: {
node: true,
},
extends: ['plugin:vue/strongly-recommended', '@vue/prettier'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
},
parserOptions: {
parser: 'babel-eslint',
},
}
2 changes: 1 addition & 1 deletion _examples/landingpage/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: ['@vue/app']
presets: ['@vue/cli-plugin-babel/preset'],
}
1 change: 1 addition & 0 deletions _examples/landingpage/docs/css/chunk-vendors.1c6898f4.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion _examples/landingpage/docs/css/chunk-vendors.66dacd16.css

This file was deleted.

2 changes: 1 addition & 1 deletion _examples/landingpage/docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>vue-cli</title><link href=/css/chunk-vendors.66dacd16.css rel=preload as=style><link href=/js/app.3a037d62.js rel=preload as=script><link href=/js/chunk-vendors.b23d3adf.js rel=preload as=script><link href=/css/chunk-vendors.66dacd16.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-cli doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.b23d3adf.js></script><script src=/js/app.3a037d62.js></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>vue-cli</title><link href="/css/chunk-vendors.1c6898f4.css" rel="preload" as="style"><link href="/js/app.d08db2fc.js" rel="preload" as="script"><link href="/js/chunk-vendors.4ca8084e.js" rel="preload" as="script"><link href="/css/chunk-vendors.1c6898f4.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vue-cli doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.4ca8084e.js"></script><script src="/js/app.d08db2fc.js"></script></body></html>
2 changes: 0 additions & 2 deletions _examples/landingpage/docs/js/app.3a037d62.js

This file was deleted.

1 change: 0 additions & 1 deletion _examples/landingpage/docs/js/app.3a037d62.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions _examples/landingpage/docs/js/app.d08db2fc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions _examples/landingpage/docs/js/app.d08db2fc.js.map

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions _examples/landingpage/docs/js/chunk-vendors.4ca8084e.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions _examples/landingpage/docs/js/chunk-vendors.b23d3adf.js

This file was deleted.

This file was deleted.

14 changes: 10 additions & 4 deletions _examples/landingpage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,20 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"core-js": "^3.6.5",
"vue": "^2.5.17",
"vue-cion-design-system": "file:../.."
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.0.1",
"@vue/cli-plugin-eslint": "^3.0.1",
"@vue/cli-service": "^3.0.1",
"@vue/eslint-config-prettier": "^3.0.1",
"@vue/cli-plugin-babel": "~4.5.13",
"@vue/cli-plugin-eslint": "~4.5.13",
"@vue/cli-service": "~4.5.13",
"@vue/eslint-config-prettier": "^6.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^6.2.2",
"prettier": "^2.2.1",
"vue-template-compiler": "^2.5.17"
}
}
4 changes: 2 additions & 2 deletions _examples/landingpage/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
plugins: {
autoprefixer: {}
}
autoprefixer: {},
},
}
93 changes: 39 additions & 54 deletions _examples/landingpage/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,63 +1,47 @@
<template>
<div>
<ds-section
secondary
fullheight
centered>
<ds-section secondary fullheight centered>
<ds-space>
<ds-logo inverse/>
<ds-logo inverse />
</ds-space>
<ds-heading>Vue Design System<br>Boilerplate</ds-heading>
<ds-heading>Vue Design System<br />Boilerplate</ds-heading>
<ds-space margin-bottom="xxx-large">
<ds-button
path="https://cion.visualjerk.de"
icon="desktop">Styleguide Demo</ds-button>&nbsp;
<ds-button path="https://cion.visualjerk.de" icon="desktop"
>Styleguide Demo</ds-button
>&nbsp;
<ds-button
path="https://github.com/visualjerk/vue-cion-design-system"
icon="github">GitHub</ds-button>
icon="github"
>GitHub</ds-button
>
</ds-space>
<ds-space>
<ds-flex
:gutter="{ base: 'base', lg: 'xx-large' }"
:width="{ base: '100%', md: 1 }">
:width="{ base: '100%', md: 1 }"
>
<ds-flex-item>
<ds-card
icon="book"
primary
centered
hover>
<ds-heading
slot="header"
tag="h3">
Living<br>Styleguide
<ds-card icon="book" primary centered hover>
<ds-heading slot="header" tag="h3">
Living<br />Styleguide
</ds-heading>
See the styleguide adapt to your design system as you move forward.
See the styleguide adapt to your design system as you move
forward.
</ds-card>
</ds-flex-item>
<ds-flex-item>
<ds-card
icon="file-code"
primary
centered
hover>
<ds-heading
slot="header"
tag="h3">
Component<br>Documentation
<ds-card icon="file-code" primary centered hover>
<ds-heading slot="header" tag="h3">
Component<br />Documentation
</ds-heading>
Autogenerated documentation for your components with integrated playground.
Autogenerated documentation for your components with integrated
playground.
</ds-card>
</ds-flex-item>
<ds-flex-item>
<ds-card
icon="cubes"
primary
centered
hover>
<ds-heading
slot="header"
tag="h3">
Basic<br>Components
<ds-card icon="cubes" primary centered hover>
<ds-heading slot="header" tag="h3">
Basic<br />Components
</ds-heading>
Includes lots of basic components to help you move faster.
</ds-card>
Expand All @@ -66,22 +50,23 @@
</ds-space>
</ds-section>
<ds-section>
<ds-heading
tag="h2"
size="h1">First steps</ds-heading>
<ds-heading tag="h2" size="h1">First steps</ds-heading>
<ds-space>
<ds-list
ordered>
<ds-list ordered>
<ds-list-item>
Download the boilerplate<br>
<ds-code>git clone https://github.com/visualjerk/vue-cion-design-system.git your-system-name</ds-code>
Download the boilerplate<br />
<ds-code
>git clone
https://github.com/visualjerk/vue-cion-design-system.git
your-system-name</ds-code
>
</ds-list-item>
<ds-list-item>
Install the dependencies<br>
Install the dependencies<br />
<ds-code>cd your-system-name && yarn install</ds-code>
</ds-list-item>
<ds-list-item>
Start development server<br>
Start development server<br />
<ds-code>yarn dev</ds-code>
</ds-list-item>
</ds-list>
Expand All @@ -101,13 +86,13 @@ export default {
children: [
{ name: 'Container' },
{ name: 'Page' },
{ name: 'Page Title' }
]
{ name: 'Page Title' },
],
},
{ name: 'Typography' },
{ name: 'Navigation' }
]
{ name: 'Navigation' },
],
}
}
},
}
</script>
Loading