Skip to content

Commit d371987

Browse files
committed
release(v3.0.1): Deprecate project
1 parent 9c951ce commit d371987

5 files changed

Lines changed: 25 additions & 21 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Clone repo
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v6
1515

1616
- name: Setup node environment
17-
uses: actions/setup-node@v2
17+
uses: actions/setup-node@v6
1818
with:
1919
node-version: 14
2020
registry-url: https://registry.npmjs.org/
2121

2222
- name: Download cache
23-
uses: actions/cache@v2.0.0
23+
uses: actions/cache@v6
2424
with:
2525
key: cds2types-cache
2626
path: node_modules
@@ -31,7 +31,7 @@ jobs:
3131
yarn build
3232
3333
- name: Upload build artifacts
34-
uses: actions/upload-artifact@v2
34+
uses: actions/upload-artifact@v6
3535
with:
3636
name: cds2types-artifacts
3737
path: bin

.github/workflows/publish-beta.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Clone repo
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v6
1515

1616
- name: Setup node environment
17-
uses: actions/setup-node@v2
17+
uses: actions/setup-node@v6
1818
with:
1919
node-version: 14
2020
registry-url: https://registry.npmjs.org/
2121

2222
- name: Download cache
23-
uses: actions/cache@v2.0.0
23+
uses: actions/cache@v6
2424
with:
2525
key: cds2types-cache
2626
path: node_modules
@@ -31,7 +31,7 @@ jobs:
3131
yarn build
3232
3333
- name: Upload a build artifact
34-
uses: actions/upload-artifact@v2
34+
uses: actions/upload-artifact@v6
3535
with:
3636
name: cds2types-artifacts
3737
path: bin
@@ -41,22 +41,22 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Clone repo
44-
uses: actions/checkout@v2
44+
uses: actions/checkout@v6
4545

4646
- name: Download build artifacts
47-
uses: actions/download-artifact@v2
47+
uses: actions/download-artifact@v6
4848
with:
4949
name: cds2types-artifacts
5050
path: bin
5151

5252
- name: Setup node environment
53-
uses: actions/setup-node@v2
53+
uses: actions/setup-node@v6
5454
with:
5555
node-version: 14
5656
registry-url: https://registry.npmjs.org/
5757

5858
- name: Publish to npm
59-
uses: JS-DevTools/npm-publish@v1
59+
uses: JS-DevTools/npm-publish@v4
6060
with:
6161
token: ${{ secrets.NPM_TOKEN }}
6262
tag: beta

.github/workflows/publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Clone repo
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v6
1515

1616
- name: Setup node environment
17-
uses: actions/setup-node@v2
17+
uses: actions/setup-node@v6
1818
with:
1919
node-version: 14
2020
registry-url: https://registry.npmjs.org/
2121

2222
- name: Download cache
23-
uses: actions/cache@v2.0.0
23+
uses: actions/cache@v6
2424
with:
2525
key: cds2types-cache
2626
path: node_modules
@@ -31,7 +31,7 @@ jobs:
3131
yarn build
3232
3333
- name: Upload a build artifact
34-
uses: actions/upload-artifact@v2
34+
uses: actions/upload-artifact@v6
3535
with:
3636
name: cds2types-artifacts
3737
path: bin
@@ -41,21 +41,21 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Clone repo
44-
uses: actions/checkout@v2
44+
uses: actions/checkout@v6
4545

4646
- name: Download build artifacts
47-
uses: actions/download-artifact@v2
47+
uses: actions/download-artifact@v6
4848
with:
4949
name: cds2types-artifacts
5050
path: bin
5151

5252
- name: Setup node environment
53-
uses: actions/setup-node@v2
53+
uses: actions/setup-node@v6
5454
with:
5555
node-version: 14
5656
registry-url: https://registry.npmjs.org/
5757

5858
- name: Publish to npm
59-
uses: JS-DevTools/npm-publish@v1
59+
uses: JS-DevTools/npm-publish@v4
6060
with:
6161
token: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
[![npm version](https://badge.fury.io/js/cds2types.svg)](https://badge.fury.io/js/cds2types) [![Actions Status](https://github.com/mrbandler/cds2types/workflows/build/badge.svg)](https://github.com/mrbandler/cds2types/actions) [![GitHub License](https://img.shields.io/github/license/mrbandler/cds2types)](https://github.com/mrbandler/cds2types/blob/master/LICENSE)
44

5+
> [!CAUTION]
6+
> This project is not maintained anymore.
7+
> Please refer to the public [CAP documentation](https://cap.cloud.sap/docs/node.js/typescript) for instructions how to setup a typescript based project.
8+
59
**CLI to convert CDS definitions to native Typescript types.**
610

711
> ⚠ Breaking change with version 3.0.0 of cds2types:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cds2types",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "CLI to convert CDS models to Typescript interfaces and enumerations",
55
"main": "./bin/cli.js",
66
"repository": "git@github.com:mrbandler/cds2types.git",

0 commit comments

Comments
 (0)