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

updated the link href #1855

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
9b05530
Extra xm cloud warning for sxa initializer (#1170)
art-alexeyenko Sep 28, 2022
08b3ceb
version v20.1.1-canary.0 [skip ci]
Sep 28, 2022
672b79c
v20.1.1
addy-pathania Sep 29, 2022
396bc60
v20.1.2
addy-pathania Sep 30, 2022
3724280
v20.1.3
addy-pathania Oct 4, 2022
9ee7a2e
Update azure-pipelines.yml
art-alexeyenko Feb 8, 2023
64d5f11
Use "ver<major>-canary" for prerelease tag [skip ci]
ambrauer Mar 22, 2023
64e4c78
v20.2.0-canary.0
illiakovalenko Oct 12, 2023
8591056
version v20.2.0-canary.1 [skip ci]
Oct 12, 2023
db870a9
Merge #1612 #1618 #1619 for release 20.2 (#1631)
illiakovalenko Oct 12, 2023
7550456
version v20.2.0-canary.2 [skip ci]
Oct 12, 2023
03065c0
v20.2.1-canary.0
art-alexeyenko Oct 12, 2023
ee5dcda
version v20.2.1-canary.1 [skip ci]
Oct 12, 2023
200874d
Revert "version v20.2.1-canary.1 [skip ci]"
art-alexeyenko Oct 13, 2023
fb7739e
Revert "v20.2.1-canary.0"
art-alexeyenko Oct 13, 2023
b26f924
trigger 20.2.0.canary.3, reset ver20 tag
art-alexeyenko Oct 13, 2023
c21921f
version v20.2.0-canary.3 [skip ci]
Oct 13, 2023
db3235d
[sitecore-jss-proxy] setting "followRedirects" to "true" breaks HEAD …
sc-yavorkrastev Oct 19, 2023
56cd3aa
updated changelog
sc-yavorkrastev Oct 19, 2023
3f9bcff
removed express dependance in sitecore-jss-proxy
yavorsk Oct 19, 2023
46959d1
Merge pull request #1635 from Sitecore/bugfix/JSS-788
yavorsk Oct 19, 2023
f1fbf4b
version v20.2.0-canary.4 [skip ci]
Oct 19, 2023
c0665ba
Fix template’s @sitecore-jss/* dependencies to use canary packages
ambrauer Oct 19, 2023
26a8dc2
version v20.2.0-canary.5 [skip ci]
Oct 19, 2023
49f858b
fix vue lint error
addy-pathania Oct 19, 2023
0a867e3
Merge branch 'release/20.0.0' of github.com:Sitecore/jss into release…
addy-pathania Oct 19, 2023
70db8f0
version v20.2.0-canary.6 [skip ci]
Oct 19, 2023
a44fa02
fix eslint version
addy-pathania Oct 19, 2023
89b0f9a
Merge branch 'release/20.0.0' of github.com:Sitecore/jss into release…
addy-pathania Oct 19, 2023
be501e6
version v20.2.0-canary.7 [skip ci]
Oct 19, 2023
75f18e6
fix vue linting errors by updating dev dependencies versions
yavorsk Oct 20, 2023
a78d67c
version v20.2.0-canary.8 [skip ci]
Oct 20, 2023
9654ea6
fixed p tag warning
addy-pathania Oct 20, 2023
8cc6104
Merge branch 'release/20.0.0' of github.com:Sitecore/jss into release…
addy-pathania Oct 20, 2023
b324aa1
version v20.2.0-canary.9 [skip ci]
Oct 20, 2023
34bc99a
fix vue build
addy-pathania Oct 20, 2023
1732ef9
version v20.2.0-canary.10 [skip ci]
Oct 20, 2023
4725bd0
update null-loader
yavorsk Oct 24, 2023
08eb6c3
Merge branch 'release/20.0.0' of https://github.com/Sitecore/jss into…
yavorsk Oct 24, 2023
c74b273
version v20.2.0-canary.11 [skip ci]
Oct 24, 2023
19c2a70
fix vue app build warnings by updating dependancies
yavorsk Oct 25, 2023
a30340b
version v20.2.0-canary.12 [skip ci]
Oct 25, 2023
79f474b
update dependancies to fix error when vue app is in ssr proxy
yavorsk Oct 26, 2023
1f40e52
Merge branch 'release/20.0.0' of https://github.com/Sitecore/jss into…
yavorsk Oct 26, 2023
f5104a5
version v20.2.0-canary.13 [skip ci]
Oct 26, 2023
fb0f5b6
v20.2.0 [skip ci]
yavorsk Oct 27, 2023
84d0731
v20.2.1-canary.0
yavorsk Oct 27, 2023
63d2966
version v20.2.1-canary.1 [skip ci]
Oct 27, 2023
737e879
Update inner templates dependencies to 20.2.1-canary
illiakovalenko Oct 27, 2023
c85051a
Updated CHANGELOG
illiakovalenko Oct 27, 2023
220d77e
version v20.2.1-canary.2 [skip ci]
Oct 27, 2023
4663c2f
v20.2.1 [skip ci]
yavorsk Oct 27, 2023
699c638
Updated to 20.2.1 [skip ci]
illiakovalenko Oct 27, 2023
7e1419a
v20.2.2-canary.0
yavorsk Oct 27, 2023
7055d90
version v20.2.2-canary.1 [skip ci]
Oct 27, 2023
49d05d1
Updated versions to ^20.2.2-canary
illiakovalenko Oct 27, 2023
53fb138
v20.2.2 [skip ci]
illiakovalenko Oct 27, 2023
06cb416
Updated CHANGELOG [skip ci]
illiakovalenko Oct 27, 2023
d7728b0
v20.2.3-canary.0
Jan 18, 2024
7f48241
version v20.2.3-canary.1 [skip ci]
Jan 18, 2024
f447429
[Next.js][React] Link component does not add anchor to the internal l…
illiakovalenko Nov 2, 2022
c0c8c19
Merge branch 'release/20.0.0' of https://github.com/Sitecore/jss into…
illiakovalenko Jan 18, 2024
2e34af2
Updated formatting
illiakovalenko Jan 18, 2024
57cda49
Fixed lint errors
illiakovalenko Jan 18, 2024
2ae1138
Fixed lint errors pt 2
illiakovalenko Jan 18, 2024
2f9b23e
version v20.2.3-canary.2 [skip ci]
Jan 18, 2024
70787eb
v20.2.3 [skip ci]
illiakovalenko Jan 19, 2024
e63216b
Update CHANGELOG.md [skip ci]
illiakovalenko Jan 19, 2024
c0495b9
v20.3.0-canary.0
addy-pathania Feb 9, 2024
503f862
version v20.3.0-canary.1 [skip ci]
Feb 9, 2024
23ba3b2
add retry policy for transient network errors
addy-pathania Feb 9, 2024
37e1454
regenrate yarn.lock
addy-pathania Feb 9, 2024
390dee1
Merge branch 'release/20.0.0' of github.com:Sitecore/jss into release…
addy-pathania Feb 9, 2024
bc52c87
fixed abortError test
addy-pathania Feb 9, 2024
b58a858
version v20.3.0-canary.2 [skip ci]
Feb 9, 2024
b350ff2
refactor error message, error hangling
addy-pathania Feb 9, 2024
3f53d4e
Merge branch 'release/20.0.0' of github.com:Sitecore/jss into release…
addy-pathania Feb 9, 2024
203afaf
add error check
addy-pathania Feb 9, 2024
2958e65
version v20.3.0-canary.3 [skip ci]
Feb 9, 2024
030b028
[sitecore-jss] Optimize initial Retry delay time (#1733)
addy-pathania Feb 13, 2024
79b9006
remove only
addy-pathania Feb 13, 2024
6f3f8b7
version v20.3.0-canary.4 [skip ci]
Feb 13, 2024
c100e00
v20.3.0 [skip ci]
addy-pathania Feb 13, 2024
c9a8e32
v20.3.1-canary.0
addy-pathania Feb 28, 2024
8e88155
version v20.3.1-canary.1 [skip ci]
Feb 28, 2024
5d5fe36
add better error handling for component level data fetching
illiakovalenko Aug 15, 2023
1c24f2e
update prettyignore
addy-pathania Feb 28, 2024
2de9d44
version v20.3.1-canary.2 [skip ci]
Feb 28, 2024
ca78295
add fix for custom retryStrategy
addy-pathania Feb 27, 2024
57d027c
version v20.3.1-canary.3 [skip ci]
Feb 29, 2024
d05366a
Export `ClientError` (#1738)
addy-pathania Feb 15, 2024
44b11a5
Fix typo in ClientError import
illiakovalenko Mar 6, 2024
c7a3e75
version v20.3.1-canary.4 [skip ci]
Mar 6, 2024
61136ae
v20.3.1 [skip ci]
addy-pathania Mar 6, 2024
2d2b101
v20.3.2-canary.0
illiakovalenko Apr 8, 2024
ae3c467
version v20.3.2-canary.1 [skip ci]
Apr 8, 2024
93f7563
[sitecore-jss] Handle null items in graphql layout service (#1771)
illiakovalenko Apr 8, 2024
5bb5115
version v20.3.2-canary.2 [skip ci]
Apr 8, 2024
92c1cbb
v20.3.2 [skip ci]
illiakovalenko Apr 8, 2024
da7a798
v20.4.0-canary.0
art-alexeyenko Apr 10, 2024
ca9a5bc
version v20.4.0-canary.1 [skip ci]
Apr 10, 2024
4365d8a
[hotfix] fix file upload validation error
art-alexeyenko Apr 10, 2024
1868302
version v20.4.0-canary.2 [skip ci]
Apr 10, 2024
57a29e4
Revert "version v20.4.0-canary.2 [skip ci]"
art-alexeyenko Apr 10, 2024
3ca4f1b
Revert "[hotfix] fix file upload validation error"
art-alexeyenko Apr 10, 2024
4b091bc
Revert "version v20.4.0-canary.1 [skip ci]"
art-alexeyenko Apr 10, 2024
85fea7b
Revert "v20.4.0-canary.0"
art-alexeyenko Apr 10, 2024
a5caab9
v20.3.3-canary.0
art-alexeyenko Apr 10, 2024
cbf7ff2
[hotfix] fix file upload validation error
art-alexeyenko Apr 10, 2024
10a76e1
version v20.3.3-canary.1 [skip ci]
Apr 10, 2024
4a62e63
v20.3.3 [skip ci]
art-alexeyenko Apr 17, 2024
2dc49c5
updated the link href
sumon1991 Jul 25, 2024
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
50 changes: 50 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,56 @@ All notable changes to this project will be documented in this file. The format

This project does NOT adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and major versions of this project denote compatibility with Sitecore Platform versions. Refer to the "Headless Services" section in the [Sitecore modules compatibility table](https://support.sitecore.com/kb?id=kb_article_view&sysparm_article=KB1000576) or the [Headless Rendering download page](https://dev.sitecore.net/Downloads/Sitecore_Headless_Rendering.aspx) for more details on versioning.

## 20.3.2

### 🐛 Bug Fixes

* `[sitecore-jss]` Handle null items in graphql layout service ([#1771](https://github.com/Sitecore/jss/pull/1771))

## 20.3.1

### 🐛 Bug Fixes

* `[sitecore-jss]` Export _ClientError_ type ([#1738](https://github.com/Sitecore/jss/pull/1738))
* `[templates/nextjs]` `[sitecore-jss-nextjs]` Better error handling for component-level data fetching ([#1586](https://github.com/Sitecore/jss/pull/1586))
* `[sitecore-jss]` Enable the Layout, dictionary and Error Page service to use custom `retryStrategy`. ([#1749](https://github.com/Sitecore/jss/pull/1749))


## 20.3.0

### 🎉 New Features & Improvements

* `[sitecore-jss]` Retry policy to handle transient network errors. Users can pass `retryStrategy` to configure custom retry config to the services. They can customize the error codes and the number of retries. It consist of two functions shouldRetry and getDelay. To determine the back-off time, we employ an exponential strategy with a default factor of 2.([#1731](https://github.com/Sitecore/jss/pull/1731)) ([#1733](https://github.com/Sitecore/jss/pull/1733))

## 20.2.3

### 🐛 Bug Fixes

* `[sitecore-jss-react]` `[sitecore-jss-nextjs]` Link component does not add anchor to the internal links ([#1226](https://github.com/Sitecore/jss/pull/1226))

## 20.2.2

### 🧹 Chores

* `[create-sitecore-jss]` This is a maintenance release to fix package versioning in JSS templates.

## 20.2.1

### 🧹 Chores

* `[create-sitecore-jss]` This is a maintenance release to fix package versioning in JSS templates.

## 20.2.0

### 🎉 New Features & Improvements

* `[sitecore-jss]` `[templates/nextjs]` GraphQL Layout and Dictionary services can handle endpoint rate limits through retryer functionality in GraphQLClient. To prevent SSG builds from failing and enable multiple retries, set retry amount in lib/dictionary-service-factory and lib/layout-service-factory ([commit](https://github.com/Sitecore/jss/pull/1631/commits/d39d74ad7bbeddcb66b7de4377070e178851abc5))([#1631](https://github.com/Sitecore/jss/pull/1631))
* `[sitecore-jss-nextjs]` Reduce the amount of Edge API calls during fetch getStaticPaths ([commit](https://github.com/Sitecore/jss/pull/1631/commits/cd2771b256ac7c38818ee6bea48278958ac455ca))([#1631](https://github.com/Sitecore/jss/pull/1631))

### 🐛 Bug Fixes

* `[sitecore-jss-proxy]` Setting "followRedirects" to "true" breaks HEAD requests ([#1630](https://github.com/Sitecore/jss/pull/1635))

## 20.1.0

### 🎉 New Features & Improvements
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ steps:
#
- script: |
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
$(npm bin)/lerna publish from-git --canary --pre-dist-tag ver20 --preid canary --no-verify-access --yes
$(npm bin)/lerna publish from-git --canary --pre-dist-tag ver20-canary --preid canary --no-verify-access --yes
yarn install --no-immutable --mode=update-lockfile
git add yarn.lock
git commit -m "update yarn.lock [skip ci]"
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packages/*",
"samples/*"
],
"version": "20.1.0",
"version": "20.3.3",
"npmClient": "yarn",
"useWorkspaces": true
}
2 changes: 1 addition & 1 deletion packages/create-sitecore-jss/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-sitecore-jss",
"version": "20.1.0",
"version": "20.3.3",
"description": "Sitecore JSS initializer",
"bin": "./dist/index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export default class NextjsInitializer implements Initializer {
value: 'nextjs-styleguide',
},
{
name: 'nextjs-sxa - Includes example components and setup for working using SXA',
name:
'nextjs-sxa - Includes example components and setup for SXA Headless (only compatible with Sitecore XM Cloud)',
value: 'nextjs-sxa',
},
],
Expand Down
12 changes: 6 additions & 6 deletions packages/create-sitecore-jss/src/templates/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "<%- appName %>",
"version": "20.1.0",
"version": "20.3.3",
"description": "Application utilizing Sitecore JavaScript Services and Angular (angular-cli).",
"config": {
"appName": "<%- appName %>",
Expand Down Expand Up @@ -63,8 +63,8 @@
"@apollo/client": "^3.3.12",
"@ngx-translate/core": "~13.0.0",
"@ngx-translate/http-loader": "~6.0.0",
"@sitecore-jss/sitecore-jss": "^20.1.0",
"@sitecore-jss/sitecore-jss-angular": "^20.1.0",
"@sitecore-jss/sitecore-jss": "^20.3.3",
"@sitecore-jss/sitecore-jss-angular": "^20.3.3",
"apollo-angular": "~2.4.0",
"bootstrap": "^4.3.1",
"core-js": "~3.9.1",
Expand All @@ -86,9 +86,9 @@
"@angular/cli": "~11.2.5",
"@angular/compiler-cli": "~11.2.6",
"@angular/language-service": "~11.2.6",
"@sitecore-jss/sitecore-jss-angular-schematics": "^20.1.0",
"@sitecore-jss/sitecore-jss-cli": "^20.1.0",
"@sitecore-jss/sitecore-jss-dev-tools": "^20.1.0",
"@sitecore-jss/sitecore-jss-angular-schematics": "^20.3.3",
"@sitecore-jss/sitecore-jss-cli": "^20.3.3",
"@sitecore-jss/sitecore-jss-dev-tools": "^20.3.3",
"@types/isomorphic-fetch": "0.0.35",
"@types/jasmine": "~3.6.7",
"@types/jasminewd2": "~2.0.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"nprogress": "~0.2.0"
},
"devDependencies": {
"@sitecore-jss/sitecore-jss-dev-tools": "^20.1.0",
"@sitecore-jss/sitecore-jss-dev-tools": "^20.3.3",
"@types/nprogress": "^0.2.0"
},
"scripts": {
"start": "cross-env-shell JSS_MODE=disconnected \"npm-run-all --serial bootstrap --parallel next:dev start:disconnected-proxy start:watch-components\"",
"start:disconnected-proxy": "ts-node --project tsconfig.scripts.json ./scripts/disconnected-mode-proxy.ts"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ class ErrorPagesPlugin implements Plugin {
apiKey: config.sitecoreApiKey,
siteName: config.jssAppName,
language: props.locale,
retries:
(process.env.GRAPH_QL_SERVICE_RETRIES &&
parseInt(process.env.GRAPH_QL_SERVICE_RETRIES, 10)) ||
0,
});

if (props.notFound) {
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=

# How many times should GraphQL Layout, Dictionary and ErrorPages services retry a fetch when endpoint rate limit is reached
GRAPH_QL_SERVICE_RETRIES=0

# The way in which layout and dictionary data is fetched from Sitecore
FETCH_WITH=<%- fetchWith %>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "<%- appName %>",
"description": "Application utilizing Sitecore JavaScript Services and Next.js",
"version": "20.1.0",
"version": "20.3.3",
"private": true,
"config": {
"appName": "<%- appName %>",
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@sitecore-jss/sitecore-jss-nextjs": "ver20",
"@sitecore-jss/sitecore-jss-nextjs": "^20.3.3",
"graphql": "~15.8.0",
"graphql-tag": "^2.11.0",
"next": "^12.2.4",
Expand All @@ -45,7 +45,7 @@
"@graphql-codegen/typescript-operations": "^1.17.9",
"@graphql-codegen/typescript-resolvers": "^1.17.10",
"@graphql-typed-document-node/core": "^3.1.0",
"@sitecore-jss/sitecore-jss-cli": "^20.1.0",
"@sitecore-jss/sitecore-jss-cli": "^20.3.3",
"@types/node": "^14.6.4",
"@types/react": "^17.0.15",
"@types/react-dom": "^17.0.9",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ export class DictionaryServiceFactory {
otherwise, the service will attempt to figure out the root item for the current JSS App using GraphQL and app name.
rootItemId: '{GUID}'
*/
/*
GraphQL endpoint may reach its rate limit with the amount of requests it receives and throw a rate limit error.
GraphQL Dictionary and Layout Services can handle rate limit errors from server and attempt a retry on requests.
For this, specify the number of 'retries' the GraphQL client will attempt.
It will only try the request once by default.

Additionally, you have the flexibility to customize the retry strategy by passing a 'retryStrategy'.
By default it uses the `DefaultRetryStrategy` with exponential back-off factor of 2 for error codes 429,
502, 503, 504, 520, 521, 522, 523, and 524. You can use this class or your own implementation of `RetryStrategy`.
*/
retries:
(process.env.GRAPH_QL_SERVICE_RETRIES &&
parseInt(process.env.GRAPH_QL_SERVICE_RETRIES, 10)) ||
0,
})
: new RestDictionaryService({
apiHost: config.sitecoreApiHost,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ export class LayoutServiceFactory {
endpoint: config.graphQLEndpoint,
apiKey: config.sitecoreApiKey,
siteName: config.jssAppName,
/*
GraphQL endpoint may reach its rate limit with the amount of requests it receives and throw a rate limit error.
GraphQL Dictionary and Layout Services can handle rate limit errors from server and attempt a retry on requests.
For this, specify the number of 'retries' the GraphQL client will attempt.
It will only try the request once by default.

Additionally, you have the flexibility to customize the retry strategy by passing a 'retryStrategy'.
By default it uses the `DefaultRetryStrategy` with exponential back-off factor of 2 for error codes 429,
502, 503, 504, 520, 521, 522, 523, and 524. You can use this class or your own implementation of `RetryStrategy`.
*/
retries:
(process.env.GRAPH_QL_SERVICE_RETRIES &&
parseInt(process.env.GRAPH_QL_SERVICE_RETRIES, 10)) ||
0,
})
: new RestLayoutService({
apiHost: config.sitecoreApiHost,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ComponentPropsService } from '@sitecore-jss/sitecore-jss-nextjs';
import { ComponentPropsService, ComponentPropsError } from '@sitecore-jss/sitecore-jss-nextjs';
import { SitecorePageProps } from 'lib/page-props';
import { GetServerSidePropsContext, GetStaticPropsContext } from 'next';
import { componentModule } from 'temp/componentFactory';
Expand Down Expand Up @@ -31,6 +31,20 @@ class ComponentPropsPlugin implements Plugin {
});
}

const errors = Object.keys(props.componentProps)
.map(id => {
const component = props.componentProps[id] as ComponentPropsError;

return component.error
? `\nUnable to get component props for ${component.componentName} (${id}): ${component.error}`
: '';
})
.join('');

if (errors.length) {
throw new Error(errors);
}

return props;
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-headless-ssr-experience-edge-sample",
"version": "20.1.0",
"version": "20.3.3",
"description": "Node server-side-rendering sample for running JSS apps under Node hosting using Experience Edge",
"main": "index.js",
"scripts": {
Expand All @@ -24,7 +24,7 @@
"homepage": "https://jss.sitecore.com",
"license": "Apache-2.0",
"dependencies": {
"@sitecore-jss/sitecore-jss": "^20.1.0",
"@sitecore-jss/sitecore-jss": "^20.3.3",
"compression": "^1.7.4",
"express": "^4.17.1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-headless-ssr-proxy-sample",
"version": "20.1.0",
"version": "20.3.3",
"description": "Node server-side-rendering proxy sample for running JSS apps under Node hosting",
"main": "dist/index.js",
"scripts": {
Expand All @@ -24,8 +24,8 @@
"homepage": "https://jss.sitecore.com",
"license": "Apache-2.0",
"dependencies": {
"@sitecore-jss/sitecore-jss": "^20.1.0",
"@sitecore-jss/sitecore-jss-proxy": "^20.1.0",
"@sitecore-jss/sitecore-jss": "^20.3.3",
"@sitecore-jss/sitecore-jss-proxy": "^20.3.3",
"agentkeepalive": "^4.1.3",
"compression": "~1.7.3",
"express": "~4.16.4",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "<%- appName %>",
"version": "20.1.0",
"version": "20.3.3",
"description": "A basic React Native app utilizing Sitecore JavaScript Services",
"config": {
"appName": "<%- appName %>",
Expand All @@ -27,7 +27,7 @@
},
"dependencies": {
"@react-native-community/masked-view": "^0.1.10",
"@sitecore-jss/sitecore-jss-react-native": "^20.1.0",
"@sitecore-jss/sitecore-jss-react-native": "^20.3.3",
"prop-types": "^15.6.0",
"react": "16.13.1",
"react-native": "^0.63.4",
Expand All @@ -41,8 +41,8 @@
},
"private": true,
"devDependencies": {
"@sitecore-jss/sitecore-jss-cli": "^20.1.0",
"@sitecore-jss/sitecore-jss-dev-tools": "^20.1.0",
"@sitecore-jss/sitecore-jss-cli": "^20.3.3",
"@sitecore-jss/sitecore-jss-dev-tools": "^20.3.3",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-plugin-inline-replace-variables": "^1.3.1",
Expand Down
10 changes: 5 additions & 5 deletions packages/create-sitecore-jss/src/templates/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "<%- appName %>",
"description": "Application utilizing Sitecore JavaScript Services and React (create-react-app).",
"version": "20.1.0",
"version": "20.3.3",
"private": true,
"config": {
"appName": "<%- appName %>",
Expand Down Expand Up @@ -32,7 +32,7 @@
"license": "Apache-2.0",
"dependencies": {
"@apollo/client": "^3.5.6",
"@sitecore-jss/sitecore-jss-react": "^20.1.0",
"@sitecore-jss/sitecore-jss-react": "^20.3.3",
"axios": "^0.21.1",
"bootstrap": "^4.3.1",
"cross-fetch": "^3.0.6",
Expand All @@ -54,9 +54,9 @@
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.10.4",
"@babel/register": "~7.6.2",
"@sitecore-jss/sitecore-jss-cli": "^20.1.0",
"@sitecore-jss/sitecore-jss-dev-tools": "^20.1.0",
"@sitecore-jss/sitecore-jss-rendering-host": "^20.1.0",
"@sitecore-jss/sitecore-jss-cli": "^20.3.3",
"@sitecore-jss/sitecore-jss-dev-tools": "^20.3.3",
"@sitecore-jss/sitecore-jss-rendering-host": "^20.3.3",
"babel-eslint": "^10.1.0",
"babel-loader": "8.1.0",
"babel-preset-react-app": "~9.0.2",
Expand Down
5 changes: 4 additions & 1 deletion packages/create-sitecore-jss/src/templates/vue/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ module.exports = {
rules: {
'no-console': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/multi-word-component-names': 'off',
},
parserOptions: {
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
ecmaVersion: 8,
requireConfigFile: false,
},
};
Loading