@tego/devkit 1.3.21 → 1.3.22
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/util.mjs +1 -1
- package/package.json +1 -1
package/lib/util.mjs
CHANGED
|
@@ -193,7 +193,7 @@ async function updateJsonFile(target, fn) {
|
|
|
193
193
|
await writeFile(target, JSON.stringify(fn(json), null, 2), "utf-8");
|
|
194
194
|
}
|
|
195
195
|
function generateAppDir() {
|
|
196
|
-
const defaultServerRoot = join(process.cwd(), "
|
|
196
|
+
const defaultServerRoot = join(process.cwd(), "node_modules", "tego");
|
|
197
197
|
const defaultClientRoot = join(process.cwd(), "apps/web");
|
|
198
198
|
process.env.APP_SERVER_ROOT = process.env.APP_SERVER_ROOT || defaultServerRoot;
|
|
199
199
|
process.env.APP_CLIENT_ROOT = process.env.APP_CLIENT_ROOT || defaultClientRoot;
|