create-gasket-app 7.4.11 → 7.4.12

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.d.ts CHANGED
@@ -505,7 +505,7 @@ export interface CreateContext {
505
505
 
506
506
  /** Use to add content to the README.md */
507
507
  readme: Readme;
508
-
508
+ // eslint-disable-next-line @typescript-eslint/no-misused-new
509
509
  constructor(initContext?: Partial<CreateContext>);
510
510
  runWith(plugin: Plugin): CreateContext;
511
511
  /** Flag indicating if typescript is enabled */
package/lib/index.js CHANGED
@@ -17,7 +17,10 @@ const gasketBin = program
17
17
  .version(pkg.version)
18
18
  .addHelpText('beforeAll', logo);
19
19
 
20
-
20
+ /**
21
+ * The main entry point for the create-gasket-app CLI.
22
+ * @returns {Promise<Command>} promise
23
+ */
21
24
  async function main() {
22
25
  // Suppress deprecation warning for punycode in node 22
23
26
  process.noDeprecation = true;
@@ -30,4 +33,4 @@ async function main() {
30
33
  return await gasketBin.parseAsync();
31
34
  }
32
35
 
33
- main();
36
+ void main();
@@ -1,4 +1,4 @@
1
- /* eslint-disable max-len, max-statements */
1
+ /* eslint-disable max-statements */
2
2
  import fs from 'fs';
3
3
  import path from 'path';
4
4
  import { readConfig } from '../scaffold/utils.js';
@@ -53,9 +53,10 @@ function makeCreateRuntime(context, source) {
53
53
  });
54
54
  }
55
55
 
56
- function flatten(acc, values) {
56
+
57
+ const flatten = (acc, values) => {
57
58
  return acc.concat(values);
58
- }
59
+ };
59
60
 
60
61
  export class CreateContext {
61
62
  constructor(initContext = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-gasket-app",
3
- "version": "7.4.11",
3
+ "version": "7.4.12",
4
4
  "description": "starter pack for creating a gasket app",
5
5
  "type": "module",
6
6
  "bin": {
@@ -31,22 +31,22 @@
31
31
  "mkdirp": "^1.0.4",
32
32
  "ora": "^3.4.0",
33
33
  "semver": "^7.7.1",
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",
34
+ "@gasket/core": "^7.6.2",
35
+ "@gasket/plugin-command": "^7.5.2",
36
+ "@gasket/plugin-docs": "^7.4.7",
38
37
  "@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"
38
+ "@gasket/plugin-dynamic-plugins": "^7.4.1",
39
+ "@gasket/plugin-git": "^7.4.6",
40
+ "@gasket/plugin-logger": "^7.3.7",
41
+ "@gasket/plugin-metadata": "^7.5.3",
42
+ "@gasket/request": "^7.5.3",
43
+ "@gasket/utils": "^7.6.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@typescript-eslint/parser": "^8.38.0",
47
47
  "dotenv": "^16.4.7",
48
48
  "jest": "^29.7.0",
49
- "@gasket/request": "^7.5.2"
49
+ "@gasket/request": "^7.5.3"
50
50
  },
51
51
  "jest": {
52
52
  "transform": {}