Skip to content

Commit de0a341

Browse files
@jotadevelopersergiohgz
authored andcommitted
feat: change password
1 parent b0e68c3 commit de0a341

File tree

16 files changed

+2384
-723
lines changed

16 files changed

+2384
-723
lines changed

plugins/auth-memory/.babelrc

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
{
2-
"presets": [
3-
[
4-
"env",
5-
{
6-
"targets": {
7-
"node": "6"
8-
}
9-
}
10-
],
11-
"flow"
12-
]
13-
}
2+
"presets": [["env", {
3+
"targets": {
4+
"node": "6"
5+
}
6+
}], "flow"]
7+
}

plugins/auth-memory/.eslintignore

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
node_modules
22
coverage/
33
lib/
4-
.nyc_output
5-
tests-report/
64
flow-typed/
7-
fixtures/
5+
fixtures/
6+
.flowconfig
7+
.prettierrc
8+
.yarnrc
9+
jest*
10+
.vscode/
11+
.circleci/
12+
.eslintrc

plugins/auth-memory/.eslintrc

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"plugins": [
3+
"flowtype",
4+
"jest"
5+
],
6+
"extends": [
7+
"eslint:recommended",
8+
"google",
9+
"plugin:flowtype/recommended",
10+
"plugin:jest/recommended",
11+
"plugin:prettier/recommended"
12+
],
13+
"parser": "babel-eslint",
14+
"parserOptions": {
15+
"sourceType": "module",
16+
"ecmaVersion": 7,
17+
"ecmaFeatures": {
18+
"impliedStrict": true,
19+
"jsx": true
20+
}
21+
},
22+
"env": {
23+
"browser": true,
24+
"node": true,
25+
"es6": true,
26+
"jest": true
27+
},
28+
"globals": {
29+
"__APP_VERSION__": true
30+
},
31+
"rules": {
32+
"prettier/prettier": ["error", null, "@prettier"],
33+
"no-useless-escape": 2,
34+
"handle-callback-err": 2,
35+
"no-fallthrough": 2,
36+
"no-new-require": 2,
37+
"max-len": [2, 160],
38+
"camelcase": 0,
39+
"require-jsdoc": 0,
40+
"valid-jsdoc": 0,
41+
"prefer-spread": 1,
42+
"prefer-rest-params": 1,
43+
"linebreak-style": 0,
44+
"quote-props":["error", "as-needed"]
45+
}
46+
}

plugins/auth-memory/.eslintrc.yml

Lines changed: 0 additions & 83 deletions
This file was deleted.

plugins/auth-memory/.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ node_modules/@verdaccio/types/lib/
88
[lints]
99

1010
[options]
11-
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
11+
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe

plugins/auth-memory/.gitignore

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
npm-debug.log
22
.DS_Store
3-
package-lock.json
3+
44
_storage/
55
lib/
66
node_modules/
77
coverage/
88

9-
# Istanbul
10-
.nyc*
11-
tests-report
12-
139
# IDE
1410
.vscode/*
1511
.idea/
1612
*.log
1713
*.tar
1814
*.gz
1915
*.tmp-*
20-
coverage/

plugins/auth-memory/.prettierrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"useTabs": false,
3+
"printWidth": 160,
4+
"tabWidth": 2,
5+
"singleQuote": true,
6+
"requirePragma": true,
7+
"bracketSpacing": true,
8+
"jsxBracketSameLine": false,
9+
"trailingComma": "es5",
10+
"semi": true,
11+
"parser": "flow"
12+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
// flow-typed signature: 573c576fe34eb3c3c65dd7a9c90a46d2
2+
// flow-typed version: b43dff3e0e/http-errors_v1.x.x/flow_>=v0.25.x
3+
4+
declare module 'http-errors' {
5+
declare class SpecialHttpError extends HttpError {
6+
constructor(): SpecialHttpError;
7+
}
8+
declare class HttpError extends Error {
9+
expose: bool;
10+
message: string;
11+
status: number;
12+
statusCode: number;
13+
}
14+
declare module.exports: {
15+
(status?: number, message?: string, props?: Object): HttpError;
16+
HttpError: typeof HttpError;
17+
BadRequest: typeof SpecialHttpError;
18+
Unauthorized: typeof SpecialHttpError;
19+
PaymentRequired: typeof SpecialHttpError;
20+
Forbidden: typeof SpecialHttpError;
21+
NotFound: typeof SpecialHttpError;
22+
MethodNotAllowed: typeof SpecialHttpError;
23+
NotAcceptable: typeof SpecialHttpError;
24+
ProxyAuthenticationRequired: typeof SpecialHttpError;
25+
RequestTimeout: typeof SpecialHttpError;
26+
Conflict: typeof SpecialHttpError;
27+
Gone: typeof SpecialHttpError;
28+
LengthRequired: typeof SpecialHttpError;
29+
PreconditionFailed: typeof SpecialHttpError;
30+
PayloadTooLarge: typeof SpecialHttpError;
31+
URITooLong: typeof SpecialHttpError;
32+
UnsupportedMediaType: typeof SpecialHttpError;
33+
RangeNotStatisfiable: typeof SpecialHttpError;
34+
ExpectationFailed: typeof SpecialHttpError;
35+
ImATeapot: typeof SpecialHttpError;
36+
MisdirectedRequest: typeof SpecialHttpError;
37+
UnprocessableEntity: typeof SpecialHttpError;
38+
Locked: typeof SpecialHttpError;
39+
FailedDependency: typeof SpecialHttpError;
40+
UnorderedCollection: typeof SpecialHttpError;
41+
UpgradeRequired: typeof SpecialHttpError;
42+
PreconditionRequired: typeof SpecialHttpError;
43+
TooManyRequests: typeof SpecialHttpError;
44+
RequestHeaderFieldsTooLarge: typeof SpecialHttpError;
45+
UnavailableForLegalReasons: typeof SpecialHttpError;
46+
InternalServerError: typeof SpecialHttpError;
47+
NotImplemented: typeof SpecialHttpError;
48+
BadGateway: typeof SpecialHttpError;
49+
ServiceUnavailable: typeof SpecialHttpError;
50+
GatewayTimeout: typeof SpecialHttpError;
51+
HTTPVersionNotSupported: typeof SpecialHttpError;
52+
VariantAlsoNegotiates: typeof SpecialHttpError;
53+
InsufficientStorage: typeof SpecialHttpError;
54+
LoopDetected: typeof SpecialHttpError;
55+
BandwidthLimitExceeded: typeof SpecialHttpError;
56+
NotExtended: typeof SpecialHttpError;
57+
NetworkAuthenticationRequired: typeof SpecialHttpError;
58+
}
59+
}

0 commit comments

Comments
 (0)