Skip to content

Commit

Permalink
feat: mcwss base on typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
BIYUEHU committed Jan 29, 2024
1 parent 8816397 commit 68d617a
Show file tree
Hide file tree
Showing 299 changed files with 5,782 additions and 87,946 deletions.
27 changes: 27 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"root": true,
"extends": [
"airbnb-base",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"rules": {
// "@typescript-eslint/no-explicit-any": 0,
// "@typescript-eslint/no-namespace": 0,
// "no-console": 0,
// "space-before-function-paren": 0,
/* typescript need */
"import/no-unresolved": 0,
"import/extensions": 0,
"no-use-before-define": 0,
"no-unused-vars": 0,
"no-shadow": 0,
"no-redeclare": 0
},
"ignorePatterns": [
"*.js"
]
}
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
node_modules
dist
lib
.husky/_

*.tgz
tsconfig.tsbuildinfo
pnpm-lock.yaml
kotori.dev.yml

scripts/*.js

modules2
modules3
# modules/*
!modules/adapter-*
!modules/core
!modules/helper
!modules/i18n-command
!modules/menu
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"printWidth": 120,
"trailingComma": "none"
}
675 changes: 674 additions & 1 deletion License

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion data/temp/ports

This file was deleted.

4 changes: 4 additions & 0 deletions example/test.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/say Hello,world and you @s!
/say Welcome to use §bMcwss§r.
/say Here are a §adefault mcfunction example§r.
/say View source to get more.
2 changes: 2 additions & 0 deletions example/test2.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/gamemode 0 @s
/kill @s
21 changes: 0 additions & 21 deletions node_modules/china-time/LICENSE

This file was deleted.

40 changes: 0 additions & 40 deletions node_modules/china-time/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions node_modules/china-time/index.js

This file was deleted.

10 changes: 0 additions & 10 deletions node_modules/china-time/lib/index.js

This file was deleted.

66 changes: 0 additions & 66 deletions node_modules/china-time/package.json

This file was deleted.

Loading

0 comments on commit 68d617a

Please sign in to comment.