Skip to content

Commit

Permalink
Remove foundry-sdk-generator from snowflakes
Browse files Browse the repository at this point in the history
  • Loading branch information
ericanderson committed Jan 13, 2025
1 parent 4e0f9d3 commit d36d9b7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 25 deletions.
12 changes: 8 additions & 4 deletions .monorepolint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -644,6 +643,7 @@ NOTE: DO NOT EDIT THIS README BY HAND. It is generated by monorepolint.
...nonStandardPackages,
...usesReact,
...viteApp,
...consumerCliPackages,
],
}, {
esmOnly: true,
Expand Down Expand Up @@ -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(),
Expand Down
18 changes: 9 additions & 9 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:~",
Expand Down
8 changes: 4 additions & 4 deletions packages/create-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:*",
Expand Down
8 changes: 0 additions & 8 deletions packages/foundry-sdk-generator/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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/**/*"],
},
Expand Down

0 comments on commit d36d9b7

Please sign in to comment.