create-gasket-app 7.0.6 → 7.1.0-canary.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.
|
@@ -4,6 +4,7 @@ import pluginMetadata from '@gasket/plugin-metadata';
|
|
|
4
4
|
import pluginCommand from '@gasket/plugin-command';
|
|
5
5
|
import pluginDocs from '@gasket/plugin-docs';
|
|
6
6
|
import pluginDocusaurus from '@gasket/plugin-docusaurus';
|
|
7
|
+
import pluginDynamicPlugins from '@gasket/plugin-dynamic-plugins';
|
|
7
8
|
|
|
8
9
|
export const defaultPlugins = [
|
|
9
10
|
pluginLogger,
|
|
@@ -11,5 +12,6 @@ export const defaultPlugins = [
|
|
|
11
12
|
pluginMetadata,
|
|
12
13
|
pluginCommand,
|
|
13
14
|
pluginDocs,
|
|
14
|
-
pluginDocusaurus
|
|
15
|
+
pluginDocusaurus,
|
|
16
|
+
pluginDynamicPlugins
|
|
15
17
|
];
|
package/lib/index.js
CHANGED
|
@@ -19,6 +19,9 @@ const gasketBin = program
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
async function main() {
|
|
22
|
+
// Suppress deprecation warning for punycode in node 22
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
process.noDeprecation = true;
|
|
22
25
|
const { command, hidden, isDefault } = processCommand(createCommand);
|
|
23
26
|
await warnIfOutdated(pkg.name, pkg.version);
|
|
24
27
|
gasketBin.addCommand(command, { hidden, isDefault });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from 'path';
|
|
2
2
|
import os from 'os';
|
|
3
3
|
import action from '../action-wrapper.js';
|
|
4
|
-
import {
|
|
4
|
+
import { PackageManager } from '@gasket/utils';
|
|
5
5
|
import { mkdtemp } from 'fs/promises';
|
|
6
6
|
import { createRequire } from 'module';
|
|
7
7
|
const require = createRequire(import.meta.url);
|
|
@@ -16,7 +16,7 @@ async function loadPresets({ context }) {
|
|
|
16
16
|
context.tmpDir = tmpDir;
|
|
17
17
|
|
|
18
18
|
const modPath = path.join(tmpDir, 'node_modules');
|
|
19
|
-
const pkgManager = new
|
|
19
|
+
const pkgManager = new PackageManager({
|
|
20
20
|
packageManager: context.packageManager,
|
|
21
21
|
dest: tmpDir
|
|
22
22
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import action from '../action-wrapper.js';
|
|
2
2
|
import { ConfigBuilder } from '../config-builder.js';
|
|
3
|
-
import {
|
|
3
|
+
import { PackageManager } from '@gasket/utils';
|
|
4
4
|
import { createRequire } from 'module';
|
|
5
5
|
const require = createRequire(import.meta.url);
|
|
6
6
|
const { dependencies } = require('../../../package.json');
|
|
@@ -25,7 +25,7 @@ async function setupPkg({ context }) {
|
|
|
25
25
|
'@gasket/utils': dependencies['@gasket/utils']
|
|
26
26
|
});
|
|
27
27
|
|
|
28
|
-
const pkgManager = new
|
|
28
|
+
const pkgManager = new PackageManager(context);
|
|
29
29
|
Object.assign(context, { pkg, pkgManager });
|
|
30
30
|
}
|
|
31
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-gasket-app",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.1.0-canary.1",
|
|
4
4
|
"description": "starter pack for creating a gasket app",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -35,14 +35,15 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/godaddy/gasket/tree/main/packages/create-gasket-app",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@gasket/core": "
|
|
39
|
-
"@gasket/plugin-command": "
|
|
40
|
-
"@gasket/plugin-docs": "
|
|
41
|
-
"@gasket/plugin-docusaurus": "
|
|
42
|
-
"@gasket/plugin-
|
|
43
|
-
"@gasket/plugin-
|
|
44
|
-
"@gasket/plugin-
|
|
45
|
-
"@gasket/
|
|
38
|
+
"@gasket/core": "7.1.0-canary.1",
|
|
39
|
+
"@gasket/plugin-command": "7.1.0-canary.1",
|
|
40
|
+
"@gasket/plugin-docs": "7.1.0-canary.1",
|
|
41
|
+
"@gasket/plugin-docusaurus": "7.1.0-canary.1",
|
|
42
|
+
"@gasket/plugin-dynamic-plugins": "7.1.0-canary.1",
|
|
43
|
+
"@gasket/plugin-git": "7.1.0-canary.1",
|
|
44
|
+
"@gasket/plugin-logger": "7.1.0-canary.1",
|
|
45
|
+
"@gasket/plugin-metadata": "7.1.0-canary.1",
|
|
46
|
+
"@gasket/utils": "7.1.0-canary.1",
|
|
46
47
|
"commander": "^12.0.0",
|
|
47
48
|
"deepmerge": "^4.3.1",
|
|
48
49
|
"glob": "^8.1.0",
|
|
@@ -88,5 +89,5 @@
|
|
|
88
89
|
"jest": {
|
|
89
90
|
"transform": {}
|
|
90
91
|
},
|
|
91
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "79706568a4b2a7aa2621bf1f0bdaded08c396ed4"
|
|
92
93
|
}
|