Skip to content
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

Move to npm #420

Merged
merged 1,411 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
1411 commits
Select commit Hold shift + click to select a range
3b5eba0
Move inline chat buttons to one toolbar (#229776)
roblourens Sep 25, 2024
6801c1f
Handle when an extension hasn't used an auth provider yet (#229777)
TylerLeonhardt Sep 25, 2024
749615f
Fix #229667. Bind listeners on cell text model misses events. (#229773)
rebornix Sep 25, 2024
eef6488
Use `select_account` prompt when no account is specified (#229778)
TylerLeonhardt Sep 26, 2024
2fddfda
Use new API for chat welcome view (#229782)
roblourens Sep 26, 2024
037dadc
feat: enable file decorations for chat edited files list
joyceerhl Sep 25, 2024
c43f508
feat: render edit generation progress in chat editing widget
joyceerhl Sep 26, 2024
9e23739
Only the first settings reference in a line is rendered (#229727)
alexr00 Sep 26, 2024
a45ae99
Fix hover navigation across attachments (#229801)
benibenj Sep 26, 2024
67a93b0
Revert "Revert "chat command center polish (#229674)" (#229755)" (#22…
jrieken Sep 26, 2024
9a91d33
Cancelling application of edits results in a dialog notification (#22…
aeschli Sep 26, 2024
31afbe3
Using different backgrounds on composition instead of underline (#229…
aiday-mar Sep 26, 2024
8252865
Fix editing session lifecycle issues (#229807)
alexdima Sep 26, 2024
516cd37
Fix bracket pair + tree-sitter freeze (#229809)
alexr00 Sep 26, 2024
438a9d9
Disable more explorer async find features (#229814)
benibenj Sep 26, 2024
c48773b
fix #229488 (#229816)
sandy081 Sep 26, 2024
be760b0
fix how context key is updated (#229818)
jrieken Sep 26, 2024
a3c6381
Hide panel icon rendering feature (#229817)
benibenj Sep 26, 2024
a6139a4
Fix hovers in chat attachments 2 (#229831)
benibenj Sep 26, 2024
c68420a
Fix some off-by-one at the end of the line in tree sitter (#229833)
alexr00 Sep 26, 2024
ced91ac
Emit change event when the state changes to streaming (#229834)
alexdima Sep 26, 2024
7b238be
Missed a spot with highlighting member methods (#229836)
alexr00 Sep 26, 2024
178c125
reveal chat zone should always reveal position in editor (#229838)
jrieken Sep 26, 2024
2544a7b
Do not await clipboard image data when not supported (#229835)
benibenj Sep 26, 2024
d4a6f20
Tree sitter colors: Everything is bold (#229839)
alexr00 Sep 26, 2024
462abd6
Re-render the actions on each update and reset an entry's state if it…
alexdima Sep 26, 2024
fec02a7
don't bother normalizing ranges from (funky) hunks as they get normal…
jrieken Sep 26, 2024
74b0694
Roll back to @vscode/proxy-agent 0.22.0 (#228872)
chrmarti Sep 26, 2024
955c13c
[] in sticky scroll is not highlighted correctly when tree sitter is …
alexr00 Sep 26, 2024
d9f21be
Fixes https://github.com/microsoft/vscode-copilot/issues/8671 (#229862)
hediet Sep 26, 2024
f71675c
testing: fix per-test filter from editor actions not working (#229863)
connor4312 Sep 26, 2024
5406df5
added mistral ai npm package
cobey Sep 26, 2024
a7d5297
Fix #229850. Inline editContext check in notebook webviewPreloads. (#…
rebornix Sep 26, 2024
d445ba0
workaround for https://github.com/microsoft/vscode-copilot/issues/867…
jrieken Sep 26, 2024
38bc9f0
debug: fix escape characters shown when hovering DOM element
connor4312 Sep 26, 2024
75b78f5
update unit test
connor4312 Sep 26, 2024
9b9508d
await on expand
andreamah Sep 26, 2024
c60ccaa
change other instances of expand
andreamah Sep 26, 2024
930fa6f
Merge pull request #229884 from microsoft/andreamah/issue229878
andreamah Sep 26, 2024
589cd8a
Fix quick chat layout (#229885)
roblourens Sep 26, 2024
4ec35c8
Only include installed extensions (#229889)
TylerLeonhardt Sep 26, 2024
a8266cd
Give padding in refs list when file icons disabled (#229891)
roblourens Sep 26, 2024
6486ae8
Reorder "Start editing session" icon (#229892)
roblourens Sep 26, 2024
0d7a2e1
feat: add a dedicated chat editing view
joyceerhl Sep 26, 2024
30c5902
Remove old reference of adding providers contributed by the environme…
TylerLeonhardt Sep 27, 2024
64e959c
Fix #229883. content event is required for cell content change. (#229…
rebornix Sep 27, 2024
3cf6788
Re #229883. Event emitter and version increment should be sync'ed (#2…
rebornix Sep 27, 2024
3d6f6d2
run OSS license tool (#229904)
bpasero Sep 27, 2024
bdc5542
:up: version to `1.95.0` (#229907)
bpasero Sep 27, 2024
332b89f
esm - remove AMD build scripts, tests and variables
bpasero Sep 27, 2024
d2701aa
esm - remove AMD modifications in sources
bpasero Sep 27, 2024
d34e895
esm - more AMD removal
bpasero Sep 27, 2024
6849275
esm - cleanup `bootstrap-window` a bit
bpasero Sep 27, 2024
c195229
esm - cleanup editor worker build descriptors
bpasero Sep 27, 2024
a47002f
esm - reduce scope of `require.d.ts`
bpasero Sep 27, 2024
723a714
esm - introduce and adopt `bootstrap-esm`
bpasero Sep 27, 2024
b544846
esm - further cleanup build scripts
bpasero Sep 27, 2024
fbd0827
esm - more cleanup
bpasero Sep 27, 2024
c7caef0
esm - make `optimize.ts` ESM only
bpasero Sep 27, 2024
02fec8e
esm - better handle main CSS files
bpasero Sep 27, 2024
87f3486
esm - restore default header
bpasero Sep 27, 2024
7d428d7
esm - remove build support for `prepend`
bpasero Sep 27, 2024
9155abf
esm - convert unc.js to unc.ts
bpasero Sep 27, 2024
f3d4653
esm - convert performance.js to performance.ts
bpasero Sep 27, 2024
1fd17c5
esm - convert jsonc.js to jsonc.ts
bpasero Sep 27, 2024
4d5d8b1
esm - convert userDataPath.js to userDataPath.ts
bpasero Sep 27, 2024
2c12afe
esm - convert nls.js to nls.ts
bpasero Sep 27, 2024
5fcebed
esm - convert bootstrap files to TS (part 1)
bpasero Sep 27, 2024
0496e9c
esm - convert bootstrap files to TS (part 2)
bpasero Sep 27, 2024
f6bfbf0
esm - convert bootstrap files to TS (part 3)
bpasero Sep 27, 2024
c184d01
esm - convert preload*.js to TypeScript
bpasero Sep 27, 2024
7a0eed1
esm - convert bootstrap files to TS (part 4)
bpasero Sep 27, 2024
16fd920
esm - fix monaco checks
bpasero Sep 27, 2024
3b8c31c
esm - fix transpile
bpasero Sep 27, 2024
1d219d7
esm - fix layer checker
bpasero Sep 27, 2024
ffd4624
Merge pull request #229865 from cobey/cobey/add_mistral_npm
isidorn Sep 27, 2024
2d10b81
SCM Graph - 💄 switch to using px for badge font size (#229918)
lszomoru Sep 27, 2024
161dfff
Move launcher to npm
RomanNikitenko Sep 26, 2024
e67b198
Update grammars (#229924)
alexr00 Sep 27, 2024
db992f3
esm - some :lipstick:
bpasero Sep 27, 2024
3ae2826
Fix sticky node rerender (#229929)
benibenj Sep 27, 2024
d16f06e
SCM Graph - 💄 switch to using px for badge font size (#229918) (#229931)
sandy081 Sep 27, 2024
7bf2f5e
esm - more typing to jsonc
bpasero Sep 27, 2024
b637e00
Adapt to upstream changes related to workbench
RomanNikitenko Sep 27, 2024
293e725
esm - some :lipstick:
bpasero Sep 27, 2024
0dea65f
Git - rework integration tests (#229926)
lszomoru Sep 27, 2024
ded5e0d
counter revealLines-logic with sticky scroll max lines (#229939)
jrieken Sep 27, 2024
1460d2f
Merge pull request #229915 from microsoft/ben/mature-bird
bpasero Sep 27, 2024
6c94f0a
SCM - 💄 ActionButton API cleanup (#229943)
lszomoru Sep 27, 2024
20ca71f
Merge pull request #229893 from microsoft/dev/joyceerhl/quick-porpoise
aeschli Sep 27, 2024
8bdc9ee
Change buttons to use element hover placement (#229949)
benibenj Sep 27, 2024
e4f4c45
Engineering - update agent pool (#229947)
lszomoru Sep 27, 2024
f429fff
SCM - switch action button to observable to avoid using the onDidChan…
lszomoru Sep 27, 2024
6043ad1
fix #229955 (#229959)
sandy081 Sep 27, 2024
96cf88a
esm - convert window related helpers to TS (#229961)
bpasero Sep 27, 2024
38b087c
Merge pull request #229880 from microsoft/connor4312/issue229874
Tyriar Sep 27, 2024
73f3a3e
Prevent terminal SI decorations showing under quick fixes
Tyriar Sep 27, 2024
8af8a57
Merge pull request #229966 from microsoft/tyriar/229872
Tyriar Sep 27, 2024
fd6dd87
jsdoc for selection view part
Tyriar Sep 27, 2024
a1afeb6
Fail to read from stdin (#229962) (#229967)
bpasero Sep 27, 2024
cee1e10
Fix if logOutputChannel is created again after being disposed, it wil…
jeanp413 Sep 27, 2024
449e524
Disable action to remove last view container (#229969)
benibenj Sep 27, 2024
1977d59
Merge pull request #229971 from microsoft/tyriar/227087_3
Tyriar Sep 27, 2024
f9910cd
esm - try to fix build (#229972)
bpasero Sep 27, 2024
ec1125c
inline chat fixes (#229973)
jrieken Sep 27, 2024
6be9a30
edit chat view: start editing session when created (#229975)
aeschli Sep 27, 2024
f029ec3
#214048 polish the fix (#229978)
sandy081 Sep 27, 2024
2b5ec43
Fix issue with disposable after being disposed (#229980)
benibenj Sep 27, 2024
ceba479
Move the triggering of auto apply from extension to UI (#229976)
aeschli Sep 27, 2024
3c44096
Fix TerminalInstance leaks
Tyriar Sep 27, 2024
1cb112d
Fix XtermTerminal leaking
Tyriar Sep 27, 2024
40290c9
Terminal developer contrib leaks, simplify line data option
Tyriar Sep 27, 2024
56eabd9
Remove spawn throttle when using conpty.dll
Tyriar Sep 27, 2024
13ac4f2
node-pty@1.1.0-beta22
Tyriar Sep 27, 2024
c27536c
Merge pull request #229984 from microsoft/tyriar/229982
Tyriar Sep 27, 2024
ee05ba8
Merge pull request #229981 from microsoft/tyriar/191768
Tyriar Sep 27, 2024
71cabbe
Startup perf don't await pty host connection on web
Tyriar Sep 27, 2024
da96c73
chat editing: new button (#229988)
aeschli Sep 27, 2024
e956ece
Pick up latest TS for building VS Code (#229991)
mjbvz Sep 27, 2024
e57ad41
Limit top level functions in notebook webview preloads (#229998)
rebornix Sep 27, 2024
83e902b
Merge pull request #229992 from microsoft/tyriar/229944
Tyriar Sep 27, 2024
2192418
Get correct mouse cursor y regardless of MouseEvent.target
Tyriar Sep 27, 2024
ad90d1a
Prefer remoteAuthority check over remote agent null
Tyriar Sep 27, 2024
8f86741
Fix ##229995. Exclude empty editor hint in notebook diff editor (#230…
rebornix Sep 27, 2024
e0ca49c
Improve lifecycle management in TerminalLinks.ts
Tyriar Sep 27, 2024
aa0b6bb
feat: collapse codeblocks in editing sessions (#230005)
joyceerhl Sep 27, 2024
b395179
Merge pull request #230006 from microsoft/tyriar/229944_2
Tyriar Sep 27, 2024
acc4f88
Merge pull request #230008 from microsoft/tyriar/cleanup_links
Tyriar Sep 27, 2024
f74d65e
Adopt `preparePasteEdits` for js/ts update imports on paste (#230007)
mjbvz Sep 27, 2024
626fc7d
Make sure we delete new TS internal file names too (#230011)
mjbvz Sep 27, 2024
6ec2c7e
Fix "in none full screen mode" typo (#229914)
injust Sep 27, 2024
1d3cc0a
fix: New Edit Session doesn't work if panel chat is active (#230021)
joyceerhl Sep 27, 2024
2fd1512
SCM - first colored badge is being rendered independently (#230022)
lszomoru Sep 27, 2024
71d514b
Try converting absolute icon font sizes to relative values (#229440)
mjbvz Sep 27, 2024
77677ac
Force /help response to stream (#230026)
roblourens Sep 27, 2024
64708fe
SCM Graph - add counter to badges (#230025)
lszomoru Sep 27, 2024
6bbcad9
Fix chat cancel button order (#230015) (#230027)
roblourens Sep 27, 2024
ef69ffe
Correctly pass user selected LM for intent detection (#230014) (#230028)
roblourens Sep 27, 2024
05016c9
Avoid setting a negative padding on the chat welcome view container (…
roblourens Sep 27, 2024
7112c83
Expand context menu for attachments list (#230030)
mjbvz Sep 27, 2024
bd9abc6
fix: #211878 for preferencesModels.ts (#230031)
rzhao271 Sep 27, 2024
541f878
fix: reveal diffs for chat edits (#230032)
joyceerhl Sep 28, 2024
4e33b78
Rebase against the upstream 541f878e30173c000d9dc0feb45e36f3fd128c4c
RomanNikitenko Sep 28, 2024
3ea9b18
Update package.lock file
RomanNikitenko Sep 28, 2024
6eba3f2
Fix debug console is cleared on style changed (#224694)
BABA983 Sep 28, 2024
4a8a562
SCM Graph - only set the count and description is shown (#230039)
lszomoru Sep 28, 2024
cb9f166
Merge pull request #229985 from microsoft/node-pty_240927
Tyriar Sep 28, 2024
7308a15
Merge pull request #230004 from microsoft/tyriar/229965
Tyriar Sep 28, 2024
3f5fa8a
xterm@5.6.0-beta.65
Tyriar Sep 28, 2024
4d7a7a4
Add support for links 'foo(l:c)' and 'foo (l:c)'
Tyriar Sep 28, 2024
bf1663a
Encapsulate xterm addon importing into own class
Tyriar Sep 28, 2024
0d9af18
Merge pull request #230042 from microsoft/tyriar/xterm_240927
Tyriar Sep 28, 2024
d809b43
Merge pull request #230043 from microsoft/tyriar/230010
Tyriar Sep 28, 2024
f336c54
Move XtermTerminal ctor args into options object
Tyriar Sep 28, 2024
1349a67
Make SI reporting and nonce options optional
Tyriar Sep 28, 2024
2b0935a
Fix scrolling of Test Results when a new test starts (fixes #229531) …
r3m0t Sep 28, 2024
aba0844
Rebase against the upstream 2b0935aea31f7e866fde758786aec27d3ab7a9c4
RomanNikitenko Sep 28, 2024
6ffa99f
Merge pull request #230046 from microsoft/tyriar/addon_loader_class
Tyriar Sep 29, 2024
5a25a3d
Merge branch 'main' into tyriar/addon_loader_class__xterm_options
Tyriar Sep 29, 2024
b116d4a
add markdownBeforeBlock to code block (#230050)
aeschli Sep 29, 2024
59f2e39
Merge pull request #229442 from microsoft/merogge/hide
Tyriar Sep 29, 2024
47618f7
Move terminal auto replies into workbench terminalContrib
Tyriar Sep 29, 2024
00cbb47
Move most of auto replies platform parts into contrib folder
Tyriar Sep 29, 2024
bc5d480
Make generic pty service contrib interface
Tyriar Sep 29, 2024
cb48c5e
Move RPC calls into a #region
Tyriar Sep 29, 2024
1332b19
Move config into the contribution
Tyriar Sep 29, 2024
a3b4487
Typo
Tyriar Sep 29, 2024
fbe54e4
Remove single line eslint suppressions
Tyriar Sep 29, 2024
7d8835e
Merge branch 'main' into tyriar/auto_replies
Tyriar Sep 29, 2024
f77ab8d
Merge branch 'main' into tyriar/auto_replies__eslint
Tyriar Sep 29, 2024
54894dc
Rebase against the upstream 59f2e398290bc0929cae6807ba4bff439bb40373
RomanNikitenko Sep 30, 2024
ba6feb5
SCM - Remove onDidChange event (#230100)
lszomoru Sep 30, 2024
eec0d20
Edit Context : Using border instead of background color for compositi…
aiday-mar Sep 30, 2024
fd58e9e
SCM - add exception handling for the history provider methods (#230102)
lszomoru Sep 30, 2024
1c45703
debt - update colors (#230103)
bpasero Sep 30, 2024
4a8c46e
Adding box around composition in light and dark high contrast themes …
aiday-mar Sep 30, 2024
84c18c5
esm - more cleanup of rules and files (#230083)
bpasero Sep 30, 2024
3c945e4
fix #203141 - postpone restarting until settings sync is turned on (#…
sandy081 Sep 30, 2024
4b7e7ce
Refactoring EditContext work (#230107)
aiday-mar Sep 30, 2024
a5979c9
esm - more cleanup and polish (#230109)
bpasero Sep 30, 2024
b6630c0
esm - remove `MonacoEnvironment` use in ext host worker (#230111)
bpasero Sep 30, 2024
85910c7
chore: Align workbench.html for upstream changes
RomanNikitenko Sep 30, 2024
a099115
Merge pull request #230048 from microsoft/tyriar/addon_loader_class__…
Tyriar Sep 30, 2024
e48e261
Rebase against the upstream a0991154fae58a77c876668c9f4f31b70175d6ad
RomanNikitenko Sep 30, 2024
ef44e67
Improve unusable slowness of tree sitter syntax highlighting (#229951)
alexr00 Sep 30, 2024
841d51d
write our own little gulp-eslint which takes the eslint from our work…
sandy081 Sep 30, 2024
7ff86e6
Changing the wording of the color description for editor IME composit…
aiday-mar Sep 30, 2024
1b5cd1b
Split terminal contrib exports with impl into new file
Tyriar Sep 30, 2024
c55f72a
Export single object/array for use in main terminal registrations
Tyriar Sep 30, 2024
aca460e
Merge pull request #230073 from microsoft/tyriar/auto_replies
Tyriar Sep 30, 2024
fee31fe
Merge remote-tracking branch 'origin/main' into tyriar/auto_replies__…
Tyriar Sep 30, 2024
56262cf
bring back profile switch menu - fix #227872 (#230123)
sandy081 Sep 30, 2024
a7cc64e
Fix context attribute issue in editor tabs (#230121)
benibenj Sep 30, 2024
a98b704
Merge pull request #230077 from microsoft/tyriar/auto_replies__eslint
Tyriar Sep 30, 2024
60cffa3
Move terminal quick access into terminalContrib/
Tyriar Sep 30, 2024
1e63781
Move wsl recommendation into terminalContrib
Tyriar Sep 30, 2024
199019e
Merge pull request #230127 from microsoft/tyriar/230126
Tyriar Sep 30, 2024
048df17
Merge pull request #230130 from microsoft/tyriar/wslrec
Tyriar Sep 30, 2024
584fd69
fix #230131 (#230133)
sandy081 Sep 30, 2024
f1e3cc6
Add path back in to resolved URIs (#230116)
alexr00 Sep 30, 2024
7891b9a
add new profile icons (#230117)
sandy081 Sep 30, 2024
0a3c791
bring back edit button in chat view (#230141)
aeschli Sep 30, 2024
2a677c6
Rename MSAL setting (#230142)
TylerLeonhardt Sep 30, 2024
29e3a83
fix: align X with New Chat in editing widget
joyceerhl Sep 30, 2024
3a02184
Fix more type assertions for #211878 (#230143)
rzhao271 Sep 30, 2024
c295ef3
accessible view part of #211878 (#230150)
meganrogge Sep 30, 2024
fd20b8b
fix: clicking an actioned entry in the editing widget should not open…
joyceerhl Sep 30, 2024
e7abf7b
esm - inline main entry points (#230135)
bpasero Sep 30, 2024
f4bdaad
Merge vscode ts file watch settings (#230152)
mjbvz Sep 30, 2024
11cc1c8
Avoid breaking wh when model can't be resolved (#230153)
Yoyokrazy Sep 30, 2024
36b52aa
esm - inline `minimist` (#230155)
bpasero Sep 30, 2024
f2ac057
Add hover feedback and title for chat attachment delete button (#229650)
mjbvz Sep 30, 2024
41ce1b7
Remove "symbol information" reference from ChatResponseStream#anchor …
roblourens Sep 30, 2024
5ddd3d2
Only enable js/ts paste with imports for copy and pasted within VS Co…
mjbvz Sep 30, 2024
27d54aa
add `accessible-view` Scheme and register provider for that (#230159)
meganrogge Sep 30, 2024
51fa4d0
Fix more type assertions (#230156)
mjbvz Sep 30, 2024
35183ef
Revert "Rename MSAL setting" (#230164)
TylerLeonhardt Sep 30, 2024
287245b
Ensure cells in a readonly notebook cannot be edited (#228309)
DonJayamanne Sep 30, 2024
f8f1272
Fallback notebook output mimetypes in diff editor (#230170)
DonJayamanne Sep 30, 2024
3345693
Avoid updating nb diff layout when editing in diff (#230171)
DonJayamanne Sep 30, 2024
79fbd37
Fix decorations not restoring upon re-render cell (#230177)
Yoyokrazy Sep 30, 2024
c35d5e2
Exclude cells and indentAmount from notebook metadta diff view (#230173)
DonJayamanne Sep 30, 2024
d3596df
More type assertion fixes (#230181)
mjbvz Sep 30, 2024
dc6e041
Avoid leaking text models when cancelling notebook diffs (#230175)
DonJayamanne Sep 30, 2024
ffede5c
repl and notebook editors should match so that only one is opened (#2…
amunger Sep 30, 2024
4d723b8
Clean up chat quickpick attachment types (#230183)
roblourens Oct 1, 2024
e8cc06a
feat: render chat editing working set (#230180)
joyceerhl Oct 1, 2024
8a32f69
refactor: cleanup debt for hashing (#230174)
connor4312 Oct 1, 2024
699bbcc
chore: bump ms build for electron@30.5.1 (#230184)
deepak1556 Oct 1, 2024
b591f33
:up: `jschardet@3.1.4` (#230197)
bpasero Oct 1, 2024
4aefabb
Rebase against the upstream b591f33513575b89cfe3f42d5b9de43efcf9ca78
RomanNikitenko Oct 1, 2024
faf8a80
chore: Align workbench.html to upstream changes
RomanNikitenko Oct 1, 2024
f3a55ca
chore: Adapt launcher logic to upstream changes
RomanNikitenko Oct 3, 2024
8f9b309
chore: Adapt lancher's tests to the upstream changes
RomanNikitenko Oct 3, 2024
5b685e3
chore: Adapt rebasing rules for workbench to upstream changes
RomanNikitenko Oct 3, 2024
f039c76
chore: Align rebasing rules according to the upstream changes
RomanNikitenko Oct 4, 2024
d7993f5
chore: Update package-lock files
RomanNikitenko Oct 4, 2024
9bb549d
chore: Use npm instead of yarn for devfile commands
RomanNikitenko Oct 7, 2024
342948d
chore: Update README after moving to npm
RomanNikitenko Oct 7, 2024
b0f2aa3
chore: Use npm when automatic rebasing rules are applied
RomanNikitenko Oct 7, 2024
61867a6
Merge remote-tracking branch 'eclipse/main' into move-to-npm
RomanNikitenko Oct 15, 2024
9a5ebe4
chore: Adapt PR-428 changes to npm
RomanNikitenko Oct 15, 2024
8ce4d0d
Merge remote-tracking branch 'eclipse/main' into move-to-npm
RomanNikitenko Oct 16, 2024
cfc3198
Merge remote-tracking branch 'eclipse/main' into move-to-npm
RomanNikitenko Oct 17, 2024
20ceef3
chore: Adapt PR-436 to npm
RomanNikitenko Oct 17, 2024
e3963a3
chore: fix npm timeouts for dockerfiles
RomanNikitenko Oct 18, 2024
2c67e29
chore: Add root lock file
RomanNikitenko Oct 22, 2024
9c378b3
chore: Regenerate lock files for che extensions
RomanNikitenko Oct 22, 2024
9167f0a
Merge remote-tracking branch 'eclipse/main' into move-to-npm
RomanNikitenko Oct 23, 2024
c279bdd
chore: Update lock files after resolving conflicts
RomanNikitenko Oct 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 0 additions & 1 deletion .rebase/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ https://github.com/che-incubator/che-code/commit/d3cf7dc86d284bc4cdff7cc163c5642
---

#### @RomanNikitenko
https://github.com/che-incubator/che-code/pull/376
https://github.com/che-incubator/che-code/pull/397

- code/package.json
Expand Down
4 changes: 0 additions & 4 deletions .rebase/override/code/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"name": "che-code",
"bin": "out/vs/server/main.js",
"scripts": {
"watch-client": "node --max-old-space-size=5120 ./node_modules/gulp/bin/gulp.js watch-client",
"watch-extensions": "node --max-old-space-size=5120 ./node_modules/gulp/bin/gulp.js watch-extensions watch-extension-media"
},
"devDependencies": {
"@vscode/l10n-dev": "0.0.18",
"typescript": "5.6.0-dev.20240715"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,12 @@
"by": "<link rel=\\\"manifest\\\" href=\\\"./oss-dev/static/resources/server/manifest.json\\\" crossorigin=\\\"use-credentials\\\" />"
},
{
"from": "<link data-name=\\\"vs/workbench/workbench.web.main\\\" rel=\\\"stylesheet\\\" href=\\\"{{WORKBENCH_WEB_BASE_URL}}/out/vs/workbench/workbench.web.main.css\\\">",
"by": "<link data-name=\\\"vs/workbench/workbench.web.main\\\" rel=\\\"stylesheet\\\" href=\\\"./oss-dev/static/out/vs/workbench/workbench.web.main.css\\\">"
},
{
"from": "<script src=\\\"{{WORKBENCH_WEB_BASE_URL}}/out/vs/loader.js\\\"></script>",
"by": "<script src=\\\"./oss-dev/static/out/vs/loader.js\\\"></script>"
},
{
"from": "<script src=\\\"{{WORKBENCH_WEB_BASE_URL}}/out/vs/webPackagePaths.js\\\"></script>",
"by": "<script src=\\\"./oss-dev/static/out/vs/webPackagePaths.js\\\"></script>"
"from": "<link rel=\\\"stylesheet\\\" href=\\\"{{WORKBENCH_WEB_BASE_URL}}/out/vs/code/browser/workbench/workbench.css\\\"\\\">",
"by": "<link rel=\\\"stylesheet\\\" href=\\\"./oss-dev/static/out/vs/code/browser/workbench/workbench.css\\\">"
},
{
"from": "const baseUrl = new URL('{{WORKBENCH_WEB_BASE_URL}}', window.location.origin).toString();",
"by": "const baseUrl = `${window.location.protocol}//${window.location.host}${window.location.pathname}oss-dev/static`;"
"by": "const baseUrl = `${window.location.protocol}//${window.location.host}${window.location.pathname}oss-dev/static`;"
},
{
"from": "<script src=\\\"{{WORKBENCH_NLS_FALLBACK_URL}}\\\"></script>",
Expand All @@ -39,10 +31,6 @@
"from": "<script src=\\\"{{WORKBENCH_NLS_URL}}\\\"></script>",
"by": ""
},
{
"from": "<script src=\\\"{{WORKBENCH_WEB_BASE_URL}}/out/vs/workbench/workbench.web.main.js\\\"></script>",
"by": "<script src=\\\"./oss-dev/static/out/vs/workbench/workbench.web.main.js\\\"></script>"
},
{
"from": "<script src=\\\"{{WORKBENCH_WEB_BASE_URL}}/out/vs/code/browser/workbench/workbench.js\\\"></script>",
"by": "<script src=\\\"./oss-dev/static/out/vs/code/browser/workbench/workbench.js\\\"></script>"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ The terminal is aware of the running pod. Then, you can open terminals in every
Upstream `Code-OSS` is stored using Git [subtree](https://git-scm.com/book/en/v2/Git-Tools-Advanced-Merging#_subtree_merge). It means that if you're not interested in updating/rebasing upstream code you don't need to setup anything else unlike git submodules. This repository is self-contained.

## Development pre-requisites
- NodeJS version used by `Code-OSS` (Exact version can be find inside https://github.com/microsoft/vscode/blob/main/remote/.yarnrc with target property)
- Yarn v1.x
- NodeJS version used by `Code-OSS` (Exact version can be find inside https://github.com/microsoft/vscode/blob/main/remote/.npmrc with target property)
- `npm`

## Directories layout

Expand All @@ -20,9 +20,9 @@ Upstream `Code-OSS` is stored using Git [subtree](https://git-scm.com/book/en/v2

## Development mode

1. Fetch dependencies with `yarn` command
2. Compile and watch folders: `yarn run watch`
3. Run the server (another terminal for example): `yarn run server`
1. Fetch dependencies with `npm install` command
2. Compile and watch folders: `npm run watch`
3. Run the server (another terminal for example): `npm run server`

## Image build

Expand Down
3 changes: 1 addition & 2 deletions build/dockerfiles/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ RUN source $NVM_DIR/nvm.sh && \
nvm use v$NODEJS_VERSION

USER 0
RUN npm install --global npm@9.7.2 yarn@v1 node-gyp@9
RUN npm install --global npm@9.7.2 node-gyp@9

# Set permissions on /home/user/.cache to allow the user to write
RUN yarn global add node-gyp@9
RUN chgrp -R 0 /home/user/.cache && chmod -R g=u /home/user/.cache

USER 10001
17 changes: 8 additions & 9 deletions build/dockerfiles/linux-libc-ubi8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ RUN { if [[ $(uname -m) == "s390x" ]]; then LIBSECRET="\
LIBKEYBOARD=""; echo "Warning: arch $(uname -m) not supported"; \
fi; } \
&& yum install -y $LIBSECRET $LIBKEYBOARD curl make cmake gcc gcc-c++ python3.9 git git-core-doc openssh less libX11-devel libxkbcommon bash tar gzip rsync patch \
&& yum -y clean all && rm -rf /var/cache/yum \
&& npm install -g yarn@1.22.17
&& yum -y clean all && rm -rf /var/cache/yum

#########################################################
#
Expand All @@ -69,14 +68,14 @@ ENV ELECTRON_SKIP_BINARY_DOWNLOAD=1 \
RUN git init .

# change network timeout (slow using multi-arch build)
RUN yarn config set network-timeout 600000 -g
RUN npm config set fetch-retry-mintimeout 1000000 && npm config set fetch-retry-maxtimeout 6000000

# Grab dependencies (and force to rebuild them)
RUN yarn install --force
RUN npm install --force

# Compile
RUN NODE_ARCH=$(echo "console.log(process.arch)" | node) \
&& NODE_VERSION=$(cat /checode-compilation/remote/.yarnrc | grep target | cut -d ' ' -f 2 | tr -d '"') \
&& NODE_VERSION=$(cat /checode-compilation/remote/.npmrc | grep target | cut -d '=' -f 2 | tr -d '"') \
# cache node from this image to avoid to grab it from within the build
&& mkdir -p /checode-compilation/.build/node/v${NODE_VERSION}/linux-${NODE_ARCH} \
&& echo "caching /checode-compilation/.build/node/v${NODE_VERSION}/linux-${NODE_ARCH}/node" \
Expand All @@ -102,11 +101,11 @@ RUN ./node_modules/.bin/gulp compile-extension:vscode-api-tests \

# Compile test suites
# https://github.com/microsoft/vscode/blob/cdde5bedbf3ed88f93b5090bb3ed9ef2deb7a1b4/test/integration/browser/README.md#compile
RUN if [ "$(uname -m)" = "x86_64" ]; then yarn --cwd test/smoke compile && yarn --cwd test/integration/browser compile; fi
RUN if [ "$(uname -m)" = "x86_64" ]; then npm --prefix test/smoke run compile && npm --prefix test/integration/browser run compile; fi

# install test dependencies
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=0
RUN if [ "$(uname -m)" = "x86_64" ]; then yarn playwright-install; fi
RUN if [ "$(uname -m)" = "x86_64" ]; then npm run playwright-install; fi
# Install procps to manage to kill processes and centos stream repository
RUN if [ "$(uname -m)" = "x86_64" ]; then \
ARCH=$(uname -m) && \
Expand Down Expand Up @@ -139,7 +138,7 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
RUN if [ "$(uname -m)" = "x86_64" ]; then \
NODE_ARCH=$(echo "console.log(process.arch)" | node) \
VSCODE_REMOTE_SERVER_PATH="$(pwd)/../vscode-reh-web-linux-${NODE_ARCH}" \
/opt/app-root/src/retry.sh -v -t 3 -s 2 -- timeout -v 5m yarn smoketest-no-compile --web --headless --electronArgs="--disable-dev-shm-usage --use-gl=swiftshader"; \
/opt/app-root/src/retry.sh -v -t 3 -s 2 -- timeout -v 5m npm run smoketest-no-compile -- --web --headless --electronArgs="--disable-dev-shm-usage --use-gl=swiftshader"; \
fi

# Do not change line below! It is used to cut this section to skip tests
Expand All @@ -152,7 +151,7 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
#########################################################
COPY launcher /checode-launcher
WORKDIR /checode-launcher
RUN yarn \
RUN npm install \
&& mkdir /checode/launcher \
&& cp -r out/src/*.js /checode/launcher \
&& chgrp -R 0 /checode && chmod -R g+rwX /checode
Expand Down
20 changes: 10 additions & 10 deletions build/dockerfiles/linux-libc-ubi9.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ RUN { if [[ $(uname -m) == "s390x" ]]; then LIBSECRET="\
LIBKEYBOARD=""; echo "Warning: arch $(uname -m) not supported"; \
fi; } \
&& yum install -y $LIBSECRET $LIBKEYBOARD make cmake gcc gcc-c++ python3.9 git git-core-doc openssh less libX11-devel libxkbcommon krb5-devel bash tar gzip rsync patch npm \
&& yum -y clean all && rm -rf /var/cache/yum \
&& npm install -g yarn@1.22.17
&& yum -y clean all && rm -rf /var/cache/yum

#########################################################
#
Expand All @@ -69,13 +68,14 @@ ENV ELECTRON_SKIP_BINARY_DOWNLOAD=1 \
RUN git init .

# change network timeout (slow using multi-arch build)
RUN yarn config set network-timeout 600000 -g
RUN npm config set fetch-retry-mintimeout 1000000 && npm config set fetch-retry-maxtimeout 6000000

# Grab dependencies (and force to rebuild them)
RUN yarn install --force
RUN npm install --force

# Compile
RUN NODE_ARCH=$(echo "console.log(process.arch)" | node) \
&& NODE_VERSION=$(cat /checode-compilation/remote/.yarnrc | grep target | cut -d ' ' -f 2 | tr -d '"') \
&& NODE_VERSION=$(cat /checode-compilation/remote/.npmrc | grep target | cut -d '=' -f 2 | tr -d '"') \
# cache node from this image to avoid to grab it from within the build
&& mkdir -p /checode-compilation/.build/node/v${NODE_VERSION}/linux-${NODE_ARCH} \
&& echo "caching /checode-compilation/.build/node/v${NODE_VERSION}/linux-${NODE_ARCH}/node" \
Expand Down Expand Up @@ -103,11 +103,11 @@ RUN ./node_modules/.bin/gulp compile-extension:vscode-api-tests \

# # Compile test suites
# https://github.com/microsoft/vscode/blob/cdde5bedbf3ed88f93b5090bb3ed9ef2deb7a1b4/test/integration/browser/README.md#compile
RUN if [ "$(uname -m)" = "x86_64" ]; then yarn --cwd test/smoke compile && yarn --cwd test/integration/browser compile; fi
RUN if [ "$(uname -m)" = "x86_64" ]; then npm --prefix test/smoke run compile && npm --prefix test/integration/browser run compile; fi

# install test dependencies
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=0
RUN if [ "$(uname -m)" = "x86_64" ]; then yarn playwright-install; fi
RUN if [ "$(uname -m)" = "x86_64" ]; then npm run playwright-install; fi
# Install procps to manage to kill processes and centos stream repository
RUN if [ "$(uname -m)" = "x86_64" ]; then \
ARCH=$(uname -m) && \
Expand All @@ -117,7 +117,7 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
https://rpmfind.net/linux/centos-stream/9-stream/BaseOS/${ARCH}/os/Packages/centos-stream-repos-9.0-23.el9.noarch.rpm; \
fi

RUN if [ "$(uname -m)" = "x86_64" ]; then \
RUN if [ "$(uname -m)" = "x86_64" ]; then \
yum install -y chromium && \
PLAYWRIGHT_CHROMIUM_PATH=$(echo /opt/app-root/src/.cache/ms-playwright/chromium-*/) && \
rm "${PLAYWRIGHT_CHROMIUM_PATH}/chrome-linux/chrome" && \
Expand All @@ -139,7 +139,7 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
RUN if [ "$(uname -m)" = "x86_64" ]; then \
NODE_ARCH=$(echo "console.log(process.arch)" | node) \
VSCODE_REMOTE_SERVER_PATH="$(pwd)/../vscode-reh-web-linux-${NODE_ARCH}" \
/opt/app-root/src/retry.sh -v -t 3 -s 2 -- timeout -v 5m yarn smoketest-no-compile --web --headless --electronArgs="--disable-dev-shm-usage --use-gl=swiftshader"; \
/opt/app-root/src/retry.sh -v -t 3 -s 2 -- timeout -v 5m npm run smoketest-no-compile -- --web --headless --electronArgs="--disable-dev-shm-usage --use-gl=swiftshader"; \
fi

# Do not change line below! It is used to cut this section to skip tests
Expand All @@ -152,7 +152,7 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
#########################################################
COPY launcher /checode-launcher
WORKDIR /checode-launcher
RUN yarn \
RUN npm install \
&& mkdir /checode/launcher \
&& cp -r out/src/*.js /checode/launcher \
&& chgrp -R 0 /checode && chmod -R g+rwX /checode
Expand Down
19 changes: 10 additions & 9 deletions build/dockerfiles/linux-musl.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,21 @@ ENV CXXFLAGS='-DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT'
RUN git init .

# change network timeout (slow using multi-arch build)
RUN yarn config set network-timeout 600000 -g
RUN npm config set fetch-retry-mintimeout 1000000 && npm config set fetch-retry-maxtimeout 6000000

# Grab dependencies
RUN yarn install
RUN npm install

# Rebuild platform specific dependencies
RUN npm rebuild

RUN NODE_VERSION=$(cat /checode-compilation/remote/.yarnrc | grep target | cut -d ' ' -f 2 | tr -d '"') \
RUN NODE_VERSION=$(cat /checode-compilation/remote/.npmrc | grep target | cut -d '=' -f 2 | tr -d '"') \
# cache node from this image to avoid to grab it from within the build
&& echo "caching /checode-compilation/.build/node/v${NODE_VERSION}/linux-alpine/node" \
&& mkdir -p /checode-compilation/.build/node/v${NODE_VERSION}/linux-alpine \
&& cp /usr/local/bin/node /checode-compilation/.build/node/v${NODE_VERSION}/linux-alpine/node
&& cp /usr/local/bin/node /checode-compilation/.build/node/v${NODE_VERSION}/linux-alpine/node \
# workaround to fix build
&& cp -r /checode-compilation/node_modules/tslib /checode-compilation/remote/node_modules/

RUN NODE_OPTIONS="--max_old_space_size=6500" ./node_modules/.bin/gulp vscode-reh-web-linux-alpine-min
RUN cp -r ../vscode-reh-web-linux-alpine /checode
Expand All @@ -76,8 +78,7 @@ RUN ./node_modules/.bin/gulp compile-extension:vscode-api-tests \

# Compile test suites
# https://github.com/microsoft/vscode/blob/cdde5bedbf3ed88f93b5090bb3ed9ef2deb7a1b4/test/integration/browser/README.md#compile
RUN [[ $(uname -m) == "x86_64" ]] && yarn --cwd test/smoke compile && yarn --cwd test/integration/browser compile

RUN [[ $(uname -m) == "x86_64" ]] && npm --prefix test/smoke run compile && npm --prefix test/integration/browser run compile
# use of retry and timeout
COPY /build/scripts/helper/retry.sh /usr/bin/retry
RUN chmod u+x /usr/bin/retry
Expand All @@ -86,7 +87,7 @@ RUN chmod u+x /usr/bin/retry
# chromium for tests and procps as tests are using kill commands and it does not work with busybox implementation
RUN [[ $(uname -m) == "x86_64" ]] && apk add --update --no-cache chromium procps
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=0
RUN [[ $(uname -m) == "x86_64" ]] && yarn playwright-install
RUN [[ $(uname -m) == "x86_64" ]] && npm run playwright-install
RUN [[ $(uname -m) == "x86_64" ]] && \
PLAYWRIGHT_CHROMIUM_PATH=$(echo /root/.cache/ms-playwright/chromium-*/) && \
rm "${PLAYWRIGHT_CHROMIUM_PATH}/chrome-linux/chrome" && \
Expand All @@ -100,7 +101,7 @@ RUN [[ $(uname -m) == "x86_64" ]] && VSCODE_REMOTE_SERVER_PATH="/vscode-reh-web-

# Run smoke tests (Browser)
RUN [[ $(uname -m) == "x86_64" ]] && VSCODE_REMOTE_SERVER_PATH="/vscode-reh-web-linux-alpine" \
retry -v -t 3 -s 2 -- timeout 5m yarn smoketest-no-compile --web --headless --electronArgs="--disable-dev-shm-usage --use-gl=swiftshader"
retry -v -t 3 -s 2 -- timeout 5m npm run smoketest-no-compile -- --web --headless --electronArgs="--disable-dev-shm-usage --use-gl=swiftshader"

#########################################################
#
Expand All @@ -109,7 +110,7 @@ RUN [[ $(uname -m) == "x86_64" ]] && VSCODE_REMOTE_SERVER_PATH="/vscode-reh-web-
#########################################################
COPY launcher /checode-launcher
WORKDIR /checode-launcher
RUN yarn \
RUN npm install \
&& mkdir /checode/launcher \
&& cp -r out/src/*.js /checode/launcher \
&& chgrp -R 0 /checode && chmod -R g+rwX /checode
Expand Down
13 changes: 1 addition & 12 deletions code/.configurations/configuration.dsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,6 @@ properties:
id: OpenJS.NodeJS.LTS
version: "20.14.0"
source: winget
- resource: NpmDsc/NpmPackage
id: yarn
dependsOn:
- npm
directives:
description: Install Yarn
allowPrerelease: true
settings:
Name: 'yarn'
Global: true
PackageDirectory: '${WinGetConfigRoot}\..\'
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install Python 3.10
Expand Down Expand Up @@ -56,7 +45,7 @@ properties:
includeRecommended: true
components:
- Microsoft.VisualStudio.Workload.VCTools
- resource: YarnDsc/YarnInstall
- resource: NpmDsc/NpmInstall
dependsOn:
- npm
directives:
Expand Down
4 changes: 2 additions & 2 deletions code/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ RUN git config --system codespaces-theme.hide-status 1

USER node
RUN npm install -g node-gyp
RUN YARN_CACHE="$(yarn cache dir)" && rm -rf "$YARN_CACHE" && ln -s /vscode-dev/yarn-cache "$YARN_CACHE"
RUN NPM_CACHE="$(npm config get cache)" && rm -rf "$NPM_CACHE" && ln -s /vscode-dev/npm-cache "$NPM_CACHE"
RUN echo 'export DISPLAY="${DISPLAY:-:1}"' | tee -a ~/.bashrc >> ~/.zshrc

USER root
CMD chown node:node /vscode-dev && sudo -u node mkdir -p /vscode-dev/yarn-cache && sleep inf
CMD chown node:node /vscode-dev && sudo -u node mkdir -p /vscode-dev/npm-cache && sleep inf
4 changes: 2 additions & 2 deletions code/.devcontainer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If you already have VS Code and Docker installed, you can click the badge above

4. Press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd> and select **Dev Containers: Clone Repository in Container Volume...**.

> **Tip:** While you can use your local source tree instead, operations like `yarn install` can be slow on macOS or when using the Hyper-V engine on Windows. We recommend using the WSL filesystem on Windows or the "clone repository in container" approach on Windows and macOS instead since it uses "named volume" rather than the local filesystem.
> **Tip:** While you can use your local source tree instead, operations like `npm i` can be slow on macOS or when using the Hyper-V engine on Windows. We recommend using the WSL filesystem on Windows or the "clone repository in container" approach on Windows and macOS instead since it uses "named volume" rather than the local filesystem.

5. Type `https://github.com/microsoft/vscode` (or a branch or PR URL) in the input box and press <kbd>Enter</kbd>.

Expand Down Expand Up @@ -85,7 +85,7 @@ To start working with Code - OSS, follow these steps:
1. In your local VS Code client, open a terminal (<kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>\`</kbd>) and type the following commands:

```bash
yarn install
npm i
bash scripts/code.sh
```

Expand Down
4 changes: 2 additions & 2 deletions code/.devcontainer/post-create.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

yarn install --network-timeout 180000
yarn electron
npm i
npm run electron
7 changes: 0 additions & 7 deletions code/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@
**/src/vs/*/**/*.d.ts
**/src/vs/base/test/common/filters.perf.data.js
**/src/vs/loader.js
**/src2/**/dompurify.js
**/src2/**/marked.js
**/src2/**/semver.js
**/src2/typings/**/*.d.ts
**/src2/vs/*/**/*.d.ts
**/src2/vs/base/test/common/filters.perf.data.js
**/src2/vs/loader.js
**/test/unit/assert.js
**/test/unit/assert-esm.js
**/test/automation/out/**
Expand Down
Loading
Loading