2022-10-14 08:26:06 +03:00
|
|
|
{
|
2023-07-18 19:53:10 +03:00
|
|
|
"name": "@affine/core",
|
|
|
|
"type": "module",
|
2023-03-01 10:40:01 +03:00
|
|
|
"private": true,
|
2024-01-25 08:17:35 +03:00
|
|
|
"version": "0.12.0",
|
2022-10-14 08:26:06 +03:00
|
|
|
"scripts": {
|
2023-07-18 19:53:10 +03:00
|
|
|
"build": "yarn -T run build-core",
|
|
|
|
"dev": "yarn -T run dev-core",
|
2023-08-22 02:36:39 +03:00
|
|
|
"static-server": "yarn -T run dev-core --static"
|
2022-10-14 08:26:06 +03:00
|
|
|
},
|
2023-08-15 23:34:02 +03:00
|
|
|
"exports": {
|
|
|
|
"./app": "./src/app.tsx",
|
|
|
|
"./router": "./src/router.ts",
|
2023-08-16 11:01:14 +03:00
|
|
|
"./bootstrap/setup": "./src/bootstrap/setup.ts",
|
2023-09-22 17:31:26 +03:00
|
|
|
"./bootstrap/register-plugins": "./src/bootstrap/register-plugins.ts",
|
2023-12-06 11:45:54 +03:00
|
|
|
"./*": "./src/*"
|
2023-08-15 23:34:02 +03:00
|
|
|
},
|
2022-10-14 08:26:06 +03:00
|
|
|
"dependencies": {
|
2023-03-30 04:44:51 +03:00
|
|
|
"@affine-test/fixtures": "workspace:*",
|
2023-02-09 07:19:11 +03:00
|
|
|
"@affine/component": "workspace:*",
|
2023-03-02 05:13:45 +03:00
|
|
|
"@affine/debug": "workspace:*",
|
2023-12-27 09:38:37 +03:00
|
|
|
"@affine/electron-api": "workspace:*",
|
2023-03-02 04:26:55 +03:00
|
|
|
"@affine/env": "workspace:*",
|
2023-04-25 05:13:52 +03:00
|
|
|
"@affine/graphql": "workspace:*",
|
2023-02-23 10:07:46 +03:00
|
|
|
"@affine/i18n": "workspace:*",
|
2023-03-22 01:39:13 +03:00
|
|
|
"@affine/templates": "workspace:*",
|
2024-01-02 13:58:01 +03:00
|
|
|
"@affine/workspace-impl": "workspace:*",
|
2024-02-01 11:28:22 +03:00
|
|
|
"@blocksuite/block-std": "0.12.0-canary-202402010557-e8d6e1d",
|
|
|
|
"@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",
|
|
|
|
"@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",
|
2024-01-29 10:39:17 +03:00
|
|
|
"@blocksuite/icons": "2.1.44",
|
2024-02-01 11:28:22 +03:00
|
|
|
"@blocksuite/inline": "0.12.0-canary-202402010557-e8d6e1d",
|
|
|
|
"@blocksuite/lit": "0.12.0-canary-202402010557-e8d6e1d",
|
|
|
|
"@blocksuite/presets": "0.12.0-canary-202402010557-e8d6e1d",
|
|
|
|
"@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",
|
2023-04-06 21:21:45 +03:00
|
|
|
"@dnd-kit/core": "^6.0.8",
|
2023-11-23 08:18:05 +03:00
|
|
|
"@dnd-kit/sortable": "^8.0.0",
|
2023-05-08 06:23:55 +03:00
|
|
|
"@emotion/cache": "^11.11.0",
|
2023-06-15 10:03:20 +03:00
|
|
|
"@emotion/react": "^11.11.1",
|
2023-05-08 06:23:55 +03:00
|
|
|
"@emotion/server": "^11.11.0",
|
|
|
|
"@emotion/styled": "^11.11.0",
|
2023-12-28 11:00:13 +03:00
|
|
|
"@marsidev/react-turnstile": "^0.4.0",
|
2023-11-10 13:25:59 +03:00
|
|
|
"@radix-ui/react-collapsible": "^1.0.3",
|
|
|
|
"@radix-ui/react-dialog": "^1.0.4",
|
2024-01-10 14:09:39 +03:00
|
|
|
"@radix-ui/react-popover": "^1.0.7",
|
2023-11-10 13:25:59 +03:00
|
|
|
"@radix-ui/react-scroll-area": "^1.0.5",
|
2023-10-12 05:46:52 +03:00
|
|
|
"@radix-ui/react-select": "^2.0.0",
|
2024-01-10 14:09:39 +03:00
|
|
|
"@radix-ui/react-toolbar": "^1.0.4",
|
chore: bump up @react-hookz/web version to v24 (#5359)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@react-hookz/web](https://togithub.com/react-hookz/web) | [`^23.1.0` -> `^24.0.0`](https://renovatebot.com/diffs/npm/@react-hookz%2fweb/23.1.0/24.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@react-hookz%2fweb/24.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@react-hookz%2fweb/24.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@react-hookz%2fweb/23.1.0/24.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@react-hookz%2fweb/23.1.0/24.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>react-hookz/web (@​react-hookz/web)</summary>
### [`v24.0.1`](https://togithub.com/react-hookz/web/blob/HEAD/CHANGELOG.md#2401-2023-12-20)
[Compare Source](https://togithub.com/react-hookz/web/compare/v24.0.0...v24.0.1)
##### Bug Fixes
- change build so development and distributed imports match ([6383cdd](https://togithub.com/react-hookz/web/commit/6383cdd5581d60aac3c0000686ebd4139eac6e65))
### [`v24.0.0`](https://togithub.com/react-hookz/web/blob/HEAD/CHANGELOG.md#2400-2023-12-20)
[Compare Source](https://togithub.com/react-hookz/web/compare/v23.1.0...v24.0.0)
##### Features
- switch package to module type ([#​1472](https://togithub.com/react-hookz/web/issues/1472)) ([50921ef](https://togithub.com/react-hookz/web/commit/50921efda58aefcd52d50bfff27c31755c9253d9))
##### BREAKING CHANGES
- Hooks are now distrubutes as JS built form TS with target ESNext and ESM module resolution. There is no more sense to distribute CJS version as package is ESM-only.
Consequent of above - no more esm and cjs subfolders - hooks are importable from index.js or its own directory which don't have a prefix anymore, thanks to exports directive. All of below examples will lead to same result, choose any on your taste:
import { useFirstMountState } from '[@​react-hookz/web](https://togithub.com/react-hookz/web)';
import { useFirstMountState } from '@​react-hookz/web/';
import { useFirstMountState } from '@​react-hookz/web/useFirstMountState/';
import { useFirstMountState } from '@​react-hookz/web/useFirstMountState/index.js';
Thought is seems not to have subfolder, it is only due to exports directive, in real it is
@​react-hookz/web/dist/useFirstMountState/index.js.
Pakage uses imports directive to define path alias #root - it stays so even in distributed code, thus, some may be affected in case their bundler configured to somehow handle such alias. Those developer shoud configure import rewriter not to handle node_modules or [@​react-hookz/web](https://togithub.com/react-hookz/web) package exclusively.
Side-effect for current PR - documentation is broken, as storybook 6 is not working within ESM packages and I'm planning to switch to another domenting engine anyway.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2023-12-21 10:45:32 +03:00
|
|
|
"@react-hookz/web": "^24.0.0",
|
2023-12-01 10:25:08 +03:00
|
|
|
"@sentry/integrations": "^7.83.0",
|
|
|
|
"@sentry/react": "^7.83.0",
|
2024-01-24 05:43:19 +03:00
|
|
|
"@toeverything/theme": "^0.7.29",
|
2023-11-10 13:25:59 +03:00
|
|
|
"@vanilla-extract/dynamic": "^2.0.3",
|
2023-12-19 10:18:00 +03:00
|
|
|
"animejs": "^3.2.2",
|
2023-06-24 20:16:46 +03:00
|
|
|
"async-call-rpc": "^6.3.1",
|
2023-10-25 11:18:30 +03:00
|
|
|
"bytes": "^3.1.2",
|
2023-11-10 13:25:59 +03:00
|
|
|
"clsx": "^2.0.0",
|
2024-01-10 08:25:37 +03:00
|
|
|
"cmdk": "patch:cmdk@npm%3A0.2.0#~/.yarn/patches/cmdk-npm-0.2.0-302237a911.patch",
|
2022-10-17 07:55:34 +03:00
|
|
|
"css-spring": "^4.1.0",
|
2023-07-18 19:53:10 +03:00
|
|
|
"cssnano": "^6.0.1",
|
2023-11-10 13:25:59 +03:00
|
|
|
"dayjs": "^1.11.10",
|
|
|
|
"foxact": "^0.2.20",
|
2023-09-29 06:02:26 +03:00
|
|
|
"graphql": "^16.8.1",
|
2023-12-05 11:38:03 +03:00
|
|
|
"idb": "^8.0.0",
|
2023-12-15 10:20:50 +03:00
|
|
|
"image-blob-reduce": "^4.1.0",
|
2023-08-30 02:21:18 +03:00
|
|
|
"intl-segmenter-polyfill-rs": "^0.1.6",
|
2023-11-23 08:18:05 +03:00
|
|
|
"jotai": "^2.5.1",
|
2023-10-16 15:47:06 +03:00
|
|
|
"jotai-devtools": "^0.7.0",
|
2023-12-08 06:20:02 +03:00
|
|
|
"jotai-effect": "^0.2.3",
|
2024-01-10 14:09:39 +03:00
|
|
|
"jotai-scope": "^0.4.1",
|
2023-11-08 10:12:48 +03:00
|
|
|
"lit": "^3.0.2",
|
2024-01-06 06:27:08 +03:00
|
|
|
"lodash-es": "^4.17.21",
|
2024-01-10 14:09:39 +03:00
|
|
|
"lottie-react": "^2.4.0",
|
2023-06-15 10:03:20 +03:00
|
|
|
"lottie-web": "^5.12.2",
|
2023-07-18 19:53:10 +03:00
|
|
|
"mini-css-extract-plugin": "^2.7.6",
|
2023-11-23 08:18:05 +03:00
|
|
|
"nanoid": "^5.0.3",
|
|
|
|
"next-auth": "^4.24.5",
|
2023-03-04 10:36:20 +03:00
|
|
|
"next-themes": "^0.2.1",
|
2024-01-17 05:56:58 +03:00
|
|
|
"postcss-loader": "^8.0.0",
|
2023-07-14 08:33:43 +03:00
|
|
|
"react": "18.2.0",
|
|
|
|
"react-dom": "18.2.0",
|
2023-11-10 13:25:59 +03:00
|
|
|
"react-error-boundary": "^4.0.11",
|
2023-07-18 19:53:10 +03:00
|
|
|
"react-is": "18.2.0",
|
2023-10-10 20:51:47 +03:00
|
|
|
"react-router-dom": "^6.16.0",
|
2024-01-10 14:09:39 +03:00
|
|
|
"react-virtuoso": "^4.6.2",
|
2023-05-08 21:21:15 +03:00
|
|
|
"rxjs": "^7.8.1",
|
2023-12-20 07:11:34 +03:00
|
|
|
"ses": "^1.0.0",
|
2023-10-18 11:06:07 +03:00
|
|
|
"swr": "2.2.4",
|
2023-11-10 13:25:59 +03:00
|
|
|
"uuid": "^9.0.1",
|
2023-08-29 14:21:04 +03:00
|
|
|
"valtio": "^1.11.2",
|
2023-09-29 06:02:26 +03:00
|
|
|
"y-protocols": "^1.0.6",
|
2023-11-23 08:18:05 +03:00
|
|
|
"yjs": "^13.6.10",
|
2023-10-10 20:51:47 +03:00
|
|
|
"zod": "^3.22.4"
|
2022-10-14 08:26:06 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-01-25 13:59:53 +03:00
|
|
|
"@aws-sdk/client-s3": "3.499.0",
|
2024-01-19 05:46:47 +03:00
|
|
|
"@perfsee/webpack": "^1.10.0",
|
2023-08-16 22:53:33 +03:00
|
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
2023-10-16 15:47:06 +03:00
|
|
|
"@sentry/webpack-plugin": "^2.8.0",
|
|
|
|
"@swc/core": "^1.3.93",
|
2023-11-10 13:25:59 +03:00
|
|
|
"@testing-library/react": "^14.0.0",
|
2023-12-19 10:18:00 +03:00
|
|
|
"@types/animejs": "^3",
|
2023-10-25 11:18:30 +03:00
|
|
|
"@types/bytes": "^3.1.3",
|
2023-12-15 10:20:50 +03:00
|
|
|
"@types/image-blob-reduce": "^4.1.3",
|
2023-09-01 02:50:03 +03:00
|
|
|
"@types/lodash-es": "^4.17.9",
|
2023-11-10 13:25:59 +03:00
|
|
|
"@types/uuid": "^9.0.5",
|
2023-10-16 15:47:06 +03:00
|
|
|
"@types/webpack-env": "^1.18.2",
|
2024-01-06 07:20:01 +03:00
|
|
|
"@vanilla-extract/css": "^1.13.0",
|
2024-01-16 18:44:17 +03:00
|
|
|
"copy-webpack-plugin": "^12.0.0",
|
2023-07-18 19:53:10 +03:00
|
|
|
"css-loader": "^6.8.1",
|
2023-06-30 20:17:31 +03:00
|
|
|
"express": "^4.18.2",
|
2023-11-10 13:25:59 +03:00
|
|
|
"fake-indexeddb": "^5.0.0",
|
2023-07-18 19:53:10 +03:00
|
|
|
"html-webpack-plugin": "^5.5.3",
|
2023-08-29 13:07:05 +03:00
|
|
|
"lodash-es": "^4.17.21",
|
|
|
|
"mime-types": "^2.1.35",
|
2023-01-09 06:49:37 +03:00
|
|
|
"raw-loader": "^4.0.2",
|
2024-01-16 06:14:57 +03:00
|
|
|
"source-map-loader": "^5.0.0",
|
2023-07-19 18:52:21 +03:00
|
|
|
"style-loader": "^3.3.3",
|
2023-07-18 19:53:10 +03:00
|
|
|
"swc-loader": "^0.2.3",
|
2023-08-11 22:36:10 +03:00
|
|
|
"swc-plugin-coverage-instrument": "^0.0.20",
|
2023-07-18 19:53:10 +03:00
|
|
|
"thread-loader": "^4.0.2",
|
2024-01-05 12:53:28 +03:00
|
|
|
"vitest": "1.1.3",
|
2023-10-16 15:47:06 +03:00
|
|
|
"webpack": "^5.89.0",
|
2023-07-18 19:53:10 +03:00
|
|
|
"webpack-cli": "^5.1.4",
|
|
|
|
"webpack-dev-server": "^4.15.1",
|
|
|
|
"webpack-merge": "^5.9.0"
|
|
|
|
}
|
2022-10-14 08:26:06 +03:00
|
|
|
}
|