Skip to content
This repository was archived by the owner on Nov 21, 2022. It is now read-only.

Commit d612561

Browse files
committed
feat: init commit
0 parents  commit d612561

35 files changed

+13201
-0
lines changed

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.DS_Store
2+
node_modules/
3+
dist/
4+
5+
# local env files
6+
.env.local
7+
.env.*.local
8+
9+
# Log files
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
*.sw*

lerna.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"command": {
3+
"publish": {
4+
"allowBranch": [
5+
"master",
6+
"dev"
7+
],
8+
"message": "chore(release): publish %s"
9+
},
10+
"version": {
11+
"push": true
12+
}
13+
},
14+
"npmClient": "yarn",
15+
"version": "0.0.0",
16+
"useWorkspaces": true
17+
}

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "root",
3+
"private": true,
4+
"workspaces": [
5+
"packages/*"
6+
],
7+
"devDependencies": {
8+
"lerna": "^3.4.3"
9+
}
10+
}

packages/.eslintrc.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true
5+
},
6+
'extends': [
7+
'plugin:vue/essential',
8+
'@vue/standard'
9+
],
10+
rules: {
11+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
12+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
13+
},
14+
parserOptions: {
15+
parser: 'babel-eslint'
16+
}
17+
}

packages/babel.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: ['@vue/app']
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not ie <= 8

packages/cognito-module/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# vuex-cognito-module
2+
3+
Vuex module to interface with AWS Cognito
4+
5+
Docs Link: Coming Soon!
6+
7+
Install:
8+
```bash
9+
yarn add @vuetify/vuex-cognito-module
10+
```
11+
12+
Import into your project's entry point (main.js in most Vue projects)
13+
```js
14+
import attachCognitoModule from '@vuetify/vuex-cognito-module';
15+
```
16+
17+
Attach cognito module to the store
18+
```js
19+
import store from './store';
20+
attachCognitoModule(store, {
21+
userPoolId: 'your-data-here',
22+
identityPoolId: 'your-data-here',
23+
userPoolWebClientId: 'your-data-here',
24+
region: 'your-data-here',
25+
}, 'cognito')
26+
```
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "vuetify-vuex-cognito-module-docs",
3+
"type": "static",
4+
"static": {
5+
"public": "docs/.vuepress/dist"
6+
},
7+
"alias": "cognito.vuetifyjs.com",
8+
"files": [
9+
"docs/.vuepress/dist"
10+
]
11+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
module.exports = {
2+
title: 'Vuetify Vuex ',
3+
4+
head: [
5+
['link', { rel: 'icon', href: `/logo.png` }]
6+
],
7+
8+
plugins: [
9+
['@vuepress/google-analytics', {
10+
ga: 'UA-75262397-5'
11+
}]
12+
],
13+
14+
themeConfig: {
15+
nav: [
16+
{
17+
text: 'Get Help',
18+
link: 'https://discord.gg/q6UtSjz'
19+
},
20+
{
21+
text: 'Cognito Dev Resources',
22+
link: 'https://aws.amazon.com/cognito/dev-resources/'
23+
}
24+
],
25+
sidebar: [
26+
{
27+
title: 'Getting started',
28+
collapsable: false,
29+
children: [
30+
'guide/install'
31+
]
32+
},
33+
{
34+
title: 'API',
35+
collapsable: false,
36+
children: [
37+
'api/actions',
38+
'api/getters'
39+
]
40+
},
41+
{
42+
title: 'AWS Cognito',
43+
collapsable: false,
44+
children: [
45+
'aws/cognito-setup',
46+
'aws/federated-id-setup'
47+
]
48+
}
49+
]
50+
}
51+
}
293 KB
Loading

0 commit comments

Comments
 (0)