create-gasket-app 7.0.0-next.39 → 7.0.0-next.40

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.
@@ -5,7 +5,7 @@ import { default as gasketUtils } from '@gasket/utils';
5
5
  import { mkdtemp } from 'fs/promises';
6
6
  import { createRequire } from 'module';
7
7
  const require = createRequire(import.meta.url);
8
- const hasVersion = /@(\^[0-9]\.|[0-9]).+/;
8
+ const hasVersionOrTag = /@([\^~]?\d+\.\d+\.\d+(?:-[\d\w.-]+)?|[\^~]?\d+\.\d+\.\d+|[a-zA-Z]+)$/;
9
9
 
10
10
  /**
11
11
  * loadPresets - Load presets to temp directory
@@ -23,7 +23,7 @@ async function loadPresets({ context }) {
23
23
  const pkgVerb = pkgManager.manager === 'yarn' ? 'add' : 'install';
24
24
 
25
25
  const remotePresets = context.rawPresets.map(async preset => {
26
- const parts = hasVersion.test(preset) && preset.split('@').filter(Boolean);
26
+ const parts = hasVersionOrTag.test(preset) && preset.split('@').filter(Boolean);
27
27
  const name = parts ? `@${parts[0]}` : preset;
28
28
  const version = parts ? `@${parts[1]}` : '@latest';
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-gasket-app",
3
- "version": "7.0.0-next.39",
3
+ "version": "7.0.0-next.40",
4
4
  "description": "starter pack for creating a gasket app",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -33,14 +33,14 @@
33
33
  },
34
34
  "homepage": "https://github.com/godaddy/gasket/tree/main/packages/create-gasket-app",
35
35
  "dependencies": {
36
- "@gasket/core": "^7.0.0-next.39",
37
- "@gasket/plugin-command": "^7.0.0-next.39",
38
- "@gasket/plugin-docs": "^7.0.0-next.39",
39
- "@gasket/plugin-docusaurus": "^7.0.0-next.39",
40
- "@gasket/plugin-git": "^7.0.0-next.39",
41
- "@gasket/plugin-logger": "^7.0.0-next.39",
42
- "@gasket/plugin-metadata": "^7.0.0-next.39",
43
- "@gasket/utils": "^7.0.0-next.39",
36
+ "@gasket/core": "^7.0.0-next.40",
37
+ "@gasket/plugin-command": "^7.0.0-next.40",
38
+ "@gasket/plugin-docs": "^7.0.0-next.40",
39
+ "@gasket/plugin-docusaurus": "^7.0.0-next.40",
40
+ "@gasket/plugin-git": "^7.0.0-next.40",
41
+ "@gasket/plugin-logger": "^7.0.0-next.40",
42
+ "@gasket/plugin-metadata": "^7.0.0-next.40",
43
+ "@gasket/utils": "^7.0.0-next.40",
44
44
  "commander": "^12.0.0",
45
45
  "deepmerge": "^4.3.1",
46
46
  "glob": "^8.1.0",
@@ -83,5 +83,5 @@
83
83
  "jest": {
84
84
  "transform": {}
85
85
  },
86
- "gitHead": "e430121c9d5ad5d2a27f62272f53fe3eb595a4e4"
86
+ "gitHead": "0aa111bf03a2008753ff70d3d7207c371d9f6031"
87
87
  }