Skip to content

Commit

Permalink
fix: spfx scaffolding (#12173)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqizhou77 authored and huimiu committed Nov 8, 2024
1 parent 298dffb commit 352a386
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ import { DependencyValidateError } from "../error";
import { Constants } from "../utils/constants";
import { telemetryHelper } from "../utils/telemetry-helper";
import { TelemetryEvents, TelemetryProperty } from "../utils/telemetryEvents";
import { DependencyValidateError, NpmInstallError } from "../error";
import { cpUtils } from "../../../../common/deps-checker/util/cpUtils";
import { Constants } from "../utils/constants";
import { getExecCommand, getShellOptionValue, Utils } from "../utils/utils";
import { DependencyChecker } from "./dependencyChecker";

const name = Constants.GeneratorPackageName;
const displayName = `${name}`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import {
import { DependencyChecker } from "./dependencyChecker";
import { telemetryHelper } from "../utils/telemetry-helper";
import { TelemetryEvents, TelemetryProperty } from "../utils/telemetryEvents";
import { DependencyValidateError } from "../error";
import { cpUtils } from "../../../deps-checker/util/cpUtils";
import { DependencyValidateError, NpmInstallError } from "../error";
import { cpUtils } from "../../../../common/deps-checker/util/cpUtils";
import { getExecCommand, getShellOptionValue, Utils } from "../utils/utils";
import { Constants } from "../utils/constants";
import { NpmInstallError } from "../../../../error";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { glob } from "glob";
import { exec, execSync } from "child_process";
import { LogProvider } from "@microsoft/teamsfx-api";
import axios, { AxiosInstance } from "axios";
import { cpUtils, DebugLogger } from "../../../deps-checker/util/cpUtils";
import { cpUtils, DebugLogger } from "../../../../common/deps-checker/util/cpUtils";
import os from "os";
import { Constants } from "./constants";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import {
SPFxGeneratorImport,
SPFxGeneratorNew,
} from "../../../src/component/generator/spfx/spfxGenerator";
import { getShellOptionValue, Utils } from "../../../src/component/generator/spfx/utils/utils";
import { Utils, getShellOptionValue } from "../../../src/component/generator/spfx/utils/utils";
import { createContextV3 } from "../../../src/component/utils";
import { envUtil } from "../../../src/component/utils/envUtil";
import { FileNotFoundError, UserCancelError } from "../../../src/error";
import {
Expand All @@ -31,6 +32,8 @@ import {
SPFxVersionOptionIds,
} from "../../../src/question";
import { MockTools } from "../../core/utils";
import { getLocalizedString } from "../../../src/common/localizeUtils";
import { FileNotFoundError, UserCancelError } from "../../../src/error";
import os from "os";

describe("SPFxGenerator", function () {
Expand Down

0 comments on commit 352a386

Please sign in to comment.