create-sitecore-jss 22.9.0-canary.9 → 22.10.0-canary.1
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.
- package/dist/templates/angular/angular.json +8 -46
- package/dist/templates/angular/package.json +8 -5
- package/dist/templates/node-headless-ssr-proxy/src/index.ts +1 -1
- package/dist/templates/react/package.json +8 -2
- package/dist/templates/vue/package.json +9 -9
- package/package.json +2 -2
- package/dist/templates/angular/e2e/app.e2e-spec.ts +0 -14
- package/dist/templates/angular/e2e/app.po.ts +0 -11
- package/dist/templates/angular/e2e/tsconfig.e2e.json +0 -15
|
@@ -19,13 +19,8 @@
|
|
|
19
19
|
"main": "src/main.ts",
|
|
20
20
|
"tsConfig": "src/tsconfig.app.json",
|
|
21
21
|
"polyfills": "src/polyfills.ts",
|
|
22
|
-
"assets": [
|
|
23
|
-
|
|
24
|
-
"src/favicon.ico"
|
|
25
|
-
],
|
|
26
|
-
"styles": [
|
|
27
|
-
"src/styles.css"
|
|
28
|
-
],
|
|
22
|
+
"assets": ["src/assets", "src/favicon.ico"],
|
|
23
|
+
"styles": ["src/styles.css"],
|
|
29
24
|
"scripts": [],
|
|
30
25
|
"allowedCommonJsDependencies": [
|
|
31
26
|
"zen-observable",
|
|
@@ -67,20 +62,20 @@
|
|
|
67
62
|
"serve": {
|
|
68
63
|
"builder": "@angular-builders/custom-webpack:dev-server",
|
|
69
64
|
"options": {
|
|
70
|
-
"
|
|
65
|
+
"buildTarget": "<%- appName %>:build",
|
|
71
66
|
"port": 3000,
|
|
72
67
|
"proxyConfig": "proxy.conf.js"
|
|
73
68
|
},
|
|
74
69
|
"configurations": {
|
|
75
70
|
"production": {
|
|
76
|
-
"
|
|
71
|
+
"buildTarget": "<%- appName %>:build:production"
|
|
77
72
|
}
|
|
78
73
|
}
|
|
79
74
|
},
|
|
80
75
|
"extract-i18n": {
|
|
81
76
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
82
77
|
"options": {
|
|
83
|
-
"
|
|
78
|
+
"buildTarget": "<%- appName %>:build"
|
|
84
79
|
}
|
|
85
80
|
},
|
|
86
81
|
"test": {
|
|
@@ -91,22 +86,14 @@
|
|
|
91
86
|
"polyfills": "src/polyfills.ts",
|
|
92
87
|
"tsConfig": "src/tsconfig.spec.json",
|
|
93
88
|
"scripts": [],
|
|
94
|
-
"styles": [
|
|
95
|
-
|
|
96
|
-
],
|
|
97
|
-
"assets": [
|
|
98
|
-
"src/assets",
|
|
99
|
-
"src/favicon.ico"
|
|
100
|
-
]
|
|
89
|
+
"styles": ["src/styles.css"],
|
|
90
|
+
"assets": ["src/assets", "src/favicon.ico"]
|
|
101
91
|
}
|
|
102
92
|
},
|
|
103
93
|
"lint": {
|
|
104
94
|
"builder": "@angular-eslint/builder:lint",
|
|
105
95
|
"options": {
|
|
106
|
-
"lintFilePatterns": [
|
|
107
|
-
"src/**/*.ts",
|
|
108
|
-
"src/**/*.html"
|
|
109
|
-
]
|
|
96
|
+
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
|
|
110
97
|
}
|
|
111
98
|
},
|
|
112
99
|
"server": {
|
|
@@ -132,31 +119,6 @@
|
|
|
132
119
|
}
|
|
133
120
|
}
|
|
134
121
|
}
|
|
135
|
-
},
|
|
136
|
-
"angular-e2e": {
|
|
137
|
-
"root": "",
|
|
138
|
-
"sourceRoot": "",
|
|
139
|
-
"projectType": "application",
|
|
140
|
-
"architect": {
|
|
141
|
-
"e2e": {
|
|
142
|
-
"builder": "@angular-devkit/build-angular:protractor",
|
|
143
|
-
"options": {
|
|
144
|
-
"protractorConfig": "./protractor.conf.js",
|
|
145
|
-
"devServerTarget": "<%- appName %>:serve"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
"lint": {
|
|
149
|
-
"builder": "@angular-eslint/angular-eslint",
|
|
150
|
-
"options": {
|
|
151
|
-
"tsConfig": [
|
|
152
|
-
"e2e/tsconfig.e2e.json"
|
|
153
|
-
],
|
|
154
|
-
"exclude": [
|
|
155
|
-
"**/node_modules/**"
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
122
|
}
|
|
161
123
|
},
|
|
162
124
|
"schematics": {
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"ng": "ng",
|
|
18
18
|
"lint": "ng lint <%- appName %> --fix",
|
|
19
|
-
"e2e": "ng e2e",
|
|
20
19
|
"jss": "jss",
|
|
21
20
|
"start:connected": "npm-run-all --serial bootstrap start:angular start:watch-components",
|
|
22
21
|
"build": "npm-run-all --serial bootstrap build:client build:server",
|
|
@@ -61,7 +60,7 @@
|
|
|
61
60
|
"apollo-angular": "~8.0.2",
|
|
62
61
|
"bootstrap": "^5.3.3",
|
|
63
62
|
"core-js": "~3.45.0",
|
|
64
|
-
"graphql": "
|
|
63
|
+
"graphql": "15.10.1",
|
|
65
64
|
"graphql-tag": "~2.11.0",
|
|
66
65
|
"rxjs": "~7.8.2",
|
|
67
66
|
"tslib": "^2.8.1",
|
|
@@ -83,7 +82,6 @@
|
|
|
83
82
|
"@sitecore-jss/sitecore-jss-cli": "<%- version %>",
|
|
84
83
|
"@sitecore-jss/sitecore-jss-dev-tools": "<%- version %>",
|
|
85
84
|
"@types/jasmine": "~3.6.7",
|
|
86
|
-
"@types/jasminewd2": "~2.0.8",
|
|
87
85
|
"@types/node": "~22.9.0",
|
|
88
86
|
"@typescript-eslint/eslint-plugin": "^8.14.0",
|
|
89
87
|
"@typescript-eslint/parser": "^8.14.0",
|
|
@@ -94,7 +92,7 @@
|
|
|
94
92
|
"cross-env": "~7.0.3",
|
|
95
93
|
"del-cli": "^5.0.0",
|
|
96
94
|
"dotenv": "^17.2.1",
|
|
97
|
-
"dotenv-webpack": "^
|
|
95
|
+
"dotenv-webpack": "^8.1.1",
|
|
98
96
|
"eslint": "^8.56.0",
|
|
99
97
|
"eslint-plugin-import": "2.29.1",
|
|
100
98
|
"eslint-plugin-jsdoc": "48.7.0",
|
|
@@ -109,8 +107,13 @@
|
|
|
109
107
|
"karma-jasmine-html-reporter": "~1.5.4",
|
|
110
108
|
"move-cli": "^2.0.0",
|
|
111
109
|
"npm-run-all2": "^7.0.1",
|
|
112
|
-
|
|
110
|
+
|
|
113
111
|
"ts-node": "~10.9.2",
|
|
114
112
|
"typescript": "~5.4.0"
|
|
113
|
+
},
|
|
114
|
+
"overrides": {
|
|
115
|
+
"request": {
|
|
116
|
+
"form-data": "^2.5.5"
|
|
117
|
+
}
|
|
115
118
|
}
|
|
116
119
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"fast-deep-equal": "^3.1.3",
|
|
35
35
|
"graphql": "~16.11.0",
|
|
36
36
|
"graphql-tag": "~2.12.6",
|
|
37
|
-
"i18next": "^
|
|
37
|
+
"i18next": "^22.5.1",
|
|
38
38
|
"react": "^19.1.0",
|
|
39
39
|
"react-app-polyfill": "^3.0.0",
|
|
40
40
|
"react-dom": "^19.1.0",
|
|
@@ -114,5 +114,11 @@
|
|
|
114
114
|
"not dead",
|
|
115
115
|
"not ie <= 11",
|
|
116
116
|
"not op_mini all"
|
|
117
|
-
]
|
|
117
|
+
],
|
|
118
|
+
"//": "Resolves security vulnerabilities: https://github.com/facebook/create-react-app/issues/17120",
|
|
119
|
+
"overrides": {
|
|
120
|
+
"nth-check": "2.0.1",
|
|
121
|
+
"postcss": "^8.4.38",
|
|
122
|
+
"webpack-dev-server": "^4.15.2"
|
|
123
|
+
}
|
|
118
124
|
}
|
|
@@ -50,38 +50,38 @@
|
|
|
50
50
|
"@vue/apollo-option": "^4.0.0",
|
|
51
51
|
"@vue/apollo-ssr": "^4.0.0",
|
|
52
52
|
"bootstrap": "^5.3.7",
|
|
53
|
-
"cross-fetch": "~
|
|
53
|
+
"cross-fetch": "~3.1.5",
|
|
54
54
|
"graphql": "^16.6.0",
|
|
55
55
|
"register-service-worker": "~1.7.2",
|
|
56
56
|
"serialize-javascript": "^6.0.2",
|
|
57
57
|
"vue": "^3.5.12",
|
|
58
|
-
"vue-i18n": "9.
|
|
58
|
+
"vue-i18n": "9.1.10",
|
|
59
59
|
"vue-meta": "3.0.0-alpha.10",
|
|
60
60
|
"vue-router": "4.0.16"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@babel/eslint-parser": "^7.28.0",
|
|
64
|
-
"@babel/register": "7.
|
|
64
|
+
"@babel/register": "7.18.9",
|
|
65
65
|
"@sitecore-jss/sitecore-jss-cli": "<%- version %>",
|
|
66
66
|
"@sitecore-jss/sitecore-jss-dev-tools": "<%- version %>",
|
|
67
67
|
"@vue/cli-plugin-babel": "~5.0.8",
|
|
68
68
|
"@vue/cli-plugin-eslint": "~5.0.8",
|
|
69
69
|
"@vue/cli-service": "~5.0.8",
|
|
70
70
|
"@vue/eslint-config-prettier": "~7.0.0",
|
|
71
|
-
"chalk": "
|
|
72
|
-
"chokidar": "~
|
|
71
|
+
"chalk": "~4.1.2",
|
|
72
|
+
"chokidar": "~3.5.3",
|
|
73
73
|
"constant-case": "^3.0.4",
|
|
74
|
-
"cross-env": "~
|
|
75
|
-
"dotenv": "^
|
|
74
|
+
"cross-env": "~7.0.3",
|
|
75
|
+
"dotenv": "^16.0.3",
|
|
76
76
|
"eslint": "^8.56.0",
|
|
77
77
|
"eslint-plugin-prettier": "^5.0.0",
|
|
78
78
|
"eslint-plugin-vue": "~9.9.0",
|
|
79
79
|
"eslint-plugin-yaml": "^0.5.0",
|
|
80
80
|
"graphql-tag": "^2.12.6",
|
|
81
|
-
"html-loader": "~
|
|
81
|
+
"html-loader": "~1.3.2",
|
|
82
82
|
"npm-run-all": "~4.1.5",
|
|
83
83
|
"null-loader": "~4.0.1",
|
|
84
84
|
"prettier": "^3.0.0",
|
|
85
|
-
"tslib": "2.
|
|
85
|
+
"tslib": "2.5.1"
|
|
86
86
|
}
|
|
87
87
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-sitecore-jss",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.10.0-canary.1",
|
|
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.2",
|
|
64
64
|
"typescript": "~5.9.2"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "fdb771841e9cfec52c003ef4a9e88c8ac9017bd0"
|
|
67
67
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AppPage } from './app.po';
|
|
2
|
-
|
|
3
|
-
describe('basic-app-angular App', () => {
|
|
4
|
-
let page: AppPage;
|
|
5
|
-
|
|
6
|
-
beforeEach(() => {
|
|
7
|
-
page = new AppPage();
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
it('should display welcome message', () => {
|
|
11
|
-
page.navigateTo();
|
|
12
|
-
expect(page.getParagraphText()).toEqual('Welcome to app!');
|
|
13
|
-
});
|
|
14
|
-
});
|