Skip to content

Commit

Permalink
update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
webbestmaster committed Jul 6, 2024
1 parent 3492916 commit 307c00e
Show file tree
Hide file tree
Showing 33 changed files with 219 additions and 293 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# - run: npm i @types/react
# - run: npm i @types/react-dom
- run: npm install
- run: npm i -D @types/react
- run: npm i -D @types/react-dom
- run: npm i -D react
- run: npm i -D react-dom
- run: npm install

- run: npm run front:build
- run: npm run front:build-library
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/library.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export type { SystemScreenDataType, SystemHookType, RectangleSizeType } from "./src/system-hook-type";
export { ScreenWidthNameEnum } from "./src/system-hook-type";
export { useSystem } from "./src/system-hook";
export { useDocumentVisibility } from "./src/document-visibility-hook";
export { useScreenHeight } from "./src/screen-height-hook";
export { useScreenSize } from "./src/screen-size-hook";
export { useScreenWidth } from "./src/screen-width-hook";
export { useScreenHeight } from "./src/screen-height-hook";
export { useDocumentVisibility } from "./src/document-visibility-hook";
export { useSystem } from "./src/system-hook";
export { screenMinWidth } from "./src/system-hook-const";
export { getScreenName } from "./src/system-hook-helper";
export type { RectangleSizeType, SystemHookType, SystemScreenDataType } from "./src/system-hook-type";
export { ScreenWidthNameEnum } from "./src/system-hook-type";
export { getDocumentIsVisible } from "./src/util/system";
8 changes: 4 additions & 4 deletions dist/library.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/library.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/screen-height-hook.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/screen-height-hook.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/screen-size-hook.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/screen-size-hook.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/screen-width-hook.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/screen-width-hook.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/system-hook-helper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 307c00e

Please sign in to comment.