Skip to content

Commit 2394bd8

Browse files
authored
feat(tools): https://github.com/flocon-trpg/tools をこのリポジトリに引っ越し (#630)
1 parent 9155f4a commit 2394bd8

32 files changed

+1250
-3
lines changed

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module.exports = {
1818
'sdk',
1919
'sdk-react',
2020
'sdk-urql',
21+
'tools',
2122
'utils',
2223
'web-server-utils',
2324
],
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/dist/
2+
/coverage/

packages/websites-base/.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"@flocon-trpg/prettier-config"

packages/websites-base/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# websites-base
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import Config from '@flocon-trpg/eslint-config';
2+
3+
export default [...Config,
4+
{
5+
languageOptions: {
6+
parserOptions: {
7+
project: './tsconfig.json',
8+
projectService: true,
9+
// import.meta.dirname は ESM かつ Node.js >=20.11.0 / >= 21.2.0 でなければ使えない。
10+
tsconfigRootDir: import.meta.dirname,
11+
},
12+
},
13+
},
14+
]
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"name": "@flocon-trpg/websites-base",
3+
"version": "0.1.0",
4+
"private": true,
5+
"license": "MIT",
6+
"author": "kizahasi",
7+
"main": "dist/cjs/index.js",
8+
"module": "dist/esm/index.js",
9+
"files": [
10+
"dist"
11+
],
12+
"scripts": {
13+
"build": "yarn run build:self",
14+
"build:rollup": "rollup --config",
15+
"build:self": "rimraf ./dist && yarn build:rollup",
16+
"lint": "eslint \"**/*.ts\" --cache",
17+
"prettier": "yarn prettier:base --write --cache",
18+
"prettier-check": "yarn prettier:base --check",
19+
"prettier:base": "prettier \"**/*.{ts,tsx,js,json,yml,md,graphql}\""
20+
},
21+
"dependencies": {
22+
"@flocon-trpg/core": "workspace:^",
23+
"jotai": "^2.10.1"
24+
},
25+
"devDependencies": {
26+
"@flocon-trpg/eslint-config": "workspace:^",
27+
"@flocon-trpg/prettier-config": "workspace:^",
28+
"@flocon-trpg/rollup-config": "workspace:^",
29+
"@flocon-trpg/tsconfig": "workspace:^",
30+
"@types/react": "18.3.12",
31+
"antd": "5.21.5",
32+
"eslint": "9.13.0",
33+
"eslint-config-prettier": "9.1.0",
34+
"eslint-plugin-import": "2.31.0",
35+
"prettier": "3.3.3",
36+
"react": "18.3.1",
37+
"rimraf": "5.0.10",
38+
"rollup": "4.24.0",
39+
"typescript": "5.6.2",
40+
"typescript-eslint": "8.11.0"
41+
},
42+
"peerDependencies": {
43+
"antd": "^5.21.5",
44+
"react": "^18.0.0"
45+
},
46+
"engines": {
47+
"node": ">=18 <21"
48+
}
49+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
const { config } = require('@flocon-trpg/rollup-config');
2+
const external = Object.keys(require('./package.json').dependencies ?? {});
3+
4+
module.exports = config({ external });
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { CreateEnv } from './internal/CreateEnv';

0 commit comments

Comments
 (0)