pgflow 0.0.1-prealpha.0 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/LICENSE.md +660 -0
- package/eslint.config.cjs +3 -0
- package/package.json +13 -6
- package/project.json +40 -0
- package/src/commands/install/copy-migrations.ts +101 -0
- package/src/commands/install/index.ts +45 -0
- package/src/commands/install/supabase-path-prompt.ts +28 -0
- package/src/commands/install/update-config-toml.ts +130 -0
- package/src/index.ts +76 -0
- package/src/types.d.ts +1 -0
- package/tsconfig.json +20 -0
- package/tsconfig.lib.json +19 -0
- package/tsconfig.spec.json +33 -0
- package/vite.config.ts +25 -0
- package/dist/node_modules/.package-lock.json +0 -129
- package/dist/node_modules/@commander-js/extra-typings/LICENSE +0 -21
- package/dist/node_modules/@commander-js/extra-typings/README.md +0 -66
- package/dist/node_modules/@commander-js/extra-typings/esm.d.mts +0 -2
- package/dist/node_modules/@commander-js/extra-typings/esm.mjs +0 -16
- package/dist/node_modules/@commander-js/extra-typings/index.d.ts +0 -1467
- package/dist/node_modules/@commander-js/extra-typings/index.js +0 -25
- package/dist/node_modules/@commander-js/extra-typings/package.json +0 -63
- package/dist/node_modules/@esbuild/linux-x64/README.md +0 -3
- package/dist/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- package/dist/node_modules/@esbuild/linux-x64/package.json +0 -20
- package/dist/node_modules/commander/LICENSE +0 -22
- package/dist/node_modules/commander/Readme.md +0 -1149
- package/dist/node_modules/commander/esm.mjs +0 -16
- package/dist/node_modules/commander/index.js +0 -24
- package/dist/node_modules/commander/lib/argument.js +0 -149
- package/dist/node_modules/commander/lib/command.js +0 -2662
- package/dist/node_modules/commander/lib/error.js +0 -39
- package/dist/node_modules/commander/lib/help.js +0 -709
- package/dist/node_modules/commander/lib/option.js +0 -367
- package/dist/node_modules/commander/lib/suggestSimilar.js +0 -101
- package/dist/node_modules/commander/package-support.json +0 -16
- package/dist/node_modules/commander/package.json +0 -82
- package/dist/node_modules/commander/typings/esm.d.mts +0 -3
- package/dist/node_modules/commander/typings/index.d.ts +0 -1045
- package/dist/node_modules/esbuild/LICENSE.md +0 -21
- package/dist/node_modules/esbuild/README.md +0 -3
- package/dist/node_modules/esbuild/bin/esbuild +0 -0
- package/dist/node_modules/esbuild/install.js +0 -287
- package/dist/node_modules/esbuild/lib/main.d.ts +0 -705
- package/dist/node_modules/esbuild/lib/main.js +0 -2251
- package/dist/node_modules/esbuild/package.json +0 -48
- package/dist/node_modules/get-tsconfig/LICENSE +0 -21
- package/dist/node_modules/get-tsconfig/README.md +0 -235
- package/dist/node_modules/get-tsconfig/dist/index.cjs +0 -7
- package/dist/node_modules/get-tsconfig/dist/index.d.cts +0 -1439
- package/dist/node_modules/get-tsconfig/dist/index.d.mts +0 -1439
- package/dist/node_modules/get-tsconfig/dist/index.mjs +0 -7
- package/dist/node_modules/get-tsconfig/package.json +0 -46
- package/dist/node_modules/resolve-pkg-maps/LICENSE +0 -21
- package/dist/node_modules/resolve-pkg-maps/README.md +0 -216
- package/dist/node_modules/resolve-pkg-maps/dist/index.cjs +0 -1
- package/dist/node_modules/resolve-pkg-maps/dist/index.d.cts +0 -11
- package/dist/node_modules/resolve-pkg-maps/dist/index.d.mts +0 -11
- package/dist/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
- package/dist/node_modules/resolve-pkg-maps/package.json +0 -42
- package/dist/node_modules/tsx/LICENSE +0 -21
- package/dist/node_modules/tsx/README.md +0 -32
- package/dist/node_modules/tsx/dist/cjs/api/index.cjs +0 -1
- package/dist/node_modules/tsx/dist/cjs/api/index.d.cts +0 -35
- package/dist/node_modules/tsx/dist/cjs/api/index.d.mts +0 -35
- package/dist/node_modules/tsx/dist/cjs/api/index.mjs +0 -1
- package/dist/node_modules/tsx/dist/cjs/index.cjs +0 -1
- package/dist/node_modules/tsx/dist/cjs/index.mjs +0 -1
- package/dist/node_modules/tsx/dist/cli.cjs +0 -54
- package/dist/node_modules/tsx/dist/cli.mjs +0 -55
- package/dist/node_modules/tsx/dist/client-BQVF1NaW.mjs +0 -1
- package/dist/node_modules/tsx/dist/client-D6NvIMSC.cjs +0 -1
- package/dist/node_modules/tsx/dist/esm/api/index.cjs +0 -1
- package/dist/node_modules/tsx/dist/esm/api/index.d.cts +0 -35
- package/dist/node_modules/tsx/dist/esm/api/index.d.mts +0 -35
- package/dist/node_modules/tsx/dist/esm/api/index.mjs +0 -1
- package/dist/node_modules/tsx/dist/esm/index.cjs +0 -2
- package/dist/node_modules/tsx/dist/esm/index.mjs +0 -2
- package/dist/node_modules/tsx/dist/get-pipe-path-BHW2eJdv.mjs +0 -1
- package/dist/node_modules/tsx/dist/get-pipe-path-BoR10qr8.cjs +0 -1
- package/dist/node_modules/tsx/dist/index-B4SIRlEU.cjs +0 -16
- package/dist/node_modules/tsx/dist/index-DlKgSVBb.mjs +0 -16
- package/dist/node_modules/tsx/dist/loader.cjs +0 -1
- package/dist/node_modules/tsx/dist/loader.mjs +0 -1
- package/dist/node_modules/tsx/dist/node-features-_8ZFwP_x.mjs +0 -1
- package/dist/node_modules/tsx/dist/node-features-roYmp9jK.cjs +0 -1
- package/dist/node_modules/tsx/dist/package--YiorJOq.mjs +0 -1
- package/dist/node_modules/tsx/dist/package-BUuKnQXZ.cjs +0 -1
- package/dist/node_modules/tsx/dist/patch-repl.cjs +0 -1
- package/dist/node_modules/tsx/dist/patch-repl.mjs +0 -1
- package/dist/node_modules/tsx/dist/preflight.cjs +0 -1
- package/dist/node_modules/tsx/dist/preflight.mjs +0 -1
- package/dist/node_modules/tsx/dist/register-C3TE0KFF.mjs +0 -3
- package/dist/node_modules/tsx/dist/register-CVZT-Tul.cjs +0 -1
- package/dist/node_modules/tsx/dist/register-DCnOAxY2.cjs +0 -3
- package/dist/node_modules/tsx/dist/register-RyGUjI6j.mjs +0 -1
- package/dist/node_modules/tsx/dist/repl.cjs +0 -3
- package/dist/node_modules/tsx/dist/repl.mjs +0 -3
- package/dist/node_modules/tsx/dist/require-BnyFnlmk.mjs +0 -1
- package/dist/node_modules/tsx/dist/require-DBpSESet.cjs +0 -1
- package/dist/node_modules/tsx/dist/suppress-warnings.cjs +0 -1
- package/dist/node_modules/tsx/dist/suppress-warnings.mjs +0 -1
- package/dist/node_modules/tsx/dist/temporary-directory-B83uKxJF.cjs +0 -1
- package/dist/node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs +0 -1
- package/dist/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +0 -5
- package/dist/node_modules/tsx/package.json +0 -68
- package/dist/package.json +0 -27
- package/dist/sql/000000_schema.sql +0 -150
- package/dist/sql/000005_create_flow.sql +0 -29
- package/dist/sql/000010_add_step.sql +0 -48
- package/dist/sql/000015_start_ready_steps.sql +0 -45
- package/dist/sql/000020_start_flow.sql +0 -46
- package/dist/sql/000030_read_with_poll_backport.sql +0 -70
- package/dist/sql/000040_poll_for_tasks.sql +0 -100
- package/dist/sql/000045_maybe_complete_run.sql +0 -30
- package/dist/sql/000050_complete_task.sql +0 -98
- package/dist/sql/000055_calculate_retry_delay.sql +0 -11
- package/dist/sql/000060_fail_task.sql +0 -124
- package/dist/sql/000_edge_worker_initial.sql +0 -86
- package/dist/src/commands/install.d.ts +0 -4
- package/dist/src/commands/install.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -2
- package/dist/src/index.d.ts.map +0 -1
- package/dist/tsconfig.lib.tsbuildinfo +0 -1
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const commander = require('commander');
|
|
2
|
-
|
|
3
|
-
exports = module.exports = {};
|
|
4
|
-
|
|
5
|
-
// Return a different global program than commander,
|
|
6
|
-
// and don't also return it as default export.
|
|
7
|
-
exports.program = new commander.Command();
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Expose classes. The FooT versions are just types, so return Commander original implementations!
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
exports.Argument = commander.Argument;
|
|
14
|
-
exports.Command = commander.Command;
|
|
15
|
-
exports.CommanderError = commander.CommanderError;
|
|
16
|
-
exports.Help = commander.Help;
|
|
17
|
-
exports.InvalidArgumentError = commander.InvalidArgumentError;
|
|
18
|
-
exports.InvalidOptionArgumentError = commander.InvalidArgumentError; // Deprecated
|
|
19
|
-
exports.Option = commander.Option;
|
|
20
|
-
|
|
21
|
-
exports.createCommand = (name) => new commander.Command(name);
|
|
22
|
-
exports.createOption = (flags, description) =>
|
|
23
|
-
new commander.Option(flags, description);
|
|
24
|
-
exports.createArgument = (name, description) =>
|
|
25
|
-
new commander.Argument(name, description);
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@commander-js/extra-typings",
|
|
3
|
-
"version": "13.1.0",
|
|
4
|
-
"description": "Infer strong typings for commander options and action handlers",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"check": "npm run check:type && npm run check:lint && npm run check:format",
|
|
8
|
-
"check:format": "prettier --check .",
|
|
9
|
-
"check:lint": "eslint .",
|
|
10
|
-
"check:type": "tsd && tsc",
|
|
11
|
-
"fix": "npm run fix:lint && npm run fix:format",
|
|
12
|
-
"fix:format": "prettier --write .",
|
|
13
|
-
"fix:lint": "eslint --fix .",
|
|
14
|
-
"prepublishOnly": "npm run --silent test",
|
|
15
|
-
"test": "tsd && jest"
|
|
16
|
-
},
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/commander-js/extra-typings.git"
|
|
20
|
-
},
|
|
21
|
-
"files": [
|
|
22
|
-
"esm.mjs",
|
|
23
|
-
"esm.d.mts",
|
|
24
|
-
"index.js",
|
|
25
|
-
"index.d.ts"
|
|
26
|
-
],
|
|
27
|
-
"type": "commonjs",
|
|
28
|
-
"exports": {
|
|
29
|
-
".": {
|
|
30
|
-
"require": "./index.js",
|
|
31
|
-
"import": "./esm.mjs"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"types": "index.d.ts",
|
|
35
|
-
"tsd": {
|
|
36
|
-
"directory": "tests"
|
|
37
|
-
},
|
|
38
|
-
"keywords": [],
|
|
39
|
-
"author": "",
|
|
40
|
-
"license": "MIT",
|
|
41
|
-
"bugs": {
|
|
42
|
-
"url": "https://github.com/commander-js/extra-typings/issues"
|
|
43
|
-
},
|
|
44
|
-
"homepage": "https://github.com/commander-js/extra-typings#readme",
|
|
45
|
-
"peerDependencies": {
|
|
46
|
-
"commander": "~13.1.0"
|
|
47
|
-
},
|
|
48
|
-
"devDependencies": {
|
|
49
|
-
"@jest/globals": "^29.3.1",
|
|
50
|
-
"@types/node": "^22.10.1",
|
|
51
|
-
"commander": "~13.1.0",
|
|
52
|
-
"eslint": "^9.16.0",
|
|
53
|
-
"eslint-config-prettier": "^10.0.1",
|
|
54
|
-
"eslint-plugin-jest": "^28.9.0",
|
|
55
|
-
"globals": "^15.0.0",
|
|
56
|
-
"jest": "^29.3.1",
|
|
57
|
-
"prettier": "^3.2.5",
|
|
58
|
-
"ts-jest": "^29.0.5",
|
|
59
|
-
"tsd": "^0.31.2",
|
|
60
|
-
"typescript": "^5.3.3",
|
|
61
|
-
"typescript-eslint": "^8.11.0"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
Binary file
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@esbuild/linux-x64",
|
|
3
|
-
"version": "0.25.2",
|
|
4
|
-
"description": "The Linux 64-bit binary for esbuild, a JavaScript bundler.",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/evanw/esbuild.git"
|
|
8
|
-
},
|
|
9
|
-
"license": "MIT",
|
|
10
|
-
"preferUnplugged": true,
|
|
11
|
-
"engines": {
|
|
12
|
-
"node": ">=18"
|
|
13
|
-
},
|
|
14
|
-
"os": [
|
|
15
|
-
"linux"
|
|
16
|
-
],
|
|
17
|
-
"cpu": [
|
|
18
|
-
"x64"
|
|
19
|
-
]
|
|
20
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
(The MIT License)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
-
a copy of this software and associated documentation files (the
|
|
7
|
-
'Software'), to deal in the Software without restriction, including
|
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
-
the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be
|
|
14
|
-
included in all copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
20
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
22
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|