create-gasket-app 7.0.6 → 7.0.9

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/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 { default as gasketUtils } from '@gasket/utils';
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 gasketUtils.PackageManager({
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 { default as gasketUtils } from '@gasket/utils';
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 gasketUtils.PackageManager(context);
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.6",
3
+ "version": "7.0.9",
4
4
  "description": "starter pack for creating a gasket app",
5
5
  "type": "module",
6
6
  "bin": {
@@ -35,14 +35,14 @@
35
35
  },
36
36
  "homepage": "https://github.com/godaddy/gasket/tree/main/packages/create-gasket-app",
37
37
  "dependencies": {
38
- "@gasket/core": "^7.0.6",
39
- "@gasket/plugin-command": "^7.0.6",
40
- "@gasket/plugin-docs": "^7.0.6",
41
- "@gasket/plugin-docusaurus": "^7.0.6",
42
- "@gasket/plugin-git": "^7.0.6",
43
- "@gasket/plugin-logger": "^7.0.6",
44
- "@gasket/plugin-metadata": "^7.0.6",
45
- "@gasket/utils": "^7.0.6",
38
+ "@gasket/core": "^7.0.9",
39
+ "@gasket/plugin-command": "^7.0.9",
40
+ "@gasket/plugin-docs": "^7.0.9",
41
+ "@gasket/plugin-docusaurus": "^7.0.9",
42
+ "@gasket/plugin-git": "^7.0.9",
43
+ "@gasket/plugin-logger": "^7.0.9",
44
+ "@gasket/plugin-metadata": "^7.0.9",
45
+ "@gasket/utils": "^7.0.9",
46
46
  "commander": "^12.0.0",
47
47
  "deepmerge": "^4.3.1",
48
48
  "glob": "^8.1.0",
@@ -88,5 +88,5 @@
88
88
  "jest": {
89
89
  "transform": {}
90
90
  },
91
- "gitHead": "90fec87372fb74755e92668a9158fc3c820dd37f"
91
+ "gitHead": "ff3acd042a9a22cd43ac29c6b064bd2f49304b9e"
92
92
  }