Skip to content

Commit 60826e6

Browse files
feat(global): upgrade all dependencies :D ✨
1 parent a01e6d7 commit 60826e6

28 files changed

+3541
-5789
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ module.exports = {
3232
{
3333
files: [
3434
'**/__tests__/*.{j,t}s?(x)',
35+
'**/tests/unit/**/*.spec.{j,t}s?(x)',
3536
],
3637
env: {
3738
jest: true,
3839
},
3940
},
4041
],
41-
};
42+
};

CHANGELOG.md

Lines changed: 1 addition & 170 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 24 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -1,127 +1,34 @@
1-
[![Build Status](https://badges.weareopensource.me/travis/weareopensource/Vue.svg?style=flat-square)](https://travis-ci.org/weareopensource/Vue) [![Coveralls Status](https://badges.weareopensource.me/coveralls/github/weareopensource/Vue.svg?style=flat-square)](https://coveralls.io/github/weareopensource/Vue) [![Code Climate](https://badges.weareopensource.me/codeclimate/maintainability-percentage/weareopensource/Vue.svg?style=flat-square)](https://codeclimate.com/github/weareopensource/Vue/maintainability)
2-
[![Dependencies Status](https://david-dm.org/weareopensource/vue.svg?style=flat-square)](https://david-dm.org/weareopensource/vue) [![Dependabot badge](https://badges.weareopensource.me/badge/Dependabot-enabled-2768cf.svg?style=flat-square)](https://dependabot.com)
3-
[![Known Vulnerabilities](https://snyk.io/test/github/weareopensource/vue/badge.svg?style=flat-square)](https://snyk.io/test/github/weareopensource/vue)
1+
# vue-auth
42

5-
# [WeAreOpenSource](https://weareopensource.me) Vue
6-
7-
## Presentation
8-
9-
This project is a stack Vue that can be ran as a standalone backend. Or in a fullstack with another of our repo of your choice (ex: [Node](https://github.com/weareopensource/Node), [Swift](https://github.com/weareopensource/Swift)).
10-
11-
You can have more informations about us in our [global repo](https://github.com/weareopensource/weareopensource.github.io) and here :
12-
13-
* our mindset and what we would like to create in our [introduction](https://weareopensource.me/introduction/) (in construction)
14-
* how to create a fullstack from our repo in our [global wiki](https://github.com/weareopensource/weareopensource.github.io/wiki) (in construciton).
15-
* our global roadmap and propose ideas about stacks in our [board](https://github.com/weareopensource/weareopensource.github.io/projects/1)
16-
* how to contribute and help us [here](https://github.com/weareopensource/weareopensource.github.io/blob/master/CONTRIBUTE.md)
17-
18-
Our stack Vue is actually in Alpha.
19-
20-
# Vue / Vuetify / Jwt
21-
22-
* [**Wiki**](#) - wip
23-
* [**Knowledges JS**](https://github.com/weareopensource/weareopensource.github.io/wiki/Knowledges-JS)
24-
* [**Demo**](#) - wip
25-
26-
## Technology Overview
27-
28-
| Subject | Informations
29-
| ------- | --------
30-
| **Available** |
31-
| Architecture | Layered Architecture : everything is separated in layers, and the upper layers are abstractions of the lower ones, that's why every layer should only reference the immediate lower layer (vertical modules architecture)
32-
| Testing | [Jest](https://github.com/facebook/jest) WIP
33-
| Linter | [ESLint](https://github.com/eslint/eslint) ecmaVersion 10 (2019)
34-
| Security | JWT Stateless - have a look on [Node](https://github.com/weareopensource/Node) stack for more informations
35-
| CI | [Travis CI](https://travis-ci.org/weareopensource/Node)
36-
| Developer | [Coveralls](https://coveralls.io/github/weareopensource/Vue) - [Code Climate](https://codeclimate.com/github/weareopensource/Vue) - [Dependency status](https://david-dm.org/weareopensource/vue) - [Dependabot](https://dependabot.com/) - [Snyk](https://snyk.io/test/github/weareopensource/vue) <br> [standard-version](https://github.com/conventional-changelog/standard-version) - [commitlint](https://github.com/conventional-changelog/commitlint) - [commitizen](https://github.com/commitizen/cz-cli) - [waos-conventional-changelog](https://github.com/WeAreOpenSourceProjects/waos-conventional-changelog)
37-
| Dependencies | [npm](https://www.npmjs.com)
38-
| **Being released** |
39-
| Deliver | Docker & Docker-compose
40-
| **In reflexion** |
41-
| WIP | wip
42-
43-
## Features Overview
44-
45-
#### Available
46-
47-
* **User** : classic register / auth
48-
49-
#### In reflexion
50-
51-
* **Tasks** : list tasks - add tasks - edit tasks - delete tasks
52-
* **Admin** : list users - edit user - delete user
53-
* RGPD conpliance
54-
* oAuth(microsoft, google)
55-
* profile management (update, avatar upload ...)
56-
57-
## [Demo](#) WIP
58-
59-
## Prerequisites
60-
Make sure you have installed all of the following prerequisites on your development machine:
61-
62-
* Git - [Download & Install Git](https://git-scm.com/downloads)
63-
* Node.js (10.x) - [Download & Install Node.js](https://nodejs.org/en/download/)
64-
65-
## Installation
66-
It's straightforward (you can use yarn if you want)
67-
```bash
68-
$ git clone https://github.com/weareopensource/vue.git && cd Vue
69-
$ npm i
3+
## Project setup
4+
```
5+
npm install
706
```
717

72-
## Running Your Application
73-
74-
### Development
75-
* `npm start` to run a dev server with hot-reloads. Available at `http://localhost:8080/`.
76-
77-
/!\ in order to launch Vue with our node stack, node need to accept CORS. You can specify it in config or like it `WAOS_NODE_cors_origin=['http://localhost:8080'] npm start` when you starting node.
78-
79-
### Production
80-
* `npm run build` to build a prod server.
81-
82-
### others
83-
84-
* vue:serve : `npm vue:serve` -> be careful, this bypass config generation of the stack
85-
* vue:build : `npm vue:build` -> be careful, this bypass config generation of the stack
86-
* test : `npm test`
87-
* test e2e : `npm run test:e2e`
88-
* test unit : `npm run test:unit`
89-
* lint : `npm run lint`
90-
* commit : `npm run commit`
91-
* release : `npm run release`
92-
* generateConfig : `npm run generateConfig`
93-
94-
### Configuration
95-
96-
The default configuration is : `src/config/defaults/development.js`
97-
The other configurations : `src/config/defaults/*.js` overwrite the default configuration, you can create your own.
98-
99-
We take into account all system environment variables defined under the form WAOS_VUE_<path_toVariable>. A pre-build npm script turns under the hood those system environment variables into an object, infering paths from the varialbles name, merged to the configuration defined on `src/config/defaults` to regenerate the file used `src/config/index.js`.
100-
101-
So configuration avalable on `src/config/defaults/development` file are overidable. You can for instance define the app name by defining those system environment variables :
102-
8+
### Compiles and hot-reloads for development
1039
```
104-
WAOS_VUE_app_name='my app =)'
10+
npm run serve
10511
```
10612

107-
## [Contribute](https://github.com/weareopensource/weareopensource.github.io/blob/master/CONTRIBUTE.md)
108-
109-
## History
110-
111-
This work is based on [MEAN.js](http://meanjs.org) and more precisely on a fork of the developers named [Riess.js](https://github.com/lirantal/Riess.js). The work being stopped we wished to take it back, we want to create updated stack with same mindset "simple", "easy to use". The toolbox needed to start projects, but not only with Node and Angular ...
112-
113-
## [We Are Open Source, Who we are ?](https://weareopensource.me)
114-
Today, we dreams to create Backs/Fronts, aligns on feats, in multiple languages, in order to allow anyone to compose fullstack on demand (React, Angular, VusJS, Node, Nest, Swift, Go).
115-
Feel free to discuss, share other kind of bricks, and invite whoever you want with this mindset to come help us.
116-
117-
## Licence
118-
119-
[![Packagist](https://badges.weareopensource.me/packagist/l/doctrine/orm.svg?style=flat-square)](/LICENSE.md)
13+
### Compiles and minifies for production
14+
```
15+
npm run build
16+
```
12017

121-
## Dev
18+
### Run your unit tests
19+
```
20+
npm run test:unit
21+
```
12222

123-
Pierre
23+
### Run your end-to-end tests
24+
```
25+
npm run test:e2e
26+
```
12427

125-
[![Blog](https://badges.weareopensource.me/badge/Read-WAOS%20Blog-1abc9c.svg?style=flat-square)](https://weareopensource.me) [![Slack](https://badges.weareopensource.me/badge/Chat-WAOS%20Slack-d0355b.svg?style=flat-square)](mailto:weareopensource.me@gmail.com?subject=Join%20Slack&body=Hi,%20I%20found%20your%20community%20We%20Are%20Open%20Source.%20I%20would%20be%20interested%20to%20join%20the%20Slack%20to%20share%20and%20discuss,%20Thanks) [![Mail](https://badges.weareopensource.me/badge/Contact-me%20by%20mail-00a8ff.svg?style=flat-square)](mailto:weareopensource.me@gmail.com?subject=Contact) [![Twitter](https://badges.weareopensource.me/badge/Follow-me%20on%20Twitter-3498db.svg?style=flat-square)](https://twitter.com/pbrisorgueil?lang=fr) [![Youtube](https://badges.weareopensource.me/badge/Watch-me%20on%20Youtube-e74c3c.svg?style=flat-square)](https://www.youtube.com/channel/UCIIjHtrZL5-rFFupn7c3OtA)
28+
### Lints and fixes files
29+
```
30+
npm run lint
31+
```
12632

127-
Feel free to help us ! :)
33+
### Customize configuration
34+
See [Configuration Reference](https://cli.vuejs.org/config/).

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
22
presets: [
3-
'@vue/app',
3+
'@vue/cli-plugin-babel/preset',
44
],
55
};

jest.config.js

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,3 @@
11
module.exports = {
2-
moduleFileExtensions: [
3-
'js',
4-
'jsx',
5-
'json',
6-
'vue',
7-
],
8-
transform: {
9-
'^.+\\.vue$': 'vue-jest',
10-
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
11-
'^.+\\.jsx?$': 'babel-jest',
12-
},
13-
transformIgnorePatterns: [
14-
'/node_modules/',
15-
],
16-
moduleNameMapper: {
17-
'^@/(.*)$': '<rootDir>/src/$1',
18-
},
19-
snapshotSerializers: [
20-
'jest-serializer-vue',
21-
],
22-
testMatch: [
23-
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)',
24-
],
25-
testURL: 'http://localhost/',
26-
watchPlugins: [
27-
'jest-watch-typeahead/filename',
28-
'jest-watch-typeahead/testname',
29-
],
2+
preset: '@vue/cli-plugin-unit-jest',
303
};

0 commit comments

Comments
 (0)