Skip to content

Commit

Permalink
feat: module style supports
Browse files Browse the repository at this point in the history
  • Loading branch information
BIYUEHU committed Jun 7, 2024
1 parent 1661b30 commit 4c498ae
Show file tree
Hide file tree
Showing 26 changed files with 2,433 additions and 1,812 deletions.
17 changes: 4 additions & 13 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,9 @@
"env": {
"es2024": true
},
"extends": [
"airbnb-base",
"prettier",
"typescript"
],
"extends": ["airbnb-base", "prettier", "typescript"],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"plugins": ["@typescript-eslint"],
"rules": {
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
Expand All @@ -21,8 +15,5 @@
"no-shadow": 0,
"no-redeclare": 0
},
"ignorePatterns": [
"*.js",
"*.d.ts"
]
}
"ignorePatterns": ["*.js", "*.d.ts"]
}
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- run: yarn install
cache: 'pnpm'
- run: pnpm install
env:
CYPRESS_INSTALL_BINARY: 0
- run: yarn build
- run: pnpm build
13 changes: 1 addition & 12 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,5 @@ lib
!.vscode/extensions.json

*.tgz
tsconfig.tsbuildinfo
*.log

kotori.dev.yml

# modules/*
!modules/adapter-*
!modules/core
!modules/helper
!modules/i18n-command
!modules/menu

data
tsconfig.tsbuildinfo
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-kotori",
"description": "An easy way to start a Kotori project",
"version": "1.0.2",
"version": "1.1.0",
"license": "GPL-3.0",
"author": "Hotaru <biyuehuya@gmail.com>",
"scripts": {
Expand All @@ -22,7 +22,7 @@
"create-kotori": "./bin.js"
},
"dependencies": {
"@kotori-bot/i18n": "^1.2.0",
"@kotori-bot/i18n": "^1.3.1",
"cac": "^6.7.14",
"colorette": "^2.0.20",
"inquirer": "^9.2.12",
Expand Down
Loading

0 comments on commit 4c498ae

Please sign in to comment.