From df9d71475b18dd5ebf18a3926a29114503e7d3d3 Mon Sep 17 00:00:00 2001 From: Shuntian Liu Date: Tue, 23 Jun 2026 18:07:53 +0100 Subject: [PATCH 1/4] license: remove old and add new --- packages/coln-ls/client/LICENSE | 24 ------------------------ packages/coln-ls/client/package.json | 4 +++- 2 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 packages/coln-ls/client/LICENSE diff --git a/packages/coln-ls/client/LICENSE b/packages/coln-ls/client/LICENSE deleted file mode 100644 index a254666e..00000000 --- a/packages/coln-ls/client/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -Copyright (c) 2025, Vincent Liu -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/packages/coln-ls/client/package.json b/packages/coln-ls/client/package.json index 6fea32bb..0e8875a5 100644 --- a/packages/coln-ls/client/package.json +++ b/packages/coln-ls/client/package.json @@ -8,6 +8,7 @@ "categories": ["Programming Languages"], "activationEvents": ["onLanguage:coln"], "main": "out/extension.js", + "license": "(MIT OR Apache-2.0)", "contributes": { "languages": [ { @@ -33,7 +34,8 @@ } }, "scripts": { - "vscode:prepublish": "npm run compile", + "vscode:prepublish": "npm run copy-licensese && npm run compile", + "copy-license": "cp ../../../LICENSES/MIT.txt LICENSE-MIT && cp ../../../LICENSES/Apache-2.0.txt LICENSE-APACHE", "compile": "tsc -p .", "watch": "tsc -w -p ." }, From 83a6fb094bf07cce428dcf9dfef440281e5dc99f Mon Sep 17 00:00:00 2001 From: Shuntian Liu Date: Wed, 24 Jun 2026 13:50:58 +0100 Subject: [PATCH 2/4] license: add license field --- packages/coln-js-runtime/package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/coln-js-runtime/package.json b/packages/coln-js-runtime/package.json index 7f2b2e25..3ae2b31d 100644 --- a/packages/coln-js-runtime/package.json +++ b/packages/coln-js-runtime/package.json @@ -3,10 +3,14 @@ "version": "0.1.0", "private": true, "type": "module", + "license": "(MIT OR Apache-2.0)", "files": [ - "dist" + "dist", + "LICENSE-MIT", + "LICENSE-APACHE" ], "scripts": { + "copy-license": "cp ../../LICENSES/MIT.txt LICENSE-MIT && cp ../../LICENSES/Apache-2.0.txt LICENSE-APACHE", "build": "wasm-bodge build", "test": "tsx --test tests/test_id_resolution.ts" }, From 43df242e89f3ccc7db8c7dc0ca9882a8a5c902b1 Mon Sep 17 00:00:00 2001 From: Shuntian Liu Date: Wed, 24 Jun 2026 13:53:09 +0100 Subject: [PATCH 3/4] meta: add contributors --- packages/coln-js-runtime/package.json | 1 + packages/coln-ls/client/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/coln-js-runtime/package.json b/packages/coln-js-runtime/package.json index 3ae2b31d..8cd5053f 100644 --- a/packages/coln-js-runtime/package.json +++ b/packages/coln-js-runtime/package.json @@ -2,6 +2,7 @@ "name": "@coln-project/runtime", "version": "0.1.0", "private": true, + "author": "Coln contributors", "type": "module", "license": "(MIT OR Apache-2.0)", "files": [ diff --git a/packages/coln-ls/client/package.json b/packages/coln-ls/client/package.json index 0e8875a5..353b2258 100644 --- a/packages/coln-ls/client/package.json +++ b/packages/coln-ls/client/package.json @@ -2,6 +2,7 @@ "name": "coln-ls-client", "displayName": "Coln LSP Client", "description": "VS Code/Cursor client for the Coln language server", + "author": "Coln contributors", "version": "0.1.0", "publisher": "coln-developers", "engines": { "vscode": "^1.85.0" }, From a88813eb65c97aaef0acfaaa3a89832864b97863 Mon Sep 17 00:00:00 2001 From: Shuntian Liu Date: Thu, 25 Jun 2026 12:39:44 +0100 Subject: [PATCH 4/4] license: better ordering --- packages/coln-js-runtime/package.json | 7 +++---- packages/coln-ls/client/package.json | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/coln-js-runtime/package.json b/packages/coln-js-runtime/package.json index 8cd5053f..90aa768e 100644 --- a/packages/coln-js-runtime/package.json +++ b/packages/coln-js-runtime/package.json @@ -4,14 +4,13 @@ "private": true, "author": "Coln contributors", "type": "module", - "license": "(MIT OR Apache-2.0)", + "license": "(Apache-2.0 OR MIT)", "files": [ "dist", - "LICENSE-MIT", - "LICENSE-APACHE" + "LICENSES" ], "scripts": { - "copy-license": "cp ../../LICENSES/MIT.txt LICENSE-MIT && cp ../../LICENSES/Apache-2.0.txt LICENSE-APACHE", + "copy-license": "cp -r ../../LICENSES LICENSES", "build": "wasm-bodge build", "test": "tsx --test tests/test_id_resolution.ts" }, diff --git a/packages/coln-ls/client/package.json b/packages/coln-ls/client/package.json index 353b2258..b3c43738 100644 --- a/packages/coln-ls/client/package.json +++ b/packages/coln-ls/client/package.json @@ -9,7 +9,7 @@ "categories": ["Programming Languages"], "activationEvents": ["onLanguage:coln"], "main": "out/extension.js", - "license": "(MIT OR Apache-2.0)", + "license": "(Apache-2.0 OR MIT)", "contributes": { "languages": [ { @@ -35,8 +35,8 @@ } }, "scripts": { - "vscode:prepublish": "npm run copy-licensese && npm run compile", - "copy-license": "cp ../../../LICENSES/MIT.txt LICENSE-MIT && cp ../../../LICENSES/Apache-2.0.txt LICENSE-APACHE", + "vscode:prepublish": "npm run copy-license && npm run compile", + "copy-license": "cp -r ../../../LICENSES LICENSES", "compile": "tsc -p .", "watch": "tsc -w -p ." },