Website: add new categories | move all scripts into new categories #451
Annotations
10 errors and 1 warning
src/__tests__/public/validate-json.test.ts > .prettierignore > should have valid json according to script schema:
frontend/node_modules/zod/lib/index.mjs#L587
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"name"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"slug"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "array",
"received": "undefined",
"path": [
"categories"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"date_created"
],
"message": "Required"
},
{
"expected": "'vm' | 'ct' | 'misc' | 'turnkey'",
"received": "undefined",
"code": "invalid_type",
"path": [
"type"
],
"message": "Type must be either 'vm', 'ct', 'misc' or 'turnkey'"
},
{
"code": "invalid_type",
"expected": "boolean",
"received": "undefined",
"path": [
"updateable"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "boolean",
"received": "undefined",
"path": [
"privileged"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "number",
"received": "undefined",
"path": [
"interface_port"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"documentation"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"website"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"logo"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"description"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "array",
"received": "undefined",
"path": [
"install_methods"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [
"default_credentials"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "array",
"received": "undefined",
"path": [
"notes"
],
"message": "Required"
}
]
❯ Object.get error [as error] node_modules/zod/lib/index.mjs:587:31
❯ ZodObject.parse node_modules/zod/lib/index.mjs:692:22
❯ src/__tests__/public/validate-json.test.ts:24:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'name' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'slug' ], message: 'Required' }, { code: 'invalid_type', expected: 'array', received: 'undefined', path: [ 'categories' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'date_created' ], message: 'Required' }, { expected: '\'vm\' | \'ct\' | \'misc\' | \'turnkey\'', received: 'undefined', code: 'invalid_type', path: [ 'type' ], message: 'Type must be either \'vm\', \'ct\', \'misc\' or \'turnkey\'' }, { code: 'invalid_type', expected: 'boolean', received: 'undefined', path: [ 'updateable' ], message: 'Required' }, { code: 'invalid_type', expected: 'boolean', received: 'undefined', path: [ 'privileged' ], message: 'Required' }, { code: 'invalid_type', expected: 'number', received: 'undefined', path: [ 'interface_port' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'documentation' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'website' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'logo' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'description' ],
|
src/__tests__/public/validate-json.test.ts > .prettierignore > should have a corresponding script file:
frontend/src/__tests__/public/validate-json.test.ts#L28
TypeError: Cannot read properties of undefined (reading 'forEach')
❯ src/__tests__/public/validate-json.test.ts:28:28
|
src/__tests__/public/validate-json.test.ts > .prettierrc > should have valid json according to script schema:
frontend/node_modules/zod/lib/index.mjs#L587
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"name"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"slug"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "array",
"received": "undefined",
"path": [
"categories"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"date_created"
],
"message": "Required"
},
{
"expected": "'vm' | 'ct' | 'misc' | 'turnkey'",
"received": "undefined",
"code": "invalid_type",
"path": [
"type"
],
"message": "Type must be either 'vm', 'ct', 'misc' or 'turnkey'"
},
{
"code": "invalid_type",
"expected": "boolean",
"received": "undefined",
"path": [
"updateable"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "boolean",
"received": "undefined",
"path": [
"privileged"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "number",
"received": "undefined",
"path": [
"interface_port"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"documentation"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"website"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"logo"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"description"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "array",
"received": "undefined",
"path": [
"install_methods"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [
"default_credentials"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "array",
"received": "undefined",
"path": [
"notes"
],
"message": "Required"
}
]
❯ Object.get error [as error] node_modules/zod/lib/index.mjs:587:31
❯ ZodObject.parse node_modules/zod/lib/index.mjs:692:22
❯ src/__tests__/public/validate-json.test.ts:24:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'name' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'slug' ], message: 'Required' }, { code: 'invalid_type', expected: 'array', received: 'undefined', path: [ 'categories' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'date_created' ], message: 'Required' }, { expected: '\'vm\' | \'ct\' | \'misc\' | \'turnkey\'', received: 'undefined', code: 'invalid_type', path: [ 'type' ], message: 'Type must be either \'vm\', \'ct\', \'misc\' or \'turnkey\'' }, { code: 'invalid_type', expected: 'boolean', received: 'undefined', path: [ 'updateable' ], message: 'Required' }, { code: 'invalid_type', expected: 'boolean', received: 'undefined', path: [ 'privileged' ], message: 'Required' }, { code: 'invalid_type', expected: 'number', received: 'undefined', path: [ 'interface_port' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'documentation' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'website' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'logo' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'description' ],
|
src/__tests__/public/validate-json.test.ts > .prettierrc > should have a corresponding script file:
frontend/src/__tests__/public/validate-json.test.ts#L28
TypeError: Cannot read properties of undefined (reading 'forEach')
❯ src/__tests__/public/validate-json.test.ts:28:28
|
src/__tests__/public/validate-json.test.ts > debian-vm.json:
frontend/src/__tests__/public/validate-json.test.ts#L20
SyntaxError: Unexpected token '', "{
"name"... is not valid JSON
❯ src/__tests__/public/validate-json.test.ts:20:19
|
src/__tests__/public/validate-json.test.ts > debian.json:
frontend/src/__tests__/public/validate-json.test.ts#L20
SyntaxError: Unexpected token '', "{
"name"... is not valid JSON
❯ src/__tests__/public/validate-json.test.ts:20:19
|
src/__tests__/public/validate-json.test.ts > deconz.json:
frontend/src/__tests__/public/validate-json.test.ts#L20
SyntaxError: Unexpected token '', "{
"name"... is not valid JSON
❯ src/__tests__/public/validate-json.test.ts:20:19
|
src/__tests__/public/validate-json.test.ts > deluge.json:
frontend/src/__tests__/public/validate-json.test.ts#L20
SyntaxError: Unexpected token '', "{
"name"... is not valid JSON
❯ src/__tests__/public/validate-json.test.ts:20:19
|
src/__tests__/public/validate-json.test.ts > docker.json:
frontend/src/__tests__/public/validate-json.test.ts#L20
SyntaxError: Unexpected token '', "{
"name"... is not valid JSON
❯ src/__tests__/public/validate-json.test.ts:20:19
|
src/__tests__/public/validate-json.test.ts > dockge.json:
frontend/src/__tests__/public/validate-json.test.ts#L20
SyntaxError: Unexpected token '', "{
"name"... is not valid JSON
❯ src/__tests__/public/validate-json.test.ts:20:19
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|