Skip to content

Commit

Permalink
chore(concourse-ts-fluent): update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
DecentM committed Jun 21, 2024
1 parent ae4e001 commit bdf4dff
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 243 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
9 changes: 5 additions & 4 deletions packages/concourse-ts-fluent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@
],
"require": [
"ts-node/register/transpile-only",
"tsconfig-paths/register"
"tsconfig-paths/register.js"
]
},
"peerDependencies": {
"@decentm/concourse-ts": "0.x"
},
"devDependencies": {
"ava": "^5.3.1",
"c8": "^8.0.1",
"ts-node-dev": "^2.0.0"
"ava": "^6.1.3",
"c8": "^10.1.2",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.2.0"
},
"dependencies": {
"verror": "^1.10.1"
Expand Down
1 change: 1 addition & 0 deletions packages/concourse-ts-fluent/src/builder/pipeline.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ test('throws when building without a name', (t) => {
builder.build()
},
{
any: true,
name: 'VError',
message: 'Cannot build pipeline without a name',
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ test('throws when building without a type', (t) => {
builder.build()
},
{
any: true,
name: 'VError',
message: 'Cannot build resource type "my-rt" without a type',
}
Expand All @@ -55,6 +56,7 @@ test('throws when building without a name', (t) => {
builder.build()
},
{
any: true,
name: 'VError',
message: 'Cannot build resource type without a name',
}
Expand Down
2 changes: 2 additions & 0 deletions packages/concourse-ts-fluent/src/builder/resource.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ test('throws when building without a type', (t) => {
builder.build()
},
{
any: true,
name: 'VError',
message: 'Cannot build resource "my-r" without a type',
}
Expand All @@ -71,6 +72,7 @@ test('throws when building without a name', (t) => {
builder.build()
},
{
any: true,
name: 'VError',
message: 'Cannot build resource without a name',
}
Expand Down
1 change: 1 addition & 0 deletions packages/concourse-ts-fluent/src/builder/step.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ test('throws without a step type', (t) => {
builder.build()
},
{
any: true,
name: 'VError',
message: 'Cannot build step without a step type',
}
Expand Down
1 change: 1 addition & 0 deletions packages/concourse-ts-fluent/src/builder/steps/do.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ test('throws when building without a name', (t) => {
builder.build()
},
{
any: true,
name: 'VError',
message: 'Cannot build do step without a name',
}
Expand Down
2 changes: 2 additions & 0 deletions packages/concourse-ts-fluent/src/builder/steps/get.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ test('throws without name', (t) => {
builder.build()
},
{
any: true,
name: 'VError',
message: 'Cannot build get step without a name',
}
Expand Down Expand Up @@ -74,6 +75,7 @@ test('throws when attempting to overwrite an existing resource', (t) => {
builder.get(r)
},
{
any: true,
name: 'VError',
message: 'Cannot overwrite resource or resource customiser on "my-get-step"',
}
Expand Down
2 changes: 1 addition & 1 deletion packages/concourse-ts/src/utils/shell/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {VError} from 'verror'
import { VError } from 'verror'
import fs from 'node:fs'
import path from 'node:path'

Expand Down
3 changes: 2 additions & 1 deletion packages/concourse-ts/src/utils/shell/is-shebang.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava'
import {is_shebang} from '.'
import { is_shebang } from '.'

test('finds shebangs', (t) => {
t.true(is_shebang('#!'))
Expand All @@ -16,4 +16,5 @@ test('no false positives', (t) => {
t.false(is_shebang('/bin/sh'))
t.false(is_shebang('sh -e'))
t.false(is_shebang('/bin/sh -e'))
t.false(is_shebang('#/bin/sh'))
})
Loading

0 comments on commit bdf4dff

Please sign in to comment.