Skip to content

Commit

Permalink
Bump @yaakapp/api deps
Browse files Browse the repository at this point in the history
  • Loading branch information
gschier committed Sep 20, 2024
1 parent 92ac917 commit aed7348
Show file tree
Hide file tree
Showing 20 changed files with 140 additions and 122 deletions.
26 changes: 14 additions & 12 deletions plugins/exporter-curl/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/exporter-curl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "yaakcli build ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.14"
"@yaakapp/api": "^0.2.5"
},
"devDependencies": {
"@types/node": "^20.14.9",
Expand Down
6 changes: 3 additions & 3 deletions plugins/exporter-curl/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Context, HttpRequest, Plugin } from '@yaakapp/api';
import { Context, HttpRequest, PluginDefinition } from '@yaakapp/api';

const NEWLINE = '\\\n ';

export const plugin: Plugin = {
export const plugin: PluginDefinition = {
httpRequestActions: [{
key: 'export-curl',
label: 'Copy as Curl',
Expand All @@ -11,7 +11,7 @@ export const plugin: Plugin = {
const rendered_request = await ctx.httpRequest.render({ httpRequest: args.httpRequest, purpose: 'preview' });
const data = await pluginHookExport(ctx, rendered_request);
ctx.clipboard.copyText(data);
ctx.toast.show({ variant: 'copied', message: 'Curl copied to clipboard' });
ctx.toast.show({ message: 'Curl copied to clipboard', icon: 'copy' });
},
}],
};
Expand Down
26 changes: 14 additions & 12 deletions plugins/filter-jsonpath/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/filter-jsonpath/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"dependencies": {
"jsonpath-plus": "^9.0.0",
"@yaakapp/api": "^0.1.14"
"@yaakapp/api": "^0.2.5"
},
"devDependencies": {
"@yaakapp/cli": "^0.0.42",
Expand Down
26 changes: 14 additions & 12 deletions plugins/filter-xpath/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/filter-xpath/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "yaakcli build ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"@xmldom/xmldom": "^0.8.10",
"xpath": "^0.0.34"
},
Expand Down
26 changes: 14 additions & 12 deletions plugins/importer-curl/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/importer-curl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "yaakcli build ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"shell-quote": "^1.8.1"
},
"devDependencies": {
Expand Down
26 changes: 14 additions & 12 deletions plugins/importer-insomnia/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/importer-insomnia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "yaakcli build ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"yaml": "^2.4.2"
},
"devDependencies": {
Expand Down
26 changes: 14 additions & 12 deletions plugins/importer-openapi/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/importer-openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "yaakcli build ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"openapi-to-postmanv2": "^4.23.1",
"yaml": "^2.4.2"
},
Expand Down
Loading

0 comments on commit aed7348

Please sign in to comment.