feat: initial configs for npm publishing (#30)
* feat: initial configs for npm publishing * fix: workspace reference * fix: include LICENSE in npm run build
This commit is contained in:
parent
abb60a4d10
commit
56d4a35d05
|
@ -0,0 +1,3 @@
|
|||
; TODO(b/411429188): move this to an artifact registry in the official gemini-code gcp project
|
||||
@google:registry=https://us-west1-npm.pkg.dev/kkb-dev/gemini-code/
|
||||
//us-west1-npm.pkg.dev/kkb-dev/gemini-code/:always-auth=true
|
|
@ -11,8 +11,9 @@
|
|||
"test": "npm run test --workspaces",
|
||||
"lint": "eslint . --ext .ts,.tsx",
|
||||
"typecheck": "tsc --noEmit --jsx react",
|
||||
"start": "npm run start --workspace=gemini-code-cli -- \"$@\"",
|
||||
"format": "prettier --write ."
|
||||
"start": "npm run start --workspace=@google/gemini-code -- \"$@\"",
|
||||
"format": "prettier --write .",
|
||||
"artifactregistry-login": "npx google-artifactregistry-auth"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^9.24.0",
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{
|
||||
"name": "gemini-code-cli",
|
||||
"name": "@google/gemini-code",
|
||||
"version": "1.0.0",
|
||||
"description": "Gemini Code CLI",
|
||||
"type": "module",
|
||||
"main": "dist/gemini.js",
|
||||
"main": "gemini.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build": "tsc && cp package.json README.md ../../LICENSE dist/",
|
||||
"clean": "rm -rf dist",
|
||||
"start": "node dist/gemini.js",
|
||||
"debug": "node --inspect-brk dist/gemini.js",
|
||||
"lint": "eslint . --ext .ts,.tsx",
|
||||
|
|
Loading…
Reference in New Issue