create-gasket-app 7.0.0-next.40 → 7.0.0-next.41
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.
|
@@ -96,6 +96,7 @@ async function writeGasketConfig({ context }) {
|
|
|
96
96
|
const assignments = gasketConfig.fields.injectionAssignments || null;
|
|
97
97
|
const expressions = gasketConfig.fields.expressions || null;
|
|
98
98
|
gasketConfig.fields.plugins = 'PLUGIN_REPLACE';
|
|
99
|
+
gasketConfig.fields.filename = 'FILENAME_REPLACE';
|
|
99
100
|
|
|
100
101
|
let contents = '';
|
|
101
102
|
contents += `import { makeGasket } from '@gasket/core';\n`;
|
|
@@ -107,6 +108,7 @@ async function writeGasketConfig({ context }) {
|
|
|
107
108
|
|
|
108
109
|
const pluginImports = `[\n${writePluginImports(plugins)}\n\t]`;
|
|
109
110
|
contents += `\nexport default makeGasket(${JSON5.stringify(gasketConfig.fields, null, 2)});\n`;
|
|
111
|
+
contents = contents.replace('\'FILENAME_REPLACE\'', 'import.meta.filename');
|
|
110
112
|
contents = contents.replace('\'PLUGIN_REPLACE\'', pluginImports);
|
|
111
113
|
contents = replaceInjectionAssignments(contents, assignments);
|
|
112
114
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-gasket-app",
|
|
3
|
-
"version": "7.0.0-next.
|
|
3
|
+
"version": "7.0.0-next.41",
|
|
4
4
|
"description": "starter pack for creating a gasket app",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/godaddy/gasket/tree/main/packages/create-gasket-app",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@gasket/core": "^7.0.0-next.
|
|
37
|
-
"@gasket/plugin-command": "^7.0.0-next.
|
|
38
|
-
"@gasket/plugin-docs": "^7.0.0-next.
|
|
39
|
-
"@gasket/plugin-docusaurus": "^7.0.0-next.
|
|
40
|
-
"@gasket/plugin-git": "^7.0.0-next.
|
|
41
|
-
"@gasket/plugin-logger": "^7.0.0-next.
|
|
42
|
-
"@gasket/plugin-metadata": "^7.0.0-next.
|
|
43
|
-
"@gasket/utils": "^7.0.0-next.
|
|
36
|
+
"@gasket/core": "^7.0.0-next.41",
|
|
37
|
+
"@gasket/plugin-command": "^7.0.0-next.41",
|
|
38
|
+
"@gasket/plugin-docs": "^7.0.0-next.41",
|
|
39
|
+
"@gasket/plugin-docusaurus": "^7.0.0-next.41",
|
|
40
|
+
"@gasket/plugin-git": "^7.0.0-next.41",
|
|
41
|
+
"@gasket/plugin-logger": "^7.0.0-next.41",
|
|
42
|
+
"@gasket/plugin-metadata": "^7.0.0-next.41",
|
|
43
|
+
"@gasket/utils": "^7.0.0-next.41",
|
|
44
44
|
"commander": "^12.0.0",
|
|
45
45
|
"deepmerge": "^4.3.1",
|
|
46
46
|
"glob": "^8.1.0",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"jest": {
|
|
84
84
|
"transform": {}
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "60168b97e936fbc85a1eb9863f6bf202bb055a81"
|
|
87
87
|
}
|