Skip to content

Commit

Permalink
update root packages
Browse files Browse the repository at this point in the history
  • Loading branch information
POPPIN-FUMI committed Mar 18, 2024
1 parent 6ac1309 commit 3dff2e8
Show file tree
Hide file tree
Showing 12 changed files with 949 additions and 1,223 deletions.
18 changes: 11 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,23 @@
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.1",
"@skeet-framework/firestore": "workspace:^",
"@types/node": "20.11.16",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"esbuild": "0.20.0",
"eslint": "8.56.0",
"@types/node": "20.11.25",
"@typescript-eslint/eslint-plugin": "7.1.1",
"@typescript-eslint/parser": "7.1.1",
"esbuild": "0.20.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"nodemon": "3.0.3",
"nodemon": "3.1.0",
"prettier": "3.2.5",
"ts-loader": "9.5.1",
"tsconfig-paths": "4.2.0",
"tsx": "4.7.1",
"typescript": "5.3.3"
"typedoc": "0.25.12",
"typescript": "5.3.3",
"vite": "5.1.6",
"vite-tsconfig-paths": "4.3.1",
"vitest": "1.3.1"
}
}
1 change: 1 addition & 0 deletions packages/ai/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import esbuild from 'esbuild'
'dotenv',
'@google-cloud/vertexai',
'openai',
'@anthropic-ai/sdk',
],
})
console.log('Build complete ⭐️')
Expand Down
25 changes: 14 additions & 11 deletions packages/ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,19 @@
"openai": "4.29.1"
},
"devDependencies": {
"@types/node": "20.11.28",
"esbuild": "0.20.2",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"prettier": "3.2.5",
"tsx": "4.7.1",
"typedoc": "0.25.12",
"typescript": "5.4.2",
"vite": "5.1.6",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.4.0"
"eslint-config-prettier": "*",
"typedoc": "*",
"@types/node": "*",
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"esbuild": "*",
"eslint": "*",
"nodemon": "*",
"prettier": "*",
"tsx": "*",
"typescript": "*",
"vite": "*",
"vite-tsconfig-paths": "*",
"vitest": "*"
}
}
25 changes: 12 additions & 13 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,24 @@
"prompt": "1.3.0"
},
"devDependencies": {
"@changesets/cli": "2.27.1",
"@skeet-framework/discord-utils": "workspace:*",
"@skeet-framework/firestore": "workspace:*",
"@stdlib/string-percent-encode": "0.2.1",
"@types/cli-spinner": "0.2.3",
"@types/i18n": "0.13.10",
"@types/inquirer": "9.0.7",
"@types/node": "20.11.25",
"@types/node": "*",
"@types/prompt": "1.1.8",
"@typescript-eslint/eslint-plugin": "7.1.1",
"@typescript-eslint/parser": "7.1.1",
"esbuild": "0.20.1",
"eslint": "8.57.0",
"nodemon": "3.1.0",
"prettier": "3.2.5",
"tsx": "4.7.1",
"typescript": "5.4.2",
"vite": "5.1.5",
"vite-tsconfig-paths": "4.3.1",
"vitest": "1.3.1"
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"esbuild": "*",
"eslint": "*",
"nodemon": "*",
"prettier": "*",
"tsx": "*",
"typescript": "*",
"vite": "*",
"vite-tsconfig-paths": "*",
"vitest": "*"
}
}
9 changes: 8 additions & 1 deletion packages/cli/src/cli/ai/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,20 @@ export const aiCommands = () => {
.description('AI Playground')
.option('-g, --gemini', 'Gemini')
.option('-o, --openai', 'OpenAI')
.option('-c, --claude', 'Claude')
.option('--mode', 'Mode')
.action(async (options) => {
await validateAiConfig()
const { ai } = await importConfig()
const lang = ai.lang as 'en' | 'ja'
const logger = new AiLog(lang)
const aiType = options.openai ? 'OpenAI' : 'Gemini'
let aiType = 'Gemini'
if (options.claude) {
aiType = 'Claude'
} else if (options.openai) {
aiType = 'OpenAI'
} else {
}
validEnv(aiType as AIType, logger)
const aiOptions: SkeetAIOptions = {
ai: aiType as AIType,
Expand Down
12 changes: 1 addition & 11 deletions packages/cli/src/lib/cliHelp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Options:
-h, --help display help for command
Commands:
test Test Command
create [options] <appName> Create Skeet Framework App
server|s [options] Run Skeet App
deploy [options] Deploy Skeet APP to Firebase
Expand All @@ -31,13 +30,6 @@ Commands:
new Create Skeet Framework App
help [command] display help for command
Usage: skeet test [options]
Test Command
Options:
-h, --help display help for command
Usage: skeet create [options] <appName>
Create Skeet Framework App
Expand Down Expand Up @@ -87,7 +79,6 @@ Options:
-h, --help display help for command
Commands:
test Test Command
create [options] <appName> Create Skeet Framework App
server|s [options] Run Skeet App
deploy [options] Deploy Skeet APP to Firebase
Expand Down Expand Up @@ -120,7 +111,6 @@ Options:
-h, --help display help for command
Commands:
test Test Command
create [options] <appName> Create Skeet Framework App
server|s [options] Run Skeet App
deploy [options] Deploy Skeet APP to Firebase
Expand Down Expand Up @@ -258,6 +248,7 @@ AI Playground
Options:
-g, --gemini Gemini
-o, --openai OpenAI
-c, --claude Claude
--mode Mode
-h, --help display help for command
Expand Down Expand Up @@ -297,7 +288,6 @@ Options:
-h, --help display help for command
Commands:
test Test Command
create [options] <appName> Create Skeet Framework App
server|s [options] Run Skeet App
deploy [options] Deploy Skeet APP to Firebase
Expand Down
25 changes: 14 additions & 11 deletions packages/cloud-task/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,19 @@
"@google-cloud/tasks": "5.1.1"
},
"devDependencies": {
"@types/node": "20.11.28",
"esbuild": "0.20.2",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"prettier": "3.2.5",
"tsx": "4.7.1",
"typedoc": "0.25.12",
"typescript": "5.4.2",
"vite": "5.1.6",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.4.0"
"eslint-config-prettier": "*",
"typedoc": "*",
"@types/node": "*",
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"esbuild": "*",
"eslint": "*",
"nodemon": "*",
"prettier": "*",
"tsx": "*",
"typescript": "*",
"vite": "*",
"vite-tsconfig-paths": "*",
"vitest": "*"
}
}
26 changes: 14 additions & 12 deletions packages/discord-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,19 @@
"discord.js": "14.14.1"
},
"devDependencies": {
"@types/node": "20.11.24",
"dotenv": "16.4.5",
"esbuild": "0.20.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"prettier": "3.2.5",
"tsx": "4.7.1",
"typedoc": "0.25.10",
"typescript": "5.3.3",
"vite": "5.1.5",
"vite-tsconfig-paths": "4.3.1",
"vitest": "1.3.1"
"eslint-config-prettier": "*",
"typedoc": "*",
"@types/node": "*",
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"esbuild": "*",
"eslint": "*",
"nodemon": "*",
"prettier": "*",
"tsx": "*",
"typescript": "*",
"vite": "*",
"vite-tsconfig-paths": "*",
"vitest": "*"
}
}
35 changes: 15 additions & 20 deletions packages/firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,23 @@
},
"dependencies": {
"dotenv": "16.4.5",
"firebase": "10.8.1",
"firebase": "10.9.0",
"firebase-admin": "12.0.0"
},
"devDependencies": {
"@firebase/rules-unit-testing": "3.0.1",
"@types/node": "20.11.24",
"@typescript-eslint/eslint-plugin": "7.1.0",
"@typescript-eslint/parser": "7.1.0",
"esbuild": "0.20.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"tsx": "4.7.1",
"typedoc": "0.25.10",
"typescript": "5.3.3",
"vite-tsconfig-paths": "4.3.1",
"vitest": "1.3.1"
},
"lint-staged": {
"*.{ts,css,md}": "prettier --write",
"{src,tests}/**/*.ts": "eslint --fix"
"eslint-config-prettier": "*",
"typedoc": "*",
"@types/node": "*",
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"esbuild": "*",
"eslint": "*",
"nodemon": "*",
"prettier": "*",
"tsx": "*",
"typescript": "*",
"vite": "*",
"vite-tsconfig-paths": "*",
"vitest": "*"
}
}
27 changes: 15 additions & 12 deletions packages/spreadsheet-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,22 @@
"dev": "tsx src/index.ts"
},
"dependencies": {
"googleapis": "133.0.0"
"googleapis": "134.0.0"
},
"devDependencies": {
"@types/node": "20.11.20",
"esbuild": "0.20.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"prettier": "3.2.5",
"tsconfig-paths": "4.2.0",
"tsx": "4.7.1",
"typedoc": "0.25.9",
"typescript": "5.3.3",
"vite-tsconfig-paths": "4.3.1",
"vitest": "1.3.1"
"eslint-config-prettier": "*",
"typedoc": "*",
"@types/node": "*",
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"esbuild": "*",
"eslint": "*",
"nodemon": "*",
"prettier": "*",
"tsx": "*",
"typescript": "*",
"vite": "*",
"vite-tsconfig-paths": "*",
"vitest": "*"
}
}
28 changes: 14 additions & 14 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@
"node-fetch": "3.3.2"
},
"devDependencies": {
"@types/node": "20.11.24",
"@types/node-fetch": "2.6.11",
"dotenv": "16.4.5",
"esbuild": "0.20.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"prettier": "3.2.5",
"tsconfig-paths": "4.2.0",
"tsx": "4.7.1",
"typedoc": "0.25.11",
"typescript": "5.3.3",
"vite": "5.1.5",
"vite-tsconfig-paths": "4.3.1",
"vitest": "1.3.1"
"eslint-config-prettier": "*",
"typedoc": "*",
"@types/node": "*",
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"esbuild": "*",
"eslint": "*",
"nodemon": "*",
"prettier": "*",
"tsx": "*",
"typescript": "*",
"vite": "*",
"vite-tsconfig-paths": "*",
"vitest": "*"
}
}
Loading

0 comments on commit 3dff2e8

Please sign in to comment.