-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(allow-scripts): update types #649
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
Ah, urgh. needs node 16 |
This now splits the CI jobs between test and lint; test runs against all supported Node.js versions and lint only runs on the latest. |
9a2e08e
to
4e2ac0f
Compare
9108fcc
to
86a3df2
Compare
4e2ac0f
to
e74d70e
Compare
86a3df2
to
99ce88f
Compare
e74d70e
to
5502c1b
Compare
99ce88f
to
2fb1945
Compare
5502c1b
to
8bed386
Compare
2fb1945
to
e9331af
Compare
8bed386
to
af6de6e
Compare
e9331af
to
c3068ec
Compare
af6de6e
to
b01880d
Compare
c3068ec
to
bb790a3
Compare
b01880d
to
171e4fc
Compare
bb790a3
to
b4e8988
Compare
10ddb3a
to
ac33ab9
Compare
b4e8988
to
7e8b1ad
Compare
ac33ab9
to
b313684
Compare
7e8b1ad
to
2fd2c3d
Compare
b313684
to
3c0478d
Compare
2fd2c3d
to
057a0e9
Compare
3c0478d
to
98b76b2
Compare
057a0e9
to
de025d1
Compare
98b76b2
to
694745a
Compare
de025d1
to
59a50f8
Compare
f27772d
to
dd03d0b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spotted an eslint warning, so could downgrade to TS 5.2.0
or better bump @typescript-eslint/typescript-parser
to fix the @typescript-eslint/typescript-estree
compat warning
then bump @typescript-eslint/eslint-plugin
alongside
edit: trying to figure why this isn't happening in CI
edit: unsure why i'm on npm@10 🤦♂️ but same results on npm@9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can confirm on Apple silicon need npm i -D @nx/nx-darwin-arm64
for npm run lint
- lint on
main
ok - lint in pr
Error: Cannot find module '@nx/nx-darwin-arm64'
so our solution could be to add @nx/...
devDeps for platforms we support (cc @legobeat)
Lines 14306 to 14317 in 80a2272
"optionalDependencies": { | |
"@nx/nx-darwin-arm64": "16.7.4", | |
"@nx/nx-darwin-x64": "16.7.4", | |
"@nx/nx-freebsd-x64": "16.7.4", | |
"@nx/nx-linux-arm-gnueabihf": "16.7.4", | |
"@nx/nx-linux-arm64-gnu": "16.7.4", | |
"@nx/nx-linux-arm64-musl": "16.7.4", | |
"@nx/nx-linux-x64-gnu": "16.7.4", | |
"@nx/nx-linux-x64-musl": "16.7.4", | |
"@nx/nx-win32-arm64-msvc": "16.7.4", | |
"@nx/nx-win32-x64-msvc": "16.7.4" | |
}, |
7f857a0
to
f9f4cd7
Compare
2b82514
to
467dc31
Compare
This is going to need to bake a little while longer, as it seems |
467dc31
to
1b48542
Compare
d4e6af7
to
e461a9f
Compare
1b48542
to
24a306f
Compare
24a306f
to
61039e9
Compare
This adds `@typescript-eslint/parser` & its ilk; typescript files (just `.d.ts` for now) are now linted.
Lints all .ts files and adds `type-fest` as a dev dep cuz it's handy.
61039e9
to
ef6bc89
Compare
commit ba28275 Author: Christopher Hiller <boneskull@boneskull.com> Date: Thu Oct 12 16:34:33 2023 -0700 chore(deps): upgrade type-fest globally commit 328dc8e Author: Christopher Hiller <boneskull@boneskull.com> Date: Tue Oct 3 18:04:37 2023 -0700 feat(core): ship some types - Adds `type-fest` to core - Adds `@types/json-stable-stringify` as dev dep - Reorganize typescript config commit f10ac68 Author: Christopher Hiller <boneskull@boneskull.com> Date: Thu Oct 5 13:19:41 2023 -0700 fix(allow-scripts): update types (#649) chore(ci): only run lint under Node.js v18.x chore: lint typescript files This adds `@typescript-eslint/parser` & its ilk; typescript files (just `.d.ts` for now) are now linted. chore(deps,allow-scripts,yarn-plugin-allow-scripts): lint sources
This adds
@typescript-eslint/parser
& its ilk; typescript files (just.d.ts
for now) are now linted.