@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 +2 -2
- package/lib/create.js +2 -2
- package/package.json +15 -15
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
|
|
20
|
-
const generatorDir = _path.default.join(
|
|
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
|
|
8
|
-
const generatorDir = path.join(
|
|
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.
|
|
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.
|
|
31
|
+
"@gasket/plugin-command": "^7.6.4",
|
|
32
32
|
"@gasket/plugin-cypress": "^7.5.3",
|
|
33
|
-
"@gasket/plugin-
|
|
34
|
-
"@gasket/plugin-
|
|
35
|
-
"@gasket/plugin-dynamic-plugins": "^7.5.
|
|
36
|
-
"@gasket/plugin-
|
|
37
|
-
"@gasket/plugin-
|
|
38
|
-
"@gasket/plugin-
|
|
39
|
-
"@gasket/plugin-
|
|
40
|
-
"@gasket/plugin-
|
|
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-
|
|
44
|
-
"@gasket/plugin-
|
|
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.
|
|
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.
|
|
50
|
+
"@gasket/utils": "^7.6.5"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@vitest/coverage-v8": "^3.2.0",
|