Skip to content

Commit

Permalink
build: move typeless invocation to root
Browse files Browse the repository at this point in the history
  • Loading branch information
feywind committed Sep 16, 2024
1 parent f1f6f16 commit e820a7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"benchwrapper": "node bin/benchwrapper.js",
"prelint": "cd samples; npm link ../; npm install",
"precompile": "gts clean",
"typeless": "cd samples; npm run typeless"
"typeless": "npx typeless-sample-bot --outputpath samples --targets samples --recursive",
"posttypeless": "npm run fix"
},
"dependencies": {
"@google-cloud/paginator": "^5.0.0",
Expand All @@ -64,6 +65,7 @@
"p-defer": "^3.0.0"
},
"devDependencies": {
"@google-cloud/typeless-sample-bot": "^2.1.0",
"@grpc/proto-loader": "^0.7.0",
"@opentelemetry/core": "^1.17.0",
"@opentelemetry/sdk-trace-base": "^1.17.0",
Expand Down
5 changes: 1 addition & 4 deletions samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"sampletsc": "cd typescript && tsc -p . && cd ..",
"compile": "npm run tsc && npm run sampletsc",
"clean": "gts clean && rm -rf build/",
"precompile": "npm run clean",
"typeless": "npx typeless-sample-bot --outputpath . --targets . --recursive",
"posttypeless": "gts fix"
"precompile": "npm run clean"
},
"dependencies": {
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.0.0",
Expand All @@ -37,7 +35,6 @@
},
"devDependencies": {
"@google-cloud/bigquery": "^7.0.0",
"@google-cloud/typeless-sample-bot": "^2.1.0",
"@types/chai": "^4.2.16",
"chai": "^4.2.0",
"gts": "^5.0.0",
Expand Down

0 comments on commit e820a7a

Please sign in to comment.