Skip to content

Commit

Permalink
[templates] Add JSS_APP_NAME to .env files (#1571)
Browse files Browse the repository at this point in the history
* [templates] Add JSS_APP_NAME to .env files

* Updated CHANGELOG

* Update description to include mentioning about site name
  • Loading branch information
illiakovalenko authored Jul 24, 2023
1 parent 46dbf28 commit 1d31c5d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Our versioning strategy is as follows:

### 🎉 New Features & Improvements

* `[templates]` Add JSS_APP_NAME to .env files ([#1571](https://github.com/Sitecore/jss/pull/1571))
* `[sitecore-jss]` `[sitecore-jss-nextjs]` `[templates/nextjs]` Introduce performance metrics for debug logging ([#1555](https://github.com/Sitecore/jss/pull/1555))
* `[templates/nextjs]` `[templates/react]` `[templates/vue]` `[templates/angular]` Introduce layout service REST configuration name environment variable ([#1543](https://github.com/Sitecore/jss/pull/1543))
* `[templates/nextjs]` `[sitecore-jss-nextjs]` Support for out-of-process editing data caches was added. Vercel KV or a custom Redis cache can be used to improve editing in Pages and Experience Editor when using Vercel deployment as editing/rendering host ([#1530](https://github.com/Sitecore/jss/pull/1530))
Expand Down
3 changes: 3 additions & 0 deletions packages/create-sitecore-jss/src/templates/angular/.env
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ SITECORE_API_HOST=
# the resolved Sitecore API hostname + the `graphQLEndpointPath` defined in your `package.json`.
GRAPH_QL_ENDPOINT=

# Your JSS app name (also used as the default site name). Overrides 'config.appName' defined in a package.json
JSS_APP_NAME=

# Your default app language.
DEFAULT_LANGUAGE=

Expand Down
3 changes: 3 additions & 0 deletions packages/create-sitecore-jss/src/templates/nextjs/.env
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ SITECORE_API_HOST=
# the resolved Sitecore API hostname + the `graphQLEndpointPath` defined in your `package.json`.
GRAPH_QL_ENDPOINT=

# Your JSS app name (also used as the default site name). Overrides 'config.appName' defined in a package.json
JSS_APP_NAME=

# Your default app language.
DEFAULT_LANGUAGE=

Expand Down
3 changes: 3 additions & 0 deletions packages/create-sitecore-jss/src/templates/react/.env
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ REACT_APP_SITECORE_API_HOST=
# the resolved Sitecore API hostname + the `graphQLEndpointPath` defined in your `package.json`.
REACT_APP_GRAPH_QL_ENDPOINT=

# Your JSS app name (also used as the default site name). Overrides 'config.appName' defined in a package.json
REACT_APP_JSS_APP_NAME=

# Your default app language.
REACT_APP_DEFAULT_LANGUAGE=

Expand Down
3 changes: 3 additions & 0 deletions packages/create-sitecore-jss/src/templates/vue/.env
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ VUE_APP_SITECORE_API_HOST=
# the resolved Sitecore API hostname + the `graphQLEndpointPath` defined in your `package.json`.
VUE_APP_GRAPH_QL_ENDPOINT=

# Your JSS app name (also used as the default site name). Overrides 'config.appName' defined in a package.json
VUE_APP_JSS_APP_NAME=

# Your default app language.
VUE_APP_DEFAULT_LANGUAGE=

Expand Down

0 comments on commit 1d31c5d

Please sign in to comment.