File tree 14 files changed +43
-15
lines changed
react-formz-storybook-native
react-formz-validators-utils
react-formz-validators-yup
react-formz-validators-zod
14 files changed +43
-15
lines changed Original file line number Diff line number Diff line change 36
36
- name : Test
37
37
run : yarn test
38
38
39
- # - name: Check Types (TypeScript)
40
- # run: yarn nx run workspace:packages:check-types
39
+ - name : Check Types (TypeScript)
40
+ run : yarn nx run workspace:packages:check-types
41
41
42
42
# - name: Formatting Check
43
43
# run: yarn nx run workspace:packages:check-formatting
Original file line number Diff line number Diff line change 13
13
"web:publish" : " cd packages/react-formz-web && npm publish --access public" ,
14
14
"native:publish" : " cd packages/react-formz-native && npm publish --access public" ,
15
15
"native:build" : " yarn workspace @zerry/react-formz-native build" ,
16
- "build" : " nx run workspace:packages:build"
16
+ "build" : " nx run workspace:packages:build" ,
17
+ "check-types" : " nx run workspace:check-types"
17
18
},
18
19
"devDependencies" : {
19
20
"@nrwl/jest" : " ^16.8.1" ,
Original file line number Diff line number Diff line change 12
12
"serve" : " docusaurus serve" ,
13
13
"write-translations" : " docusaurus write-translations" ,
14
14
"write-heading-ids" : " docusaurus write-heading-ids" ,
15
- "typecheck" : " tsc"
15
+ "typecheck" : " tsc" ,
16
+ "check-types" : " tsc --noEmit"
16
17
},
17
18
"dependencies" : {
18
19
"@docusaurus/core" : " 2.1.0" ,
Original file line number Diff line number Diff line change 18
18
"scripts" : {
19
19
"core:test" : " yarn workspace @zerry/react-formz-core test" ,
20
20
"web:test" : " yarn workspace @zerry/react-formz test" ,
21
- "build" : " rm -rf dist && tsc -p tsconfig.build.json"
21
+ "build" : " rm -rf dist && tsc -p tsconfig.build.json" ,
22
+ "check-types" : " tsc --noEmit"
22
23
},
23
24
"dependencies" : {
24
25
"@zerry/react-formz-core" : " workspace:^" ,
Original file line number Diff line number Diff line change 3
3
"$schema" : " ../../node_modules/nx/schemas/project-schema.json" ,
4
4
"sourceRoot" : " packages/react-formz-native/src" ,
5
5
"projectType" : " library" ,
6
- "targets" : {},
6
+ "targets" : {
7
+ "build" : {
8
+ "dependsOn" : [
9
+ { "projects" : [" @zerry/react-formz-core" ], "target" : " build" }
10
+ ]
11
+ }
12
+ },
7
13
"tags" : []
8
14
}
Original file line number Diff line number Diff line change 14
14
"storybook-watcher" : " sb-rn-watcher --config-path .ondevice" ,
15
15
"storybook" : " start-storybook -p 6006" ,
16
16
"build-storybook" : " build-storybook" ,
17
- "publish:dev" : " npx expo publish --release-channel development"
17
+ "publish:dev" : " npx expo publish --release-channel development" ,
18
+ "check-types" : " tsc --noEmit"
18
19
},
19
20
"dependencies" : {
20
21
"@react-native-async-storage/async-storage" : " ~1.17.3" ,
Original file line number Diff line number Diff line change 37
37
"scripts" : {
38
38
"storybook" : " start-storybook -p 6006" ,
39
39
"build-storybook" : " build-storybook" ,
40
- "typecheck" : " tsc --noEmit"
40
+ "typecheck" : " tsc --noEmit" ,
41
+ "check-types" : " tsc --noEmit"
41
42
},
42
43
"repository" : {
43
44
"type" : " git" ,
Original file line number Diff line number Diff line change 9
9
"source" : " index.ts" ,
10
10
"types" : " ./dist/index.d.ts" ,
11
11
"scripts" : {
12
- "build" : " vite build && tsc -p ./tsconfig.build.json"
12
+ "build" : " vite build && tsc -p ./tsconfig.build.json" ,
13
+ "check-types" : " tsc --noEmit"
13
14
},
14
15
"dependencies" : {
15
16
"@zerry/react-formz-core" : " workspace:^"
Original file line number Diff line number Diff line change 3
3
"$schema" : " ../../node_modules/nx/schemas/project-schema.json" ,
4
4
"sourceRoot" : " packages/react-formz-validators-utils/src" ,
5
5
"projectType" : " library" ,
6
- "targets" : {},
6
+ "targets" : {
7
+ "build" : {
8
+ "dependsOn" : [
9
+ { "projects" : [" @zerry/react-formz-core" ], "target" : " build" }
10
+ ]
11
+ }
12
+ },
7
13
"tags" : []
8
14
}
Original file line number Diff line number Diff line change 9
9
"source" : " index.ts" ,
10
10
"types" : " dist/index.d.ts" ,
11
11
"scripts" : {
12
- "build" : " vite build && tsc -p ./tsconfig.build.json"
12
+ "build" : " vite build && tsc -p ./tsconfig.build.json" ,
13
+ "check-types" : " tsc --noEmit"
13
14
},
14
15
"dependencies" : {
15
16
"@zerry/react-formz-validators-utils" : " workspace:^"
Original file line number Diff line number Diff line change 9
9
"source" : " index.ts" ,
10
10
"types" : " dist/index.d.ts" ,
11
11
"scripts" : {
12
- "build" : " LIB=zod vite build && tsc -p ./tsconfig.build.json"
12
+ "build" : " LIB=zod vite build && tsc -p ./tsconfig.build.json" ,
13
+ "check-types" : " tsc --noEmit"
13
14
},
14
15
"dependencies" : {
15
16
"@zerry/react-formz-validators-utils" : " workspace:^"
Original file line number Diff line number Diff line change 35
35
"test:generate-output" : " jest --json --outputFile=.jest-test-results.json" ,
36
36
"test:coverage" : " jest --coverage=true" ,
37
37
"core:test" : " yarn workspace @zerry/react-formz-core test" ,
38
- "native:test" : " yarn workspace @zerry/react-formz-native test"
38
+ "native:test" : " yarn workspace @zerry/react-formz-native test" ,
39
+ "check-types" : " tsc --noEmit"
39
40
},
40
41
"dependencies" : {
41
42
"@zerry/react-formz-core" : " workspace:^" ,
Original file line number Diff line number Diff line change 3
3
"$schema" : " ../../node_modules/nx/schemas/project-schema.json" ,
4
4
"sourceRoot" : " packages/react-formz-web/src" ,
5
5
"projectType" : " library" ,
6
- "targets" : {},
6
+ "targets" : {
7
+ "build" : {
8
+ "dependsOn" : [
9
+ { "projects" : [" @zerry/react-formz-core" ], "target" : " build" }
10
+ ]
11
+ }
12
+ },
7
13
"tags" : []
8
14
}
Original file line number Diff line number Diff line change 48
48
"test" : " jest" ,
49
49
"test:watch" : " jest --watch" ,
50
50
"test:generate-output" : " jest --json --outputFile=.jest-test-results.json" ,
51
- "test:coverage" : " jest --coverage=true"
51
+ "test:coverage" : " jest --coverage=true" ,
52
+ "check-types" : " tsc --noEmit"
52
53
},
53
54
"dependencies" : {
54
55
"react-uuid" : " ^1.0.3" ,
You can’t perform that action at this time.
0 commit comments