Skip to content

Commit 7ab0f88

Browse files
authored
Merge pull request #11 from nemuvski/update-monorepo
ドキュメントサイトのリニューアル等
2 parents 66fe991 + e496e23 commit 7ab0f88

File tree

96 files changed

+9454
-467
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+9454
-467
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
examples/
22
dist/
33
docs/
4+
build/
5+
.docusaurus/

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = {
88
extends: [
99
'eslint:recommended',
1010
'plugin:react/recommended',
11+
'plugin:react/jsx-runtime',
1112
'plugin:@typescript-eslint/recommended',
1213
'plugin:import/typescript',
1314
'plugin:regexp/recommended',

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ node_modules/
33
# Build
44
dist/
55
.turbo/
6-
docs/
76

87
# Editor/IDE
98
.idea/

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
examples/
22
dist/
33
docs/
4+
build/
5+
.docusaurus/

favicon.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,29 @@
44
"private": true,
55
"packageManager": "pnpm@7.6.0",
66
"engines": {
7-
"node": ">=16.13.0",
7+
"node": ">=16.14.0",
88
"pnpm": ">=7.6"
99
},
1010
"workspaces": [
11-
"packages/*"
11+
"packages/*",
12+
"website"
1213
],
1314
"scripts": {
14-
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./packages",
15-
"lint:fix": "eslint --fix --ext .js,.jsx,.ts,.tsx ./packages",
16-
"format": "prettier --check 'packages/**/*.{js,jsx,ts,tsx}'",
17-
"format:fix": "prettier --write 'packages/**/*.{js,jsx,ts,tsx}'",
15+
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
16+
"lint:fix": "eslint --fix --ext .js,.jsx,.ts,.tsx .",
17+
"format": "prettier --check './**/*.{js,jsx,ts,tsx}'",
18+
"format:fix": "prettier --write './**/*.{js,jsx,ts,tsx}'",
1819
"typecheck": "tsc --noEmit",
1920
"test": "jest",
2021
"prebuild": "npm run typecheck && npm run lint && npm run format",
21-
"build": "turbo run build",
22-
"docs:clean": "rimraf ./docs",
23-
"docs:gen": "typedoc"
22+
"build": "turbo run build --filter=./packages/*",
23+
"docs": "npm run build -w website"
2424
},
2525
"devDependencies": {
2626
"@testing-library/jest-dom": "^5.16.5",
2727
"@testing-library/react": "^13.3.0",
2828
"@types/jest": "^28.1.8",
2929
"@types/node": "^18.7.13",
30-
"@types/react": "^18.0.17",
31-
"@types/react-dom": "^18.0.6",
3230
"@typescript-eslint/eslint-plugin": "^5.35.1",
3331
"@typescript-eslint/parser": "^5.35.1",
3432
"eslint": "^8.23.0",
@@ -41,16 +39,13 @@
4139
"jest": "^28.1.3",
4240
"jest-environment-jsdom": "^28.1.3",
4341
"prettier": "^2.7.1",
44-
"react": "^18.2.0",
45-
"react-dom": "^18.2.0",
42+
"react": "^18.0.0",
43+
"react-dom": "^18.0.0",
4644
"rimraf": "^3.0.2",
4745
"ts-jest": "^28.0.8",
4846
"ts-node": "^10.9.1",
4947
"tsup": "^6.2.3",
5048
"turbo": "^1.4.3",
51-
"typedoc": "^0.23.11",
52-
"typedoc-plugin-extras": "^2.3.0",
53-
"typedoc-theme-hierarchy": "^3.0.0",
54-
"typescript": "^4.7.4"
49+
"typescript": "^4.8.3"
5550
}
5651
}

packages/react/package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"publishConfig": {
88
"access": "public"
99
},
10-
"homepage": "https://itsumono.netlify.app/modules/_itsumono_react",
10+
"homepage": "https://itsumono.netlify.app/",
1111
"repository": {
1212
"type": "git",
1313
"url": "https://github.com/nemuvski/itsumono.git",
@@ -32,15 +32,11 @@
3232
},
3333
"devDependencies": {
3434
"@types/react": "^18.0.0",
35-
"@types/react-dom": "^18.0.0",
36-
"react": "^18.0.0",
37-
"react-dom": "^18.0.0"
35+
"react": "^18.0.0"
3836
},
3937
"peerDependencies": {
4038
"@types/react": "^18.0.0",
41-
"@types/react-dom": "^18.0.0",
42-
"react": "^18.0.0",
43-
"react-dom": "^18.0.0"
39+
"react": "^18.0.0"
4440
},
4541
"tsup": {
4642
"entry": ["src/index.ts"],

packages/react/src/components/Either.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import { RC } from '../types/rc'
32

43
/**

packages/react/src/components/Maybe.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import { RC } from '../types/rc'
32

43
/**

packages/react/tests/Either.spec.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import { cleanup, render } from '@testing-library/react'
32
import Either from '../src/components/Either'
43

0 commit comments

Comments
 (0)