@gasket/preset-nextjs 7.6.5 → 7.6.7

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/cjs/create.cjs CHANGED
@@ -16,7 +16,7 @@ function _interop_require_default(obj) {
16
16
  }
17
17
  function create(gasket, context) {
18
18
  const { files } = context;
19
- const __dirname = (0, _url.fileURLToPath)(require("url").pathToFileURL(__filename).toString());
20
- const generatorDir = _path.default.join(__dirname, '..', '..', 'generator');
19
+ const fileName = (0, _url.fileURLToPath)(require("url").pathToFileURL(__filename).toString());
20
+ const generatorDir = _path.default.join(fileName, '..', '..', 'generator');
21
21
  files.add(`${generatorDir}/*`);
22
22
  }
package/lib/create.js CHANGED
@@ -4,7 +4,7 @@ import { fileURLToPath } from 'url';
4
4
  /** @type {import('@gasket/core').HookHandler<'create'>} */
5
5
  export default function create(gasket, context) {
6
6
  const { files } = context;
7
- const __dirname = fileURLToPath(import.meta.url);
8
- const generatorDir = path.join(__dirname, '..', '..', 'generator');
7
+ const fileName = fileURLToPath(import.meta.url);
8
+ const generatorDir = path.join(fileName, '..', '..', 'generator');
9
9
  files.add(`${generatorDir}/*`);
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gasket/preset-nextjs",
3
- "version": "7.6.5",
3
+ "version": "7.6.7",
4
4
  "description": "Basic NextJS Framework",
5
5
  "type": "module",
6
6
  "types": "lib/index.d.ts",
@@ -28,26 +28,26 @@
28
28
  "bugs": "https://github.com/godaddy/gasket/issues",
29
29
  "homepage": "https://github.com/godaddy/gasket/tree/main/packages/gasket-preset-nextjs",
30
30
  "dependencies": {
31
- "@gasket/plugin-command": "^7.6.3",
31
+ "@gasket/plugin-command": "^7.6.4",
32
32
  "@gasket/plugin-cypress": "^7.5.3",
33
- "@gasket/plugin-docs": "^7.5.3",
34
- "@gasket/plugin-docusaurus": "^7.5.0",
35
- "@gasket/plugin-dynamic-plugins": "^7.5.0",
36
- "@gasket/plugin-express": "^7.5.0",
37
- "@gasket/plugin-git": "^7.4.8",
38
- "@gasket/plugin-https": "^7.4.0",
39
- "@gasket/plugin-https-proxy": "^7.5.0",
40
- "@gasket/plugin-intl": "^7.6.3",
33
+ "@gasket/plugin-docusaurus": "^7.5.1",
34
+ "@gasket/plugin-docs": "^7.5.4",
35
+ "@gasket/plugin-dynamic-plugins": "^7.5.1",
36
+ "@gasket/plugin-https-proxy": "^7.5.1",
37
+ "@gasket/plugin-express": "^7.5.1",
38
+ "@gasket/plugin-intl": "^7.6.4",
39
+ "@gasket/plugin-git": "^7.4.9",
40
+ "@gasket/plugin-https": "^7.4.1",
41
41
  "@gasket/plugin-jest": "^7.5.8",
42
42
  "@gasket/plugin-lint": "^7.4.4",
43
- "@gasket/plugin-logger": "^7.4.0",
44
- "@gasket/plugin-mocha": "^7.5.5",
45
- "@gasket/plugin-nextjs": "^7.7.3",
43
+ "@gasket/plugin-mocha": "^7.5.6",
44
+ "@gasket/plugin-nextjs": "^7.7.4",
46
45
  "@gasket/plugin-typescript": "^7.4.6",
47
- "@gasket/plugin-vitest": "^7.2.0",
46
+ "@gasket/plugin-vitest": "^7.2.1",
47
+ "@gasket/plugin-logger": "^7.4.0",
48
48
  "@gasket/plugin-webpack": "^7.4.0",
49
49
  "@gasket/plugin-winston": "^7.4.0",
50
- "@gasket/utils": "^7.6.4"
50
+ "@gasket/utils": "^7.6.5"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@vitest/coverage-v8": "^3.2.0",