From 001206d1fe4ba8340750ebe773d63f499b7618ad Mon Sep 17 00:00:00 2001 From: Steffen Waldmann Date: Wed, 12 Jun 2024 10:40:02 +0200 Subject: [PATCH 1/2] Remove obsolete tip in `cds.env` guide --- node.js/cds-env.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/node.js/cds-env.md b/node.js/cds-env.md index 366085ce8..0b0494a25 100644 --- a/node.js/cds-env.md +++ b/node.js/cds-env.md @@ -218,7 +218,7 @@ You can provide static settings in a `"cds"` section of your project's _package. ```json "cds": { "requires": { - "db": { "kind": "sql" } + "db": "sql" } } ``` @@ -229,22 +229,18 @@ Alternatively, you can put static settings in _.cdsrc.json_ file in your project ```json "requires": { - "db": { "kind": "sql" } + "db": "sql" } ``` -::: tip -_.cdsrc_ goes without an enclosing `"cds"` section. -::: - ## Private Project Settings {#private-project-settings} + ### In _./.cdsrc-private.json_ -Put your private settings for local testing here. The file should not be submitted to your source code management system. The file's structure is the same like for _./.cdsrc.json_. +A `.cdsrc.json` equivalent for your private settings used in local testing. The file should not be committed to your version control system. ## Process Environment {#process-env} - ### On the Command Line On UNIX-based systems (Mac, Linux) you can specify individual process env variables as prefixes to the command to start your server. From c51c42149e4990b8a39dc60be06d373c37bf6f1d Mon Sep 17 00:00:00 2001 From: Steffen Waldmann Date: Wed, 12 Jun 2024 10:41:59 +0200 Subject: [PATCH 2/2] File name --- node.js/cds-env.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.js/cds-env.md b/node.js/cds-env.md index 0b0494a25..e5fb83eab 100644 --- a/node.js/cds-env.md +++ b/node.js/cds-env.md @@ -237,7 +237,7 @@ Alternatively, you can put static settings in _.cdsrc.json_ file in your project ### In _./.cdsrc-private.json_ -A `.cdsrc.json` equivalent for your private settings used in local testing. The file should not be committed to your version control system. +A _.cdsrc.json_ equivalent for your private settings used in local testing. The file should not be committed to your version control system. ## Process Environment {#process-env}