Skip to content

Commit

Permalink
fix: remove yarn warnings (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Jan 12, 2024
1 parent e832ed2 commit 8cbef80
Show file tree
Hide file tree
Showing 201 changed files with 2,469 additions and 1,791 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
extends: "next",
root: true,
env: {
browser: true,
Expand Down
1,998 changes: 1,268 additions & 730 deletions .pnp.cjs

Large diffs are not rendered by default.

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 removed .yarn/cache/ms-npm-2.0.0-9e1101a471-0e6a22b8b7.zip
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.
15 changes: 0 additions & 15 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,15 @@ packageExtensions:
"@blueprintjs/eslint-plugin@*":
dependencies:
tslib: "*"
"@blueprintjs/stylelint-plugin@*":
dependencies:
tslib: "*"
chalk@*:
dependencies:
"#supports-color": "npm:[email protected]"
debug@*:
dependencies:
supports-color: ^8.1.1
docsify-cli@*:
dependencies:
ansi-colors: "*"
y18n: "*"
docsify-server-renderer@*:
dependencies:
marked: "*"
prismjs: "*"
strip-indent: 3.0.0
follow-redirects@*:
dependencies:
debug: "*"
inquirer-file-tree-selection-prompt@*:
dependencies:
inquirer: ^8.0.0
postcss-scss@*:
dependencies:
postcss: "*"
Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@
"@blueprintjs/eslint-plugin": "^2.1.2",
"@types/is-ci": "^3.0.0",
"@types/jest": "^29.5.11",
"@types/lodash-es": "4.17.9",
"@types/lodash-es": "4.17.12",
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "6.13.1",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
"@yarnpkg/sdks": "^3.1.0",
"chalk": "^5.3.0",
"depcheck": "^1.4.3",
"eslint": "^8.56.0",
"eslint-plugin-deprecation": "^1.3.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-tailwindcss": "^3.13.1",
"execa": "^5.1.1",
Expand Down Expand Up @@ -89,6 +89,7 @@
}
},
"dependencies": {
"eslint-config-next": "^14.0.4",
"stylelint-scss": "^6.0.0"
}
}
1 change: 0 additions & 1 deletion packages/_root/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"@fern-ui/loadable": "workspace:*",
"@fern-ui/react-commons": "workspace:*",
"@fern-ui/react-query-utils": "workspace:*",
"@fern-ui/routing-utils": "workspace:*",
"@fern-ui/scripts": "workspace:*",
"@fern-ui/split-view": "workspace:*",
"@fern-ui/toaster": "workspace:*",
Expand Down
1 change: 0 additions & 1 deletion packages/_root/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
{ "path": "../commons/react/fonts" },
{ "path": "../commons/react/react-commons" },
{ "path": "../commons/react/react-query-utils" },
{ "path": "../commons/react/routing-utils" },
{ "path": "../commons/react/split-view" },
{ "path": "../commons/react/toaster" },
{ "path": "../scripts" },
Expand Down
2 changes: 1 addition & 1 deletion packages/commons/app-utils/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "ignores": ["@types/jest", "@types/node"], "ignore-patterns": ["lib"] }
{ "ignores": ["@types/jest", "@types/node", "react", "react-dom"], "ignore-patterns": ["lib"] }
7 changes: 6 additions & 1 deletion packages/commons/app-utils/.mrlint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"type": "library",
"private": true
"private": true,
"rules": {
"depcheck": {
"ignores": ["react", "react-dom"]
}
}
}
2 changes: 2 additions & 0 deletions packages/commons/app-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
"@fern-ui/core-utils": "workspace:*",
"lodash-es": "^4.17.21",
"next-mdx-remote": "^4.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"remark-gfm": "^3.0.1"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
display: flex;
min-height: 0;

&.with-vertical-padding {
&.withVerticalPadding {
margin-top: 40px;
margin-bottom: 40px;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.cell {
display: flex;

&.vertical-align-center {
&.verticalAlignCenter {
align-items: center;
}
}
1 change: 0 additions & 1 deletion packages/commons/react/react-commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"depcheck": "depcheck"
},
"dependencies": {
"@blueprintjs/core": "^4.11.5",
"@fern-ui/core-utils": "workspace:*",
"immer": "^9.0.15",
"lodash-es": "^4.17.21",
Expand Down
16 changes: 9 additions & 7 deletions packages/commons/react/react-commons/src/useLocalTextState.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import { EditableTextProps } from "@blueprintjs/core";
import { assertNever } from "@fern-ui/core-utils";
import produce from "immer";
import { useCallback, useReducer } from "react";

export type LocalTextState = Required<
Pick<
EditableTextProps,
"value" | "onChange" | "isEditing" | "onEdit" | "onCancel" | "onConfirm" | "selectAllOnFocus"
>
>;
export interface LocalTextState {
value: string;
onChange(value: string): void;
isEditing: boolean;
onEdit(): void;
onCancel(): void;
onConfirm(value: string): void;
selectAllOnFocus: boolean;
}

export declare namespace useLocalTextState {
export interface Args {
Expand Down
1 change: 0 additions & 1 deletion packages/commons/react/routing-utils/.depcheckrc.json

This file was deleted.

4 changes: 0 additions & 4 deletions packages/commons/react/routing-utils/.mrlint.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/commons/react/routing-utils/.prettierrc.cjs

This file was deleted.

1 change: 0 additions & 1 deletion packages/commons/react/routing-utils/.stylelintrc.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/commons/react/routing-utils/jest.config.ts

This file was deleted.

51 changes: 0 additions & 51 deletions packages/commons/react/routing-utils/package.json

This file was deleted.

This file was deleted.

31 changes: 0 additions & 31 deletions packages/commons/react/routing-utils/src/404/MissingRoute.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions packages/commons/react/routing-utils/src/404/RoutesWith404.tsx

This file was deleted.

25 changes: 0 additions & 25 deletions packages/commons/react/routing-utils/src/LinkButton.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions packages/commons/react/routing-utils/src/Redirect.tsx

This file was deleted.

28 changes: 0 additions & 28 deletions packages/commons/react/routing-utils/src/UnstyledA.tsx

This file was deleted.

36 changes: 0 additions & 36 deletions packages/commons/react/routing-utils/src/UnstyledLink.module.scss

This file was deleted.

Loading

1 comment on commit 8cbef80

@vercel
Copy link

@vercel vercel bot commented on 8cbef80 Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

fern-dev – ./packages/ui/fe-bundle

fern-dev-git-main-buildwithfern.vercel.app
fern-dev-buildwithfern.vercel.app
app-dev.buildwithfern.com

Please sign in to comment.