Skip to content

Commit

Permalink
Merge pull request #3 from libsabl/chore/deps
Browse files Browse the repository at this point in the history
chore: update dependencies
  • Loading branch information
joshua-honig committed Aug 3, 2022
2 parents 862326c + 27ea22a commit d55dcb1
Show file tree
Hide file tree
Showing 8 changed files with 274 additions and 242 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ module.exports = {
],
plugins: ['@typescript-eslint', 'prettier'],
rules: {
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'prettier/prettier': 'warn',
semi: ['error', 'always'],
quotes: ['error', 'single'],
quotes: ['error', 'single', { avoidEscape: true }],
},
ignorePatterns: ['**/dist/*'],
};
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Run tests
run: pnpm test:ci

- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v3
name: Publish code coverage
with:
directory: coverage
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- BEGIN:REMOVE_FOR_NPM -->
[![codecov](https://codecov.io/gh/libsabl/db-api-js/branch/main/graph/badge.svg?token=TVL1XYSJHA)](https://app.codecov.io/gh/libsabl/db-api-js/branch/main)
[![codecov](https://codecov.io/gh/libsabl/db-api-js/branch/main/graph/badge.svg?token=Il5Qqcc3M0)](https://app.codecov.io/gh/libsabl/db-api-js/branch/main)
<span class="badge-npmversion"><a href="https://npmjs.org/package/@sabl/db-api" title="View this project on NPM"><img src="https://img.shields.io/npm/v/@sabl/db-api.svg" alt="NPM version" /></a></span>

<!-- END:REMOVE_FOR_NPM -->
Expand Down
4 changes: 2 additions & 2 deletions build/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function removeChunk(source, label) {

async function addReadmeHeaders(source, pkgv) {
const commit = await gitGetCommit();
const codeCovImg = `https://codecov.io/gh/libsabl/db-api-js/commit/${commit}/graph/badge.svg?token=TVL1XYSJHA`;
const codeCovImg = `https://codecov.io/gh/libsabl/db-api-js/commit/${commit}/graph/badge.svg?token=Il5Qqcc3M0`;
const codeCovPage = `https://codecov.io/gh/libsabl/db-api-js/tree/${commit}/src`;
const ghBrowse = `https://github.com/libsabl/db-api-js/tree/${commit}`;
let docsPath = `https://github.com/libsabl/db-api-js/blob/${commit}/docs/DOCS.md`;
Expand Down Expand Up @@ -136,7 +136,7 @@ async function validateVersion(pkgv) {
// Render tsconfig
console.log(chalk.cyanBright(' Rendering tsconfig.json'));
const { stdout: tsconfig } = await exec(
'pnpx tsc --project ./tsconfig.build.json --showConfig ',
'npx tsc --project ./tsconfig.build.json --showConfig ',
{ cwd: pkgpath.root }
);
await fs.writeFile(pubpath('tsconfig.json'), tsconfig, 'utf8');
Expand Down
31 changes: 16 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sabl/db-api",
"version": "0.1.0",
"version": "0.2.0",
"description": "A uniform and context-aware interface for relation databases",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -29,31 +29,32 @@
],
"license": "MIT",
"dependencies": {
"@sabl/context": "^0.3.3",
"@sabl/storage-pool": "^0.1.0",
"@sabl/txn": "^0.1.0"
"@sabl/context": "^1.1.1",
"@sabl/storage-pool": "^0.2.0",
"@sabl/txn": "^0.2.0"
},
"devDependencies": {
"@commitlint/cli": "^16.2.4",
"@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^16.2.4",
"@types/jest": "^28.1.6",
"@types/node": "^17.0.33",
"@types/node": "^17.0.45",
"@types/rmfr": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"@types/sqlite3": "^3.1.8",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"chalk": "^4.1.2",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"esm": "^3.2.25",
"glob": "^8.0.3",
"husky": "^8.0.0",
"husky": "^8.0.1",
"jest": "^28.1.3",
"opener": "^1.5.2",
"prettier": "^2.5.1",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rmfr": "^2.0.0",
"ts-jest": "^28.0.2",
"typescript": "^4.5.5"
"ts-jest": "^28.0.7",
"typescript": "^4.7.4"
}
}

0 comments on commit d55dcb1

Please sign in to comment.