create-gasket-app 7.4.10 → 7.4.11
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.
|
@@ -78,7 +78,7 @@ async function loadPresets({ context }) {
|
|
|
78
78
|
const fullPath = path.resolve(modPath, pkgFile.name, entryPath);
|
|
79
79
|
const mod = await import(pathToFileURL(fullPath).href);
|
|
80
80
|
return mod.default?.default || mod.default || mod;
|
|
81
|
-
} catch
|
|
81
|
+
} catch {
|
|
82
82
|
throw new Error(`Failed to install local preset ${localPresetPath}`);
|
|
83
83
|
}
|
|
84
84
|
});
|
|
@@ -44,8 +44,8 @@ function isValidVersion(v) {
|
|
|
44
44
|
// registry to see what dist-tags are available. This is not feasible.
|
|
45
45
|
//
|
|
46
46
|
return v === 'latest'
|
|
47
|
-
|| v.match(versionTypes.uri) != null
|
|
48
|
-
|| v.match(versionTypes.github) != null
|
|
47
|
+
|| v.match(versionTypes.uri) != null
|
|
48
|
+
|| v.match(versionTypes.github) != null
|
|
49
49
|
|| !!semver.validRange(v);
|
|
50
50
|
}
|
|
51
51
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-gasket-app",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.11",
|
|
4
4
|
"description": "starter pack for creating a gasket app",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -31,63 +31,23 @@
|
|
|
31
31
|
"mkdirp": "^1.0.4",
|
|
32
32
|
"ora": "^3.4.0",
|
|
33
33
|
"semver": "^7.7.1",
|
|
34
|
-
"@gasket/
|
|
35
|
-
"@gasket/plugin-
|
|
36
|
-
"@gasket/plugin-dynamic-plugins": "^7.4.
|
|
37
|
-
"@gasket/
|
|
38
|
-
"@gasket/plugin-
|
|
39
|
-
"@gasket/plugin-
|
|
40
|
-
"@gasket/plugin-logger": "^7.3.
|
|
41
|
-
"@gasket/
|
|
42
|
-
"@gasket/
|
|
43
|
-
"@gasket/utils": "^7.6.
|
|
34
|
+
"@gasket/plugin-command": "^7.5.1",
|
|
35
|
+
"@gasket/plugin-docs": "^7.4.6",
|
|
36
|
+
"@gasket/plugin-dynamic-plugins": "^7.4.1",
|
|
37
|
+
"@gasket/core": "^7.6.1",
|
|
38
|
+
"@gasket/plugin-docusaurus": "^7.4.5",
|
|
39
|
+
"@gasket/plugin-git": "^7.4.5",
|
|
40
|
+
"@gasket/plugin-logger": "^7.3.6",
|
|
41
|
+
"@gasket/request": "^7.5.2",
|
|
42
|
+
"@gasket/plugin-metadata": "^7.5.2",
|
|
43
|
+
"@gasket/utils": "^7.6.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@
|
|
47
|
-
"@types/inquirer": "^9.0.7",
|
|
48
|
-
"@types/jest": "^29.5.14",
|
|
49
|
-
"@types/node": "^20.17.19",
|
|
50
|
-
"cross-env": "^7.0.3",
|
|
46
|
+
"@typescript-eslint/parser": "^8.38.0",
|
|
51
47
|
"dotenv": "^16.4.7",
|
|
52
|
-
"eslint": "^8.57.1",
|
|
53
|
-
"eslint-config-godaddy": "^7.1.1",
|
|
54
|
-
"eslint-config-godaddy-typescript": "^4.0.3",
|
|
55
|
-
"eslint-plugin-jest": "^27.9.0",
|
|
56
|
-
"eslint-plugin-unicorn": "^55.0.0",
|
|
57
48
|
"jest": "^29.7.0",
|
|
58
|
-
"
|
|
59
|
-
"@gasket/request": "^7.5.1"
|
|
49
|
+
"@gasket/request": "^7.5.2"
|
|
60
50
|
},
|
|
61
|
-
"eslintConfig": {
|
|
62
|
-
"extends": [
|
|
63
|
-
"godaddy",
|
|
64
|
-
"plugin:jest/recommended",
|
|
65
|
-
"plugin:jsdoc/recommended-typescript-flavor"
|
|
66
|
-
],
|
|
67
|
-
"plugins": [
|
|
68
|
-
"unicorn",
|
|
69
|
-
"jsdoc"
|
|
70
|
-
],
|
|
71
|
-
"rules": {
|
|
72
|
-
"unicorn/filename-case": "error"
|
|
73
|
-
},
|
|
74
|
-
"overrides": [
|
|
75
|
-
{
|
|
76
|
-
"files": [
|
|
77
|
-
"lib/*.ts"
|
|
78
|
-
],
|
|
79
|
-
"extends": [
|
|
80
|
-
"godaddy-typescript"
|
|
81
|
-
],
|
|
82
|
-
"rules": {
|
|
83
|
-
"jsdoc/*": "off"
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
"eslintIgnore": [
|
|
89
|
-
"test/fixtures"
|
|
90
|
-
],
|
|
91
51
|
"jest": {
|
|
92
52
|
"transform": {}
|
|
93
53
|
},
|