-
-
Notifications
You must be signed in to change notification settings - Fork 448
feat: use [email protected]
#2654
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8053c55
chore: use `[email protected]`
giacomocusinato 2b26323
chore: use `[email protected]`
giacomocusinato 6d13b00
chore: use `[email protected]`
giacomocusinato 0fdbe70
chore: use `[email protected]`
giacomocusinato 3ea0d75
chore: use `[email protected]`
giacomocusinato 9510822
chore: use `[email protected]`
giacomocusinato cccaa39
chore: update dependencies
giacomocusinato 6a1a6fd
fix: prevent use of `node-abi@4`
giacomocusinato cacf238
fix: upgrade `react-tabs` to remove library warnings
giacomocusinato e7bd926
chore: use `[email protected]`
giacomocusinato b0a32df
chore: use `[email protected]`
giacomocusinato 85bce1e
chore: use `[email protected]`
giacomocusinato ea47bde
chore: use `[email protected]`
giacomocusinato 479f846
chore: update to typescript v5
giacomocusinato 172544f
fix: electron version parsing
giacomocusinato b016b97
chore: update plugins version
giacomocusinato d4dc5dc
fix: prevent puppeteer to download chrome on local build
giacomocusinato f3a2eb9
fix: remove CHECK ME comment
giacomocusinato File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: use
[email protected]
- Loading branch information
commit b0a32df0998a8ec7015a68bf433b53ffe954eaba
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
arduino-ide-extension/src/browser/theia/editor/editor-contribution.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 0 additions & 42 deletions
42
arduino-ide-extension/src/node/theia/filesystem/nsfw-bindings.ts
This file was deleted.
Oops, something went wrong.
42 changes: 42 additions & 0 deletions
42
arduino-ide-extension/src/node/theia/filesystem/parcel-bindings.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import { join } from 'node:path'; | ||
import { interfaces } from '@theia/core/shared/inversify'; | ||
import { | ||
FileSystemWatcherServiceProcessOptions, | ||
WATCHER_SINGLE_THREADED, | ||
spawnParcelFileSystemWatcherServiceProcess, | ||
} from '@theia/filesystem/lib/node/filesystem-backend-module'; | ||
import { FileSystemWatcherService } from '@theia/filesystem/lib/common/filesystem-watcher-protocol'; | ||
import { ParcelFileSystemWatcherServerOptions } from '@theia/filesystem/lib/node/parcel-watcher/parcel-filesystem-service'; | ||
import { FileSystemWatcherServiceDispatcher } from '@theia/filesystem/lib/node/filesystem-watcher-dispatcher'; | ||
import { NoDelayDisposalTimeoutParcelFileSystemWatcherService } from './parcel-watcher/parcel-filesystem-service'; | ||
|
||
export function rebindParcelFileSystemWatcher(rebind: interfaces.Rebind): void { | ||
rebind<FileSystemWatcherServiceProcessOptions>( | ||
FileSystemWatcherServiceProcessOptions | ||
).toConstantValue({ | ||
entryPoint: join(__dirname, 'parcel-watcher'), | ||
}); | ||
rebind<FileSystemWatcherService>(FileSystemWatcherService) | ||
.toDynamicValue((context) => | ||
WATCHER_SINGLE_THREADED | ||
? createParcelFileSystemWatcherService(context) | ||
: spawnParcelFileSystemWatcherServiceProcess(context) | ||
) | ||
.inSingletonScope(); | ||
} | ||
|
||
function createParcelFileSystemWatcherService({ | ||
container, | ||
}: interfaces.Context): FileSystemWatcherService { | ||
const options = container.get<ParcelFileSystemWatcherServerOptions>( | ||
ParcelFileSystemWatcherServerOptions | ||
); | ||
const dispatcher = container.get<FileSystemWatcherServiceDispatcher>( | ||
FileSystemWatcherServiceDispatcher | ||
); | ||
const server = new NoDelayDisposalTimeoutParcelFileSystemWatcherService( | ||
options | ||
); | ||
server.setClient(dispatcher); | ||
return server; | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...m/nsfw-watcher/nsfw-filesystem-service.ts → ...rcel-watcher/parcel-filesystem-service.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.