Skip to content

Commit

Permalink
Publish v0.2 Release (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew authored Aug 28, 2024
1 parent 7ec19ce commit 0bd4032
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 28 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/open-collaboration-protocol/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "open-collaboration-protocol",
"version": "0.1.0",
"version": "0.2.0",
"description": "Open Collaboration Protocol implementation, part of the Open Collaboration Tools project",
"files": [
"lib",
Expand Down
4 changes: 2 additions & 2 deletions packages/open-collaboration-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "open-collaboration-server",
"version": "0.1.0",
"version": "0.2.0",
"description": "Open Collaboration Server implementation, part of the Open Collaboration Tools project",
"files": [
"bin",
Expand All @@ -18,7 +18,7 @@
"inversify": "^6.0.2",
"jose": "^4.15.5",
"nanoid": "^3.0.0",
"open-collaboration-protocol": "0.1.0",
"open-collaboration-protocol": "0.2.0",
"passport": "~0.7.0",
"passport-github": "~1.1.0",
"passport-google-oauth20": "^2.0.0",
Expand Down
11 changes: 10 additions & 1 deletion packages/open-collaboration-vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log of `open-collaboration-tools`

## v0.1.0 (Jun. 2024)
## v0.2.0 (Aug. 2024)

- Added support for VSCode Web
- Redesigned the login and session join mechanism
- Improved workspace file handling
- Added localizations for all commonly used VS Code languages
- Enabled sharing binary files
- Fixed a few edge cases regarding editor desync

## v0.1.0 (Jul. 2024)

- Initial preview release
12 changes: 6 additions & 6 deletions packages/open-collaboration-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "open-collaboration-tools",
"displayName": "Open Collaboration Tools",
"description": "Connect with others and live-share your code in real-time collaboration sessions",
"version": "0.1.1",
"version": "0.2.0",
"publisher": "typefox",
"categories": [
"Other"
Expand Down Expand Up @@ -195,9 +195,9 @@
]
},
"scripts": {
"vscode:prepublish": "npm run check-types && node esbuild.js --production",
"build": "npm run check-types && node esbuild.js",
"watch": "node esbuild.js --watch",
"vscode:prepublish": "npm run check-types && tsx ./scripts/esbuild.js --production",
"build": "npm run check-types && tsx ./scripts/esbuild.js",
"watch": "tsx ./scripts/esbuild.js --watch",
"check-types": "tsc --noEmit",
"l10n-export": "vscode-l10n-dev export --outDir ./l10n ./src",
"l10n-pseudo": "vscode-l10n-dev generate-pseudo -o ./l10n/ ./l10n/bundle.l10n.json ./package.nls.json",
Expand All @@ -207,8 +207,8 @@
"async-mutex": "^0.5.0",
"inversify": "^6.0.2",
"reflect-metadata": "^0.2.2",
"open-collaboration-yjs": "0.1.0",
"open-collaboration-protocol": "0.1.0",
"open-collaboration-yjs": "0.2.0",
"open-collaboration-protocol": "0.2.0",
"lodash": "^4.17.21",
"node-fetch": "^2.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
const esbuild = require("esbuild");
import esbuild from "esbuild";

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

/**
* @type {import('esbuild').Plugin}
*/
function esbuildProblemMatcherPlugin(type) {
function esbuildProblemMatcherPlugin(type: 'web' | 'node'): esbuild.Plugin {
const prefix = `[${buildType}/${type}]`
return {
name: 'esbuild-problem-matcher',
Expand All @@ -18,7 +15,9 @@ function esbuildProblemMatcherPlugin(type) {
build.onEnd((result) => {
result.errors.forEach(({ text, location }) => {
console.error(`✘ [ERROR] ${text}`);
console.error(` ${location.file}:${location.line}:${location.column}:`);
if (location) {
console.error(` ${location.file}:${location.line}:${location.column}:`);
}
});
console.log(prefix + ' finished');
});
Expand All @@ -40,7 +39,6 @@ const main = async () => {
external: ['vscode'],
logLevel: 'silent',
plugins: [
/* add to the end of plugins array */
esbuildProblemMatcherPlugin('node')
]
});
Expand All @@ -58,7 +56,6 @@ const main = async () => {
external: ['vscode'],
logLevel: 'silent',
plugins: [
/* add to the end of plugins array */
esbuildProblemMatcherPlugin('web')
],
// Node.js global to browser globalThis
Expand Down
4 changes: 2 additions & 2 deletions packages/open-collaboration-yjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "open-collaboration-yjs",
"version": "0.1.0",
"version": "0.2.0",
"description": "Open Collaboration Yjs integration, part of the Open Collaboration Tools project",
"files": [
"lib",
Expand All @@ -10,7 +10,7 @@
"types": "./lib/index.d.ts",
"dependencies": {
"lib0": "^0.2.94",
"open-collaboration-protocol": "^0.1.0",
"open-collaboration-protocol": "^0.2.0",
"y-protocols": "^1.0.6"
},
"peerDependencies": {
Expand Down

0 comments on commit 0bd4032

Please sign in to comment.