create-analog 1.2.3-beta.1 → 1.3.0-beta.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/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) addDevDependencies(pkg);
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 addDevDependencies(pkg) {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-analog",
3
- "version": "1.2.3-beta.1",
3
+ "version": "1.3.0-beta.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Brandon Roberts",
@@ -15,8 +15,8 @@
15
15
  "test": "ng test"
16
16
  },
17
17
  "dependencies": {
18
- "@analogjs/content": "^1.2.3-beta.1",
19
- "@analogjs/router": "^1.2.3-beta.1",
18
+ "@analogjs/content": "^1.3.0-beta.1",
19
+ "@analogjs/router": "^1.3.0-beta.1",
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.1",
42
- "@analogjs/vite-plugin-angular": "^1.2.3-beta.1",
41
+ "@analogjs/platform": "^1.3.0-beta.1",
42
+ "@analogjs/vite-plugin-angular": "^1.3.0-beta.1",
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.1",
19
- "@analogjs/router": "^1.2.3-beta.1",
18
+ "@analogjs/content": "^1.3.0-beta.1",
19
+ "@analogjs/router": "^1.3.0-beta.1",
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.1",
42
- "@analogjs/vite-plugin-angular": "^1.2.3-beta.1",
41
+ "@analogjs/platform": "^1.3.0-beta.1",
42
+ "@analogjs/vite-plugin-angular": "^1.3.0-beta.1",
43
43
  "@angular-devkit/build-angular": "^17.2.0",
44
44
  "@angular/cli": "^17.2.0",
45
45
  "@angular/compiler-cli": "^17.2.0",