Skip to content

Commit

Permalink
[frameworks][api] Move dependency to devdependency (vercel#4836)
Browse files Browse the repository at this point in the history
Follow up to vercel#4829
  • Loading branch information
styfle authored Jul 10, 2020
1 parent a9ef3cc commit 9712abc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
},
"dependencies": {
"@sentry/node": "5.11.1",
"@vercel/node": "1.7.1",
"got": "10.2.1",
"node-fetch": "2.6.0",
"parse-github-url": "1.0.2",
Expand All @@ -19,6 +18,7 @@
"devDependencies": {
"@types/node": "13.1.4",
"@types/node-fetch": "2.5.4",
"@vercel/node": "1.7.2",
"typescript": "3.9.6"
}
}
8 changes: 4 additions & 4 deletions api/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@
dependencies:
"@types/node" "*"

"@vercel/[email protected].1":
version "1.7.1"
resolved "https://registry.yarnpkg.com/@vercel/node/-/node-1.7.1.tgz#cdf9b2226cbc469228aae6369b2b21db4c83dc69"
integrity sha512-Lp6l3526xQ/srCqkXE9/E+gykAcpM/vut4zFo5NA9+syGxZt1nlVAznhNVkgsSW4mbRIE67KIfi7SII55dW7uw==
"@vercel/[email protected].2":
version "1.7.2"
resolved "https://registry.yarnpkg.com/@vercel/node/-/node-1.7.2.tgz#85cb8aac661c02dfef6fe752740f5b162e90767b"
integrity sha512-XV5lrLC+K/cxsaFj8H2OoGu1zliOqnxcrOnPInI8HmQjR/Tztt+0nzgpt+7sx8wXcrib0Nu7lK303jP7VjSETw==
dependencies:
"@types/node" "*"
ts-node "8.9.1"
Expand Down
5 changes: 1 addition & 4 deletions packages/frameworks/test/frameworks.unit.test.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import Ajv from 'ajv';
import { join } from 'path';
import { existsSync } from 'fs';
import { isString } from 'util';
import { Framework } from '../';
const frameworkList = require('../frameworks.json') as Framework[];

function isString(arg: any): arg is string {
return typeof arg === 'string';
}

const SchemaFrameworkDetectionItem = {
type: 'array',
items: [
Expand Down

0 comments on commit 9712abc

Please sign in to comment.