Skip to content

Commit

Permalink
[Hotfix] Fix installed sitecore-jss-* dependency version (#1481)
Browse files Browse the repository at this point in the history
* update the sitecore-jss dependencies

* update changelog and yarn.lock

* remove headlinks

* bump templates dependencies to 21.1.2

* update changelog

* update changelog

* update changelog

* update chagelog
  • Loading branch information
addy-pathania authored May 12, 2023
1 parent 12d90dd commit 3fc47b1
Show file tree
Hide file tree
Showing 21 changed files with 53 additions and 49 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ Our versioning strategy is as follows:

## Unreleased

## 21.1.3

### 🐛 Bug Fixes

* Fix installed sitecore-jss-* dependency version ([#1480](https://github.com/Sitecore/jss/pull/1480))

## 21.1.2

### 🎉 New Features & Improvements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@apollo/client": "^3.3.12",
"@ngx-translate/core": "~14.0.0",
"@ngx-translate/http-loader": "~7.0.0",
"@sitecore-jss/sitecore-jss-angular": "^21.1.1",
"@sitecore-jss/sitecore-jss-angular": "~21.1.2",
"apollo-angular": "~4.1.1",
"bootstrap": "^5.2.3",
"core-js": "~3.9.1",
Expand All @@ -86,9 +86,9 @@
"@angular/cli": "~14.2.10",
"@angular/compiler-cli": "~14.2.10",
"@angular/language-service": "~14.2.10",
"@sitecore-jss/sitecore-jss-angular-schematics": "^21.1.1",
"@sitecore-jss/sitecore-jss-cli": "^21.1.1",
"@sitecore-jss/sitecore-jss-dev-tools": "^21.1.1",
"@sitecore-jss/sitecore-jss-angular-schematics": "~21.1.2",
"@sitecore-jss/sitecore-jss-cli": "~21.1.2",
"@sitecore-jss/sitecore-jss-dev-tools": "~21.1.2",
"@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": "^21.1.1",
"@sitecore-jss/sitecore-jss-dev-tools": "~21.1.2",
"@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 @@ -32,7 +32,6 @@ export const getStaticProps: GetStaticProps = async (context) => {

return {
props: {
headLinks: [],
layoutData: resultErrorPages?.notFoundPage?.rendered || null,
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export const getStaticProps: GetStaticProps = async (context) => {

return {
props: {
headLinks: [],
layoutData: resultErrorPages?.serverErrorPage?.rendered || null,
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@sitecore-jss/sitecore-jss-nextjs": "^21.1.1",
"@sitecore-jss/sitecore-jss-nextjs": "~21.1.2",
"graphql": "~15.8.0",
"graphql-tag": "^2.12.6",
"next": "^13.1.6",
Expand All @@ -46,7 +46,7 @@
"@graphql-codegen/typescript-operations": "^2.5.12",
"@graphql-codegen/typescript-resolvers": "^2.7.12",
"@graphql-typed-document-node/core": "^3.1.1",
"@sitecore-jss/sitecore-jss-cli": "^21.1.1",
"@sitecore-jss/sitecore-jss-cli": "~21.1.2",
"@types/node": "^18.11.18",
"@types/react": "^18.0.12",
"@types/react-dom": "^18.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"homepage": "https://jss.sitecore.com",
"license": "Apache-2.0",
"dependencies": {
"@sitecore-jss/sitecore-jss": "^21.1.1",
"@sitecore-jss/sitecore-jss": "~21.1.2",
"compression": "^1.7.4",
"express": "^4.18.2",
"dotenv": "^16.0.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"homepage": "https://jss.sitecore.com",
"license": "Apache-2.0",
"dependencies": {
"@sitecore-jss/sitecore-jss": "^21.1.1",
"@sitecore-jss/sitecore-jss-proxy": "^21.1.1",
"@sitecore-jss/sitecore-jss": "~21.1.2",
"@sitecore-jss/sitecore-jss-proxy": "~21.1.2",
"agentkeepalive": "^4.2.1",
"compression": "~1.7.4",
"express": "~4.18.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"dependencies": {
"@react-native-community/masked-view": "^0.1.10",
"@sitecore-jss/sitecore-jss-react-native": "^21.1.1",
"@sitecore-jss/sitecore-jss-react-native": "~21.1.2",
"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": "^21.1.1",
"@sitecore-jss/sitecore-jss-dev-tools": "^21.1.1",
"@sitecore-jss/sitecore-jss-cli": "~21.1.2",
"@sitecore-jss/sitecore-jss-dev-tools": "~21.1.2",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-plugin-inline-replace-variables": "^1.3.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/create-sitecore-jss/src/templates/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"license": "Apache-2.0",
"dependencies": {
"@apollo/client": "^3.7.1",
"@sitecore-jss/sitecore-jss-react": "^21.1.1",
"@sitecore-jss/sitecore-jss-react": "~21.1.2",
"axios": "^1.2.0",
"bootstrap": "^5.2.3",
"cross-fetch": "^3.1.5",
Expand All @@ -56,9 +56,9 @@
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/register": "~7.18.9",
"@sitecore-jss/sitecore-jss-cli": "^21.1.1",
"@sitecore-jss/sitecore-jss-dev-tools": "^21.1.1",
"@sitecore-jss/sitecore-jss-rendering-host": "^21.1.1",
"@sitecore-jss/sitecore-jss-cli": "~21.1.2",
"@sitecore-jss/sitecore-jss-dev-tools": "~21.1.2",
"@sitecore-jss/sitecore-jss-rendering-host": "~21.1.2",
"babel-loader": "~9.1.0",
"babel-preset-react-app": "~10.0.1",
"chalk": "~4.1.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/create-sitecore-jss/src/templates/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"dependencies": {
"@apollo/client": "^3.7.4",
"@panter/vue-i18next": "~0.15.2",
"@sitecore-jss/sitecore-jss-vue": "^21.1.1",
"@sitecore-jss/sitecore-jss-vue": "~21.1.2",
"@vue/apollo-composable": "4.0.0-beta.2",
"@vue/apollo-option": "^4.0.0-alpha.20",
"@vue/apollo-ssr": "^4.0.0-alpha.18",
Expand All @@ -68,8 +68,8 @@
"devDependencies": {
"@babel/eslint-parser": "^7.19.1",
"@babel/register": "7.18.9",
"@sitecore-jss/sitecore-jss-cli": "^21.1.1",
"@sitecore-jss/sitecore-jss-dev-tools": "^21.1.1",
"@sitecore-jss/sitecore-jss-cli": "~21.1.2",
"@sitecore-jss/sitecore-jss-dev-tools": "~21.1.2",
"@vue/cli-plugin-babel": "~5.0.8",
"@vue/cli-plugin-eslint": "~5.0.8",
"@vue/cli-service": "~5.0.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/sitecore-jss-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"rxjs": "~6.6.6"
},
"dependencies": {
"@sitecore-jss/sitecore-jss": "^21.1.2"
"@sitecore-jss/sitecore-jss": "~21.1.2"
},
"main": "dist/esm2020/sitecore-jss-sitecore-jss-angular.mjs",
"module": "dist/esm2020/sitecore-jss-sitecore-jss-angular.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/sitecore-jss-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"url": "https://github.com/sitecore/jss/issues"
},
"dependencies": {
"@sitecore-jss/sitecore-jss-dev-tools": "^21.1.2",
"@sitecore-jss/sitecore-jss-dev-tools": "~21.1.2",
"chalk": "^4.1.2",
"cross-spawn": "^7.0.3",
"dotenv": "^16.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/sitecore-jss-dev-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"url": "https://github.com/sitecore/jss/issues"
},
"dependencies": {
"@sitecore-jss/sitecore-jss": "^21.1.2",
"@sitecore-jss/sitecore-jss": "~21.1.2",
"axios": "^1.3.2",
"chalk": "^4.1.2",
"chokidar": "^3.5.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/sitecore-jss-forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"typescript": "~4.9.5"
},
"dependencies": {
"@sitecore-jss/sitecore-jss": "^21.1.2"
"@sitecore-jss/sitecore-jss": "~21.1.2"
},
"description": "",
"types": "types/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions packages/sitecore-jss-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@sitecore-jss/sitecore-jss": "^21.1.2",
"@sitecore-jss/sitecore-jss-dev-tools": "^21.1.2",
"@sitecore-jss/sitecore-jss-react": "^21.1.2",
"@sitecore-jss/sitecore-jss": "~21.1.2",
"@sitecore-jss/sitecore-jss-dev-tools": "~21.1.2",
"@sitecore-jss/sitecore-jss-react": "~21.1.2",
"node-html-parser": "^6.1.4",
"prop-types": "^15.8.1",
"regex-parser": "^2.2.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/sitecore-jss-react-forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@sitecore-jss/sitecore-jss-forms": "^21.1.2",
"@sitecore-jss/sitecore-jss-forms": "~21.1.2",
"prop-types": "^15.8.1"
},
"description": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/sitecore-jss-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"url": "https://github.com/sitecore/jss/issues"
},
"dependencies": {
"@sitecore-jss/sitecore-jss": "^21.1.2",
"@sitecore-jss/sitecore-jss": "~21.1.2",
"prop-types": "^15.7.2",
"react-native-htmlview": "^0.15.0",
"react-native-svg": "^5.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/sitecore-jss-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@sitecore-jss/sitecore-jss": "^21.1.2",
"@sitecore-jss/sitecore-jss": "~21.1.2",
"deep-equal": "^2.1.0",
"html-react-parser": "^3.0.4",
"prop-types": "^15.8.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/sitecore-jss-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"vue": "^3.2.45"
},
"dependencies": {
"@sitecore-jss/sitecore-jss": "^21.1.2",
"@sitecore-jss/sitecore-jss": "~21.1.2",
"@vue/compiler-sfc": "^3.0.11"
},
"types": "./types/index.d.ts",
Expand Down
30 changes: 15 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5880,7 +5880,7 @@ __metadata:
"@angular/platform-browser": ~14.2.10
"@angular/platform-browser-dynamic": ~14.2.10
"@angular/router": ~14.2.10
"@sitecore-jss/sitecore-jss": ^21.1.2
"@sitecore-jss/sitecore-jss": ~21.1.2
"@types/jasmine": ^3.4.1
"@types/node": ^14.14.35
codelyzer: ^6.0.1
Expand Down Expand Up @@ -5913,7 +5913,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@sitecore-jss/sitecore-jss-cli@workspace:packages/sitecore-jss-cli"
dependencies:
"@sitecore-jss/sitecore-jss-dev-tools": ^21.1.2
"@sitecore-jss/sitecore-jss-dev-tools": ~21.1.2
"@types/chai": ^4.2.4
"@types/cross-spawn": ^6.0.2
"@types/mocha": ^10.0.1
Expand Down Expand Up @@ -5945,11 +5945,11 @@ __metadata:
languageName: unknown
linkType: soft

"@sitecore-jss/sitecore-jss-dev-tools@^21.1.2, @sitecore-jss/sitecore-jss-dev-tools@workspace:packages/sitecore-jss-dev-tools":
"@sitecore-jss/sitecore-jss-dev-tools@workspace:packages/sitecore-jss-dev-tools, @sitecore-jss/sitecore-jss-dev-tools@~21.1.2":
version: 0.0.0-use.local
resolution: "@sitecore-jss/sitecore-jss-dev-tools@workspace:packages/sitecore-jss-dev-tools"
dependencies:
"@sitecore-jss/sitecore-jss": ^21.1.2
"@sitecore-jss/sitecore-jss": ~21.1.2
"@types/chai": ^4.3.4
"@types/chokidar": ^2.1.3
"@types/del": ^4.0.0
Expand Down Expand Up @@ -6003,11 +6003,11 @@ __metadata:
languageName: unknown
linkType: soft

"@sitecore-jss/sitecore-jss-forms@^21.1.2, @sitecore-jss/sitecore-jss-forms@workspace:packages/sitecore-jss-forms":
"@sitecore-jss/sitecore-jss-forms@workspace:packages/sitecore-jss-forms, @sitecore-jss/sitecore-jss-forms@~21.1.2":
version: 0.0.0-use.local
resolution: "@sitecore-jss/sitecore-jss-forms@workspace:packages/sitecore-jss-forms"
dependencies:
"@sitecore-jss/sitecore-jss": ^21.1.2
"@sitecore-jss/sitecore-jss": ~21.1.2
"@types/chai": ^4.3.4
"@types/chai-string": ^1.4.2
"@types/lodash.unescape": ^4.0.7
Expand All @@ -6030,9 +6030,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@sitecore-jss/sitecore-jss-nextjs@workspace:packages/sitecore-jss-nextjs"
dependencies:
"@sitecore-jss/sitecore-jss": ^21.1.2
"@sitecore-jss/sitecore-jss-dev-tools": ^21.1.2
"@sitecore-jss/sitecore-jss-react": ^21.1.2
"@sitecore-jss/sitecore-jss": ~21.1.2
"@sitecore-jss/sitecore-jss-dev-tools": ~21.1.2
"@sitecore-jss/sitecore-jss-react": ~21.1.2
"@types/chai": ^4.3.4
"@types/chai-as-promised": ^7.1.5
"@types/chai-string": ^1.4.2
Expand Down Expand Up @@ -6103,7 +6103,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@sitecore-jss/sitecore-jss-react-forms@workspace:packages/sitecore-jss-react-forms"
dependencies:
"@sitecore-jss/sitecore-jss-forms": ^21.1.2
"@sitecore-jss/sitecore-jss-forms": ~21.1.2
"@types/chai": ^4.3.4
"@types/enzyme": ^3.10.12
"@types/mocha": ^10.0.1
Expand Down Expand Up @@ -6143,7 +6143,7 @@ __metadata:
"@babel/plugin-proposal-export-default-from": ^7.5.2
"@babel/preset-env": ^7.6.2
"@babel/preset-typescript": ^7.6.0
"@sitecore-jss/sitecore-jss": ^21.1.2
"@sitecore-jss/sitecore-jss": ~21.1.2
"@types/jest": ^24.0.18
"@types/prop-types": ^15.7.3
"@types/react": ^16.9.5
Expand Down Expand Up @@ -6173,12 +6173,12 @@ __metadata:
languageName: unknown
linkType: soft

"@sitecore-jss/sitecore-jss-react@^21.1.2, @sitecore-jss/sitecore-jss-react@workspace:packages/sitecore-jss-react":
"@sitecore-jss/sitecore-jss-react@workspace:packages/sitecore-jss-react, @sitecore-jss/sitecore-jss-react@~21.1.2":
version: 0.0.0-use.local
resolution: "@sitecore-jss/sitecore-jss-react@workspace:packages/sitecore-jss-react"
dependencies:
"@sitecore-feaas/clientside": ^0.1.24
"@sitecore-jss/sitecore-jss": ^21.1.2
"@sitecore-jss/sitecore-jss": ~21.1.2
"@types/chai": ^4.3.4
"@types/chai-string": ^1.4.2
"@types/deep-equal": ^1.0.1
Expand Down Expand Up @@ -6251,7 +6251,7 @@ __metadata:
resolution: "@sitecore-jss/sitecore-jss-vue@workspace:packages/sitecore-jss-vue"
dependencies:
"@babel/core": ^7.20.12
"@sitecore-jss/sitecore-jss": ^21.1.2
"@sitecore-jss/sitecore-jss": ~21.1.2
"@types/jest": ^29.2.6
"@types/node": ^18.11.18
"@vue/compiler-dom": ^3.2.45
Expand All @@ -6275,7 +6275,7 @@ __metadata:
languageName: unknown
linkType: soft

"@sitecore-jss/sitecore-jss@^21.1.2, @sitecore-jss/sitecore-jss@workspace:packages/sitecore-jss":
"@sitecore-jss/sitecore-jss@workspace:packages/sitecore-jss, @sitecore-jss/sitecore-jss@~21.1.2":
version: 0.0.0-use.local
resolution: "@sitecore-jss/sitecore-jss@workspace:packages/sitecore-jss"
dependencies:
Expand Down

0 comments on commit 3fc47b1

Please sign in to comment.