Skip to content

Commit

Permalink
fix ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Maya Shavin committed Nov 4, 2020
1 parent c59979d commit b2f3db2
Show file tree
Hide file tree
Showing 8 changed files with 17,573 additions and 9 deletions.
17,560 changes: 17,560 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@
},
"homepage": "https://github.com/mayashavin/gridsome-plugin-cloudinary#readme",
"devDependencies": {
"@types/node": "^14.14.6",
"eslint": "^7.11.0",
"jest": "^26.6.0",
"lerna": "^3.22.1",
"prettier": "^2.1.2"
"prettier": "^2.1.2",
"typescript": "^4.0.5"
},
"dependencies": {
"netlify-cli": "^2.67.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/gs-cld-plugin/lib/gridsome.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import CldAssetFixed from './types/CldAssetFixed'
import CldAssetResponsive from './types/CldAssetResponsive'
import { CldTransformation } from './types/CldTransformation'
import CldAsset from './types/CldAsset'
import { GraphQLList } from 'gridsome/graphql'
const { GraphQLList } = require('gridsome/graphql')
import { CLD_ASSET } from './constants'
import { AssetInfo, getAssetInfo } from './helpers'
const { setOptions, fixedAssetResolver, responsiveAssetResolver, upload, createImageNode } = require('./resolvers')
Expand Down
Empty file.
4 changes: 2 additions & 2 deletions packages/gs-cld-plugin/lib/types/CldAssetFixed.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
const {
GraphQLInt,
GraphQLString,
GraphQLObjectType,
GraphQLList
} from 'gridsome/graphql'
} = require('gridsome/graphql')

export const CldAssetFixed = new GraphQLObjectType({
name: 'CldAssetFixed',
Expand Down
5 changes: 3 additions & 2 deletions packages/gs-cld-plugin/lib/types/CldAssetResponsive.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import {
const {
GraphQLInt,
GraphQLString,
GraphQLObjectType,
GraphQLList
} from 'gridsome/graphql'
} = require('gridsome/graphql')


export const CldAssetResponsive = new GraphQLObjectType({
name: 'CldAssetResponsive',
Expand Down
4 changes: 2 additions & 2 deletions packages/gs-cld-plugin/lib/types/CldTransformation.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
const {
GraphQLInt,
GraphQLString,
GraphQLInputObjectType
} from 'gridsome/graphql'
} = require('gridsome/graphql')

export const CldResize = new GraphQLInputObjectType({
name: 'CldResize',
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
},
"exclude": [
"node_modules",
"dist"
"dist",
"__tests__"
]
}

0 comments on commit b2f3db2

Please sign in to comment.