Skip to content

Commit

Permalink
chore: setup project
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Apr 18, 2024
0 parents commit 1ed5930
Show file tree
Hide file tree
Showing 9 changed files with 1,025 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
@@ -0,0 +1,9 @@
root = true

[*]
insert_final_newline = true
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
8 changes: 8 additions & 0 deletions .eslintignore
@@ -0,0 +1,8 @@
/external

temp
dist
lib
tests

*.js
17 changes: 17 additions & 0 deletions .eslintrc.yml
@@ -0,0 +1,17 @@
root: true

env:
browser: true
node: true
mocha: true
es2020: true

globals:
NodeJS: true
KOISHI_CONFIG: true

extends:
- '@cordisjs/eslint-config'

plugins:
- mocha
7 changes: 7 additions & 0 deletions .gitattributes
@@ -0,0 +1,7 @@
* text eol=lf

*.png -text
*.jpg -text
*.ico -text
*.gif -text
*.webp -text
38 changes: 38 additions & 0 deletions .gitignore
@@ -0,0 +1,38 @@
lib
dist
temp
.cache

/external

.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

yarn.lock
package-lock.json
pnpm-lock.yaml

todo.md
coverage/
node_modules/
npm-debug.log
yarn-debug.log
yarn-error.log
package-lock.json
tsconfig.temp.json
tsconfig.tsbuildinfo
report.*.json

.eslintcache
.DS_Store
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
5 changes: 5 additions & 0 deletions .nycrc.json
@@ -0,0 +1,5 @@
{
"exclude": [
".yarn/**"
]
}
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.1.cjs
45 changes: 45 additions & 0 deletions package.json
@@ -0,0 +1,45 @@
{
"name": "@root/cordis-webui",
"private": true,
"type": "module",
"version": "1.0.0",
"workspaces": [
"external/*",
"external/*/external/*",
"external/*/packages/*",
"packages/*",
"plugins/*"
],
"license": "MIT",
"scripts": {
"build": "yakumo --import tsx build",
"bump": "yakumo --import tsx version",
"dep": "yakumo --import tsx upgrade",
"pub": "yakumo --import tsx publish",
"lint": "eslint --cache",
"dev": "node -r esbuild-register packages/online/src/dev",
"serve": "node -r esbuild-register packages/online/src/serve",
"test": "yakumo mocha -r esbuild-register -t 10000",
"test:text": "shx rm -rf coverage && c8 -r text yarn test",
"test:json": "shx rm -rf coverage && c8 -r json yarn test",
"test:html": "shx rm -rf coverage && c8 -r html yarn test"
},
"devDependencies": {
"@cordisjs/eslint-config": "^1.1.1",
"@types/chai": "^4.3.14",
"@types/mocha": "^9.1.1",
"@types/node": "^20.11.30",
"c8": "^7.14.0",
"chai": "^4.4.1",
"esbuild": "^0.18.20",
"esbuild-register": "^3.5.0",
"eslint": "^8.57.0",
"mocha": "^9.2.2",
"shx": "^0.3.4",
"typescript": "^5.4.3",
"yakumo": "^1.0.0-beta.13",
"yakumo-esbuild": "^1.0.0-beta.5",
"yakumo-mocha": "^1.0.0-beta.2",
"yakumo-tsc": "^1.0.0-beta.3"
}
}

0 comments on commit 1ed5930

Please sign in to comment.