diff --git a/.monorepolint.config.mjs b/.monorepolint.config.mjs index 1e2596f40..eb73ee1e9 100644 --- a/.monorepolint.config.mjs +++ b/.monorepolint.config.mjs @@ -37,7 +37,6 @@ const DELETE_SCRIPT_ENTRY = { options: [undefined], fixValue: undefined }; const nonStandardPackages = [ "@osdk/e2e.generated.1.1.x", "@osdk/examples.*", - "@osdk/foundry-sdk-generator", "@osdk/monorepo.*", // internal monorepo packages "@osdk/tests.*", // removed the following from the repo to avoid it being edited @@ -644,6 +643,7 @@ NOTE: DO NOT EDIT THIS README BY HAND. It is generated by monorepolint. ...nonStandardPackages, ...usesReact, ...viteApp, + ...consumerCliPackages, ], }, { esmOnly: true, @@ -683,14 +683,18 @@ NOTE: DO NOT EDIT THIS README BY HAND. It is generated by monorepolint. }), ...standardPackageRules({ - includePackages: ["@osdk/foundry-sdk-generator"], + includePackages: [ + ...consumerCliPackages, + ], }, { esmOnly: true, tsVersion: LATEST_TYPESCRIPT_DEP, - aliasConsola: true, + aliasConsola: false, }), fixedDepsOnly({ - includePackages: ["@osdk/foundry-sdk-generator"], + includePackages: [ + ...consumerCliPackages, + ], }), ...rulesForPackagesWithChecKApiTask(), diff --git a/packages/cli/package.json b/packages/cli/package.json index aa4d88d76..9c9ef07fd 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -31,15 +31,15 @@ "transpile": "monorepo.tool.transpile tsup" }, "dependencies": { - "@arethetypeswrong/cli": "^0.15.2", - "ajv": "^8.13.0", - "archiver": "^7.0.1", - "consola": "^3.2.3", - "open": "^10.1.0", - "pretty-bytes": "^6.1.1", - "semver": "^7.6.3", - "tslib": "^2.6.3", - "yargs": "^17.7.2" + "@arethetypeswrong/cli": "0.15.2", + "ajv": "8.13.0", + "archiver": "7.0.1", + "consola": "3.2.3", + "open": "10.1.0", + "pretty-bytes": "6.1.1", + "semver": "7.6.3", + "tslib": "2.6.3", + "yargs": "17.7.2" }, "devDependencies": { "@osdk/cli.cmd.typescript": "workspace:~", diff --git a/packages/create-app/package.json b/packages/create-app/package.json index bd2489ca3..fa1f228be 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -32,10 +32,10 @@ "transpile": "monorepo.tool.transpile tsup" }, "dependencies": { - "consola": "^3.2.3", - "find-up": "^7.0.0", - "handlebars": "^4.7.8", - "yargs": "^17.7.2" + "consola": "3.2.3", + "find-up": "7.0.0", + "handlebars": "4.7.8", + "yargs": "17.7.2" }, "devDependencies": { "@osdk/create-app.template.expo.v2": "workspace:*", diff --git a/packages/foundry-sdk-generator/vitest.config.mts b/packages/foundry-sdk-generator/vitest.config.mts index 00fca33c7..1c5a9a94a 100644 --- a/packages/foundry-sdk-generator/vitest.config.mts +++ b/packages/foundry-sdk-generator/vitest.config.mts @@ -14,18 +14,10 @@ * limitations under the License. */ -import { dirname, join } from "path"; -import { fileURLToPath } from "url"; import { configDefaults, defineConfig } from "vitest/config"; export default defineConfig({ test: { - alias: { - "consola": join( - dirname(fileURLToPath(import.meta.url)), - "./src/__e2e_tests__/consola.ts", - ), - }, pool: "forks", exclude: [...configDefaults.exclude, "**/build/**/*"], },