File tree 7 files changed +13629
-5350
lines changed 7 files changed +13629
-5350
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,10 @@ jobs:
22
22
registry-url : ' https://registry.npmjs.org'
23
23
24
24
- name : Download dependencies
25
- run : yarn
26
-
27
- - name : Run the tests inside project
28
- run : yarn test
25
+ run : npm install
29
26
30
27
- name : Transpile typescript to javascript
31
- run : yarn build
28
+ run : npm run build
32
29
33
30
- name : Automatic GitHub Release
34
31
uses : justincy/github-action-npm-release@2.0.1
39
36
if : steps.release.outputs.released == 'true'
40
37
env :
41
38
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
42
- name : Deploy
39
+ name : Deploy
Original file line number Diff line number Diff line change
1
+ name : CI Http
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ build :
10
+
11
+ runs-on : ubuntu-18.04
12
+
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v2
16
+ with :
17
+ fetch-depth : 0
18
+
19
+ - uses : actions/setup-node@v1
20
+ with :
21
+ node-version : ' 14.x'
22
+ registry-url : ' https://registry.npmjs.org'
23
+
24
+ - name : Download dependencies
25
+ run : npm install
26
+
27
+ - name : Verify project lint and try to fix it
28
+ run : npm run lint:fix
29
+
30
+ - name : Run the tests from project
31
+ run : npm run test
Original file line number Diff line number Diff line change 1
- # compiled output
2
- node_modules
3
1
2
+ node_modules /
3
+ dist /
4
4
# Logs
5
5
logs
6
6
* .log
7
7
npm-debug.log *
8
8
yarn-debug.log *
9
9
yarn-error.log *
10
10
lerna-debug.log *
11
+ .pnpm-debug.log *
11
12
12
- # OS
13
- .DS_Store
13
+ # Diagnostic reports (https://nodejs.org/api/report.html)
14
+ report. [ 0-9 ] * . [ 0-9 ] * . [ 0-9 ] * . [ 0-9 ] * .json
14
15
15
- # Tests
16
- /coverage
17
- /.nyc_output
16
+ # Runtime data
17
+ pids
18
+ * .pid
19
+ * .seed
20
+ * .pid.lock
18
21
19
- # IDEs and editors
20
- /.idea
21
- .project
22
- .classpath
23
- .c9 /
24
- .env.testing
25
- * .launch
26
- .settings /
27
- * .sublime-workspace
22
+ # Directory for instrumented libs generated by jscoverage/JSCover
23
+ lib-cov
28
24
29
- # IDE - VSCode
30
- .vscode /*
31
- ! .vscode /settings.json
32
- ! .vscode /tasks.json
33
- ! .vscode /launch.json
34
- ! .vscode /extensions.json
25
+ # Coverage directory used by tools like istanbul
26
+ coverage
27
+ * .lcov
35
28
36
- .env
37
- * .js
38
- * .d.ts
39
- build
29
+ # nyc test coverage
30
+ .nyc_output
31
+
32
+ # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
33
+ .grunt
34
+
35
+ # Bower dependency directory (https://bower.io/)
36
+ bower_components
37
+
38
+ # node-waf configuration
39
+ .lock-wscript
40
+
41
+ # Compiled binary addons (https://nodejs.org/api/addons.html)
42
+ build /Release
43
+
44
+ # Dependency directories
45
+ jspm_packages /
46
+
47
+ # Snowpack dependency directory (https://snowpack.dev/)
48
+ web_modules /
49
+
50
+ # TypeScript cache
51
+ * .tsbuildinfo
52
+
53
+ # Optional npm cache directory
54
+ .npm
55
+
56
+ # Optional eslint cache
57
+ .eslintcache
58
+
59
+ # Microbundle cache
60
+ .rpt2_cache /
61
+ .rts2_cache_cjs /
62
+ .rts2_cache_es /
63
+ .rts2_cache_umd /
64
+
65
+ # Optional REPL history
66
+ .node_repl_history
67
+
68
+ # Output of 'npm pack'
69
+ * .tgz
70
+
71
+ # Yarn Integrity file
72
+ .yarn-integrity
40
73
74
+ # parcel-bundler cache (https://parceljs.org/)
75
+ .cache
76
+ .parcel-cache
77
+
78
+ # Next.js build output
79
+ .next
80
+ out
81
+
82
+ # Nuxt.js build / generate output
83
+ .nuxt
84
+ dist
85
+
86
+ # Gatsby files
87
+ .cache /
88
+ # Comment in the public line in if your project uses Gatsby and not Next.js
89
+ # https://nextjs.org/blog/next-9-1#public-directory-support
90
+ # public
91
+
92
+ # vuepress build output
93
+ .vuepress /dist
94
+
95
+ # Serverless directories
96
+ .serverless /
97
+
98
+ # FuseBox cache
99
+ .fusebox /
100
+
101
+ # DynamoDB Local files
102
+ .dynamodb /
103
+
104
+ # TernJS port file
105
+ .tern-port
106
+
107
+ # Stores VSCode versions used for testing VSCode extensions
108
+ .vscode-test
109
+
110
+ # yarn v2
111
+ .yarn /cache
112
+ .yarn /unplugged
113
+ .yarn /build-state.yml
114
+ .yarn /install-state.gz
115
+ .pnp. *
116
+
117
+ # IDE
118
+ .idea
119
+ .vscode
120
+
121
+ # dotenv environment variables file
122
+ .env
123
+ .env.testing
124
+ .env.production
Original file line number Diff line number Diff line change @@ -23,8 +23,15 @@ The intention behind this repository is to always maintain a `Http` package to a
23
23
24
24
## Installation
25
25
26
+ > To use the high potential from @secjs/http you need to install first this packages from SecJS,
27
+ > it keeps as dev dependency because one day @secjs/core will install everything once.
28
+
29
+ ``` bash
30
+ npm install @secjs/contracts @secjs/utils
31
+ ```
32
+
26
33
``` bash
27
- yarn add @secjs/http
34
+ npm install @secjs/http
28
35
```
29
36
30
37
## Usage
You can’t perform that action at this time.
0 commit comments