create-gasket-app 7.0.0-next.55 → 7.0.0-next.57
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,7 +96,6 @@ 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';
|
|
100
99
|
|
|
101
100
|
let contents = '';
|
|
102
101
|
if (typescript) contents += `import type { GasketConfigDefinition } from '@gasket/core';\n`;
|
|
@@ -110,7 +109,6 @@ async function writeGasketConfig({ context }) {
|
|
|
110
109
|
const pluginImports = `[\n${writePluginImports(plugins)}\n ]`;
|
|
111
110
|
const typeCoercion = typescript ? ' as GasketConfigDefinition' : '';
|
|
112
111
|
contents += `\nexport default makeGasket(${JSON5.stringify(gasketConfig.fields, null, 2)}${typeCoercion});\n`;
|
|
113
|
-
contents = contents.replace('\'FILENAME_REPLACE\'', 'import.meta.filename');
|
|
114
112
|
contents = contents.replace('\'PLUGIN_REPLACE\'', pluginImports);
|
|
115
113
|
contents = replaceInjectionAssignments(contents, assignments);
|
|
116
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.57",
|
|
4
4
|
"description": "starter pack for creating a gasket app",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -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.57",
|
|
37
|
+
"@gasket/plugin-command": "7.0.0-next.57",
|
|
38
|
+
"@gasket/plugin-docs": "7.0.0-next.57",
|
|
39
|
+
"@gasket/plugin-docusaurus": "7.0.0-next.57",
|
|
40
|
+
"@gasket/plugin-git": "7.0.0-next.57",
|
|
41
|
+
"@gasket/plugin-logger": "7.0.0-next.57",
|
|
42
|
+
"@gasket/plugin-metadata": "7.0.0-next.57",
|
|
43
|
+
"@gasket/utils": "7.0.0-next.57",
|
|
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": "40e38b3d5102a08bd022bda3f9a8ddbd261e4dc9"
|
|
87
87
|
}
|