Commit graph

121 commits

Author SHA1 Message Date
tamaina 83a5bc0ecd
doc: Nestで循環依存がある場合のCONTRIBUTING.mdに書く ()
* doc: Nestモジュールテストの例をCONTRIBUTING.mdに書く

* rm normal test

* forwardRef
2024-03-05 14:26:16 +09:00
tamaina 4f80b6fa5d
chore: 以前の開発環境(backendにアクセスする方式)を立ち上げられるように ()
* chore: 以前の開発環境(backendにアクセスする方式)を立ち上げられるように

* Update scripts/dev.mjs

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-02-13 00:54:34 +09:00
zyoshoka 5299d17060
test(frontend): migrate MSW in Storybook to v2 () 2024-02-08 13:28:49 +09:00
おさむのひと 9059b837fa
fix CONTRIBUTING.md () 2023-12-08 09:00:23 +09:00
おさむのひと b0039f0946
chore: 開発モードでフロントエンドとバックエンドを独立して起動するようにする(再) ()
* [wip]run standalone vite

* [wip]run standalone vite

* some fix (tabler icons, sw, streaming)

* fix theme

* fix run scripts

* favicon

* client-assets

* cssの読み込み順序とCSP設定の変更

* fix lang change

* fix clientManifest

* baseを相対パスにしてドメイン直下とサブディレクトリ配下両方に対応

* 色々修正

* 色々修正

* 色々修正

* fix

* Revert "client-assets"

This reverts commit 582601e90e.

# Conflicts:
#	packages/frontend/vite.config.ts

* 色々修正

* fix

* fix

* add url and proxy to server proxy

* Update packages/frontend/src/index.html

* wip

* Merge remote-tracking branch 'origin/develop' into feat/launch-standalone-frontend

# Conflicts:
#	packages/frontend/src/pages/welcome.entrance.a.vue

* Merge remote-tracking branch 'origin/develop' into feat/launch-standalone-frontend

# Conflicts:
#	packages/frontend/src/pages/welcome.entrance.a.vue

* fix tabler load

* Apply suggestions from code review

* Update packages/frontend/src/index.html

* fix

* fix vite.config.local-dev.ts

* fix CONTRIBUTING.md

---------

Co-authored-by: FruitRiin <nassii74@gmail.com>
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: 果物リン <fruitriin@riinswork.space>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: ozelot <contact@ozelot.dev>
2023-12-08 08:22:08 +09:00
Tom Anderson e333e7ced8
docs: Remove forum references and use Github Discussions ()
* docs: Replace forum with Github Discussions

* Remove outdated forum link from CONTRIBUTING.md

* Remove outdated forum link from misskey-js/CONTRIBUTING.md

* Remove outdated forum link from misskey-js/docs/CONTRIBUTING.en.md

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2023-11-02 19:57:43 +09:00
syuilo 6cf466e5d1
update deps ()
* update deps

* fix

* wip

* wip

* wip

* Update docker-compose.yml.example

* Delete reviewer-lottery.yml

* Update RepositoryModule.ts

* wip

* wip

* clean up

* update deps

* wip

* wip
2023-09-15 14:28:29 +09:00
syuilo f5a5d59155 Update CONTRIBUTING.md 2023-08-27 09:45:23 +09:00
Kagami Sascha Rosylight 47b684100d
refactor(frontend): use nodemon for storybook ()
* refactor(frontend): use nodemon for storybook

* Update package.json
2023-07-20 17:41:48 +09:00
okayurisotto d84796588c
cleanup: trim trailing whitespace ()
* cleanup: trim trailing whitespace

* update(`.editorconfig`)

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-08 07:08:16 +09:00
tamaina 09764b909b
enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように ()
* enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように

* refactor (use checkHttps)

* MISSKEY_WEBFINGER_USE_HTTP

* Environment Variable readme

* NEVER USE IN PRODUCTION

* fix punyHost
2023-04-29 23:26:47 +09:00
Acid Chicken (硫酸鶏) 9bb6c536c0
test(): add components/Mk[A-B].* stories ()
* chore(): register snippets

* test(): add `components/Mk[A-B].*` stories

* build: desynced lockfile

* ci(): preload assets

* ci(): use pull_request

* build: update lockfile

* fix: reactivity transform

* chore: track upstream changes

* refactor: avoid temporary previous tapping declarations

* revert: avoid temporary previous tapping declarations

This reverts commit e649b1b1e6.

* test: flaky snapshots

* style: import
2023-04-13 12:20:39 +09:00
Acid Chicken (硫酸鶏) 38d0b62167
build(): Storybook & Chromatic & msw ()
* build(): init

* fix(): invalid name conversion

* build(): load locales and vite config

* refactor(): remove unused imports

* build(): separate definitions and generated codes

* refactor(): remove hatches

* refactor(): module semantics

* refactor(): remove unused common preferences

* fix: typo

* build(): mock assets

* build(): impl `SatisfiesExpression`

* build(): control themes

* refactor(): semantics

* build(): make .storybook as an individual TypeScript project

* style(): use single quote

* build(): avoid intrinsic component names

* chore: suppress linter

* style: typing

* build(): update dependencies

* docs: note about Storybook

* build(): sync

* build(): full reload server on change

* chore: use defaultStore instead

* build(): show popups on Story

* refactor(): remove redundant div

* docs: fix

* build(): interactions

* build(): add an interaction test for `<MkA/>`

* build(): bump storybook

* docs(): mention to pre-build misskey-js

* build(): write stories for `MkAcct`

* build(): write stories for `MkAd`

* build(): fix missing type definition

* build(): use `toHaveTextContent`

* build(): write some stories

* build(): hide internal args

* build(): generate `components/global` stories only

* build(): write stories for `MkMisskeyFlavoredMarkdown`

* fix: conflict errors

* build(): subcomponents on sidebar

* refactor: restore `SatisfiesExpression`

* docs(): note development status

* build(): use chokidar-cli

* docs(): note chokidar-cli mode

* chore(): untrack generated stories files

* fix: pointer handling

* build(): finalize

* chore: add static option to `MkLoading`

* refactor(): bind to local args

* fix: missing case

* revert: restore `SatisfiesExpression`

This reverts commit f246699f38.

* build(): make storybook buildable

* build(): staticify assets

* build(): staticified directory structure

* build(): normalize path for Windows

* ci(): create actions

* build(): ignore tsc errors

* build(): ignore tsc errors

* build(): missing dependencies

* build(): missing dependencies

* build(): use fast-glob

* fix: invalid lockfile

* ci(): increase heap size

* build(): use unpkg for storybook tabler icons

* build(): use unpkg for storybook twemojis

* build(): disable `ProfilePageCat`

* build(): blur `MkA` before interaction ends

* ci(): stabilize

* ci(): fetch-depth

* build(): isChromatic

* ci(): notify on changes

* ci(): fix typo

* ci(): missing working directory

* ci(): skip build

* ci(): fix path

* build(): fails on Windows

* build(): available on Windows

* ci(): disable animation on chromatic

* ci(): add static option to `PageHeader.tabs`

* chore: void

* ci(): change parameters

* docs(): update CONTRIBUTING

* docs(): note about meta overriding and etc.

* ci(): use Chromatic for checks

* ci(): use `pull_request` instead of `pull_request_target` for now

* ci(): use `exitOnceUploaded`

* ci(): reuse built storybook

* ci(): back to `pull_request_target`

* chore: unused dependencies

* style(): reduce prettier indents

* style: note about `TSSatisfiesExpression`
2023-04-04 09:38:34 +09:00
jojobii ad43011fb8
change: deprecate link to Misskey Forum in favor of GitHub Discussions ()
see: https://forum.misskey.io/d/112-misskey-forum-to-end-service-at-the-end-of-this-month
2023-03-05 14:32:43 +09:00
tamaina 18dbcfa0b0
test(server): add validation test of api:notes/create ()
* fix(server): notes/createのバリデーションが効いていない
Fix 

Co-Authored-By: mei23 <m@m544.net>

* anyOf内にバリデーションを書いても最初の一つしかチェックされない

* ✌️

* wip

* wip

* ✌️

* RequiredProp

* Revert "RequiredProp"

This reverts commit 7469390011.

* add api:notes/create

* fix lint

* text

* ✌️

* improve readability

---------

Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-26 11:28:05 +09:00
syuilo ec092579a6
Update CONTRIBUTING.md 2023-02-24 09:14:58 +09:00
syuilo ca99468970
Update CONTRIBUTING.md 2023-02-23 20:49:09 +09:00
syuilo c645f9f99f
chore(dev): remove outdated tip 2023-02-23 20:36:03 +09:00
tamaina a5341cbd7d CONTRIBUTING: enumの削除は気をつける 2023-02-23 11:33:49 +00:00
RyotaK c7fbf5637f
fix: Dev Containerの設定を修正 ()
* Dev Containerの設定を修正

* CONTRIBUTING.mdにDev Container使用時の注意書きを追加

* 注意書きを改行する
2023-02-14 13:17:34 +09:00
RyotaK 3c7e1ff92e
Dev Containerの設定を追加 ()
* Dev Containerの設定を追加

* テンプレート生成時に含まれていたコメントを削除

* 起動スクリプトを分割

JSONの中にベタ書きすると長くなるので

* 改行

* Dev Containerの使用方法を追記
2023-02-12 09:07:56 +09:00
Masaya Suzuki 4ad399c593
fix: テスト実行時のDB立ち上げコマンド修正 () 2023-02-05 20:34:22 +09:00
Masaya Suzuki 01778e11dc
CONTRIBUTING: テストが配置されている場所の記述修正 () 2023-02-03 03:11:50 +09:00
Masaya Suzuki 9d9e8a3c4e
CONTRIBUTING: yarn -> pnpm () 2023-02-03 03:11:26 +09:00
tamaina 2fe86fd869
enhance: Vite HMR while yarn dev, and more build tuning ()
* enhance: Vite HMR while yarn dev, and more build tuning

* use localhost

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-12-20 13:05:36 +09:00
Kagami Sascha Rosylight 051cbec05f
docs(CONTRIBUTING): reflect refactored paths ()
Reflecting the changes from 7706c38d3d and 19cc9f7fb0.
2022-12-12 22:43:20 +09:00
Kainoa Kanter bdbc448d13
refactor: migrate to Yarn Berry (v3.2.1) ()
* 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

🤔

* 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

* ✌️

* 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
66ab7591bf (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

* ✌️

* 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
syuilo b75184ec8e
なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
syuilo 59b7b0f832 Update CONTRIBUTING.md 2022-07-22 00:35:30 +09:00
syuilo 836ecff785
Update CONTRIBUTING.md 2022-06-17 11:02:47 +09:00
syuilo c6e0430aa7
Update CONTRIBUTING.md 2022-06-09 05:55:58 +09:00
syuilo 3dba63afbb
Update CONTRIBUTING.md 2022-06-08 22:23:43 +09:00
syuilo b62a050b2c Update CONTRIBUTING.md 2022-06-04 16:01:27 +09:00
syuilo 0946d50913 Update CONTRIBUTING.md 2022-06-04 16:01:11 +09:00
syuilo 1235969721
chore(dev): tweak text 2022-05-22 14:49:53 +09:00
syuilo 7ed0763ad2
Update CONTRIBUTING.md 2022-05-19 12:47:43 +09:00
syuilo dd8cb7846f
Update CONTRIBUTING.md 2022-05-05 18:38:30 +09:00
syuilo 56436b99bb
Update CONTRIBUTING.md 2022-05-05 18:36:30 +09:00
syuilo a36f54dec2
Update CONTRIBUTING.md 2022-05-05 18:33:24 +09:00
syuilo 515ab0105a
Update CONTRIBUTING.md 2022-03-27 20:11:43 +09:00
syuilo 1c67c26bd8
refactor: migrate to typeorm 3.0 ()
* wip

* wip

* wip

* Update following.ts

* wip

* wip

* wip

* Update resolve-user.ts

* maxQueryExecutionTime

* wip

* wip
2022-03-26 15:34:00 +09:00
syuilo cb2110f669
Update CONTRIBUTING.md 2022-02-06 22:03:19 +09:00
syuilo b590f352e9
Update CONTRIBUTING.md 2022-02-06 21:58:14 +09:00
syuilo ec23e6270b
Update CONTRIBUTING.md 2022-02-06 21:50:31 +09:00
syuilo 5ec78d11d9
Update CONTRIBUTING.md 2022-02-06 21:49:04 +09:00
syuilo 943ff2dfdb
Update CONTRIBUTING.md 2022-01-30 21:55:03 +09:00
syuilo 110ae539b8 Update CONTRIBUTING.md 2022-01-26 03:27:19 +09:00
syuilo 65a19f0c75 Update CONTRIBUTING.md 2022-01-26 00:52:34 +09:00
syuilo faef125b74 bye room 2022-01-07 17:06:47 +09:00
syuilo 696f3d19af
Update CONTRIBUTING.md 2021-12-30 03:00:40 +09:00