@o3r/create 10.0.0-alpha.3 → 10.0.0-alpha.6

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.
Files changed (2) hide show
  1. package/index.js +5 -0
  2. package/package.json +13 -13
package/index.js CHANGED
@@ -69,9 +69,14 @@ const logo = `
69
69
  `;
70
70
  const binPath = (0, node_path_1.join)(require.resolve('@angular/cli/package.json'), '../bin/ng.js');
71
71
  const args = process.argv.slice(2).filter((a) => a !== '--create-application');
72
+ // Default styling to Sass
72
73
  if (!args.some((a) => a.startsWith('--style'))) {
73
74
  args.push('--style', 'scss');
74
75
  }
76
+ // Default Preset to Basic
77
+ if (!args.some((a) => a.startsWith('--preset'))) {
78
+ args.push('--preset', 'basic');
79
+ }
75
80
  const hasPackageManagerArg = args.some((a) => a.startsWith('--package-manager'));
76
81
  if (!hasPackageManagerArg) {
77
82
  const packageManager = process.env.npm_config_user_agent?.split('/')[0];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o3r/create",
3
- "version": "10.0.0-alpha.3",
3
+ "version": "10.0.0-alpha.6",
4
4
  "description": "Create a new Otter based application",
5
5
  "keywords": [
6
6
  "create",
@@ -21,20 +21,20 @@
21
21
  "tslib": "^2.5.3"
22
22
  },
23
23
  "devDependencies": {
24
- "@angular-eslint/eslint-plugin": "~17.1.0",
25
- "@angular-eslint/eslint-plugin-template": "~17.1.0",
26
- "@nx/eslint": "~17.1.1",
27
- "@nx/eslint-plugin": "~17.1.1",
28
- "@nx/jest": "~17.1.1",
29
- "@nx/js": "~17.1.1",
30
- "@o3r/build-helpers": "^10.0.0-alpha.3",
31
- "@o3r/eslint-config-otter": "^10.0.0-alpha.3",
32
- "@o3r/eslint-plugin": "^10.0.0-alpha.3",
33
- "@o3r/test-helpers": "^10.0.0-alpha.3",
24
+ "@angular-eslint/eslint-plugin": "~17.2.0",
25
+ "@angular-eslint/eslint-plugin-template": "~17.2.0",
26
+ "@nx/eslint": "~17.2.0",
27
+ "@nx/eslint-plugin": "~17.2.0",
28
+ "@nx/jest": "~17.2.0",
29
+ "@nx/js": "~17.2.0",
30
+ "@o3r/build-helpers": "^10.0.0-alpha.6",
31
+ "@o3r/eslint-config-otter": "^10.0.0-alpha.6",
32
+ "@o3r/eslint-plugin": "^10.0.0-alpha.6",
33
+ "@o3r/test-helpers": "^10.0.0-alpha.6",
34
34
  "@types/jest": "~29.5.2",
35
35
  "@types/minimist": "^1.2.2",
36
36
  "@types/node": "^20.0.0",
37
- "@typescript-eslint/eslint-plugin": "6.18.1",
37
+ "@typescript-eslint/eslint-plugin": "^6.19.0",
38
38
  "@typescript-eslint/parser": "^6.11.0",
39
39
  "cpy-cli": "^5.0.0",
40
40
  "eslint": "^8.42.0",
@@ -46,7 +46,7 @@
46
46
  "jest": "~29.7.0",
47
47
  "jest-junit": "~16.0.0",
48
48
  "jsonc-eslint-parser": "~2.4.0",
49
- "nx": "~17.1.1",
49
+ "nx": "~17.2.0",
50
50
  "rimraf": "^5.0.1",
51
51
  "rxjs": "^7.8.1",
52
52
  "ts-jest": "~29.1.1",