create-sitecore-jss 22.2.0-canary.41 → 22.2.0-canary.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,8 @@ import { Plugin, isServerSidePropsContext } from '..';
7
7
  class ComponentPropsPlugin implements Plugin {
8
8
  private componentPropsService: ComponentPropsService;
9
9
 
10
- order = 2;
10
+ // Make sure to run this plugin last to ensure that the updated layout data is used
11
+ order = 10;
11
12
 
12
13
  constructor() {
13
14
  this.componentPropsService = new ComponentPropsService();
@@ -4,7 +4,8 @@ import { Plugin } from '..';
4
4
  import config from 'temp/config';
5
5
 
6
6
  class ComponentThemesPlugin implements Plugin {
7
- order = 2;
7
+ // Make sure to run this plugin after the personalization plugin, since it relies on the layout data
8
+ order = 10;
8
9
 
9
10
  async exec(props: SitecorePageProps) {
10
11
  // Collect FEAAS, BYOC, SXA component themes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-sitecore-jss",
3
- "version": "22.2.0-canary.41",
3
+ "version": "22.2.0-canary.43",
4
4
  "description": "Sitecore JSS initializer",
5
5
  "bin": "./dist/index.js",
6
6
  "scripts": {
@@ -63,5 +63,5 @@
63
63
  "ts-node": "^10.9.1",
64
64
  "typescript": "~4.9.5"
65
65
  },
66
- "gitHead": "8d68f790f0005add2c761f82e8fd891c5e879618"
66
+ "gitHead": "210939bc0da20e9a318a848d5b3e0e8b1e52e25a"
67
67
  }