Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x]

services:
ydb:
image: cr.yandex/yc/yandex-docker-local-ydb:latest
image: ghcr.io/ydb-platform/local-ydb:nightly
ports:
- 2135:2135
- 2136:2136
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ build/

# secrets
secrets/*

# jest
coverage
7 changes: 0 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [5.2.0](https://github.com/ydb-platform/ydb-nodejs-sdk/compare/v5.1.1...v5.2.0) (2024-02-27)


### Features

* large code files are separated ([f5f9abe](https://github.com/ydb-platform/ydb-nodejs-sdk/commit/f5f9abe2321bfc457827f0df641b9092d110ab7b), [5e57af0](https://github.com/ydb-platform/ydb-nodejs-sdk/commit/5e57af0cbe7ff57e24841cffe1cae6f4ce25dc30))

## [5.1.1](https://github.com/ydb-platform/ydb-nodejs-sdk/compare/v5.1.0...v5.1.1) (2023-09-04)


Expand Down
5 changes: 3 additions & 2 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"scan-query": "node build/scan-query/index.js",
"scheme-client": "node build/scheme-client/index.js",
"type-utils": "node build/type-utils/index.js",
"url-shortener": "node build/url-shortener/index.js"
"url-shortener": "node build/url-shortener/index.js",
"query-service": "node build/query-service/index.js"
},
"dependencies": {
"@yandex-cloud/nodejs-sdk": "^2.4.1",
Expand All @@ -32,6 +33,6 @@
"@types/yargs": "^15.0.9",
"crc": "^3.8.0",
"express": "^4.17.1",
"typescript": "^4.6.4"
"typescript": "^5.4.3"
}
}
15 changes: 15 additions & 0 deletions jest.config.coverage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const config = require('./jest.config.development');

/*
* For a detailed explanation regarding each configuration property and type check, visit:
* https://jestjs.io/docs/configuration
*/

module.exports = {
...config,
collectCoverage: true,
collectCoverageFrom: [
'**/*.{js,ts}',
],
coverageDirectory: './coverage',
};
10 changes: 4 additions & 6 deletions jest.config.development.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
module.exports = {
globals: {
'ts-jest': {
tsconfig: 'tsconfig-cjs.json'
}
},
roots: ['<rootDir>/src'],
preset: 'ts-jest',
transform: {
'^.+\\.tsx?$': 'ts-jest',
'^.+\\.{ts|tsx}?$': ['ts-jest', {
tsConfig: 'tsconfig.json',
}],
},
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
Expand Down
Loading