Skip to content

Commit

Permalink
chore: remove repo-tools from a few spots (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and Ace Nassri committed Nov 21, 2022
1 parent a63ebb7 commit c623044
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
3 changes: 0 additions & 3 deletions compute/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "nodejs-docs-samples-computeengine",
"version": "0.0.1",
"private": true,
"license": "Apache-2.0",
"author": "Google Inc.",
Expand All @@ -19,14 +18,12 @@
"dependencies": {
"@google-cloud/compute": "^0.10.0",
"googleapis": "^36.0.0",
"node-fetch": "^2.2.0",
"nodemailer": "^4.3.1",
"nodemailer-smtp-transport": "^2.7.4",
"sendgrid": "^5.2.3",
"uuid": "^3.2.1"
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "^3.0.0",
"chai": "^4.2.0",
"execa": "^1.0.0",
"mocha": "^5.0.0",
Expand Down
9 changes: 4 additions & 5 deletions compute/startup-script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,15 @@
"node": ">=8"
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "^3.0.0",
"mocha": "^5.0.0",
"uuid": "^3.2.1"
},
"scripts": {
"test": "mocha system-test/*.js --timeout 600000",
"start": "node -e 'require(\"./index.js\").create(\"vm-with-apache\", console.log)'",
"delete": "node -e 'require(\"./index.js\").delete(\"vm-with-apache\", console.log)'",
"list": "node -e 'require(\"./index.js\").list(console.log)'"
"start": "node -e 'require(\"./index.js\").createVM(\"vm-with-apache\", console.log)'",
"delete": "node -e 'require(\"./index.js\").deleteVM(\"vm-with-apache\", console.log)'",
"list": "node -e 'require(\"./index.js\").listVMs(console.log)'"
},
"author": "",
"author": "Google, LLC",
"license": "Apache-2.0"
}
4 changes: 0 additions & 4 deletions compute/test/mailjet.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,12 @@
'use strict';

const proxyquire = require(`proxyquire`).noPreserveCache();
const tools = require(`@google-cloud/nodejs-repo-tools`);
const assert = require('assert');

process.env.MAILJET_API_KEY = `foo`;
process.env.MAILJET_API_SECRET = `bar`;

describe('mailjet', () => {
beforeEach(tools.stubConsole);
afterEach(tools.restoreConsole);

it('should send an email', () => {
proxyquire(`../mailjet`, {
nodemailer: {
Expand Down
4 changes: 0 additions & 4 deletions compute/test/sendgrid.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,11 @@
'use strict';

const proxyquire = require(`proxyquire`).noPreserveCache();
const tools = require(`@google-cloud/nodejs-repo-tools`);
const assert = require('assert');

process.env.SENDGRID_API_KEY = `foo`;

describe('sendgrid', () => {
beforeEach(tools.stubConsole);
afterEach(tools.restoreConsole);

it('should send an email', () => {
proxyquire(`../sendgrid`, {
sendgrid: key => {
Expand Down

0 comments on commit c623044

Please sign in to comment.