{"id":24614481,"url":"https://github.com/tabuckner/node-liquibase-sandbox","last_synced_at":"2026-04-07T18:31:58.711Z","repository":{"id":97723502,"uuid":"358339333","full_name":"tabuckner/node-liquibase-sandbox","owner":"tabuckner","description":"A tiny repo to help with evaluating node-liquibase for yourself!","archived":false,"fork":false,"pushed_at":"2021-05-19T15:24:06.000Z","size":9263,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T14:34:49.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tabuckner.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.xml","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-15T17:24:26.000Z","updated_at":"2022-01-30T22:54:33.000Z","dependencies_parsed_at":"2023-03-14T13:30:49.615Z","dependency_job_id":null,"html_url":"https://github.com/tabuckner/node-liquibase-sandbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tabuckner/node-liquibase-sandbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabuckner%2Fnode-liquibase-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabuckner%2Fnode-liquibase-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabuckner%2Fnode-liquibase-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabuckner%2Fnode-liquibase-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tabuckner","download_url":"https://codeload.github.com/tabuckner/node-liquibase-sandbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabuckner%2Fnode-liquibase-sandbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31524524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-24T21:16:59.562Z","updated_at":"2026-04-07T18:31:58.668Z","avatar_url":"https://github.com/tabuckner.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Node and Liquibase](assets/img/node-liquibase-sandbox.png)\n# Node Liquibase Sandbox\nA tiny repo to help with evaluating [The Liquibase NPM Offering](https://www.npmjs.com/package/liquibase) for yourself!\n\n## Table of Contents\n* [Usage](#usage)\n  * [Database](#database)\n  * [TypeScript Files](#typescript-files)\n  * [JavaScript Files](#javascript-files)\n  * [CLI](#cli)\n* [Install a Different Version of node-liquibase](#install-a-different-version-of-node-liquibase)\n\n## Usage\n### Database\n#### What\nYou can use whatever database you would like here, but we've supplied a small startup script that will get you up and running with Postgres and PGAdmin 4 via docker. The project is already configured to make use of these settings, so if you wish to test against a different DB, you'll need to ensure that the configuration is updated accordingly.\n\n#### Why\nOnce the backing DB is up and running, you can do _anything_ you'd like and that Liquibase core supports.\n\n#### How\n```bash\n./db-start-up.sh\n```\nor\n```bash\nchmod +x ./db-start-up.sh \u0026\u0026 ./db-start-up.sh\n```\n\n### TypeScript Files\n#### What\nThere is an example usage of the library offered by [liquibase](https://www.npmjs.com/package/liquibase) in `./index.ts`. This file shows how the library can be imported into your TypeScript files, and make use of Liquibase core in a programmatic fashion.\n\n#### Why\nThis will demonstrate all of the TypeScript features that were integrated with the re-write of [liquibase](https://www.npmjs.com/package/liquibase). \n\n#### How\nBelow is a simple command making use of `ts-node` to provide a very easy way of executing of TypeScript code. Make any changes you wish to `./index.ts` and then run the following command from a terminal in the root of this project:\n\n```bash\nnpx ts-node --project ./tsconfig.json ./index.ts\n```\n\n### JavaScript Files\n#### What\nThere are bound to be users who _do not_ want to use TypeScript, and for this reason we've also provided support for \"next gen\" JavaScript.\n\n#### Why\nIn order to cover as many use cases as possible and respect _as many of the Node users out there as possible_, we made sure to provide the Library in both ES and Common JS modules.\n\n#### How\nTo test [liquibase](https://www.npmjs.com/package/liquibase) in a JavaScript context, make any changes you wish to `./testing.js` and then run the following command from a terminal in the root of this project:\n\n```bash\nnode ./testing.js\n```\n\n### CLI\n#### What\nIn addition to JavaScript and TypeScript usage, [liquibase](https://www.npmjs.com/package/liquibase) also provides a Node CLI wrapper around the Liquibase CLI.\n\n#### Why\nOne of the complaints we've heard around Liquibase CLI is the installation process. What's easier than `yarn global add liquibase`? Nothing. The answer is nothing.\n#### How\nThere's an NPM script in _THIS_ `package.json` that will let you test the CLI functionality.\n\n```bash\nyarn node-liquibase --changeLogFile=\"changelog.xml\" --url=\"jdbc:postgresql://localhost:5432/node_liquibase_testing\" --username=\"yourusername\" --password=\"yoursecurepassword\" --classpath=\"/Users/taylor/Dev/Liquibase/hackathons/node-liquibase/drivers/postgresql-42.2.8.jar\" status \n```\n\n## Install a Different Version of node-liquibase\nFeel free to change the version of [liquibase](https://www.npmjs.com/package/liquibase) installed in this project directly from NPM. Alternatively, if you are working on a fork there are many other ways to 'side-load' your desired version of [liquibase](https://www.npmjs.com/package/liquibase). \n\nYou could use tools like `npm link` or even install an absolute filepath to the `package.json` of your choice (e.g. `yarn add /Users/me/path/to/my/fork`). This allows for a few less steps in making changes to the library.\n\n**NOTE: As long as the name of the package in that local directory matches what your imports expect you'll be good to go.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftabuckner%2Fnode-liquibase-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftabuckner%2Fnode-liquibase-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftabuckner%2Fnode-liquibase-sandbox/lists"}