Sharkey/packages/frontend/package.json

146 lines
4.7 KiB
JSON
Raw Normal View History

2021-11-11 18:02:25 +01:00
{
2022-12-27 06:36:33 +01:00
"name": "frontend",
2021-11-11 18:02:25 +01: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 15:51:07 +02:00
"build": "vite build",
2023-04-01 14:54:12 +02: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 15:54:52 +02: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 07:59:19 +02: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-11 18:02:25 +01:00
},
"dependencies": {
2023-03-30 05:03:04 +02:00
"@discordapp/twemoji": "14.1.2",
2023-04-19 05:52:14 +02:00
"@rollup/plugin-alias": "5.0.0",
2022-12-19 05:20:47 +01:00
"@rollup/plugin-json": "6.0.0",
2023-05-12 04:41:53 +02: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 07:39:00 +01:00
"@rollup/pluginutils": "5.0.2",
2023-05-14 13:08:32 +02:00
"@syuilo/aiscript": "0.13.3",
2023-05-02 13:52:36 +02:00
"@tabler/icons-webfont": "2.17.0",
2023-05-12 04:41:53 +02:00
"@vitejs/plugin-vue": "4.2.2",
"@vue-macros/reactivity-transform": "0.3.6",
"@vue/compiler-sfc": "3.3.1",
2022-11-29 05:14:57 +01:00
"autosize": "5.0.2",
2023-02-20 09:04:57 +01:00
"blurhash": "2.0.5",
2023-01-21 20:17:58 +01:00
"broadcast-channel": "4.20.2",
"browser-image-resizer": "github:misskey-dev/browser-image-resizer#v2.2.1-misskey.3",
2023-02-03 06:44:09 +01:00
"canvas-confetti": "1.6.0",
2023-05-02 13:52:36 +02:00
"chart.js": "4.3.0",
2022-12-19 05:20:47 +01:00
"chartjs-adapter-date-fns": "3.0.0",
2023-02-09 01:25:31 +01:00
"chartjs-chart-matrix": "2.0.1",
2022-12-10 08:38:41 +01:00
"chartjs-plugin-gradient": "0.6.1",
2023-03-30 05:03:04 +02:00
"chartjs-plugin-zoom": "2.0.1",
2023-05-12 04:41:53 +02:00
"chromatic": "6.17.4",
"compare-versions": "5.0.3",
2022-12-28 10:28:01 +01:00
"cropperjs": "2.0.0-beta.2",
2023-05-02 13:52:36 +02:00
"date-fns": "2.30.0",
2021-11-11 18:02:25 +01:00
"escape-regexp": "0.0.1",
2023-05-02 13:52:36 +02:00
"eventemitter3": "5.0.1",
2023-03-30 05:03:04 +02:00
"gsap": "3.11.5",
2023-05-12 04:41:53 +02:00
"idb-keyval": "6.2.1",
2021-11-11 18:02:25 +01:00
"insert-text-at-cursor": "0.3.0",
2022-12-19 05:20:47 +01:00
"is-file-animated": "1.0.2",
2023-01-02 12:02:51 +01:00
"json5": "2.2.3",
2023-02-20 09:04:57 +01:00
"matter-js": "0.19.0",
2023-01-14 01:02:33 +01:00
"mfm-js": "0.23.3",
2023-03-30 15:01:00 +02:00
"misskey-js": "workspace:*",
2023-03-30 05:03:04 +02:00
"photoswipe": "5.3.7",
2022-08-27 09:34:14 +02:00
"prismjs": "1.29.0",
2023-01-21 20:17:58 +01:00
"punycode": "2.3.0",
2021-11-14 02:43:19 +01:00
"querystring": "0.2.1",
2021-11-11 18:02:25 +01:00
"rndstr": "1.0.0",
2023-05-12 04:41:53 +02:00
"rollup": "3.21.6",
2021-11-11 18:02:25 +01:00
"s-age": "1.1.2",
2023-02-20 09:04:57 +01:00
"sanitize-html": "2.10.0",
2023-05-02 13:52:36 +02:00
"sass": "1.62.1",
2021-11-11 18:02:25 +01:00
"seedrandom": "3.0.5",
"strict-event-emitter-types": "2.0.0",
"syuilo-password-strength": "0.0.1",
"textarea-caret": "3.1.0",
2023-04-06 13:22:26 +02:00
"three": "0.151.3",
2022-05-25 16:28:56 +02:00
"throttle-debounce": "5.0.0",
2023-02-09 01:25:31 +01:00
"tinycolor2": "1.6.0",
2023-05-02 13:52:36 +02:00
"tsc-alias": "1.8.6",
2023-03-30 05:03:04 +02:00
"tsconfig-paths": "4.2.0",
2022-03-19 11:22:58 +01:00
"twemoji-parser": "14.0.0",
2023-04-19 05:52:14 +02:00
"typescript": "5.0.4",
2022-09-10 12:14:07 +02:00
"uuid": "9.0.0",
2022-12-19 05:20:47 +01:00
"vanilla-tilt": "1.8.0",
2023-05-12 04:41:53 +02:00
"vite": "4.3.5",
"vue": "3.3.1",
"vue-plyr": "7.0.0",
"vue-prism-editor": "2.0.0-alpha.2",
"vuedraggable": "next"
2021-11-11 18:02:25 +01:00
},
"devDependencies": {
2023-05-12 04:41:53 +02:00
"@storybook/addon-actions": "7.0.10",
"@storybook/addon-essentials": "7.0.10",
"@storybook/addon-interactions": "7.0.10",
"@storybook/addon-links": "7.0.10",
"@storybook/addon-storysource": "7.0.10",
"@storybook/addons": "7.0.10",
"@storybook/blocks": "7.0.10",
"@storybook/core-events": "7.0.10",
2023-04-04 08:01:55 +02:00
"@storybook/jest": "0.1.0",
2023-05-12 04:41:53 +02:00
"@storybook/manager-api": "7.0.10",
"@storybook/preview-api": "7.0.10",
"@storybook/react": "7.0.10",
"@storybook/react-vite": "7.0.10",
2023-04-19 05:52:14 +02:00
"@storybook/testing-library": "0.1.0",
2023-05-12 04:41:53 +02:00
"@storybook/theming": "7.0.10",
"@storybook/types": "7.0.10",
"@storybook/vue3": "7.0.10",
"@storybook/vue3-vite": "7.0.10",
2023-04-06 13:22:26 +02:00
"@testing-library/jest-dom": "5.16.5",
"@testing-library/vue": "7.0.0",
"@types/escape-regexp": "0.0.1",
2023-04-21 02:02:49 +02:00
"@types/estree": "1.0.1",
2022-11-19 02:25:16 +01:00
"@types/gulp": "4.0.10",
2023-05-12 04:41:53 +02:00
"@types/gulp-rename": "2.0.2",
"@types/matter-js": "0.18.3",
2023-04-19 05:52:14 +02:00
"@types/micromatch": "4.0.2",
2023-05-12 04:41:53 +02:00
"@types/node": "20.1.3",
"@types/punycode": "2.1.0",
2023-03-30 05:03:04 +02:00
"@types/sanitize-html": "2.9.0",
2023-02-26 10:51:45 +01:00
"@types/seedrandom": "3.0.5",
"@types/testing-library__jest-dom": "^5.14.5",
2022-05-14 07:57:51 +02:00
"@types/throttle-debounce": "5.0.0",
"@types/tinycolor2": "1.4.3",
2023-02-26 10:51:45 +01: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 07:39:00 +01:00
"@types/websocket": "1.0.5",
2023-01-02 12:02:51 +01:00
"@types/ws": "8.5.4",
2023-05-12 04:41:53 +02:00
"@typescript-eslint/eslint-plugin": "5.59.5",
"@typescript-eslint/parser": "5.59.5",
"@vitest/coverage-c8": "0.31.0",
"@vue/runtime-core": "3.3.1",
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 13:34:23 +02:00
"astring": "1.8.4",
"chokidar-cli": "3.0.0",
2021-11-11 18:02:25 +01:00
"cross-env": "7.0.3",
2023-05-12 04:41:53 +02:00
"cypress": "12.12.0",
"eslint": "8.40.0",
2023-01-21 20:17:58 +01:00
"eslint-plugin-import": "2.27.5",
2023-05-12 04:41:53 +02:00
"eslint-plugin-vue": "9.12.0",
2023-04-06 13:22:26 +02:00
"fast-glob": "3.2.12",
2023-05-12 04:41:53 +02:00
"happy-dom": "9.16.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 13:34:23 +02:00
"micromatch": "3.1.10",
2023-04-06 13:22:26 +02:00
"msw": "1.2.1",
2023-04-06 13:29:17 +02:00
"msw-storybook-addon": "1.8.0",
2023-05-02 13:52:36 +02:00
"prettier": "2.8.8",
2023-04-06 13:22:26 +02:00
"react": "18.2.0",
"react-dom": "18.2.0",
2023-03-10 06:00:14 +01:00
"start-server-and-test": "2.0.0",
2023-05-12 04:41:53 +02:00
"storybook": "7.0.10",
2023-03-20 18:05:00 +01:00
"storybook-addon-misskey-theme": "github:misskey-dev/storybook-addon-misskey-theme",
"summaly": "github:misskey-dev/summaly",
2023-05-02 13:52:36 +02:00
"vite-plugin-turbosnap": "1.0.2",
2023-05-12 04:41:53 +02:00
"vitest": "0.31.0",
2023-04-06 13:22:26 +02:00
"vitest-fetch-mock": "0.2.2",
2023-05-12 04:41:53 +02:00
"vue-eslint-parser": "9.2.1",
"vue-tsc": "1.6.4"
2021-11-11 18:02:25 +01:00
}
2023-02-26 10:51:45 +01:00
}