-
-
Notifications
You must be signed in to change notification settings - Fork 88
Migrate to a pnpm monorepo #1281
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
Conversation
3f552a7
to
faacb15
Compare
abec685
to
efd5c50
Compare
60e86b1
to
e44b9a2
Compare
b0fdf7e
to
cdef473
Compare
14694c7
to
0405fb5
Compare
# Cursorless first and using a special extension id to break update chain | ||
|
||
# 1. Uninstall production cursorless | ||
code --uninstall-extension pokey.cursorless || echo "Cursorless not currently installed" |
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.
--disable-extension
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.
Turns out this flag doesn't do what we thought it did; it just tries to launch vscode with the extension disabled; it doesn't disable the extension everywhere. Leaving it as uninstall cc/ @AndreasArvidsson
ok @auscompgeek I split out requested pieces into #1327, and pulled out the missing pieces you needed for #1322 and added them there |
Ok everything from review session addressed except for comment re removing deps from docs package; see response there. Captured changes in 563b872. We need to merge #1322 and #1327 then I think this one is ready to go. lmk what you think cc/ @AndreasArvidsson @auscompgeek |
3b49d86
to
eb794e9
Compare
e4e3281
to
563b872
Compare
- Split off of #1281 ## Checklist - [ ] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [ ] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [ ] I have not broken the cheatsheet
Looks good! |
Extracted from #1281 with fixes - [x] fix `takeSnapshot` taking `vscode.Clipboard` ## Checklist - [ ] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [ ] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [ ] I have not broken the cheatsheet --------- Co-authored-by: Pokey Rule <[email protected]>
563b872
to
1e1090f
Compare
1e1090f
to
d26d5ae
Compare
I'm not going to reread over three thousand files. Based on the walkthrough we have had and the latest changes I have reviewed I'm happy. |
The test case recorder broke in #1281 due to the fact we're now launching extension in subdirectory called `dist` rather than top-level repo. This PR fixes it ## Checklist - [x] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [ ] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [ ] I have not broken the cheatsheet
Thenable
=>Promise
; tweak clipboard mock #1322type
annotations to tree-sitter imports #1327Checklist
internal
modulesMake sure this PR doesn't break doc links; see Fix test fixture upgrade scripts #942 (comment)There's no way to avoid these links getting broken if we upgrade typedoc; filed Fix links stripped from docs during Typedoc link resolution #1304 to track@cursorless/cursorless-vscode
in thepackage.json
checked into source controlcursorless
(see fixme in itsindex.ts
)Desiderata
Correctly flagging errors
D1
: It is a compile error to import external packages that are not listed inpackage.json
D1.1
:vscode
(for some reason this one behaves strangely)D1.2
: Other packagesD2
: It is not a compile error to import from local packages that you depend on, using our preferred syntax (eg@cursorless/foo
)D3
: It is a compile error to import from local packages that you depend on, not using our preferred syntax (eg../foo
)D4
: It is a compile error to import from local packages that you do not depend on, eitherD4.1
: using our non-preferred syntax (eg../packages/foo
), orD4.2
: using preferred syntax (eg@cursorless/foo
)D5
: It is a compile error to import from anything other thanindex.ts
in another moduleD5.1
: no@cursorless/foo/bar
D5.2
: no../foo/bar
a
: Even if you depend on the moduleb
: Even ifbar
was re-exported infoo/index.ts
. In that case it should be required to import@cursorless/foo
. Untested, but probably works, and I ran out of steam 😅D6
: It is not a compile error to import external packages listed inpackage.json
D6.1
:vscode
(for some reason this one behaves strangely)D6.2
: Other packagesAuto-import
D7
: Auto-import doesn't import from external packages not listed inpackage.json
D7.1
:vscode
(for some reason this one behaves strangely)D7.2
: Other packagesD8
: Auto-import imports from external packages listed inpackage.json
D8.1
:vscode
(for some reason this one behaves strangely)D8.2
: Other packagesD9
: Auto-import imports from local packages that you depend on, using our preferred syntax (eg@cursorless/foo
)D10
: Auto-import doesn't import from local packages that you don't depend onD11
: Auto-import doesn't import from anything other thanindex.ts
in another package (eg no@cursorless/foo/bar
)D11.1
: When you depend on the packageD11.2
: When you don't depend on the packageOther DX
D12
: Find references across projects when no file from the referencing project is openD13
: Rename across projects when no file from the referencing project is openD14
: Jump to definition across projectsD15
: It is easy to move a file from one package to anotherD16
: It is easy to create a new packageD17
: Breakpoints work in Cursorless extensionD18
: Breakpoints work on Cursorless root websiteD19
: Breakpoints work on Cursorless docs website