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

[NextJS] Move LayoutService to sitecore-jss package #511

Merged
merged 13 commits into from
Dec 17, 2020
Merged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"reset": "lerna clean --yes && npm run bootstrap && npm run build-packages",
"bootstrap": "lerna bootstrap && npm run bootstrap-nextjs-sample && npm run bootstrap-react-sample",
"bootstrap:ci": "lerna bootstrap --ci",
"bootstrap-nextjs-sample": "cd ./samples/nextjs/node_modules/@sitecore-jss/sitecore-jss-nextjs && npm link ../../react && npm link ../../react-dom",
"bootstrap-react-sample": "cd ./samples/react/node_modules/@sitecore-jss/sitecore-jss-react && npm link ../../react && npm link ../../react-dom",
"bootstrap-nextjs-sample": "cd ./samples/nextjs/node_modules/@sitecore-jss/sitecore-jss-nextjs && npm link ../../react && cd ../sitecore-jss-nextjs-editing-host && npm link ../../react",
"bootstrap-react-sample": "cd ./samples/react/node_modules/@sitecore-jss/sitecore-jss-react && npm link ../../react",
"build-packages": "lerna run build --ignore *-sample*",
"build-apps": "lerna run build --scope *-sample*",
"lint-packages": "lerna run lint --scope @sitecore-jss/sitecore-jss-nextjs",
Expand Down
2 changes: 2 additions & 0 deletions packages/sitecore-jss-nextjs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ export {
mediaApi,
isExperienceEditorActive,
resetExperienceEditorChromes,
AxiosDataFetcher,
LayoutService,
DictionaryPhrases,
DictionaryServiceData,
LayoutServiceData,
Expand Down
Loading