diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..5fb7aa9 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,32 @@ +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs + +name: Release + +on: + push: + branches: main + + workflow_dispatch: + inputs: + dry-run: + description: Dry run + required: false + default: false + type: boolean + +permissions: + contents: write + id-token: write + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + + +jobs: + release: + uses: cap-js/.github/.github/workflows/release.yml@main + secrets: inherit + with: + dry-run: ${{ fromJSON(github.event.inputs.dry-run || 'false') }} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..4715058 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,11 @@ +# Change Log + +All notable changes to this project will be documented in this file. +This project adheres to [Semantic Versioning](http://semver.org/). +The format is based on [Keep a Changelog](http://keepachangelog.com/). + +## Version 0.0.1 - 2025-08-15 + +### Added + +- Initial release diff --git a/package-lock.json b/package-lock.json index c001c1c..50b0dd3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "@cap-js/mcp-server", - "version": "0.1.0", + "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cap-js/mcp-server", - "version": "0.1.0", - "license": "SEE LICENSE IN LICENSE", + "version": "0.0.1", + "license": "Apache-2.0", "dependencies": { "@modelcontextprotocol/sdk": "^1.8.0", - "@sap/cds": "*", + "@sap/cds": "^9", "onnxruntime-web": "^1.22.0" }, "bin": { @@ -1961,9 +1961,10 @@ } }, "node_modules/onnxruntime-common": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/onnxruntime-common/-/onnxruntime-common-1.22.0.tgz", - "integrity": "sha512-vcuaNWgtF2dGQu/EP5P8UI5rEPEYqXG2sPPe5j9lg2TY/biJF8eWklTMwlDO08iuXq48xJo0awqIpK5mPG+IxA==", + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/onnxruntime-common/-/onnxruntime-common-1.21.0.tgz", + "integrity": "sha512-Q632iLLrtCAVOTO65dh2+mNbQir/QNTVBG3h/QdZBpns7mZ0RYbLRBgGABPbpU9351AgYy7SJf1WaeVwMrBFPQ==", + "dev": true, "license": "MIT" }, "node_modules/onnxruntime-node": { @@ -1984,13 +1985,6 @@ "tar": "^7.0.1" } }, - "node_modules/onnxruntime-node/node_modules/onnxruntime-common": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/onnxruntime-common/-/onnxruntime-common-1.21.0.tgz", - "integrity": "sha512-Q632iLLrtCAVOTO65dh2+mNbQir/QNTVBG3h/QdZBpns7mZ0RYbLRBgGABPbpU9351AgYy7SJf1WaeVwMrBFPQ==", - "dev": true, - "license": "MIT" - }, "node_modules/onnxruntime-web": { "version": "1.22.0", "resolved": "https://registry.npmjs.org/onnxruntime-web/-/onnxruntime-web-1.22.0.tgz", @@ -2005,6 +1999,12 @@ "protobufjs": "^7.2.4" } }, + "node_modules/onnxruntime-web/node_modules/onnxruntime-common": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/onnxruntime-common/-/onnxruntime-common-1.22.0.tgz", + "integrity": "sha512-vcuaNWgtF2dGQu/EP5P8UI5rEPEYqXG2sPPe5j9lg2TY/biJF8eWklTMwlDO08iuXq48xJo0awqIpK5mPG+IxA==", + "license": "MIT" + }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", diff --git a/package.json b/package.json index 1855b4c..2e431e1 100644 --- a/package.json +++ b/package.json @@ -1,29 +1,33 @@ { "name": "@cap-js/mcp-server", - "version": "0.1.0", - "keywords": [], + "version": "0.0.1", + "description": "Model Context Protocol (MCP) server for AI-assisted development of CAP applications.", + "repository": { + "type": "git", + "url": "git+https://github.com/cap-js/mcp-server.git" + }, "author": "SAP SE (https://www.sap.com)", + "homepage": "https://cap.cloud.sap/", "license": "Apache-2.0", - "description": "Model Context Protocol (MCP) server for AI-assisted development of CAP applications.", "type": "module", "files": [ - "index.js", - "lib/" + "lib/", + "index.js" ], "bin": { "cds-mcp": "./index.js" }, + "scripts": { + "test": "node --test --test-concurrency=1", + "lint": "npx eslint ." + }, "dependencies": { "@modelcontextprotocol/sdk": "^1.8.0", - "@sap/cds": "*", + "@sap/cds": "^9", "onnxruntime-web": "^1.22.0" }, "devDependencies": { "@huggingface/transformers": "^3.7.1", "prettier": "*" - }, - "scripts": { - "test": "node --test --test-concurrency=1", - "lint": "npx eslint ." } }