Add typings support to d.ts package
PiperOrigin-RevId: 488519074
This commit is contained in:
parent
f16e63694e
commit
9bd8b432c3
|
@ -63,6 +63,7 @@ pkg_npm(
|
|||
substitutions = {
|
||||
"__NAME__": "audio",
|
||||
"__DESCRIPTION__": "MediaPipe Audio Tasks",
|
||||
"__TYPES__": "audio.d.ts",
|
||||
},
|
||||
tgz = "audio.tgz",
|
||||
deps = [
|
||||
|
@ -117,6 +118,7 @@ pkg_npm(
|
|||
substitutions = {
|
||||
"__NAME__": "text",
|
||||
"__DESCRIPTION__": "MediaPipe Text Tasks",
|
||||
"__TYPES__": "text.d.ts",
|
||||
},
|
||||
tgz = "text.tgz",
|
||||
deps = [
|
||||
|
@ -171,6 +173,7 @@ pkg_npm(
|
|||
substitutions = {
|
||||
"__NAME__": "vision",
|
||||
"__DESCRIPTION__": "MediaPipe Vision Tasks",
|
||||
"__TYPES__": "vision.d.ts",
|
||||
},
|
||||
tgz = "vision_pkg.tgz",
|
||||
deps = [
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
},
|
||||
"author": "mediapipe@google.com",
|
||||
"license": "Apache-2.0",
|
||||
"types": "__TYPES__",
|
||||
"dependencies": {
|
||||
"google-protobuf": "^3.21.2"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user