misskey/packages/frontend/package.json

144 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'",
2023-04-02 22:54:52 +09:00
"build-storybook": "tsc -p .storybook && node .storybook/generate.js && node .storybook/preload-locale.js && node .storybook/preload-theme.js && storybook build",
2023-04-02 14:59:19 +09:00
"chromatic": "chromatic",
"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-04-19 12:52:14 +09:00
"@rollup/plugin-alias": "5.0.0",
2022-12-19 13:20:47 +09:00
"@rollup/plugin-json": "6.0.0",
2023-05-12 11:41:53 +09:00
"@rollup/plugin-replace": "5.0.2",
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-05-14 20:08:32 +09:00
"@syuilo/aiscript": "0.13.3",
2023-07-07 10:53:06 +09:00
"@tabler/icons-webfont": "2.24.0",
2023-05-17 14:11:32 +09:00
"@vitejs/plugin-vue": "4.2.3",
2023-07-07 10:53:06 +09:00
"@vue-macros/reactivity-transform": "0.3.11",
2023-05-19 16:34:56 +09:00
"@vue/compiler-sfc": "3.3.4",
2023-06-02 11:34:38 +09:00
"astring": "1.8.6",
2023-05-17 14:11:32 +09:00
"autosize": "6.0.1",
2023-06-02 11:34:38 +09:00
"broadcast-channel": "5.1.0",
"browser-image-resizer": "github:misskey-dev/browser-image-resizer#v2.2.1-misskey.3",
2023-06-24 18:22:53 +09:00
"buraha": "0.0.1",
2023-02-03 14:44:09 +09:00
"canvas-confetti": "1.6.0",
2023-05-02 20:52:36 +09:00
"chart.js": "4.3.0",
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",
2023-06-24 13:11:53 +09:00
"chromatic": "6.19.9",
2023-05-12 11:41:53 +09:00
"compare-versions": "5.0.3",
2023-06-24 13:11:53 +09:00
"cropperjs": "2.0.0-beta.3",
2023-05-02 20:52:36 +09:00
"date-fns": "2.30.0",
2021-11-12 02:02:25 +09:00
"escape-regexp": "0.0.1",
"estree-walker": "^3.0.3",
2023-05-02 20:52:36 +09:00
"eventemitter3": "5.0.1",
2023-07-07 10:53:06 +09:00
"gsap": "3.12.2",
2023-05-12 11:41:53 +09:00
"idb-keyval": "6.2.1",
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-07-07 10:53:06 +09:00
"photoswipe": "5.3.8",
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",
2023-07-07 10:53:06 +09:00
"rollup": "3.26.2",
2021-11-12 02:02:25 +09:00
"s-age": "1.1.2",
2023-06-24 13:11:53 +09:00
"sanitize-html": "2.11.0",
"sass": "1.63.6",
2021-11-12 02:02:25 +09:00
"strict-event-emitter-types": "2.0.0",
"syuilo-password-strength": "0.0.1",
"textarea-caret": "3.1.0",
2023-07-07 10:53:06 +09:00
"three": "0.154.0",
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-07-07 10:53:06 +09:00
"tsc-alias": "1.8.7",
2023-03-30 12:03:04 +09:00
"tsconfig-paths": "4.2.0",
2022-03-19 19:22:58 +09:00
"twemoji-parser": "14.0.0",
2023-07-07 10:53:06 +09:00
"typescript": "5.1.6",
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-07-07 10:53:06 +09:00
"vite": "4.4.1",
2023-05-19 16:34:56 +09:00
"vue": "3.3.4",
"vue-prism-editor": "2.0.0-alpha.2",
"vuedraggable": "next"
2021-11-12 02:02:25 +09:00
},
"devDependencies": {
2023-07-07 10:53:06 +09:00
"@storybook/addon-actions": "7.0.26",
"@storybook/addon-essentials": "7.0.26",
"@storybook/addon-interactions": "7.0.26",
"@storybook/addon-links": "7.0.26",
"@storybook/addon-storysource": "7.0.26",
"@storybook/addons": "7.0.26",
"@storybook/blocks": "7.0.26",
"@storybook/core-events": "7.0.26",
2023-04-04 15:01:55 +09:00
"@storybook/jest": "0.1.0",
2023-07-07 10:53:06 +09:00
"@storybook/manager-api": "7.0.26",
"@storybook/preview-api": "7.0.26",
"@storybook/react": "7.0.26",
"@storybook/react-vite": "7.0.26",
"@storybook/testing-library": "0.2.0",
"@storybook/theming": "7.0.26",
"@storybook/types": "7.0.26",
"@storybook/vue3": "7.0.26",
"@storybook/vue3-vite": "7.0.26",
2023-04-06 20:22:26 +09:00
"@testing-library/jest-dom": "5.16.5",
"@testing-library/vue": "7.0.0",
"@types/escape-regexp": "0.0.1",
2023-04-21 09:02:49 +09:00
"@types/estree": "1.0.1",
2023-07-07 10:53:06 +09:00
"@types/gulp": "4.0.13",
2023-05-12 11:41:53 +09:00
"@types/gulp-rename": "2.0.2",
2023-05-29 17:52:55 +09:00
"@types/matter-js": "0.18.5",
2023-04-19 12:52:14 +09:00
"@types/micromatch": "4.0.2",
2023-07-07 10:53:06 +09:00
"@types/node": "20.4.0",
"@types/punycode": "2.1.0",
2023-03-30 12:03:04 +09:00
"@types/sanitize-html": "2.9.0",
2023-07-07 10:53:06 +09:00
"@types/testing-library__jest-dom": "5.14.7",
2022-05-14 14:57:51 +09:00
"@types/throttle-debounce": "5.0.0",
"@types/tinycolor2": "1.4.3",
2023-06-24 13:11:53 +09:00
"@types/uuid": "9.0.2",
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-06-24 13:11:53 +09:00
"@types/ws": "8.5.5",
2023-07-07 10:53:06 +09:00
"@typescript-eslint/eslint-plugin": "5.61.0",
"@typescript-eslint/parser": "5.61.0",
"@vitest/coverage-v8": "0.33.0",
2023-05-19 16:34:56 +09:00
"@vue/runtime-core": "3.3.4",
2023-07-07 10:53:06 +09:00
"acorn": "8.10.0",
ci(#10336): use TurboSnap (#10494) * ci(#10336): use TurboSnap * build: fix version * ci(#10336): update build dir * chore(#10336): fire changes * chore: stabilize icon width on `PageHeader` * chore: fire changes * ci: invalid ignore * ci: trace logs * chore: debug * revert: debug This reverts commit 2329165e252640504ef17e97389e0460ada83e70. * chore: do not reuse build dir * build: scripts * ci: tweak * revert: re-revert debug This reverts commit 596ef05d9eabe11c0ec3125fa4a87071d59b9b2f. * chore: detect changes manually * fix: syntax * ci: do not use only-changed * ci: fix command * revert: re-re-revert debug This reverts commit b027170d7504277006ce9abac386df8c38d55fd2. * ci: use build dir * revert: re-re-re-revert debug This reverts commit 529ab126ed63ec10eeeaaee3e9ef581b75e739c9. * ci: fix path * revert: re-re-re-re-revert debug This reverts commit 0b0c0b9ea48d37d617b777e9f602ccf8a2400381. * ci: fix typo * ci: only show story files * revert: re-re-re-re-re-revert debug This reverts commit 9f5b88df3225f23efd72bb099cfebe359af7acdb. * ci: skip when no stories found * ci: use skip * revert: re-re-re-re-re-re-revert debug This reverts commit 0df4bdc30bbf425c8682594d500a6d986517e721. * ci: fix micromatch version * revert: re-re-re-re-re-re-re-revert debug This reverts commit 63063b02bbcb37e85b93afe3f919b185425ddcf0. * revert: re-re-re-re-re-re-re-re-revert debug This reverts commit 01d9669e2a2c758c478bad5379fe19768e2096bc. * chore: pin tabler icon width globally * ci: notify when Chromatic skips * ci: fix endpoint --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-07 20:34:23 +09:00
"chokidar-cli": "3.0.0",
2021-11-12 02:02:25 +09:00
"cross-env": "7.0.3",
2023-07-07 10:53:06 +09:00
"cypress": "12.17.0",
"eslint": "8.44.0",
2023-01-22 04:17:58 +09:00
"eslint-plugin-import": "2.27.5",
2023-07-07 10:53:06 +09:00
"eslint-plugin-vue": "9.15.1",
"fast-glob": "3.3.0",
"happy-dom": "10.0.3",
"micromatch": "4.0.5",
2023-06-24 13:11:53 +09:00
"msw": "1.2.2",
2023-04-06 20:29:17 +09:00
"msw-storybook-addon": "1.8.0",
2023-07-07 10:53:06 +09:00
"prettier": "3.0.0",
2023-04-06 20:22:26 +09:00
"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-07-07 10:53:06 +09:00
"storybook": "7.0.26",
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-05-02 20:52:36 +09:00
"vite-plugin-turbosnap": "1.0.2",
2023-07-07 10:53:06 +09:00
"vitest": "0.33.0",
2023-04-06 20:22:26 +09:00
"vitest-fetch-mock": "0.2.2",
2023-06-24 13:11:53 +09:00
"vue-eslint-parser": "9.3.1",
2023-07-07 10:53:06 +09:00
"vue-tsc": "1.8.4"
2021-11-12 02:02:25 +09:00
}
2023-02-26 18:51:45 +09:00
}