Skip to content

Commit

Permalink
chore(deps): update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
awlayton committed May 21, 2024
1 parent ea8a522 commit 6b9e7f1
Show file tree
Hide file tree
Showing 6 changed files with 105 additions and 703 deletions.
16 changes: 7 additions & 9 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
root: true

extends:
- 'plugin:@typescript-eslint/recommended'
- plugin:@typescript-eslint/recommended
- plugin:node/recommended
- plugin:github/recommended
- plugin:promise/recommended
Expand All @@ -14,7 +14,7 @@ extends:
#- plugin:sonarjs/recommended
- plugin:ava/recommended
- xo
#- prettier
- plugin:prettier/recommended

plugins:
- '@typescript-eslint'
Expand All @@ -37,18 +37,18 @@ parser: '@typescript-eslint/parser'

parserOptions:
ecmaVersion: 2020
project: './**/tsconfig*.json'
project: ./**/tsconfig*.json

overrides:
- files: '*.{c,m,}ts'
extends:
- plugin:github/typescript
- plugin:import/typescript
- xo-typescript
#- prettier
- plugin:prettier/recommended
parserOptions:
ecmaVersion: 2020
project: './**/tsconfig*.json'
project: ./**/tsconfig*.json
rules:
'@typescript-eslint/naming-convention':
[
Expand Down Expand Up @@ -86,8 +86,8 @@ overrides:
{
args: after-used,
ignoreRestSiblings: true,
varsIgnorePattern: '^_',
argsIgnorePattern: '^_',
varsIgnorePattern: ^_,
argsIgnorePattern: ^_,
},
]
'@typescript-eslint/consistent-type-definitions': [warn, interface]
Expand Down Expand Up @@ -137,5 +137,3 @@ rules:
ava/no-import-test-files: off
ava/no-skip-test: warn
ava/no-skip-assert: warn
# broken
prettier/prettier: off
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qlever-llc/unfisk",
"version": "2.1.0",
"version": "2.2.0",
"description": "OADA uservice to \"unflatten\" a list into a list of links",
"author": "Alex Layton <[email protected]>",
"license": "Apache-2.0",
Expand Down Expand Up @@ -61,10 +61,10 @@
"@tsconfig/node16": "^16.1.3",
"@types/convict": "^6.1.6",
"@types/debug": "^4.1.12",
"@types/node": "^20.12.11",
"@types/node": "^20.12.12",
"@types/prettier": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"@yarnpkg/sdks": "^3.1.2",
"ava": "6.1.3",
"c8": "^9.1.0",
Expand All @@ -75,16 +75,16 @@
"eslint-formatter-pretty": "^6.0.1",
"eslint-import-resolver-node": "^0.3.9",
"eslint-plugin-array-func": "^5.0.1",
"eslint-plugin-ava": "^15.0.0",
"eslint-plugin-ava": "^15.0.1",
"eslint-plugin-escompat": "^3.4.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-github": "^4.10.2",
"eslint-plugin-github": "^5.0.0-2",
"eslint-plugin-i18n-text": "^1.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-no-constructor-bind": "^2.0.4",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-no-secrets": "^0.9.1",
"eslint-plugin-no-secrets": "^1.0.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-optimize-regex": "^1.2.1",
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async function unfisk(token: string) {
body: data as any,
path: '',
resource_id: data._id as string,
};
} as const;
trace({ change: fakeChange }, 'Processing fake change on startup');
await flatHandler(conn, fakeChange);

Expand All @@ -105,7 +105,7 @@ async function ensureAllPathsExist(conn: OADAClient) {
},
},
},
};
} as const;
await Promise.all(
['/bookmarks/trellisfw/asns', '/bookmarks/trellisfw/asn-staging'].map(
async (path) => {
Expand Down
6 changes: 3 additions & 3 deletions test/external.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ import moment from 'moment';

import { type OADAClient, connect } from '@oada/client';

import testasn from './testasn.js';
import testAsn from './testAsn.js';

// DO NOT include ../ because we are testing externally.

const domain = config.get('oada.domain');
const token = config.get('oada.token')[0];

const asnKey = 'UNFISK_TEST_ASN1';
const asnID = `resources/${asnKey}`;
const asnID = `resources/${asnKey}` as const;

let conn: OADAClient;
test.before(async () => {
Expand All @@ -53,7 +53,7 @@ test('Should move the ASN when put into staging to same key in asns', async (t)
await conn.put({
path: `/bookmarks/trellisfw/asn-staging/${asnKey}`,
contentType: 'application/vnd.trellisfw.asn-staging.sf.1+json',
data: testasn,
data: testAsn,
});
const postedkey = /^.*\/([^/]+)$/.exec(stagingLocation!)![1]; // Last thing on the content-location
const now = moment().format('YYYY-MM-DD');
Expand Down
Loading

0 comments on commit 6b9e7f1

Please sign in to comment.