create-gasket-app 7.0.6 → 7.0.15

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/README.md CHANGED
@@ -81,7 +81,6 @@ Additional code style choices are prompted during the create command. Some
81
81
  predefined choices are provided from the [lint plugin], or you can specify your
82
82
  own config.
83
83
 
84
-
85
84
  ## Lifecycles
86
85
 
87
86
  Lifecycles for apps are enabled by plugins, however the CLI has some built-in
@@ -232,7 +231,6 @@ The hook is passed the following parameters:
232
231
  | `utils` | Functions that aid in post create hooks |
233
232
  | `utils.runScript` | run an `npm` script at the root of the generated `npm` package |
234
233
 
235
-
236
234
  ## License
237
235
 
238
236
  [MIT](./LICENSE.md)
@@ -245,7 +243,7 @@ The hook is passed the following parameters:
245
243
  [yarn env vars]:https://yarnpkg.com/en/docs/envvars#toc-npm-config
246
244
  [Jest plugin]:/packages/gasket-plugin-jest/README.md
247
245
  [Mocha plugin]:/packages/gasket-plugin-mocha/README.md
248
- [execWaterfall]:/packages/gasket-engine/README.md#execwaterfallevent-value-args
249
- [exec]:/packages/gasket-engine/README.md#execevent-args
246
+ [execWaterfall]:/packages/gasket-core/docs/gasket-engine.md#execwaterfallevent-value-args
247
+ [exec]:/packages/gasket-core/docs/gasket-engine.md#execevent-args
250
248
  [inquirer questions]:https://github.com/SBoudrias/Inquirer.js#question
251
249
  [lint plugin]:/packages/gasket-plugin-lint/README.md
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.15",
4
4
  "description": "starter pack for creating a gasket app",
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,9 +17,9 @@
17
17
  "test": "cross-env NODE_OPTIONS='--unhandled-rejections=strict --experimental-vm-modules' jest",
18
18
  "test:watch": "npm run test -- --watch",
19
19
  "test:coverage": "jest --coverage",
20
+ "posttest": "npm run lint && npm run typecheck",
20
21
  "typecheck": "tsc",
21
- "typecheck:watch": "tsc --watch",
22
- "posttest": "npm run lint && npm run typecheck"
22
+ "typecheck:watch": "tsc --watch"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -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.15",
39
+ "@gasket/plugin-command": "^7.0.15",
40
+ "@gasket/plugin-docs": "^7.0.15",
41
+ "@gasket/plugin-docusaurus": "^7.0.15",
42
+ "@gasket/plugin-git": "^7.0.15",
43
+ "@gasket/plugin-logger": "^7.0.15",
44
+ "@gasket/plugin-metadata": "^7.0.15",
45
+ "@gasket/utils": "^7.0.15",
46
46
  "commander": "^12.0.0",
47
47
  "deepmerge": "^4.3.1",
48
48
  "glob": "^8.1.0",
@@ -52,7 +52,7 @@
52
52
  "mkdirp": "^1.0.4",
53
53
  "ora": "3.4.0",
54
54
  "pump": "^3.0.0",
55
- "semver": "^7.5.4",
55
+ "semver": "^7.6.3",
56
56
  "tar-fs": "^2.0.0",
57
57
  "untildify": "^4.0.0"
58
58
  },
@@ -66,7 +66,8 @@
66
66
  "eslint-plugin-jest": "^28.6.0",
67
67
  "eslint-plugin-json": "^3.1.0",
68
68
  "eslint-plugin-unicorn": "^55.0.0",
69
- "jest": "^29.7.0"
69
+ "jest": "^29.7.0",
70
+ "typescript": "^5.4.5"
70
71
  },
71
72
  "eslintConfig": {
72
73
  "extends": [
@@ -88,5 +89,5 @@
88
89
  "jest": {
89
90
  "transform": {}
90
91
  },
91
- "gitHead": "90fec87372fb74755e92668a9158fc3c820dd37f"
92
+ "gitHead": "2b1cd27bf8e7532c510260915cec8b4ad08496fe"
92
93
  }