create-sitecore-jss 22.9.0-canary.20 → 22.9.0-canary.22

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.
@@ -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
- "src/assets",
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",
@@ -91,22 +86,14 @@
91
86
  "polyfills": "src/polyfills.ts",
92
87
  "tsConfig": "src/tsconfig.spec.json",
93
88
  "scripts": [],
94
- "styles": [
95
- "src/styles.css"
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",
@@ -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",
@@ -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
- "protractor": "^7.0.0",
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-sitecore-jss",
3
- "version": "22.9.0-canary.20",
3
+ "version": "22.9.0-canary.22",
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": "7ae33b65dcf0a31f84abd34570d22d7ad044dfc5"
66
+ "gitHead": "c29ed409728a965dc1d02f07f9ffec18321a8440"
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
- });
@@ -1,11 +0,0 @@
1
- import { browser, by, element } from 'protractor';
2
-
3
- export class AppPage {
4
- navigateTo() {
5
- return browser.get('/');
6
- }
7
-
8
- getParagraphText() {
9
- return element(by.css('app-root h1')).getText();
10
- }
11
- }
@@ -1,15 +0,0 @@
1
- {
2
- "extends": "../tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../out-tsc/e2e",
5
- "baseUrl": "./",
6
- "module": "commonjs",
7
- "newLine": "LF",
8
- "target": "es5",
9
- "types": [
10
- "jasmine",
11
- "jasminewd2",
12
- "node"
13
- ]
14
- }
15
- }