fix: updated package name to follow best practices

This commit is contained in:
Noodl Windows Build User
2024-01-30 18:17:08 +00:00
parent 78af7d6c2a
commit 42e065b586
7 changed files with 11 additions and 12 deletions

View File

@@ -70,10 +70,10 @@ import { getCurrentPlatform } from '../helper';
// NOTE: Getting error "Cannot set properties of null (setting 'dev')" here,
// It basically means that some package is not relative to this path.
console.log("--- Run 'npm install' ...");
execSync(`npm install --arch=${arch} --scope Noodl-Editor`, {
execSync(`npm install --arch=${arch} --scope noodl-editor`, {
stdio: 'inherit',
env: process.env
});
})
console.log("--- 'npm install' done!");
// NOTE: npm install --arch= does this too
@@ -89,7 +89,7 @@ import { getCurrentPlatform } from '../helper';
// Build: Replace "dugite"
// Build: Replace "desktop-trampoline"
console.log("--- Run 'npm run build' ...");
execSync('npx lerna exec --scope Noodl-Editor -- npm run build', {
execSync('npx lerna exec --scope noodl-editor -- npm run build', {
stdio: 'inherit',
env: {
...process.env,

View File

@@ -74,7 +74,7 @@ const cloudRuntimeProcess = attachStdio(
}
);
const editorProcess = attachStdio(exec('npx lerna exec --scope Noodl-Editor -- npm run start', processOptions), {
const editorProcess = attachStdio(exec('npx lerna exec --scope noodl-editor -- npm run start', processOptions), {
prefix: 'Editor',
color: ConsoleColor.FgCyan
});

View File

@@ -25,7 +25,7 @@ console.log(
);
console.log("---");
execSync("npx lerna exec --scope Noodl-Editor -- npm run test", {
execSync("npx lerna exec --scope noodl-editor -- npm run test", {
cwd: CWD,
stdio: "inherit",
env: {