diff --git a/packages/coln-js-runtime/package.json b/packages/coln-js-runtime/package.json index 7f2b2e2..90aa768 100644 --- a/packages/coln-js-runtime/package.json +++ b/packages/coln-js-runtime/package.json @@ -2,11 +2,15 @@ "name": "@coln-project/runtime", "version": "0.1.0", "private": true, + "author": "Coln contributors", "type": "module", + "license": "(Apache-2.0 OR MIT)", "files": [ - "dist" + "dist", + "LICENSES" ], "scripts": { + "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/LICENSE b/packages/coln-ls/client/LICENSE deleted file mode 100644 index a254666..0000000 --- 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 6fea32b..b3c4373 100644 --- a/packages/coln-ls/client/package.json +++ b/packages/coln-ls/client/package.json @@ -2,12 +2,14 @@ "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" }, "categories": ["Programming Languages"], "activationEvents": ["onLanguage:coln"], "main": "out/extension.js", + "license": "(Apache-2.0 OR MIT)", "contributes": { "languages": [ { @@ -33,7 +35,8 @@ } }, "scripts": { - "vscode:prepublish": "npm run compile", + "vscode:prepublish": "npm run copy-license && npm run compile", + "copy-license": "cp -r ../../../LICENSES LICENSES", "compile": "tsc -p .", "watch": "tsc -w -p ." },