{ "name": "zena-lang:google-cloud", "did": "did:plc:qbkjpxdf25abo34ftxcjzgck", "version": "0.0.1-preview.1", "description": "Google Cloud clients: Firestore, Cloud Storage, Cloud DNS and Cloud KMS", "license": "MIT", "files": [ "src" ], "exports": { "auth": {}, "dns": {}, "firestore": {}, "firestore-v1": {}, "kms": {}, "storage": {}, "storage-v2": {}, "testing/fake-kms": {}, "testing/firestore-emulator": {} }, "dependencies": { "protobuf": { "path": "../protobuf", "version": "~0.0.1-preview.1" } }, "scripts": { "test": { "type": "zena:test", "tests": "test/*_test.zena", "files": [ "test/*_test.zena", "../protobuf/protos/**/*.proto" ], "dependencies": [ "../cli:build" ] }, "test:emulator": { "#tests": "The client against the Firestore emulator over gRPC. Not part of `test`: the emulator needs the flake's `emulators` shell (firebase-tools and Java, about 2 GB), which the root `emulators:start` service enters itself.", "type": "zena:test", "tests": "test/emulator/*_test.zena", "env": { "FIRESTORE_EMULATOR_HOST": "127.0.0.1:8180" }, "dependencies": [ "../..:emulators:start", "../cli:build" ] }, "generate": { "#command": "Regenerates the Firestore and Cloud Storage API modules from the vendored protos. The test fails when either is out of date.", "command": "cd ../.. && ./target/release/zena run --dir . packages/protobuf/bin/generate.zena -- -I packages/protobuf/protos -o packages/google-cloud/src/firestore-v1.zena google/firestore/v1/firestore.proto && ./target/release/zena run --dir . packages/protobuf/bin/generate.zena -- -I packages/protobuf/protos -o packages/google-cloud/src/storage-v2.zena google/storage/v2/storage.proto", "files": [ "../protobuf/bin/**/*.zena", "../protobuf/protos/**/*.proto" ], "output": [ "src/firestore-v1.zena", "src/storage-v2.zena" ], "dependencies": [ "../protobuf:source", "../stdlib:lib", "../cli:build" ] } } }