misskey/packages/frontend/package.json

139 lines
4.6 KiB
JSON
Raw Normal View History

2021-11-12 02:02:25 +09:00
{
2022-12-27 14:36:33 +09:00
"name": "frontend",
2021-11-12 02:02:25 +09:00
"private": true,
"scripts": {
"watch": "vite",
refactor: use Vite to build instead of webpack (#8575) * update stream.ts * https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339 * fix lint * clean up? * add app * fix * nanka iroiro * wip * wip * fix lint * fix loginId * fix * refactor * refactor * remove follow action * clean up * Revert "remove follow action" This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a. * Revert "clean up" This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2. * remove fetch specification * renoteの条件追加 * apiFetch => cli * bypass fetch? * fix * refactor: use path alias * temp: add submodule * remove submodule * enhane: unison-reloadに指定したパスに移動できるように * null * null * feat: ログインするアカウントのIDをクエリ文字列で指定する機能 * null * await? * rename * rename * Update read.ts * merge * get-note-summary * fix * swパッケージに * add missing packages * fix getNoteSummary * add webpack-cli * :v: * remove plugins * sw-inject分離したがテストしてない * fix notification.vue * remove a blank line * disconnect intersection observer * disconnect2 * fix notification.vue * remove a blank line * disconnect intersection observer * disconnect2 * fix * :v: * clean up config * typesを戻した * Update packages/client/src/components/notification.vue Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * disconnect * oops * Failed to load the script unexpectedly回避 sw.jsとlib.tsを分離してみた * truncate notification * Update packages/client/src/ui/_common_/common.vue Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> * clean up * clean up * キャッシュ対策 * Truncate push notification message * クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正 * components/drive-file-thumbnail.vue * components/drive-select-dialog.vue * components/drive-window.vue * merge * fix * Service Workerのビルドにesbuildを使うようにする * return createEmptyNotification() * fix * i18n.ts * update * :v: * remove ts-loader * fix * fix * enhance: Service Workerを常に登録するように * pollEnded * URLをsw.jsに戻す * clean up * wip * wip * wip * wip * wip * wip * :v: * use import * fix * install rollup * use defineAsyncComponent. * fix emojilist * wip use defineAsyncComponent * popup(import -> popup(defineAsyncComponent(() => import * draggable? * fix init import * clean up * fix router * add comment * :v: * :v: * :v: * remove webpack * update vite * fix boot sequence * Revert "fix boot sequence" This reverts commit e893dbf37aed83bf9f12e427d98c78a7065b4a39. * revert boot import * never make two app div * ; * remove console.log * change clientEntry sequence * fix * Revert "fix" This reverts commit 12741b3d89950a31dbb1bb81477ddb27b0e9951a. * fix * add comment https://github.com/misskey-dev/misskey/pull/8575#issuecomment-1114239210 * add log * add comment Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-01 22:51:07 +09:00
"build": "vite build",
2023-04-01 21:54:12 +09:00
"storybook-dev": "chokidar 'src/**/*.{mdx,ts,vue}' -d 1000 -t 1000 --initial -i '**/*.stories.ts' -c 'pkill -f node_modules/storybook/index.js; node_modules/.bin/tsc -p .storybook && node .storybook/generate.js && node .storybook/preload-locale.js && node .storybook/preload-theme.js && node_modules/.bin/storybook dev -p 6006 --ci'",
"build-storybook": "node_modules/.bin/tsc -p .storybook && node .storybook/generate.js && node .storybook/preload-locale.js && node .storybook/preload-theme.js && node_modules/.bin/storybook build",
"test": "vitest --run",
"test-and-coverage": "vitest --run --coverage",
"typecheck": "vue-tsc --noEmit",
"eslint": "eslint --quiet \"src/**/*.{ts,vue}\"",
"lint": "pnpm typecheck && pnpm eslint"
2021-11-12 02:02:25 +09:00
},
"dependencies": {
2023-03-30 12:03:04 +09:00
"@discordapp/twemoji": "14.1.2",
2023-01-22 04:17:58 +09:00
"@rollup/plugin-alias": "4.0.3",
2022-12-19 13:20:47 +09:00
"@rollup/plugin-json": "6.0.0",
refactor: migrate to Yarn Berry (v3.2.1) (#8764) * Yarn berry * Add `.yarn` to dockerignore * Mention in CHANGELOG * Update Dockerfile * Proper upgrade to yarn * use `"packageManager"` * Replace `install-packages.js` with workspaces * Replace `install-packages.js` with workspaces * Typo * `corepack enable` for linting * Remove `packages/*/yarn.lock` * Improve lint workflow * Update .github/workflows/lint.yml Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Update .github/workflows/lint.yml Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Add `eslint` * Regenerate yarn.lock * 🙏‍ * Update lint.yml :thinking: * Fix workflow! * yarn lint my beloved * corepack enable for mocha/e2e * Update CHANGELOG.md * fix the code that depends on node_modules * tbh * tbh * More yarn workspaces stuff * 🍀 * Change `browser-image-resizer` * :finnadie: * :goberserk: * :godmode: * Remove yarnrc for workspaces * 🙏 * Add proper packages for eslint * Skip extra install * New steps for test.yml too * uhh * Update .dockerignore * Update lint.yml * Update test.yml * Make client/backend lints seperate workflows * package.json names * pnpm = dont change paths * Fix changelog * :bowtie: * I don't know why github workflows hates me... * test * ????? * continue-on-error: true * Fix yarn.lock Co-authored-by: ishowta <ishowta@gmail.com> * add @rollup/pluginutils * add packageExtensions for chartjs_date-fns Co-authored-by: acid-chicken <root@acid-chicken.com> * npm run => yarn * wip * yarn node => node 依存関係の記載不足の解消がかなり多いため、yarn nodeは使わない * fix * fix http-signature * fix * fix * add packageExtensions * :v: * remove `yarn set version berry` * yarn install --immutable Co-authored-by: ishowta <ishowta@gmail.com> * https://github.com/misskey-dev/misskey/pull/8764#discussion_r885749892 * enable actions/setup-node's global cache * Update .gitignore Co-authored-by: iwata <ishowta@gmail.com> * revival gulp build https://github.com/misskey-dev/misskey/pull/8764/files/66ab7591bff9b35255219057e33399a06260aa31#r885899944 * fix lockfile * Update packages/backend/package.json Co-authored-by: iwata <ishowta@gmail.com> * remove packagemanager * `yarn run gulp` in `build` instead of just `gulp` * Update CHANGELOG.md * update lockfile * Add .yarn/cache to gitignore for packages * ? * move resolutions * :v: * update lockfie * update-lockfile * update yarn.lock * fix build * fix * fix * fix: add @tensorflow/tfjs * ダメ * modify lockfile * use yarnrc * update yarnlock * add jest-mock * update-lockfile * update lockfile * update lockfile * move jest-mock, update lockfile Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: tamaina <tamaina@hotmail.co.jp> Co-authored-by: ishowta <ishowta@gmail.com>
2022-11-24 15:39:00 +09:00
"@rollup/pluginutils": "5.0.2",
2023-03-17 20:41:25 +09:00
"@syuilo/aiscript": "0.13.1",
2023-03-30 12:03:04 +09:00
"@tabler/icons-webfont": "2.12.0",
"@vitejs/plugin-vue": "4.1.0",
2023-02-03 14:44:09 +09:00
"@vue/compiler-sfc": "3.2.47",
2022-11-29 13:14:57 +09:00
"autosize": "5.0.2",
2023-02-20 17:04:57 +09:00
"blurhash": "2.0.5",
2023-01-22 04:17:58 +09:00
"broadcast-channel": "4.20.2",
"browser-image-resizer": "github:misskey-dev/browser-image-resizer#v2.2.1-misskey.3",
2023-02-03 14:44:09 +09:00
"canvas-confetti": "1.6.0",
2023-02-20 17:04:57 +09:00
"chart.js": "4.2.1",
2022-12-19 13:20:47 +09:00
"chartjs-adapter-date-fns": "3.0.0",
2023-02-09 09:25:31 +09:00
"chartjs-chart-matrix": "2.0.1",
2022-12-10 16:38:41 +09:00
"chartjs-plugin-gradient": "0.6.1",
2023-03-30 12:03:04 +09:00
"chartjs-plugin-zoom": "2.0.1",
2022-08-27 16:34:14 +09:00
"compare-versions": "5.0.1",
2022-12-28 18:28:01 +09:00
"cropperjs": "2.0.0-beta.2",
2022-09-20 07:33:27 +09:00
"date-fns": "2.29.3",
2021-11-12 02:02:25 +09:00
"escape-regexp": "0.0.1",
2022-11-29 13:14:57 +09:00
"eventemitter3": "5.0.0",
2023-03-30 12:03:04 +09:00
"gsap": "3.11.5",
2022-07-01 00:21:25 +09:00
"idb-keyval": "6.2.0",
2021-11-12 02:02:25 +09:00
"insert-text-at-cursor": "0.3.0",
2022-12-19 13:20:47 +09:00
"is-file-animated": "1.0.2",
2023-01-02 20:02:51 +09:00
"json5": "2.2.3",
2023-02-20 17:04:57 +09:00
"matter-js": "0.19.0",
2023-01-14 09:02:33 +09:00
"mfm-js": "0.23.3",
2023-03-30 22:01:00 +09:00
"misskey-js": "workspace:*",
2023-03-30 12:03:04 +09:00
"photoswipe": "5.3.7",
2022-08-27 16:34:14 +09:00
"prismjs": "1.29.0",
2023-01-22 04:17:58 +09:00
"punycode": "2.3.0",
2021-11-14 10:43:19 +09:00
"querystring": "0.2.1",
2021-11-12 02:02:25 +09:00
"rndstr": "1.0.0",
2023-03-30 12:03:04 +09:00
"rollup": "3.20.2",
2021-11-12 02:02:25 +09:00
"s-age": "1.1.2",
2023-02-20 17:04:57 +09:00
"sanitize-html": "2.10.0",
2023-03-30 12:03:04 +09:00
"sass": "1.60.0",
2021-11-12 02:02:25 +09:00
"seedrandom": "3.0.5",
"strict-event-emitter-types": "2.0.0",
"syuilo-password-strength": "0.0.1",
"textarea-caret": "3.1.0",
2023-03-10 14:00:14 +09:00
"three": "0.150.1",
2022-05-25 23:28:56 +09:00
"throttle-debounce": "5.0.0",
2023-02-09 09:25:31 +09:00
"tinycolor2": "1.6.0",
2023-03-30 12:03:04 +09:00
"tsc-alias": "1.8.5",
"tsconfig-paths": "4.2.0",
2022-03-19 19:22:58 +09:00
"twemoji-parser": "14.0.0",
2023-03-30 12:03:04 +09:00
"typescript": "5.0.2",
2022-09-10 19:14:07 +09:00
"uuid": "9.0.0",
2022-12-19 13:20:47 +09:00
"vanilla-tilt": "1.8.0",
2023-03-30 12:03:04 +09:00
"vite": "4.2.1",
2023-02-03 14:44:09 +09:00
"vue": "3.2.47",
"vue-plyr": "7.0.0",
"vue-prism-editor": "2.0.0-alpha.2",
"vuedraggable": "next"
2021-11-12 02:02:25 +09:00
},
"devDependencies": {
2023-03-30 23:00:01 +09:00
"@storybook/addon-essentials": "7.0.0-rc.10",
"@storybook/addon-interactions": "7.0.0-rc.10",
"@storybook/addon-links": "7.0.0-rc.10",
"@storybook/addon-storysource": "7.0.0-rc.10",
"@storybook/addons": "7.0.0-rc.10",
2023-03-30 23:00:01 +09:00
"@storybook/blocks": "7.0.0-rc.10",
"@storybook/core-events": "7.0.0-rc.10",
2023-03-25 23:32:47 +09:00
"@storybook/jest": "0.0.10",
2023-03-30 23:00:01 +09:00
"@storybook/manager-api": "7.0.0-rc.10",
"@storybook/preview-api": "7.0.0-rc.10",
"@storybook/react": "7.0.0-rc.10",
"@storybook/react-vite": "7.0.0-rc.10",
2023-03-25 23:32:47 +09:00
"@storybook/testing-library": "0.0.14-next.1",
2023-03-30 23:00:01 +09:00
"@storybook/theming": "7.0.0-rc.10",
"@storybook/types": "7.0.0-rc.10",
"@storybook/vue3": "7.0.0-rc.10",
"@storybook/vue3-vite": "7.0.0-rc.10",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/vue": "^6.6.1",
"@types/escape-regexp": "0.0.1",
2023-03-19 22:22:14 +09:00
"@types/estree": "^1.0.0",
2022-11-19 10:25:16 +09:00
"@types/gulp": "4.0.10",
"@types/gulp-rename": "2.0.1",
2022-09-20 07:33:27 +09:00
"@types/matter-js": "0.18.2",
2023-03-30 12:03:04 +09:00
"@types/node": "18.15.11",
"@types/punycode": "2.1.0",
2023-03-30 12:03:04 +09:00
"@types/sanitize-html": "2.9.0",
2023-02-26 18:51:45 +09:00
"@types/seedrandom": "3.0.5",
"@types/testing-library__jest-dom": "^5.14.5",
2022-05-14 14:57:51 +09:00
"@types/throttle-debounce": "5.0.0",
"@types/tinycolor2": "1.4.3",
2023-02-26 18:51:45 +09:00
"@types/uuid": "9.0.1",
refactor: migrate to Yarn Berry (v3.2.1) (#8764) * Yarn berry * Add `.yarn` to dockerignore * Mention in CHANGELOG * Update Dockerfile * Proper upgrade to yarn * use `"packageManager"` * Replace `install-packages.js` with workspaces * Replace `install-packages.js` with workspaces * Typo * `corepack enable` for linting * Remove `packages/*/yarn.lock` * Improve lint workflow * Update .github/workflows/lint.yml Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Update .github/workflows/lint.yml Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Add `eslint` * Regenerate yarn.lock * 🙏‍ * Update lint.yml :thinking: * Fix workflow! * yarn lint my beloved * corepack enable for mocha/e2e * Update CHANGELOG.md * fix the code that depends on node_modules * tbh * tbh * More yarn workspaces stuff * 🍀 * Change `browser-image-resizer` * :finnadie: * :goberserk: * :godmode: * Remove yarnrc for workspaces * 🙏 * Add proper packages for eslint * Skip extra install * New steps for test.yml too * uhh * Update .dockerignore * Update lint.yml * Update test.yml * Make client/backend lints seperate workflows * package.json names * pnpm = dont change paths * Fix changelog * :bowtie: * I don't know why github workflows hates me... * test * ????? * continue-on-error: true * Fix yarn.lock Co-authored-by: ishowta <ishowta@gmail.com> * add @rollup/pluginutils * add packageExtensions for chartjs_date-fns Co-authored-by: acid-chicken <root@acid-chicken.com> * npm run => yarn * wip * yarn node => node 依存関係の記載不足の解消がかなり多いため、yarn nodeは使わない * fix * fix http-signature * fix * fix * add packageExtensions * :v: * remove `yarn set version berry` * yarn install --immutable Co-authored-by: ishowta <ishowta@gmail.com> * https://github.com/misskey-dev/misskey/pull/8764#discussion_r885749892 * enable actions/setup-node's global cache * Update .gitignore Co-authored-by: iwata <ishowta@gmail.com> * revival gulp build https://github.com/misskey-dev/misskey/pull/8764/files/66ab7591bff9b35255219057e33399a06260aa31#r885899944 * fix lockfile * Update packages/backend/package.json Co-authored-by: iwata <ishowta@gmail.com> * remove packagemanager * `yarn run gulp` in `build` instead of just `gulp` * Update CHANGELOG.md * update lockfile * Add .yarn/cache to gitignore for packages * ? * move resolutions * :v: * update lockfie * update-lockfile * update yarn.lock * fix build * fix * fix * fix: add @tensorflow/tfjs * ダメ * modify lockfile * use yarnrc * update yarnlock * add jest-mock * update-lockfile * update lockfile * update lockfile * move jest-mock, update lockfile Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: tamaina <tamaina@hotmail.co.jp> Co-authored-by: ishowta <ishowta@gmail.com>
2022-11-24 15:39:00 +09:00
"@types/websocket": "1.0.5",
2023-01-02 20:02:51 +09:00
"@types/ws": "8.5.4",
2023-03-30 12:03:04 +09:00
"@typescript-eslint/eslint-plugin": "5.57.0",
"@typescript-eslint/parser": "5.57.0",
"@vitest/coverage-c8": "^0.29.8",
2023-02-03 14:44:09 +09:00
"@vue/runtime-core": "3.2.47",
2023-03-19 22:22:14 +09:00
"astring": "^1.8.4",
2023-04-01 14:14:05 +09:00
"chokidar-cli": "^3.0.0",
"chromatic": "^6.17.2",
2021-11-12 02:02:25 +09:00
"cross-env": "7.0.3",
2023-03-30 12:03:04 +09:00
"cypress": "12.9.0",
"eslint": "8.37.0",
2023-01-22 04:17:58 +09:00
"eslint-plugin-import": "2.27.5",
2023-03-30 12:03:04 +09:00
"eslint-plugin-vue": "9.10.0",
"happy-dom": "8.9.0",
"msw": "^1.1.0",
"msw-storybook-addon": "^1.8.0",
2023-03-19 22:22:14 +09:00
"prettier": "^2.8.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
2023-03-10 14:00:14 +09:00
"start-server-and-test": "2.0.0",
2023-03-30 23:00:01 +09:00
"storybook": "7.0.0-rc.10",
2023-03-21 02:05:00 +09:00
"storybook-addon-misskey-theme": "github:misskey-dev/storybook-addon-misskey-theme",
"summaly": "github:misskey-dev/summaly",
2023-04-01 18:18:11 +09:00
"vite-plugin-static-copy": "^0.13.1",
2023-03-30 12:03:04 +09:00
"vitest": "^0.29.8",
"vitest-fetch-mock": "^0.2.2",
2023-02-03 14:44:09 +09:00
"vue-eslint-parser": "9.1.0",
2023-02-26 18:51:45 +09:00
"vue-tsc": "1.2.0"
2021-11-12 02:02:25 +09:00
}
2023-02-26 18:51:45 +09:00
}