You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 841cc07
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,18 +30,18 @@ IF THESE COMMANDS FAIL, CI WILL FAIL, AND YOUR PR WILL BE REJECTED OUT OF HAND.
30
30
FIXING ERRORS FROM THESE COMMANDS IS YOUR HIGHEST PRIORITY.
31
31
ENSURE YOU DO THE RIGHT THINGS TO MAKE THEM PASS.
32
32
```sh
33
-
npx hereby build # Build the project
34
-
npx hereby test# Run tests
35
-
npx hereby lint # Run linters
36
-
npx hereby format # Format the code
33
+
npx hereby validate # Build, test, lint, and format the project
37
34
```
38
35
</critical>
39
36
40
37
If you are writing or testing TS API features (eg, code in packages/typescript/src/api/async/api.ts), additionally, you need to run
41
38
```sh
42
-
npx hereby test:api
39
+
npx hereby validate --api# Also run the TypeScript API tests
43
40
```
44
-
which is not run as part of the primary suite.
41
+
instead. API tests are not run by `npx hereby validate` without `--api`.
42
+
43
+
If as part of your change you edit tools, benchmarks, or other ancillary parts of the repository, you should instead run `npx hereby validate --all` to ensure *everything* is working correctly. This will
44
+
most accurately approximate the results of a full CI run.
45
45
46
46
## Compiler Features, Fixes, and Tests
47
47
@@ -134,10 +134,8 @@ Were alternate fixes considered? Describe them briefly if so
134
134
## Copilot Checklist
135
135
136
136
<!-- don't lie! -->
137
-
I successfully ran these commands at the end of my session, and they completed without error:
138
-
*[ ] npx hereby build
139
-
*[ ] npx hereby test
140
-
*[ ] npx hereby lint
141
-
*[ ] npx hereby format
137
+
I successfully ran the applicable command at the end of my session, and it completed without error:
138
+
*[ ] npx hereby validate
139
+
*[ ] npx hereby validate --api (for TypeScript API changes)
0 commit comments