@drupal-canvas/create 0.1.0 → 1.0.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/index.js CHANGED
@@ -12,10 +12,18 @@ import validate from 'validate-npm-package-name';
12
12
  // templates.json
13
13
  var templates_default = [
14
14
  {
15
- id: "canvas-cc-starter",
16
- label: "canvas-cc-starter",
15
+ id: "acquia-nebula",
16
+ label: "acquia/nebula",
17
17
  repository: {
18
- url: "git@github.com:balintbrews/canvas-cc-starter.git",
18
+ url: "git@github.com:acquia/nebula.git",
19
+ ref: "main"
20
+ }
21
+ },
22
+ {
23
+ id: "balintbrews-canvas-starter",
24
+ label: "balintbrews/canvas-starter",
25
+ repository: {
26
+ url: "git@github.com:balintbrews/canvas-starter.git",
19
27
  ref: "main"
20
28
  }
21
29
  }
@@ -39,7 +47,7 @@ function detectPackageManager() {
39
47
  // package.json
40
48
  var package_default = {
41
49
  name: "@drupal-canvas/create",
42
- version: "0.1.0",
50
+ version: "1.0.1",
43
51
  description: "CLI to scaffold a codebase for working with Drupal Canvas Code Components"};
44
52
 
45
53
  // src/lib/meta-info.ts
@@ -224,9 +232,9 @@ program.name(getName()).description(getDescription()).version(getVersion()).argu
224
232
  } else {
225
233
  const selected = await p2.select({
226
234
  message: "Select a template",
227
- options: templates_default.map((t) => ({
235
+ options: templates_default.map((t, index) => ({
228
236
  value: t.id,
229
- label: t.label
237
+ label: index === 0 ? `${t.label} (Recommended)` : t.label
230
238
  }))
231
239
  });
232
240
  if (p2.isCancel(selected)) {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@drupal-canvas/create",
3
- "version": "0.1.0",
3
+ "version": "1.0.1",
4
4
  "description": "CLI to scaffold a codebase for working with Drupal Canvas Code Components",
5
- "license": "GPL-2.0-or-later",
5
+ "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://git.drupalcode.org/project/canvas.git"
@@ -30,7 +30,7 @@
30
30
  "chalk": "^5.6.2",
31
31
  "commander": "^14.0.2",
32
32
  "cross-spawn": "^7.0.6",
33
- "rimraf": "^6.1.0",
33
+ "rimraf": "^6.1.2",
34
34
  "simple-git": "^3.30.0",
35
35
  "validate-npm-package-name": "^7.0.0"
36
36
  },
package/templates.json CHANGED
@@ -1,9 +1,17 @@
1
1
  [
2
2
  {
3
- "id": "canvas-cc-starter",
4
- "label": "canvas-cc-starter",
3
+ "id": "acquia-nebula",
4
+ "label": "acquia/nebula",
5
5
  "repository": {
6
- "url": "git@github.com:balintbrews/canvas-cc-starter.git",
6
+ "url": "git@github.com:acquia/nebula.git",
7
+ "ref": "main"
8
+ }
9
+ },
10
+ {
11
+ "id": "balintbrews-canvas-starter",
12
+ "label": "balintbrews/canvas-starter",
13
+ "repository": {
14
+ "url": "git@github.com:balintbrews/canvas-starter.git",
7
15
  "ref": "main"
8
16
  }
9
17
  }