Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHORE] Bump version #85

Merged
merged 9 commits into from
Jan 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions intellij-plugin/CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion intellij-plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pluginGroup=com.lemick
pluginName=hoverfly-ui-intellij-plugin
pluginRepositoryUrl=https://github.com/Lemick/hoverfly-ui
pluginVersion=1.4.0
pluginVersion=1.5.0
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild=233
pluginUntilBuild=243.*
Expand Down
25 changes: 0 additions & 25 deletions ui/.eslintrc.json

This file was deleted.

9 changes: 0 additions & 9 deletions ui/.prettierrc

This file was deleted.

37 changes: 37 additions & 0 deletions ui/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"ignore": []
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"lineWidth": 100
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"useExhaustiveDependencies": "off"
},
"suspicious": {
"noArrayIndexKey": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
}
}
6 changes: 3 additions & 3 deletions ui/e2e/test-data/input/empty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ export default {
meta: {
schemaVersion: 'v5',
hoverflyVersion: 'v1.6.0',
timeExported: '2023-04-10T12:00:00Z'
timeExported: '2023-04-10T12:00:00Z',
},
data: {
pairs: []
}
pairs: [],
},
};
20 changes: 10 additions & 10 deletions ui/e2e/test-data/input/simulation-with-content-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const simulationWithContentType = {
meta: {
schemaVersion: 'v5',
hoverflyVersion: 'v1.6.0',
timeExported: '2023-04-10T12:00:00Z'
timeExported: '2023-04-10T12:00:00Z',
},
data: {
pairs: [
Expand All @@ -11,19 +11,19 @@ export const simulationWithContentType = {
method: [
{
matcher: 'exact',
value: ''
}
]
value: '',
},
],
},
response: {
status: 200,
body: 'Hello World',
headers: {
'content-Length': ['11']
'content-Length': ['11'],
},
encodedBody: false
}
}
]
}
encodedBody: false,
},
},
],
},
};
12 changes: 6 additions & 6 deletions ui/e2e/test-data/input/simulation-with-pretty-response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ export const simulationWithPrettyResponse = {
meta: {
schemaVersion: 'v5.2',
hoverflyVersion: 'v1.6.0',
timeExported: '2024-03-25T18:14:10.185Z'
timeExported: '2024-03-25T18:14:10.185Z',
},
data: {
pairs: [
{
request: {},
response: {
status: 200,
body: '{\n "is_prettified": true,\n "will_be_minified": true\n}'
}
}
]
}
body: '{\n "is_prettified": true,\n "will_be_minified": true\n}',
},
},
],
},
};
58 changes: 29 additions & 29 deletions ui/e2e/test-data/output/expected-complete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default {
meta: {
schemaVersion: 'v5',
hoverflyVersion: 'v1.6.0',
timeExported: '2023-04-10T12:00:00Z'
timeExported: '2023-04-10T12:00:00Z',
},
data: {
pairs: [
Expand All @@ -11,48 +11,48 @@ export default {
method: [
{
matcher: 'glob',
value: 'GET'
}
value: 'GET',
},
],
scheme: [
{
matcher: 'glob',
value: 'http'
}
value: 'http',
},
],
destination: [
{
matcher: 'glob',
value: 'mock.api.com'
}
value: 'mock.api.com',
},
],
path: [
{
matcher: 'glob',
value: 'path1'
value: 'path1',
},
{
matcher: 'exact',
value: 'path2'
}
value: 'path2',
},
],
query: {
param2: [
{
matcher: 'exact',
value: 'value2'
value: 'value2',
},
{
matcher: 'exact',
value: 'value3'
}
value: 'value3',
},
],
param1: [
{
matcher: 'glob',
value: 'value1'
}
]
value: 'value1',
},
],
},
headers: {
header1: [
Expand All @@ -62,17 +62,17 @@ export default {
config: {
ignoreUnknown: true,
ignoreOrder: true,
ignoreOccurrences: true
}
}
]
ignoreOccurrences: true,
},
},
],
},
body: [
{
matcher: 'jsonPartial',
value: '{ "field1": "value1" }'
}
]
value: '{ "field1": "value1" }',
},
],
},
response: {
status: 204,
Expand All @@ -81,10 +81,10 @@ export default {
fixedDelay: 500,
headers: {
'Content-Type': ['application/json'],
'Cache-control': ['max-age=604800', 'must-revalidate']
}
}
}
]
}
'Cache-control': ['max-age=604800', 'must-revalidate'],
},
},
},
],
},
};
20 changes: 10 additions & 10 deletions ui/e2e/test-data/output/expected-content-type-updated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const expectContentTypeUpdated = {
meta: expect.objectContaining({
schemaVersion: 'v5',
hoverflyVersion: 'v1.6.0',
timeExported: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/)
timeExported: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/),
}),
data: expect.objectContaining({
pairs: [
Expand All @@ -13,19 +13,19 @@ export const expectContentTypeUpdated = {
method: [
{
matcher: 'exact',
value: ''
}
]
value: '',
},
],
},
response: {
status: 200,
body: 'Hello World, how is it going ?',
headers: {
'content-Length': ['30']
'content-Length': ['30'],
},
encodedBody: false
}
}
]
})
encodedBody: false,
},
},
],
}),
};
12 changes: 6 additions & 6 deletions ui/e2e/test-data/output/expected-minified-response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ export const expectedMinifiedResponse = {
meta: {
schemaVersion: 'v5.2',
hoverflyVersion: 'v1.6.0',
timeExported: '2024-03-25T18:14:10.185Z'
timeExported: '2024-03-25T18:14:10.185Z',
},
data: {
pairs: [
{
request: {},
response: {
status: 200,
body: '{"is_prettified":true,"will_be_minified":true}'
}
}
]
}
body: '{"is_prettified":true,"will_be_minified":true}',
},
},
],
},
};
6 changes: 3 additions & 3 deletions ui/e2e/test-data/output/expected-start-from-scratch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ export default {
meta: expect.objectContaining({
schemaVersion: 'v5.2',
hoverflyVersion: 'v1.6.0',
timeExported: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/)
timeExported: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/),
}),
data: expect.objectContaining({
pairs: []
})
pairs: [],
}),
};
3 changes: 1 addition & 2 deletions ui/e2e/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"compilerOptions": {
}
"compilerOptions": {}
}
4 changes: 3 additions & 1 deletion ui/e2e/utils/WebUiSimulationPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export class WebUiSimulationPage {
this.requestEditor = page.getByTestId('request-editor');
this.requestTabContentMethod = page.getByTestId('tab-content-method');
this.requestTabContentScheme = page.getByTestId('tab-content-scheme');
this.requestTabContentDestination = page.getByTestId('tab-content-destination');
this.requestTabContentDestination = page.getByTestId(
'tab-content-destination',
);
this.requestTabContentPath = page.getByTestId('tab-content-path');
this.requestTabContentQuery = page.getByTestId('tab-content-query');
this.requestTabContentHeaders = page.getByTestId('tab-content-headers');
Expand Down
Loading
Loading