File tree Expand file tree Collapse file tree 7 files changed +30432
-9640
lines changed
libs/ngx-http-request-state Expand file tree Collapse file tree 7 files changed +30432
-9640
lines changed Original file line number Diff line number Diff line change 14
14
- uses : actions/checkout@v2
15
15
- uses : actions/setup-node@v2
16
16
with :
17
- node-version : 12
17
+ node-version : 16
18
18
registry-url : https://registry.npmjs.org/
19
19
- run : npm ci
20
20
- run : npm run build
Original file line number Diff line number Diff line change 9
9
jobs :
10
10
build :
11
11
runs-on : ubuntu-latest
12
-
13
12
steps :
14
13
- uses : actions/checkout@v2
15
14
if : ${{ github.base_ref == 'main' }}
16
15
with :
17
16
ref : ${{ github.base_ref }}
18
17
- uses : actions/checkout@v2
19
- - name : Use Node.js 12 .x
18
+ - name : Use Node.js 16 .x
20
19
uses : actions/setup-node@v2
21
20
with :
22
- node-version : 12 .x
21
+ node-version : 16 .x
23
22
- run : npm ci
24
23
- run : npm run build
25
24
- run : npm run test
Original file line number Diff line number Diff line change
1
+ 16
Original file line number Diff line number Diff line change 21
21
"url" : " https://github.com/daiscog/ngx-http-request-state.git" ,
22
22
"directory" : " libs/ngx-http-request-state"
23
23
},
24
- "license" : " MIT"
24
+ "license" : " MIT" ,
25
+ "nx" : {
26
+ "targets" : {
27
+ "build" : {
28
+ "executor" : " @nrwl/angular:package" ,
29
+ "options" : {
30
+ "tsConfig" : " libs/ngx-http-request-state/tsconfig.lib.json" ,
31
+ "project" : " libs/ngx-http-request-state/ng-package.json" ,
32
+ "updateBuildableProjectDepsInPackageJson" : true
33
+ },
34
+ "configurations" : {
35
+ "production" : {
36
+ "tsConfig" : " libs/ngx-http-request-state/tsconfig.lib.prod.json"
37
+ }
38
+ }
39
+ },
40
+ "lint" : {
41
+ "executor" : " @nrwl/linter:eslint" ,
42
+ "options" : {
43
+ "lintFilePatterns" : [
44
+ " libs/ngx-http-request-state/src/**/*.ts" ,
45
+ " libs/ngx-http-request-state/src/**/*.html"
46
+ ]
47
+ },
48
+ "outputs" : [
49
+ " {options.outputFile}"
50
+ ]
51
+ },
52
+ "test" : {
53
+ "executor" : " @nrwl/jest:jest" ,
54
+ "outputs" : [
55
+ " {workspaceRoot}/coverage/libs/ngx-http-request-state"
56
+ ],
57
+ "options" : {
58
+ "jestConfig" : " libs/ngx-http-request-state/jest.config.ts" ,
59
+ "passWithNoTests" : true
60
+ }
61
+ }
62
+ }
63
+ }
25
64
}
Original file line number Diff line number Diff line change 1
1
{
2
- "implicitDependencies" : {
3
- "package.json" : {
4
- "dependencies" : " *" ,
5
- "devDependencies" : " *"
6
- },
7
- ".eslintrc.json" : " *"
8
- },
9
2
"affected" : {
10
3
"defaultBase" : " origin/main"
11
4
},
54
47
"style" : " css" ,
55
48
"changeDetection" : " OnPush"
56
49
}
50
+ },
51
+ "targetDefaults" : {
52
+ "e2e" : {
53
+ "inputs" : [" default" , " ^default" ]
54
+ },
55
+ "test" : {
56
+ "inputs" : [" default" , " ^default" , " {workspaceRoot}/jest.preset.js" ]
57
+ },
58
+ "lint" : {
59
+ "inputs" : [" default" , " {workspaceRoot}/.eslintrc.json" ]
60
+ },
61
+ "build" : {
62
+ "inputs" : [" production" , " ^production" ]
63
+ }
64
+ },
65
+ "namedInputs" : {
66
+ "default" : [" {projectRoot}/**/*" , " sharedGlobals" ],
67
+ "sharedGlobals" : [],
68
+ "production" : [" default" ]
57
69
}
58
70
}
You can’t perform that action at this time.
0 commit comments