Skip to content
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

[templates] Add JSS_APP_NAME to .env files #1571

Merged
merged 3 commits into from
Jul 24, 2023
Merged
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
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