Skip to content

Commit

Permalink
bump version (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
sqs authored May 18, 2024
1 parent ca3b342 commit 038ccf6
Show file tree
Hide file tree
Showing 26 changed files with 147 additions and 48 deletions.
3 changes: 2 additions & 1 deletion bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
},
"devDependencies": {
"esbuild": "^0.21.3"
}
},
"version": "0.0.1"
}
2 changes: 1 addition & 1 deletion client/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@openctx/browser-extension",
"version": "0.0.6",
"version": "0.0.7",
"license": "Apache-2.0",
"scripts": {
"dev": "vite",
Expand Down
3 changes: 2 additions & 1 deletion client/codemirror/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"@openctx/client": "workspace:*",
"@openctx/codemirror-extension": "workspace:*",
"@openctx/provider-hello-world": "workspace:*"
}
},
"version": "0.0.1"
}
8 changes: 6 additions & 2 deletions client/codemirror/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/codemirror-extension",
"version": "0.0.6",
"version": "0.0.7",
"description": "OpenCtx extension for CodeMirror",
"license": "Apache-2.0",
"repository": {
Expand All @@ -11,7 +11,11 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["README.md", "dist", "!**/*.test.*"],
"files": [
"README.md",
"dist",
"!**/*.test.*"
],
"sideEffects": false,
"scripts": {
"build": "tsc --build",
Expand Down
3 changes: 2 additions & 1 deletion client/monaco-editor/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
},
"devDependencies": {
"vite-plugin-monaco-editor": "^1.1.0"
}
},
"version": "0.0.1"
}
8 changes: 6 additions & 2 deletions client/monaco-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/monaco-editor-extension",
"version": "0.0.5",
"version": "0.0.6",
"description": "OpenCtx extension for Monaco Editor",
"license": "Apache-2.0",
"repository": {
Expand All @@ -11,7 +11,11 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["README.md", "dist", "!**/*.test.*"],
"files": [
"README.md",
"dist",
"!**/*.test.*"
],
"sideEffects": false,
"scripts": {
"build": "tsc --build",
Expand Down
8 changes: 6 additions & 2 deletions client/vscode-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/vscode-lib",
"version": "0.0.1",
"version": "0.0.2",
"description": "OpenCtx library for VS Code extensions",
"license": "Apache-2.0",
"repository": {
Expand All @@ -11,7 +11,11 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["README.md", "dist", "!**/*.test.*"],
"files": [
"README.md",
"dist",
"!**/*.test.*"
],
"sideEffects": false,
"scripts": {
"build": "tsc --build",
Expand Down
4 changes: 4 additions & 0 deletions client/vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ OpenCtx for VS Code uses `major.EVEN_NUMBER.patch` for release versions and `maj

## (Unreleased)

## 0.2.6

- Fixed a bug preventing the use of OpenCtx providers written in ESM.

## 0.2.5

- The extension has been updated to use the latest OpenCtx API for providers.
Expand Down
27 changes: 21 additions & 6 deletions client/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "openctx",
"private": true,
"displayName": "OpenCtx",
"version": "0.2.5",
"version": "0.2.6",
"publisher": "sourcegraph",
"license": "Apache-2.0",
"icon": "resources/logomark-v0.png",
Expand Down Expand Up @@ -35,9 +35,17 @@
"test:e2e": "bash test/e2e.sh",
"vscode:prepublish": "pnpm -s run build"
},
"categories": ["Programming Languages", "Linters", "Snippets", "Education"],
"categories": [
"Programming Languages",
"Linters",
"Snippets",
"Education"
],
"preview": true,
"keywords": ["openctx", "metadata"],
"keywords": [
"openctx",
"metadata"
],
"repository": {
"type": "git",
"url": "https://github.com/sourcegraph/openctx",
Expand All @@ -53,7 +61,9 @@
"type": "module",
"main": "dist/extension.node.cjs",
"browser": "dist/extension.web.js",
"activationEvents": ["onStartupFinished"],
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"configuration": {
"type": "object",
Expand All @@ -72,7 +82,10 @@
"propertyNames": {
"description": "The OpenCtx provider's URL (or relative file path).",
"type": "string",
"format": ["uri", "uri-reference"]
"format": [
"uri",
"uri-reference"
]
},
"additionalProperties": {
"oneOf": [
Expand Down Expand Up @@ -168,7 +181,9 @@
"untrustedWorkspaces": {
"supported": "limited",
"description": "OpenCtx only uses providers (configured in `openctx.providers`) from trusted workspaces because providers may execute arbitrary code.",
"restrictedConfigurations": ["openctx.providers"]
"restrictedConfigurations": [
"openctx.providers"
]
},
"virtualWorkspaces": true
},
Expand Down
2 changes: 1 addition & 1 deletion client/web-playground/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@openctx/web-playground",
"version": "0.0.3",
"version": "0.0.4",
"description": "OpenCtx web playground",
"license": "Apache-2.0",
"homepage": "https://openctx.org",
Expand Down
9 changes: 7 additions & 2 deletions lib/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/client",
"version": "0.0.8",
"version": "0.0.9",
"description": "OpenCtx client library",
"license": "Apache-2.0",
"repository": {
Expand All @@ -11,7 +11,12 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist", "src", "!**/*.test.*", "!**/testdata/**"],
"files": [
"dist",
"src",
"!**/*.test.*",
"!**/testdata/**"
],
"sideEffects": false,
"scripts": {
"build": "tsc --build",
Expand Down
7 changes: 5 additions & 2 deletions lib/protocol/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/protocol",
"version": "0.0.7",
"version": "0.0.8",
"description": "OpenCtx client/provider protocol",
"license": "Apache-2.0",
"repository": {
Expand All @@ -11,7 +11,10 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist", "src"],
"files": [
"dist",
"src"
],
"sideEffects": false,
"scripts": {
"generate": "node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only ../schema/dev/generateJsonSchemaTypes.ts src/openctx-protocol.schema.json \"import type { Annotation, Item } from '@openctx/schema'\" > src/openctx-protocol.schema.ts && pnpm -w exec biome check --apply-unsafe \"$PNPM_SCRIPT_SRC_DIR/src/openctx-protocol.schema.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion lib/protocol/src/openctx-protocol.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export interface MentionsParams {
}
export interface ItemsParams {
/**
* A message that can be interpreted by providers to return relevant items.
* A message that is interpreted by providers to return relevant items.
*/
message?: string
/**
Expand Down
8 changes: 6 additions & 2 deletions lib/provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/provider",
"version": "0.0.7",
"version": "0.0.8",
"description": "OpenCtx provider library",
"license": "Apache-2.0",
"repository": {
Expand All @@ -11,7 +11,11 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist", "src", "!**/*.test.*"],
"files": [
"dist",
"src",
"!**/*.test.*"
],
"sideEffects": false,
"scripts": {
"build": "tsc --build",
Expand Down
7 changes: 5 additions & 2 deletions lib/schema/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/schema",
"version": "0.0.6",
"version": "0.0.7",
"description": "OpenCtx schema",
"license": "Apache-2.0",
"repository": {
Expand All @@ -12,7 +12,10 @@
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist", "src"],
"files": [
"dist",
"src"
],
"sideEffects": false,
"scripts": {
"generate": "node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only dev/generateJsonSchemaTypes.ts src/openctx.schema.json > src/openctx.schema.ts && pnpm -w exec biome check --apply-unsafe \"$PNPM_SCRIPT_SRC_DIR/src/openctx.schema.ts\"",
Expand Down
9 changes: 7 additions & 2 deletions lib/ui-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/ui-common",
"version": "0.0.5",
"version": "0.0.6",
"description": "OpenCtx common UI library",
"license": "Apache-2.0",
"repository": {
Expand All @@ -11,7 +11,12 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist", "src", "!**/*.test.*", "dist/**/*.d.ts"],
"files": [
"dist",
"src",
"!**/*.test.*",
"dist/**/*.d.ts"
],
"sideEffects": false,
"scripts": {
"build": "tsc --build",
Expand Down
11 changes: 9 additions & 2 deletions lib/ui-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/ui-react",
"version": "0.0.5",
"version": "0.0.6",
"description": "OpenCtx React UI library",
"license": "Apache-2.0",
"repository": {
Expand All @@ -11,7 +11,14 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist", "src", "!**/*.test.*", "!**/*.story.*", "!dist/**/*.ts?(x)", "dist/**/*.d.ts"],
"files": [
"dist",
"src",
"!**/*.test.*",
"!**/*.story.*",
"!dist/**/*.ts?(x)",
"dist/**/*.d.ts"
],
"sideEffects": false,
"scripts": {
"prebuild": "mkdir -p dist && cp -R src/* dist/ && find dist/ -name '*.tsx' -delete",
Expand Down
11 changes: 9 additions & 2 deletions lib/ui-standalone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/ui-standalone",
"version": "0.0.5",
"version": "0.0.6",
"description": "OpenCtx standalone UI library",
"license": "Apache-2.0",
"repository": {
Expand All @@ -11,7 +11,14 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist", "src", "!**/*.test.*", "!**/*.story.*", "!dist/**/*.ts?(x)", "dist/**/*.d.ts"],
"files": [
"dist",
"src",
"!**/*.test.*",
"!**/*.story.*",
"!dist/**/*.ts?(x)",
"dist/**/*.d.ts"
],
"sideEffects": false,
"scripts": {
"prebuild": "mkdir -p dist && cp -R src/* dist/ && find dist/ -name '*.ts' -not -name '*.d.ts' -delete",
Expand Down
9 changes: 7 additions & 2 deletions provider/google-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/provider-google-docs",
"version": "0.0.1",
"version": "0.0.2",
"description": "Google Docs context for code AI and editors (OpenCtx provider)",
"license": "Apache-2.0",
"repository": {
Expand All @@ -11,7 +11,12 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist", "index.ts", "!**/*.test.*", "README.md"],
"files": [
"dist",
"index.ts",
"!**/*.test.*",
"README.md"
],
"sideEffects": false,
"scripts": {
"build": "tsc --build",
Expand Down
9 changes: 7 additions & 2 deletions provider/hello-world/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openctx/provider-hello-world",
"version": "0.0.6",
"version": "0.0.7",
"description": "Hello World (OpenCtx provider)",
"license": "Apache-2.0",
"repository": {
Expand All @@ -11,7 +11,12 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist", "index.ts", "!**/*.test.*", "README.md"],
"files": [
"dist",
"index.ts",
"!**/*.test.*",
"README.md"
],
"sideEffects": false,
"scripts": {
"build": "tsc --build",
Expand Down
Loading

0 comments on commit 038ccf6

Please sign in to comment.