Skip to content

Commit 865f5bf

Browse files
author
winjo
committed
feat: init
0 parents  commit 865f5bf

21 files changed

Lines changed: 532 additions & 0 deletions

.gitignore

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
20+
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
*.lcov
24+
25+
# nyc test coverage
26+
.nyc_output
27+
28+
# node-waf configuration
29+
.lock-wscript
30+
31+
# Dependency directories
32+
node_modules/
33+
jspm_packages/
34+
35+
# TypeScript cache
36+
*.tsbuildinfo
37+
38+
# Optional npm cache directory
39+
.npm
40+
41+
# Optional eslint cache
42+
.eslintcache
43+
44+
# Microbundle cache
45+
.rpt2_cache/
46+
.rts2_cache_cjs/
47+
.rts2_cache_es/
48+
.rts2_cache_umd/
49+
50+
# Optional REPL history
51+
.node_repl_history
52+
53+
# Output of 'npm pack'
54+
*.tgz
55+
56+
# Yarn Integrity file
57+
.yarn-integrity
58+
59+
# dotenv environment variables file
60+
.env
61+
.env.test
62+
63+
# parcel-bundler cache (https://parceljs.org/)
64+
.cache
65+
.parcel-cache
66+
67+
# Next.js build output
68+
.next
69+
out
70+
71+
# Nuxt.js build / generate output
72+
.nuxt
73+
dist
74+
75+
# Gatsby files
76+
.cache/
77+
78+
# Stores VSCode versions used for testing VSCode extensions
79+
.vscode-test
80+
81+
# yarn v2
82+
.yarn/cache
83+
.yarn/unplugged
84+
.yarn/build-state.yml
85+
.yarn/install-state.gz
86+
.pnp.*
87+
88+
# Custom
89+
configs/tsconfig/.references
90+
packages/*/lib
91+
packages/*/esm
92+
packages/*/types

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
semi: false
2+
singleQuote: true
3+
printWidth: 100

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SpaceX
2+
> Ant Codespaces 纯前端版本临时代号
3+
4+
5+
## 项目研发
6+
### 准备
7+
需要安装 yarn >= 1.0,使用 yarn 的 [workspaces](https://classic.yarnpkg.com/en/docs/workspaces/) 来管理 packages,tnpm 已配置 mode 为 yarn,因此可以使用 tnpm 安装依赖
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": "../tsconfig.cjs.json",
3+
"compilerOptions": {
4+
"rootDir": "../../../packages/core/src",
5+
"outDir": "../../../packages/core/lib"
6+
},
7+
"include": [
8+
"../../../packages/core/src"
9+
]
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": "../tsconfig.esm.json",
3+
"compilerOptions": {
4+
"rootDir": "../../../packages/core/src",
5+
"outDir": "../../../packages/core/esm"
6+
},
7+
"include": [
8+
"../../../packages/core/src"
9+
]
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": "../tsconfig.types.json",
3+
"compilerOptions": {
4+
"rootDir": "../../../packages/core/src",
5+
"declarationDir": "../../../packages/core/types"
6+
},
7+
"include": [
8+
"../../../packages/core/src"
9+
]
10+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"removeComments": true,
5+
"incremental": true
6+
}
7+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"references": [
3+
{
4+
"path": "./core/tsconfig.cjs.json"
5+
},
6+
{
7+
"path": "./core/tsconfig.esm.json"
8+
},
9+
{
10+
"path": "./core/tsconfig.types.json"
11+
}
12+
],
13+
"files": [],
14+
"include": []
15+
}

configs/tsconfig/tsconfig.cjs.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.base.json",
3+
"compilerOptions": {
4+
"module": "commonjs"
5+
}
6+
}

configs/tsconfig/tsconfig.esm.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.base.json",
3+
"compilerOptions": {
4+
"module": "esnext"
5+
}
6+
}

0 commit comments

Comments
 (0)