Skip to content

chore: Update dependencies #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Mar 7, 2025
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
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
53 changes: 25 additions & 28 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,56 +5,53 @@ name: CI
jobs:
node-jdbc:
name: node-jdbc
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node_version:
- 16
- 18
- 20
distribution:
- oracle
- temurin
- microsoft
- corretto
- zulu
java_version:
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
# - 21
- 17
- 21
arch:
- x64
exclude:
- distribution: oracle
java_version: 8
- distribution: oracle
java_version: 11
- distribution: microsoft
java_version: 8
steps:
- name: 🧶 Get yarn cache directory path 🧶
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: 💵 Cache 💵
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.node_version }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node_version }}-yarn-
${{ runner.os }}-yarn-
- name: ☑️ Checkout ☑️
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: ☕ Java ☕
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java_version }}
- name: 🐍 Python 🐍
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: 🔋 Node 🔋
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- name: 💾 Install 💾
run: yarn install
- name: 🧪 Test (Node ${{ matrix.node_version }}, Java ${{ matrix.java_version }}) 🧪
- name: Set up new drivers
run: cp drivers-10.17/* drivers
if: ${{ matrix.java_version > 20 }}
- name: 🧪 Test (Node ${{ matrix.node_version }}, Java ${{ matrix.java_version }}, ${{ matrix.distribution }}) 🧪
run: yarn test
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v3
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x
- name: Yarn install
uses: borales/actions-yarn@v4
with:
cmd: install --frozen-lockfile
- name: Set NPM token
run: echo //registry.npmjs.org/:_authToken=$NPM_TOKEN > ~/.npmrc
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: NPM publish
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ node_modules
mydb.*
.idea/
.DS_store
.env

Binary file added drivers-10.17/derby.jar
Binary file not shown.
Binary file added drivers-10.17/derbyclient.jar
Binary file not shown.
Binary file added drivers-10.17/derbynet.jar
Binary file not shown.
Binary file added drivers-10.17/derbyoptionaltools.jar
Binary file not shown.
Binary file added drivers-10.17/derbyrun.jar
Binary file not shown.
Binary file added drivers-10.17/derbyshared.jar
Binary file not shown.
Binary file added drivers-10.17/derbytools.jar
Binary file not shown.
Binary file added drivers-10.17/hsqldb.jar
Binary file not shown.
Binary file added drivers-10.17/sqltool.jar
Binary file not shown.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"name": "@cubejs-backend/jdbc",
"version": "0.8.0",
"version": "0.8.1",
"description": "Node Module JDBC wrapper",
"main": "index.js",
"dependencies": {
"async": "^3.2.5",
"async": "^3.2.6",
"java": "^0.14",
"lodash": "4.17.21",
"uuid": "9.0.0",
"winston": "3.8.2"
"lodash": "^4.17.21",
"uuid": "^11.1.0",
"winston": "^3.17.0"
},
"devDependencies": {
"chai": "^4",
"jshint": "2.13.6",
"lolex": "^6.0.0",
"nodeunit": "~0.11.3",
"q": "^1.5.1"
"mocha": "^10"
},
"scripts": {
"pretest": "bash bin/startdbs",
"test": "nodeunit test",
"test": "mocha --exit",
"posttest": "bash bin/stopdbs",
"lint": "jshint lib/**.js test/**.js"
},
Expand Down
Loading