diff --git a/CHANGELOG.md b/CHANGELOG.md index baadca4a5d..8a96eaab5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/packages/create-sitecore-jss/src/templates/angular/package.json b/packages/create-sitecore-jss/src/templates/angular/package.json index 017a480673..27558534ca 100644 --- a/packages/create-sitecore-jss/src/templates/angular/package.json +++ b/packages/create-sitecore-jss/src/templates/angular/package.json @@ -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", @@ -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", diff --git a/packages/create-sitecore-jss/src/templates/nextjs-styleguide/package.json b/packages/create-sitecore-jss/src/templates/nextjs-styleguide/package.json index 3605c9ee22..98ffd0b012 100644 --- a/packages/create-sitecore-jss/src/templates/nextjs-styleguide/package.json +++ b/packages/create-sitecore-jss/src/templates/nextjs-styleguide/package.json @@ -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" } -} \ No newline at end of file +} diff --git a/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/pages/404.tsx b/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/pages/404.tsx index 9019aa2e7f..e2dbab5663 100644 --- a/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/pages/404.tsx +++ b/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/pages/404.tsx @@ -32,7 +32,6 @@ export const getStaticProps: GetStaticProps = async (context) => { return { props: { - headLinks: [], layoutData: resultErrorPages?.notFoundPage?.rendered || null, }, }; diff --git a/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/pages/500.tsx b/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/pages/500.tsx index fc69f0840e..14576c179b 100644 --- a/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/pages/500.tsx +++ b/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/pages/500.tsx @@ -48,7 +48,6 @@ export const getStaticProps: GetStaticProps = async (context) => { return { props: { - headLinks: [], layoutData: resultErrorPages?.serverErrorPage?.rendered || null, }, }; diff --git a/packages/create-sitecore-jss/src/templates/nextjs/package.json b/packages/create-sitecore-jss/src/templates/nextjs/package.json index ed74f51efd..67b00c8536 100644 --- a/packages/create-sitecore-jss/src/templates/nextjs/package.json +++ b/packages/create-sitecore-jss/src/templates/nextjs/package.json @@ -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", @@ -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", diff --git a/packages/create-sitecore-jss/src/templates/node-headless-ssr-experience-edge/package.json b/packages/create-sitecore-jss/src/templates/node-headless-ssr-experience-edge/package.json index 4d28fa2a82..33ec776341 100644 --- a/packages/create-sitecore-jss/src/templates/node-headless-ssr-experience-edge/package.json +++ b/packages/create-sitecore-jss/src/templates/node-headless-ssr-experience-edge/package.json @@ -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" diff --git a/packages/create-sitecore-jss/src/templates/node-headless-ssr-proxy/package.json b/packages/create-sitecore-jss/src/templates/node-headless-ssr-proxy/package.json index 67f3e62246..0e925ac598 100644 --- a/packages/create-sitecore-jss/src/templates/node-headless-ssr-proxy/package.json +++ b/packages/create-sitecore-jss/src/templates/node-headless-ssr-proxy/package.json @@ -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", diff --git a/packages/create-sitecore-jss/src/templates/react-native/package.json b/packages/create-sitecore-jss/src/templates/react-native/package.json index 93ca1fe36a..b1fd1437b0 100644 --- a/packages/create-sitecore-jss/src/templates/react-native/package.json +++ b/packages/create-sitecore-jss/src/templates/react-native/package.json @@ -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", @@ -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", diff --git a/packages/create-sitecore-jss/src/templates/react/package.json b/packages/create-sitecore-jss/src/templates/react/package.json index 2b8348dc0d..5795cb2183 100644 --- a/packages/create-sitecore-jss/src/templates/react/package.json +++ b/packages/create-sitecore-jss/src/templates/react/package.json @@ -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", @@ -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", diff --git a/packages/create-sitecore-jss/src/templates/vue/package.json b/packages/create-sitecore-jss/src/templates/vue/package.json index b7117e88bf..9f15cd7b71 100644 --- a/packages/create-sitecore-jss/src/templates/vue/package.json +++ b/packages/create-sitecore-jss/src/templates/vue/package.json @@ -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", @@ -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", diff --git a/packages/sitecore-jss-angular/package.json b/packages/sitecore-jss-angular/package.json index 66d3ebeb08..c0e38b1715 100644 --- a/packages/sitecore-jss-angular/package.json +++ b/packages/sitecore-jss-angular/package.json @@ -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", diff --git a/packages/sitecore-jss-cli/package.json b/packages/sitecore-jss-cli/package.json index 7df717b418..34c9d96b79 100644 --- a/packages/sitecore-jss-cli/package.json +++ b/packages/sitecore-jss-cli/package.json @@ -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", diff --git a/packages/sitecore-jss-dev-tools/package.json b/packages/sitecore-jss-dev-tools/package.json index 415840742e..27d0a94264 100644 --- a/packages/sitecore-jss-dev-tools/package.json +++ b/packages/sitecore-jss-dev-tools/package.json @@ -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", diff --git a/packages/sitecore-jss-forms/package.json b/packages/sitecore-jss-forms/package.json index 5e8bdf9990..333568fb2b 100644 --- a/packages/sitecore-jss-forms/package.json +++ b/packages/sitecore-jss-forms/package.json @@ -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", diff --git a/packages/sitecore-jss-nextjs/package.json b/packages/sitecore-jss-nextjs/package.json index 688c628073..89841f376c 100644 --- a/packages/sitecore-jss-nextjs/package.json +++ b/packages/sitecore-jss-nextjs/package.json @@ -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", diff --git a/packages/sitecore-jss-react-forms/package.json b/packages/sitecore-jss-react-forms/package.json index f306e86e26..4d75189fa7 100644 --- a/packages/sitecore-jss-react-forms/package.json +++ b/packages/sitecore-jss-react-forms/package.json @@ -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": "", diff --git a/packages/sitecore-jss-react-native/package.json b/packages/sitecore-jss-react-native/package.json index ffaafb5bd4..d0034481e1 100644 --- a/packages/sitecore-jss-react-native/package.json +++ b/packages/sitecore-jss-react-native/package.json @@ -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", diff --git a/packages/sitecore-jss-react/package.json b/packages/sitecore-jss-react/package.json index 8249c2024e..716af8b860 100644 --- a/packages/sitecore-jss-react/package.json +++ b/packages/sitecore-jss-react/package.json @@ -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", diff --git a/packages/sitecore-jss-vue/package.json b/packages/sitecore-jss-vue/package.json index 43dd750555..a84de5d31e 100644 --- a/packages/sitecore-jss-vue/package.json +++ b/packages/sitecore-jss-vue/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index ea0b1cc5e7..c2aacda42d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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: