Skip to content

Commit 0bd4032

Browse files
authored
Publish v0.2 Release (#55)
1 parent 7ec19ce commit 0bd4032

File tree

7 files changed

+34
-28
lines changed

7 files changed

+34
-28
lines changed

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/open-collaboration-protocol/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "open-collaboration-protocol",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Open Collaboration Protocol implementation, part of the Open Collaboration Tools project",
55
"files": [
66
"lib",

packages/open-collaboration-server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "open-collaboration-server",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Open Collaboration Server implementation, part of the Open Collaboration Tools project",
55
"files": [
66
"bin",
@@ -18,7 +18,7 @@
1818
"inversify": "^6.0.2",
1919
"jose": "^4.15.5",
2020
"nanoid": "^3.0.0",
21-
"open-collaboration-protocol": "0.1.0",
21+
"open-collaboration-protocol": "0.2.0",
2222
"passport": "~0.7.0",
2323
"passport-github": "~1.1.0",
2424
"passport-google-oauth20": "^2.0.0",
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Change Log of `open-collaboration-tools`
22

3-
## v0.1.0 (Jun. 2024)
3+
## v0.2.0 (Aug. 2024)
4+
5+
- Added support for VSCode Web
6+
- Redesigned the login and session join mechanism
7+
- Improved workspace file handling
8+
- Added localizations for all commonly used VS Code languages
9+
- Enabled sharing binary files
10+
- Fixed a few edge cases regarding editor desync
11+
12+
## v0.1.0 (Jul. 2024)
413

514
- Initial preview release

packages/open-collaboration-vscode/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "open-collaboration-tools",
33
"displayName": "Open Collaboration Tools",
44
"description": "Connect with others and live-share your code in real-time collaboration sessions",
5-
"version": "0.1.1",
5+
"version": "0.2.0",
66
"publisher": "typefox",
77
"categories": [
88
"Other"
@@ -195,9 +195,9 @@
195195
]
196196
},
197197
"scripts": {
198-
"vscode:prepublish": "npm run check-types && node esbuild.js --production",
199-
"build": "npm run check-types && node esbuild.js",
200-
"watch": "node esbuild.js --watch",
198+
"vscode:prepublish": "npm run check-types && tsx ./scripts/esbuild.js --production",
199+
"build": "npm run check-types && tsx ./scripts/esbuild.js",
200+
"watch": "tsx ./scripts/esbuild.js --watch",
201201
"check-types": "tsc --noEmit",
202202
"l10n-export": "vscode-l10n-dev export --outDir ./l10n ./src",
203203
"l10n-pseudo": "vscode-l10n-dev generate-pseudo -o ./l10n/ ./l10n/bundle.l10n.json ./package.nls.json",
@@ -207,8 +207,8 @@
207207
"async-mutex": "^0.5.0",
208208
"inversify": "^6.0.2",
209209
"reflect-metadata": "^0.2.2",
210-
"open-collaboration-yjs": "0.1.0",
211-
"open-collaboration-protocol": "0.1.0",
210+
"open-collaboration-yjs": "0.2.0",
211+
"open-collaboration-protocol": "0.2.0",
212212
"lodash": "^4.17.21",
213213
"node-fetch": "^2.0.0"
214214
},

packages/open-collaboration-vscode/esbuild.js renamed to packages/open-collaboration-vscode/scripts/esbuild.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
const esbuild = require("esbuild");
1+
import esbuild from "esbuild";
22

33
const production = process.argv.includes('--production');
44
const watch = process.argv.includes('--watch');
55
const buildType = watch ? 'watch' : 'build';
66

7-
/**
8-
* @type {import('esbuild').Plugin}
9-
*/
10-
function esbuildProblemMatcherPlugin(type) {
7+
function esbuildProblemMatcherPlugin(type: 'web' | 'node'): esbuild.Plugin {
118
const prefix = `[${buildType}/${type}]`
129
return {
1310
name: 'esbuild-problem-matcher',
@@ -18,7 +15,9 @@ function esbuildProblemMatcherPlugin(type) {
1815
build.onEnd((result) => {
1916
result.errors.forEach(({ text, location }) => {
2017
console.error(`✘ [ERROR] ${text}`);
21-
console.error(` ${location.file}:${location.line}:${location.column}:`);
18+
if (location) {
19+
console.error(` ${location.file}:${location.line}:${location.column}:`);
20+
}
2221
});
2322
console.log(prefix + ' finished');
2423
});
@@ -40,7 +39,6 @@ const main = async () => {
4039
external: ['vscode'],
4140
logLevel: 'silent',
4241
plugins: [
43-
/* add to the end of plugins array */
4442
esbuildProblemMatcherPlugin('node')
4543
]
4644
});
@@ -58,7 +56,6 @@ const main = async () => {
5856
external: ['vscode'],
5957
logLevel: 'silent',
6058
plugins: [
61-
/* add to the end of plugins array */
6259
esbuildProblemMatcherPlugin('web')
6360
],
6461
// Node.js global to browser globalThis

packages/open-collaboration-yjs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "open-collaboration-yjs",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Open Collaboration Yjs integration, part of the Open Collaboration Tools project",
55
"files": [
66
"lib",
@@ -10,7 +10,7 @@
1010
"types": "./lib/index.d.ts",
1111
"dependencies": {
1212
"lib0": "^0.2.94",
13-
"open-collaboration-protocol": "^0.1.0",
13+
"open-collaboration-protocol": "^0.2.0",
1414
"y-protocols": "^1.0.6"
1515
},
1616
"peerDependencies": {

0 commit comments

Comments
 (0)