Skip to content

Commit 6eca1d4

Browse files
committed
gha
1 parent 15bd70e commit 6eca1d4

File tree

5 files changed

+18
-11
lines changed

5 files changed

+18
-11
lines changed

.github/workflows/validate-js.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,14 @@ jobs:
8181
run: |
8282
bun install
8383
84-
- name: Run ESLint/Prettier
84+
- name: Run ESLint/Prettier (rnqc)
85+
working-directory: packages/react-native-quick-crypto
86+
run: |
87+
bun lint:fix
88+
bun format:fix
89+
90+
- name: Run ESLint/Prettier (example)
91+
working-directory: packages/example
8592
run: |
8693
bun lint:fix
8794
bun format:fix

bun.lockb

0 Bytes
Binary file not shown.

packages/example/package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"ios": "react-native run-ios",
1212
"tsc": "tsc --noEmit",
1313
"typescript": "tsc --noEmit",
14-
"lint": "eslint \"**/*.{ts,tsx}\"",
15-
"lint:fix": "eslint \"**/*.{ts,tsx}\" --fix",
16-
"format": "prettier --check \"**/*.{ts,tsx}\"",
17-
"format:fix": "prettier --write \"**/*.{ts,tsx}\"",
14+
"lint": "eslint \"**/*.{js,ts,tsx}\"",
15+
"lint:fix": "eslint \"**/*.{js,ts,tsx}\" --fix",
16+
"format": "prettier --check \"**/*.{js,ts,tsx}\"",
17+
"format:fix": "prettier --write \"**/*.{js,ts,tsx}\"",
1818
"start": "react-native start",
1919
"test": "jest",
2020
"pods": "bundle install && bundle exec pod install --project-directory=ios/"
@@ -64,6 +64,5 @@
6464
},
6565
"jest": {
6666
"preset": "react-native"
67-
},
68-
"codgenConfig": {}
67+
}
6968
}

packages/react-native-quick-crypto/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
"deepclean": "del-cli node_modules",
3131
"tsc": "tsc --noEmit",
3232
"typescript": "tsc --noEmit",
33-
"lint": "eslint \"**/*.{ts,tsx}\"",
34-
"lint:fix": "eslint \"**/*.{ts,tsx}\" --fix",
35-
"format": "prettier --check \"**/*.{ts,tsx}\"",
36-
"format:fix": "prettier --write \"**/*.{ts,tsx}\"",
33+
"lint": "eslint \"**/*.{js,ts,tsx}\"",
34+
"lint:fix": "eslint \"**/*.{js,ts,tsx}\" --fix",
35+
"format": "prettier --check \"**/*.{js,ts,tsx}\"",
36+
"format:fix": "prettier --write \"**/*.{js,ts,tsx}\"",
3737
"prepare": "bun clean && bun tsc && bob build",
3838
"release": "release-it",
3939
"test": "jest"

patches/[email protected]

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ index 9f4bfc091bd2619361b88eac7c7f6c439760b479..c6b63fefd6b0142e5c2f058615ca3c72
1919
+ "${NODE_MODULES_DIR}/../../../node_modules/react-native/ReactCommon/jsi"
2020
../cpp
2121
)
22+

0 commit comments

Comments
 (0)