Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90b6e86

Browse files
chore(site): remove xstate (#10659)
1 parentef70165 commit90b6e86

29 files changed

+535
-1193
lines changed

‎.github/dependabot.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,6 @@ updates:
101101
xterm:
102102
patterns:
103103
-"xterm*"
104-
xstate:
105-
patterns:
106-
-"xstate"
107-
-"@xstate*"
108104
mui:
109105
patterns:
110106
-"@mui*"

‎.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ yarn-error.log
2020

2121
# Front-end ignore patterns.
2222
.next/
23-
site/**/*.typegen.ts
2423
site/build-storybook.log
2524
site/coverage/
2625
site/storybook-static/

‎.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ yarn-error.log
2323

2424
# Front-end ignore patterns.
2525
.next/
26-
site/**/*.typegen.ts
2726
site/build-storybook.log
2827
site/coverage/
2928
site/storybook-static/

‎.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@
170170
"wsconncache",
171171
"wsjson",
172172
"xerrors",
173-
"xstate",
174173
"yamux"
175174
],
176175
"cSpell.ignorePaths": ["site/package.json",".vscode/settings.json"],

‎docs/contributing/frontend.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ important ones:
3434
-[react-router](https://reactrouter.com/en/main) for routing
3535
-[TanStack Query v4](https://tanstack.com/query/v4/docs/react/overview) for
3636
fetching data
37-
-[XState](https://xstate.js.org/docs/) for handling complex state flows
3837
-[axios](https://github.com/axios/axios) as fetching lib
3938
-[Playwright](https://playwright.dev/) for end-to-end (E2E) testing
4039
-[Jest](https://jestjs.io/) for integration testing
@@ -96,13 +95,7 @@ a `*.stories.ts` file.
9695

9796
We use
9897
[TanStack Query v4](https://tanstack.com/query/v4/docs/react/overview)(previously
99-
known as react-query) to fetch data from the API. We also use
100-
[XState](https://xstate.js.org/docs/) to handle complex flows with multiple
101-
states and transitions.
102-
103-
>ℹ️ We recently changed how we are going to fetch data from the server so you
104-
>will see a lot of fetches being made using XState machines but feel free to
105-
>refactor it if you are already touching those files.
98+
known as react-query) to fetch data from the API.
10699

107100
###Where to fetch data
108101

‎site/.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ yarn-error.log
2323

2424
# Front-end ignore patterns.
2525
.next/
26-
**/*.typegen.ts
2726
build-storybook.log
2827
coverage/
2928
storybook-static/

‎site/.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ yarn-error.log
2323

2424
# Front-end ignore patterns.
2525
.next/
26-
**/*.typegen.ts
2726
build-storybook.log
2827
coverage/
2928
storybook-static/

‎site/package.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@
55
"private":true,
66
"license":"AGPL-3.0",
77
"scripts": {
8-
"postinstall":"pnpm typegen",
98
"build":"NODE_ENV=production pnpm vite build",
109
"check:all":"pnpm format:check && pnpm lint && pnpm test",
1110
"chromatic":"chromatic",
1211
"dev":"vite",
1312
"format:check":"prettier --cache --check '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
1413
"format:write":"prettier --cache --write '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
1514
"format:write:only":"prettier --cache --write",
16-
"lint":"pnpmtypegen && pnpmrun lint:types && pnpm exec jest --selectProjects lint",
15+
"lint":"pnpm run lint:types && pnpm exec jest --selectProjects lint",
1716
"lint:fix":"FIX=true pnpm lint",
1817
"lint:types":"tsc --noEmit",
1918
"playwright:install":"playwright install --with-deps chromium",
@@ -25,9 +24,8 @@
2524
"test:ci":"jest --selectProjects test --silent",
2625
"test:coverage":"jest --selectProjects test --collectCoverage",
2726
"test:watch":"jest --selectProjects test --watch",
28-
"typegen":"xstate typegen 'src/**/*.ts'",
2927
"stats":"STATS=true pnpm build && npx http-server ./stats -p 8081 -c-1",
30-
"deadcode":"ts-prune | grep -v\".stories\\|.typegen\\|.config\\|e2e\\|__mocks__\\|used in module\\|testHelpers\\|typesGenerated\" || echo\"No deadcode found.\""
28+
"deadcode":"ts-prune | grep -v\".stories\\|.config\\|e2e\\|__mocks__\\|used in module\\|testHelpers\\|typesGenerated\" || echo\"No deadcode found.\""
3129
},
3230
"dependencies": {
3331
"@emoji-mart/data":"1.1.2",
@@ -46,8 +44,6 @@
4644
"@mui/system":"5.14.0",
4745
"@mui/utils":"5.14.11",
4846
"@vitejs/plugin-react":"4.1.0",
49-
"@xstate/inspect":"0.8.0",
50-
"@xstate/react":"3.2.1",
5147
"ansi-to-html":"0.7.2",
5248
"axios":"1.6.0",
5349
"canvas":"2.11.0",
@@ -94,7 +90,6 @@
9490
"unique-names-generator":"4.7.1",
9591
"uuid":"9.0.0",
9692
"vite":"4.5.0",
97-
"xstate":"4.38.1",
9893
"xterm":"5.2.0",
9994
"xterm-addon-canvas":"0.5.0",
10095
"xterm-addon-fit":"0.8.0",
@@ -138,7 +133,6 @@
138133
"@types/uuid":"9.0.2",
139134
"@typescript-eslint/eslint-plugin":"6.9.1",
140135
"@typescript-eslint/parser":"6.9.1",
141-
"@xstate/cli":"0.5.2",
142136
"chromatic":"7.6.0",
143137
"eslint":"8.52.0",
144138
"eslint-config-prettier":"9.0.0",

‎site/pnpm-lock.yaml

Lines changed: 0 additions & 149 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp