Skip to content

Commit d65c88d

Browse files
@jotadevelopergriffithtp
authored andcommitted
feat: add aws s3 plugin in typescrip
1 parent b079167 commit d65c88d

35 files changed

+8926
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": [["@verdaccio", {"typescript": true}]]
3+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
# Unix-style newlines with a newline ending every file
5+
[*]
6+
end_of_line = lf
7+
insert_final_newline = true
8+
9+
# 2 space indentation
10+
[{.,}*.{js,yml,yaml}]
11+
indent_style = space
12+
indent_size = 2
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
coverage/
3+
lib/
4+
tests-report/
5+
__fixtures__/
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"plugins": [
3+
"jest",
4+
"prettier",
5+
"@typescript-eslint"
6+
],
7+
"extends": [
8+
"eslint:recommended",
9+
"google",
10+
"plugin:jest/recommended",
11+
"plugin:prettier/recommended"
12+
],
13+
"parser": "@typescript-eslint/parser",
14+
"parserOptions": {
15+
"sourceType": "module",
16+
"ecmaVersion": 7,
17+
"ecmaFeatures": {
18+
"impliedStrict": true,
19+
"jsx": true
20+
}
21+
},
22+
"env": {
23+
"node": true,
24+
"es6": true,
25+
"jest": true
26+
},
27+
"rules": {
28+
"prettier/prettier": ["error", { "singleQuote": true }],
29+
"@typescript-eslint/camelcase": 0,
30+
"no-tabs": 0,
31+
"keyword-spacing": 0,
32+
"padded-blocks": 0,
33+
"no-useless-escape": 0,
34+
"handle-callback-err": 2,
35+
"no-debugger": 2,
36+
"no-fallthrough": 2,
37+
"curly": 2,
38+
"eol-last": 1,
39+
"no-irregular-whitespace": 1,
40+
"no-mixed-spaces-and-tabs": [
41+
1,
42+
"smart-tabs"
43+
],
44+
"no-trailing-spaces": 1,
45+
"no-new-require": 2,
46+
"no-undef": 2,
47+
"no-unreachable": 2,
48+
"no-unused-vars": [
49+
2,
50+
{
51+
"vars": "all",
52+
"args": "none"
53+
}
54+
],
55+
"max-len": [
56+
1,
57+
160
58+
],
59+
"semi": [
60+
2,
61+
"always"
62+
],
63+
"camelcase": 0,
64+
"require-jsdoc": 0,
65+
"valid-jsdoc": 0,
66+
"prefer-spread": 1,
67+
"prefer-rest-params": 1,
68+
"no-var": 2,
69+
"no-constant-condition": 2,
70+
"no-empty": 2,
71+
"guard-for-in": 2,
72+
"no-invalid-this": 2,
73+
"new-cap": 2,
74+
"one-var": 2,
75+
"no-console": [
76+
2,
77+
{
78+
"allow": [
79+
"warn"
80+
]
81+
}
82+
]
83+
}
84+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!--
2+
First of all, please read this section
3+
4+
https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md#reporting-a-bug
5+
6+
Some advices before file an issue
7+
* Give a brief explanation of the issue, suggestion or feature to request.
8+
* If the issue is a question, provide as much information you have available.
9+
* How can I do in order to reproduce it? What environment?
10+
* Define which version the issue happens and whether previous version the behaviour is correct.
11+
* Provide your config file is really helpful. Please be aware to hide sensisive data (passwords, server IP, etc) before post.
12+
-->
13+
14+
#### My reason:
15+
#### Steps to reproduce:
16+
#### App Version:
17+
#### Config file:
18+
#### Additional information:
19+
20+
- `$ NODE_DEBUG=request verdaccio` display request calls (verdaccio <--> uplinks)
21+
- `$ DEBUG=express:* verdaccio` enable extreme verdaccio debug mode (verdaccio api)
22+
- `$ npm -ddd` prints:
23+
- `$ npm config get registry` prints:
24+
- Verdaccio terminal output
25+
- Which (Windows, OS X/macOS, or Linux) environment are you running verdaccio?:
26+
- Verdaccio configuration file, eg: `cat ~/.config/verdaccio/config.yaml`
27+
- Container Options:
28+
- Docker?:
29+
- Kubernetes?:
30+
31+
#### Additional verbose log:
32+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!--
2+
3+
Before Pull Request check whether your commits follow this convention
4+
5+
https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md#git-commit-guidelines
6+
7+
* If your PR fix an issue don't forget to update the unit test and documentation in /docs folder
8+
* If your PR delivers a new feature, please, provide examples and why such feature should be considered.
9+
* Document your changes /docs
10+
* Add unit test
11+
* Follow the commit guidelines in order to get a quick approval
12+
13+
Pick one/multiple type, if none apply please suggest one, we might be included it by default
14+
15+
eg: bug / feature / documentation / unit test / build
16+
17+
-->
18+
**Type:**
19+
20+
The following has been addressed in the PR:
21+
22+
* There is a related issue?
23+
* Unit or Functional tests are included in the PR
24+
25+
**Description:**
26+
27+
<!-- Resolves #??? -->
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
npm-debug.log
2+
.DS_Store
3+
4+
lib/
5+
node_modules/
6+
coverage/
7+
8+
# Istanbul
9+
.nyc*
10+
tests-report
11+
12+
# IDE
13+
.vscode/*
14+
.idea/
15+
*.log
16+
*.tar
17+
*.gz
18+
*.tmp-*
19+
package-lock.json
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
src/
2+
tests-report/
3+
.nyc_output
4+
.editorconfig
5+
.gitignore
6+
yarn-error.log
7+
yarn.lock
8+
.idea/
9+
.eslintrc
10+
.babelrc
11+
test/
12+
.eslintignore
13+
.eslintrc.yml
14+
.npmignore
15+
.travis.yml
16+
*.tmp-*
17+
circle.yml
18+
travis.yml
19+
*.md
20+
coverage/
21+
jest.config.js
22+
jestEnvironment.js
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"useTabs": false,
5+
"printWidth": 800,
6+
"tabWidth": 2,
7+
"bracketSpacing": true,
8+
"overrides": [
9+
{
10+
"files": "*.test.js",
11+
"options": {
12+
"semi": true
13+
}
14+
}
15+
]
16+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
node_js:
3+
- '4'
4+
- '6'
5+
- '7'
6+
- '8'
7+
sudo: false
8+
script: npm install . && npm run cover

0 commit comments

Comments
 (0)