create-sitecore-jss 22.2.0-canary.20 → 22.2.0-canary.21
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.
|
@@ -11,7 +11,6 @@ import { JssTranslationClientLoaderService } from './i18n/jss-translation-client
|
|
|
11
11
|
import { JssTranslationLoaderService } from './i18n/jss-translation-loader.service';
|
|
12
12
|
import { GraphQLModule } from './jss-graphql.module';
|
|
13
13
|
import { JssMetaService } from './jss-meta.service';
|
|
14
|
-
import { JssLinkService } from './jss-link.service';
|
|
15
14
|
|
|
16
15
|
@NgModule({
|
|
17
16
|
imports: [
|
|
@@ -33,7 +32,6 @@ import { JssLinkService } from './jss-link.service';
|
|
|
33
32
|
JssContextService,
|
|
34
33
|
JssLayoutService,
|
|
35
34
|
JssMetaService,
|
|
36
|
-
JssLinkService,
|
|
37
35
|
// IMPORTANT: you must set the base href with this token, not a <base> tag in the HTML.
|
|
38
36
|
// the Sitecore Experience Editor will not work correctly when a base tag is used.
|
|
39
37
|
{ provide: APP_BASE_HREF, useValue: '/' },
|
|
@@ -2,7 +2,9 @@ import { Inject, Injectable } from '@angular/core';
|
|
|
2
2
|
import { DOCUMENT } from '@angular/common';
|
|
3
3
|
import { HTMLLink } from '@sitecore-jss/sitecore-jss-angular';
|
|
4
4
|
|
|
5
|
-
@Injectable(
|
|
5
|
+
@Injectable({
|
|
6
|
+
providedIn: 'root',
|
|
7
|
+
})
|
|
6
8
|
export class JssLinkService {
|
|
7
9
|
constructor(@Inject(DOCUMENT) private document: Document) {}
|
|
8
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-sitecore-jss",
|
|
3
|
-
"version": "22.2.0-canary.
|
|
3
|
+
"version": "22.2.0-canary.21",
|
|
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": "
|
|
66
|
+
"gitHead": "a422356e849b61d67b535bac447e78606b5f65ab"
|
|
67
67
|
}
|