Skip to content

Commit

Permalink
Prepare for cds6 (SAP-samples#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
danjoa authored Apr 5, 2022
1 parent bbf1194 commit 9122713
Show file tree
Hide file tree
Showing 10 changed files with 691 additions and 683 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:

strategy:
matrix:
node-version: [16.x, 14.x, 12.x]
node-version: [ 16.x, 14.x, 12.x ]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npx npm@8 ci
- run: npm test
4 changes: 2 additions & 2 deletions bookshop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"index.js"
],
"dependencies": {
"@sap/cds": "^5.0.4",
"@sap/cds": ">=5.9",
"express": "^4.17.1",
"passport": "0.4.1"
"passport": ">=0.4.1"
},
"scripts": {
"genres": "cds serve test/genres.cds",
Expand Down
2 changes: 1 addition & 1 deletion bookstore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@capire/orders": "*",
"@capire/common": "*",
"@capire/data-viewer": "*",
"@sap/cds": "^5",
"@sap/cds": ">=5",
"express": "^4.17.1"
},
"cds": {
Expand Down
2 changes: 1 addition & 1 deletion data-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "A generic browser for data",
"dependencies": {
"@sap/cds": "^5.0.4"
"@sap/cds": ">=5.0.4"
},
"files": [
"app",
Expand Down
4 changes: 2 additions & 2 deletions fiori/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "1.0.0",
"dependencies": {
"@capire/bookstore": "*",
"@sap/cds": "^5",
"@sap/cds": ">=5",
"express": "^4.17.1",
"passport": "^0.4.1"
"passport": ">=0.4.1"
},
"scripts": {
"start": "cds run --in-memory?",
Expand Down
6 changes: 3 additions & 3 deletions hello/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"start:ts": "cds-ts serve srv/world.cds"
},
"dependencies": {
"@sap/cds": "^5.0.4"
"@sap/cds": ">=5.0.4"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/node": "^16.11.6",
"@types/jest": "*",
"@types/node": "*",
"ts-jest": "^27.0.2",
"typescript": "^4.3.5"
},
Expand Down
2 changes: 1 addition & 1 deletion orders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"version": "1.0.0",
"dependencies": {
"@capire/common": "*",
"@sap/cds": "^5"
"@sap/cds": ">=5"
}
}
Loading

0 comments on commit 9122713

Please sign in to comment.