@rh-support/utils
Advanced tools
Comparing version 0.0.6 to 0.0.8
/// <reference types="react" /> | ||
import { IRecommendation } from '@rh-support/api'; | ||
import { IApiResponseDetails, IPortalJwtToken, IOption, IMarkedownOptions, IMarkdownCallback } from '@rh-support/types'; | ||
import { IApiResponseDetails, IPortalJwtToken, IOption, IMarkedownOptions, IMarkdownCallback } from '@rh-support/types/shared'; | ||
export declare function getApiResourceObject<T>(data: T, isFetching?: boolean, isError?: boolean, errorMessage?: string): IApiResponseDetails<T>; | ||
@@ -5,0 +5,0 @@ export declare function getRecommendationTitle(doc: IRecommendation): string; |
{ | ||
"name": "@rh-support/utils", | ||
"version": "0.0.6", | ||
"version": "0.0.8", | ||
"description": "> TODO: description", | ||
@@ -21,3 +21,4 @@ "author": "Vikas Rathee <vrathee@redhat.com>", | ||
"type": "git", | ||
"url": "git@gitlab.cee.redhat.com:gss-engineering/rh-support.git" | ||
"url": "git@gitlab.cee.redhat.com:gss-engineering/rh-support.git", | ||
"directory": "packages/utils" | ||
}, | ||
@@ -28,9 +29,9 @@ "publishConfig": { | ||
"scripts": { | ||
"build:watch": "rollup -c --watch & tsc -w", | ||
"build": "rimraf lib && rollup -c && tsc", | ||
"build:watch": "rollup -c ./node_modules/@rh-support/configs/rollup.config.js --watch & tsc -w", | ||
"build": "rimraf lib && rollup -c ./node_modules/@rh-support/configs/rollup.config.js && tsc", | ||
"prepublishOnly": "npm run build" | ||
}, | ||
"peerDependencies": { | ||
"@rh-support/api": ">=0.0.2", | ||
"@rh-support/types": ">=0.0.2", | ||
"@rh-support/api": ">=0.0.6", | ||
"@rh-support/types": ">=0.0.6", | ||
"js-markdown-extra": ">=1.2.4", | ||
@@ -42,5 +43,8 @@ "lodash": ">=4.17.15", | ||
"devDependencies": { | ||
"@rh-support/api": "^0.0.6", | ||
"@rh-support/types": "^0.0.6", | ||
"@svgr/rollup": "^4.3.2", | ||
"@rh-support/api": "^0.0.8", | ||
"@rh-support/configs": "^0.0.8", | ||
"@rh-support/types": "^0.0.7", | ||
"@testing-library/jest-dom": "^4.0.1", | ||
"@testing-library/react": "^9.1.3", | ||
"@types/jest": "^24.0.18", | ||
"@types/marked": "^0.6.5", | ||
@@ -53,11 +57,8 @@ "@types/react": "^16.8.23", | ||
"qs": "^6.7.0", | ||
"react": "^16.9.0", | ||
"react-dom": "^16.9.0", | ||
"rimraf": "^2.6.3", | ||
"rollup": "^1.17.0", | ||
"rollup-plugin-commonjs": "^10.0.1", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-peer-deps-external": "^2.2.0", | ||
"rollup-plugin-typescript3": "^1.1.2", | ||
"rollup-plugin-url": "^2.2.2" | ||
"rollup": "^1.17.0" | ||
}, | ||
"gitHead": "0f26ac6c99fce192574de74e33a32a1beae0d706" | ||
"gitHead": "434a54c8fc85ac1bad32f63cb96b403cd66a3ab7" | ||
} |
Sorry, the diff of this file is not supported yet
54259