Skip to content
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

Upgrade knex(v2.4.2) and typescript(v5.0.4) to latest version #198

Merged
merged 25 commits into from
Apr 28, 2023

Conversation

kshitish182
Copy link
Contributor

@kshitish182 kshitish182 commented Apr 27, 2023

Upgrade knex(v2.4.2) and typescript(v5.0.4) to latest version

Stuffs done

  • Bumped knex to v2.4.2
  • Bumped typescript to v5.0.4
  • Updated knex imports
  • Fixed some type issues
  • Updated connection config keys for mssql based on the respective update on knex

I have tested all the major features on the example apps and everything looks good. Ran the tests locally as well and all passed.

mssql-ts-1
mssql-ts-2
mssql-1
mssql-2

@kshitish182 kshitish182 self-assigned this Apr 27, 2023
.gitignore Outdated Show resolved Hide resolved
src/config.ts Outdated Show resolved Hide resolved
src/config.ts Outdated Show resolved Hide resolved
src/config.ts Outdated Show resolved Hide resolved
src/util/db.ts Outdated Show resolved Hide resolved
@mesaugat
Copy link
Member

mesaugat commented Apr 27, 2023

@kshitish182 One suggestion. Can we separate the core changes from the example changes? Let's create another PR just for the example changes.

@kshitish182 kshitish182 force-pushed the master branch 2 times, most recently from 2b983b0 to 47088ef Compare April 27, 2023 06:36
@mesaugat
Copy link
Member

@kshitish182 I still see changes in the example directory. Can you take a look?

@kshitish182
Copy link
Contributor Author

@kshitish182 I still see changes in the example directory. Can you take a look?

I have reverted those changes. I have left one file change as it is since it was basically a bug fix.

src/util/db.ts Outdated Show resolved Hide resolved
src/config.ts Outdated Show resolved Hide resolved
src/util/db.ts Outdated Show resolved Hide resolved
@@ -58,7 +59,7 @@ export async function loadConfig(configFilename: string = CONFIG_FILENAME): Prom

log('Resolved config file.');

const loaded = mergeDeepRight(DEFAULT_CONFIG, loadedConfig) as Configuration;
const loaded = mergeDeepRight<Configuration, Configuration>(DEFAULT_CONFIG, loadedConfig);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mesaugat mesaugat merged commit 31d783e into leapfrogtechnology:master Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants