@hasna/shortlinks 0.1.3 → 0.1.5
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/dist/cli/index.js +0 -7
- package/dist/index.js +0 -7
- package/package.json +2 -3
package/dist/cli/index.js
CHANGED
|
@@ -3435,13 +3435,6 @@ var PG_MIGRATIONS = [
|
|
|
3435
3435
|
CREATE INDEX IF NOT EXISTS idx_clicks_domain ON clicks(domain_id);
|
|
3436
3436
|
CREATE INDEX IF NOT EXISTS idx_clicks_clicked_at ON clicks(clicked_at);
|
|
3437
3437
|
CREATE INDEX IF NOT EXISTS idx_clicks_updated ON clicks(updated_at);
|
|
3438
|
-
|
|
3439
|
-
CREATE TABLE IF NOT EXISTS _pg_migrations (
|
|
3440
|
-
id INTEGER PRIMARY KEY,
|
|
3441
|
-
applied_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
|
3442
|
-
);
|
|
3443
|
-
|
|
3444
|
-
INSERT INTO _pg_migrations (id) VALUES (1) ON CONFLICT DO NOTHING;
|
|
3445
3438
|
`
|
|
3446
3439
|
];
|
|
3447
3440
|
|
package/dist/index.js
CHANGED
|
@@ -838,13 +838,6 @@ var PG_MIGRATIONS = [
|
|
|
838
838
|
CREATE INDEX IF NOT EXISTS idx_clicks_domain ON clicks(domain_id);
|
|
839
839
|
CREATE INDEX IF NOT EXISTS idx_clicks_clicked_at ON clicks(clicked_at);
|
|
840
840
|
CREATE INDEX IF NOT EXISTS idx_clicks_updated ON clicks(updated_at);
|
|
841
|
-
|
|
842
|
-
CREATE TABLE IF NOT EXISTS _pg_migrations (
|
|
843
|
-
id INTEGER PRIMARY KEY,
|
|
844
|
-
applied_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
|
845
|
-
);
|
|
846
|
-
|
|
847
|
-
INSERT INTO _pg_migrations (id) VALUES (1) ON CONFLICT DO NOTHING;
|
|
848
841
|
`
|
|
849
842
|
];
|
|
850
843
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/shortlinks",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "CLI-only shortlink manager for custom domains, click tracking, Cloudflare setup, and @hasna cloud sync",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -34,8 +34,7 @@
|
|
|
34
34
|
"typecheck": "tsc --noEmit",
|
|
35
35
|
"test": "bun test",
|
|
36
36
|
"dev:cli": "bun run src/cli/index.ts",
|
|
37
|
-
"prepublishOnly": "bun run test && bun run build"
|
|
38
|
-
"postinstall": "mkdir -p $HOME/.hasna/shortlinks 2>/dev/null || true"
|
|
37
|
+
"prepublishOnly": "bun run test && bun run build"
|
|
39
38
|
},
|
|
40
39
|
"keywords": [
|
|
41
40
|
"shortlinks",
|