Skip to content

Conversation

mgerasimchuk
Copy link

Description

This PR introduces auto-publishing the Clipboard History (source) extension.

@mgerasimchuk mgerasimchuk force-pushed the add-anjali-clipboard-history-ext branch 4 times, most recently from ae6e9c0 to 91d794a Compare September 21, 2025 06:03
@mgerasimchuk mgerasimchuk force-pushed the add-anjali-clipboard-history-ext branch from 91d794a to 61175eb Compare September 21, 2025 06:04
@mgerasimchuk
Copy link
Author

Hi @filiptronicek, if you find some time, I’d be grateful for your attention here.

@filiptronicek
Copy link
Member

Hi @mgerasimchuk, I think it would make sense to publish this extension one-time manually if we can get it to build fine. Do you have information about whether the extension still works 8 years after it being published? If so, I'll take a look at publishing.

@mgerasimchuk
Copy link
Author

mgerasimchuk commented Oct 1, 2025

Hi @filiptronicek, thank you for taking a look at this.
Yes, I can confirm the extension still works fine.
I compiled it manually and tested it last week on code-server: v4.103.2 / Code: 1.103.2

image image

@filiptronicek
Copy link
Member

@mgerasimchuk could you share the compilation steps? I tried compiling it from the extensions.json recipe in an Ona environment and getting build errors:

> clipboard-history@1.0.6 vscode:prepublish
> tsc -p ./

node_modules/@types/node/index.d.ts:20:1 - error TS1084: Invalid 'reference' directive syntax.

20 /// <reference lib="es2015" />
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@mgerasimchuk
Copy link
Author

mgerasimchuk commented Oct 3, 2025

@filiptronicek sure, here it is:

➜  /tmp git clone https://github.com/aefernandes/vscode-clipboard-history-extension.git
Cloning into 'vscode-clipboard-history-extension'...
remote: Enumerating objects: 97, done.
remote: Total 97 (delta 0), reused 0 (delta 0), pack-reused 97 (from 1)
Receiving objects: 100% (97/97), 90.16 KiB | 789.00 KiB/s, done.
Resolving deltas: 100% (44/44), done.

➜  /tmp cd vscode-clipboard-history-extension

➜  vscode-clipboard-history-extension git:(master) npm install

➜  vscode-clipboard-history-extension git:(master) ✗ npm i -D typescript@latest @types/node@latest

➜  vscode-clipboard-history-extension git:(master) ✗ npx vsce package
Executing prepublish script 'npm run vscode:prepublish'...

> clipboard-history@1.0.6 vscode:prepublish
> tsc -p ./

 DONE  Packaged: /tmp/vscode-clipboard-history-extension/clipboard-history-1.0.6.vsix (11 files, 79.59KB)

➜  vscode-clipboard-history-extension git:(master) ✗ code-server --install-extension clipboard-history-1.0.6.vsix

the error that you mentioned solves by installing this one:

➜  vscode-clipboard-history-extension git:(master) ✗ npm i -D typescript@latest @types/node@latest

@filiptronicek
Copy link
Member

@mgerasimchuk

https://github.com/EclipseFdn/publish-extensions/actions/runs/18372406413/job/52338495222:

🚀 Published Anjali.clipboard-history v1.0.6

Please check it out and let me know if something's off

@mgerasimchuk
Copy link
Author

@filiptronicek I've checked, all works perfect, thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants