Skip to content

chore: prep next release #196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x] # see https://nodejs.org/en/about/releases/
node-version: [20.x, 22.x] # see https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# cache: 'npm' # only if package-lock is present
- run: npm i
- run: npm test
# - run: npm i
# - run: npm test
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm i
- run: npm test
# - run: npm i
# - run: npm test
- name: get-version
id: package-version
uses: martinbeentjes/[email protected]
Expand All @@ -36,6 +36,6 @@ jobs:
with:
tag: 'v${{ steps.package-version.outputs.current-version }}'
body: '${{ steps.parse-changelog.outputs.body }}'
- run: npm publish --access public
- run: npm publish --access public --tag next
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cap-js/graphql",
"version": "0.12.0",
"version": "0.13.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version 0.12.0 has not been released yet

"description": "CDS protocol adapter for GraphQL",
"keywords": [
"CAP",
Expand All @@ -9,7 +9,10 @@
],
"author": "SAP SE (https://www.sap.com)",
"license": "Apache-2.0",
"repository": "cap-js/graphql",
"repository": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, the "repository": "cap-js/graphql" syntax is a shorthand that implies that the given repository is hosted on github.com. The fact that it works correctly can be seen by the repository link on the npm page: https://www.npmjs.com/package/@cap-js/graphql.

(see here for more details: https://docs.npmjs.com/cli/v11/configuring-npm/package-json#repository)

"type": "git",
"url": "git+https://github.com/cap-js/graphql.git"
},
"homepage": "https://cap.cloud.sap/",
"main": "index.js",
"files": [
Expand All @@ -22,7 +25,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=20"
},
"scripts": {
"prettier": "npm_config_yes=true npx prettier@latest --write app lib test",
Expand All @@ -36,11 +39,11 @@
"graphql-http": "^1.18.0"
},
"peerDependencies": {
"@sap/cds": ">=7.8"
"@sap/cds": ">=9"
},
"devDependencies": {
"@cap-js/graphql": "file:.",
"@cap-js/sqlite": "^1",
"@cap-js/sqlite": ">=1",
"axios": "^1",
"express": "^4.17.1",
"jest": "^29.3.1",
Expand Down