create-analog 1.2.3-beta.1 → 1.2.3-beta.2
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/index.js
CHANGED
|
@@ -202,7 +202,9 @@ async function init() {
|
|
|
202
202
|
pkg.name = packageName || getProjectName();
|
|
203
203
|
pkg.scripts.start = getStartCommand(pkgManager);
|
|
204
204
|
|
|
205
|
-
if (!skipTailwind)
|
|
205
|
+
if (!skipTailwind) addTailwindDevDependencies(pkg);
|
|
206
|
+
if (pkgManager === 'yarn' && variant === 'angular-v17')
|
|
207
|
+
addYarnDevDependencies(pkg);
|
|
206
208
|
|
|
207
209
|
write('package.json', JSON.stringify(pkg, null, 2));
|
|
208
210
|
|
|
@@ -345,7 +347,7 @@ function addTailwindConfig(write, filesDir) {
|
|
|
345
347
|
);
|
|
346
348
|
}
|
|
347
349
|
|
|
348
|
-
function
|
|
350
|
+
function addTailwindDevDependencies(pkg) {
|
|
349
351
|
['tailwindcss@^3.3.1', 'postcss@^8.4.21', 'autoprefixer@^10.4.14'].forEach(
|
|
350
352
|
(packageName) => {
|
|
351
353
|
const [name, version] = packageName.split('@');
|
|
@@ -354,6 +356,10 @@ function addDevDependencies(pkg) {
|
|
|
354
356
|
);
|
|
355
357
|
}
|
|
356
358
|
|
|
359
|
+
function addYarnDevDependencies(pkg) {
|
|
360
|
+
pkg.devDependencies['@angular-devkit/build-angular'] = ['^17.3.5'];
|
|
361
|
+
}
|
|
362
|
+
|
|
357
363
|
init().catch((e) => {
|
|
358
364
|
console.error(e);
|
|
359
365
|
});
|
package/package.json
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"test": "ng test"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@analogjs/content": "^1.2.3-beta.
|
|
19
|
-
"@analogjs/router": "^1.2.3-beta.
|
|
18
|
+
"@analogjs/content": "^1.2.3-beta.2",
|
|
19
|
+
"@analogjs/router": "^1.2.3-beta.2",
|
|
20
20
|
"@angular/animations": "^17.2.0",
|
|
21
21
|
"@angular/common": "^17.2.0",
|
|
22
22
|
"@angular/compiler": "^17.2.0",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"zone.js": "~0.14.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@analogjs/platform": "^1.2.3-beta.
|
|
42
|
-
"@analogjs/vite-plugin-angular": "^1.2.3-beta.
|
|
41
|
+
"@analogjs/platform": "^1.2.3-beta.2",
|
|
42
|
+
"@analogjs/vite-plugin-angular": "^1.2.3-beta.2",
|
|
43
43
|
"@angular/cli": "^17.2.0",
|
|
44
44
|
"@angular/compiler-cli": "^17.2.0",
|
|
45
45
|
"@nx/vite": "~18.0.0",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"test": "ng test"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@analogjs/content": "^1.2.3-beta.
|
|
19
|
-
"@analogjs/router": "^1.2.3-beta.
|
|
18
|
+
"@analogjs/content": "^1.2.3-beta.2",
|
|
19
|
+
"@analogjs/router": "^1.2.3-beta.2",
|
|
20
20
|
"@angular/animations": "^17.2.0",
|
|
21
21
|
"@angular/common": "^17.2.0",
|
|
22
22
|
"@angular/compiler": "^17.2.0",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"zone.js": "~0.14.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@analogjs/platform": "^1.2.3-beta.
|
|
42
|
-
"@analogjs/vite-plugin-angular": "^1.2.3-beta.
|
|
41
|
+
"@analogjs/platform": "^1.2.3-beta.2",
|
|
42
|
+
"@analogjs/vite-plugin-angular": "^1.2.3-beta.2",
|
|
43
43
|
"@angular-devkit/build-angular": "^17.2.0",
|
|
44
44
|
"@angular/cli": "^17.2.0",
|
|
45
45
|
"@angular/compiler-cli": "^17.2.0",
|