Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi committed Jun 16, 2024
1 parent b676922 commit cc8088a
Show file tree
Hide file tree
Showing 160 changed files with 2,159 additions and 44,300 deletions.
40,786 changes: 0 additions & 40,786 deletions .pnp.cjs

This file was deleted.

2,047 changes: 0 additions & 2,047 deletions .pnp.loader.mjs

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ changesetBaseRefs:
- main
- origin/main

nodeLinker: pnp
nodeLinker: pnpm

npmScopes:
fern-fern:
Expand Down
2 changes: 0 additions & 2 deletions generators/typescript/sdk/generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,12 @@
"devDependencies": {
"@babel/preset-env": "^7.24.3",
"@babel/preset-typescript": "^7.24.1",
"@types/jest-specific-snapshot": "^0.5.7",
"@types/js-yaml": "^4.0.8",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.7.18",
"@types/url-join": "4.0.1",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"jest-specific-snapshot": "^8.0.0",
"organize-imports-cli": "^0.10.0",
"prettier": "^2.7.1",
"typescript": "4.6.4",
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"clean": "yarn workspaces foreach --verbose --parallel --topological-dev run clean",
"compile": "yarn workspaces foreach --verbose --parallel --topological-dev run compile",
"test": "yarn compile && jest --passWithNoTests",
"test": "yarn workspaces foreach --verbose --parallel --topological-dev run test",
"test:ete": "yarn workspace @fern-api/cli dist:cli:dev && yarn workspace @fern-api/seed-cli dist:cli && yarn workspace @fern-api/ete-tests test",
"lint:eslint": "eslint --max-warnings 0 . --ignore-path .eslintignore",
"lint:eslint:fix": "yarn lint:eslint --fix",
Expand Down Expand Up @@ -59,6 +59,7 @@
"@blueprintjs/eslint-plugin": "^2.1.2",
"@blueprintjs/stylelint-plugin": "^4.1.3",
"@types/is-ci": "^3.0.2",
"@types/jest": "^29.0.3",
"@types/lodash-es": "^4.17.6",
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "^5.27.1",
Expand All @@ -76,6 +77,7 @@
"husky": "^8.0.1",
"immer": "^9.0.15",
"is-ci": "^3.0.1",
"jest": "^29.7.0",
"jsonc-parser": "~2.2.1",
"lint-staged": "^13.0.3",
"lodash-es": "^4.17.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
"@fern-api/core-utils": "workspace:*",
"@fern-api/fdr-sdk": "0.98.0-rc1",
"@fern-api/fdr-sdk": "0.98.0-82c9f6f47",
"@fern-api/fs-utils": "workspace:*",
"@fern-api/task-context": "workspace:*",
"@fern-fern/fiddle-sdk": "^0.0.552",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/docs-preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"@fern-api/docs-resolver": "workspace:*",
"@fern-api/fdr-sdk": "0.98.0-rc1",
"@fern-api/fdr-sdk": "0.98.0-82c9f6f47",
"@fern-api/fs-utils": "workspace:*",
"@fern-api/ir-sdk": "workspace:*",
"@fern-api/logger": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/docs-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"@fern-api/configuration": "workspace:*",
"@fern-api/core-utils": "workspace:*",
"@fern-api/fdr-sdk": "0.98.0-rc1",
"@fern-api/fdr-sdk": "0.98.0-82c9f6f47",
"@fern-api/fs-utils": "workspace:*",
"@fern-api/ir-generator": "workspace:*",
"@fern-api/ir-sdk": "workspace:*",
Expand Down
10 changes: 9 additions & 1 deletion packages/cli/generation/ir-generator/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
{ "ignores": ["@types/node"], "ignore-patterns": ["lib"] }
{
"ignores": [
"@types/jest",
"@types/node"
],
"ignore-patterns": [
"lib"
]
}
5 changes: 3 additions & 2 deletions packages/cli/generation/ir-generator/.mrlint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"type": "library",
"private": true
}
"private": true,
"testRunner": "jest"
}
4 changes: 3 additions & 1 deletion packages/cli/generation/ir-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"scripts": {
"clean": "rm -rf ./lib && tsc --build --clean",
"compile": "tsc --build",
"test": "yarn compile && vitest --passWithNoTests",
"test": "yarn compile && jest --passWithNoTests",
"lint:eslint": "eslint --max-warnings 0 . --ignore-path=../../../../.eslintignore",
"lint:eslint:fix": "yarn lint:eslint --fix",
"format": "prettier --write --ignore-unknown --ignore-path ../../../../shared/.prettierignore \"**\"",
Expand All @@ -41,6 +41,7 @@
"url-join": "^5.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/jest-specific-snapshot": "^0.5.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.7.18",
Expand All @@ -49,6 +50,7 @@
"@types/url-join": "4.0.1",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"jest-specific-snapshot": "^8.0.0",
"organize-imports-cli": "^0.10.0",
"typescript": "4.6.4",
Expand Down

This file was deleted.

1,988 changes: 994 additions & 994 deletions packages/cli/generation/ir-generator/src/__test__/__snapshots__/fhir.txt

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ it("generate IR from OpenAPI", async () => {
);
expect(intermediateRepresentationJson).toMatchSpecificSnapshot(`__snapshots__/openapi/${name}.txt`);
}
});
});
2 changes: 1 addition & 1 deletion packages/cli/generation/ir-generator/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "../../../../shared/tsconfig.shared.json",
"compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "./src" },
"compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "./src", "types": null },
"include": ["./src/**/*"],
"references": [
{ "path": "../../../commons/core-utils" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@fern-api/core": "workspace:*",
"@fern-api/core-utils": "workspace:*",
"@fern-api/docs-resolver": "workspace:*",
"@fern-api/fdr-sdk": "0.98.0-rc1",
"@fern-api/fdr-sdk": "0.98.0-82c9f6f47",
"@fern-api/fs-utils": "workspace:*",
"@fern-api/ir-generator": "workspace:*",
"@fern-api/ir-migrations": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/register/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@fern-api/configuration": "workspace:*",
"@fern-api/core": "workspace:*",
"@fern-api/core-utils": "workspace:*",
"@fern-api/fdr-sdk": "0.98.0-rc1",
"@fern-api/fdr-sdk": "0.98.0-82c9f6f47",
"@fern-api/ir-generator": "workspace:*",
"@fern-api/ir-sdk": "workspace:*",
"@fern-api/task-context": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"depcheck": "depcheck"
},
"dependencies": {
"@fern-api/fdr-sdk": "0.98.0-rc1",
"@fern-api/fdr-sdk": "0.98.0-82c9f6f47",
"@fern-api/venus-api-sdk": "0.0.38",
"@fern-fern/fdr-test-sdk": "^0.0.5297",
"@fern-fern/fiddle-sdk": "^0.0.552"
Expand Down
7 changes: 6 additions & 1 deletion shared/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ export default defineConfig({
"**/.{idea,git,cache,output,temp}/**",
"**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*",
"**/lib/**"
]
],
server: {
deps: {
fallbackCJS: true
}
}
}
});
Loading

0 comments on commit cc8088a

Please sign in to comment.