@holo-js/cli 0.2.4 → 0.2.6
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/agent-skills-CHAXS2YN.mjs +180 -0
- package/dist/bin/holo.mjs +105 -25
- package/dist/{broadcast-AVYI67BU.mjs → broadcast-JBQWQZSO.mjs} +2 -1
- package/dist/{broadcast-CMPONJ5J.mjs → broadcast-YGJFCEPP.mjs} +2 -1
- package/dist/{cache-2EUUQJX2.mjs → cache-HUGRWOHQ.mjs} +1 -1
- package/dist/{cache-4OVL2YTS.mjs → cache-OSJ4PD52.mjs} +1 -1
- package/dist/{cache-migrations-LGTPRUDS.mjs → cache-migrations-77TLXIVG.mjs} +6 -6
- package/dist/{cache-migrations-TJWWJB4I.mjs → cache-migrations-FKAHRP24.mjs} +6 -6
- package/dist/{chunk-HZJWXL2W.mjs → chunk-4K4CWMMP.mjs} +3 -3
- package/dist/{chunk-6UDDQUXY.mjs → chunk-7B2RVYLL.mjs} +67 -67
- package/dist/{chunk-ZHFXVJBE.mjs → chunk-AJLRAC5M.mjs} +3 -3
- package/dist/{chunk-LGU5YVKP.mjs → chunk-C624G3R2.mjs} +67 -67
- package/dist/{dev-I4NZRFTS.mjs → dev-L4Y2GU2E.mjs} +2 -2
- package/dist/{dev-WOOZOWLR.mjs → dev-YPBQBEOE.mjs} +2 -2
- package/dist/{generators-FUOVIC2E.mjs → generators-H4NTV4DB.mjs} +2 -2
- package/dist/{generators-Y47HYPQT.mjs → generators-VCYISHWO.mjs} +2 -2
- package/dist/index.mjs +105 -25
- package/dist/{media-migrations-FGYPWPBF.mjs → media-migrations-BNVAPYEM.mjs} +6 -6
- package/dist/{media-migrations-N63DGHGG.mjs → media-migrations-NNB3DAQR.mjs} +6 -6
- package/dist/{queue-HB22LB66.mjs → queue-5BXSDFCO.mjs} +7 -7
- package/dist/{queue-UQ6TPIK4.mjs → queue-D4LSWNS2.mjs} +7 -7
- package/dist/{queue-migrations-FENTWONO.mjs → queue-migrations-EF4AMMSY.mjs} +21 -20
- package/dist/{queue-migrations-HJ4Z55FB.mjs → queue-migrations-LXEWXJYT.mjs} +21 -20
- package/dist/{runtime-7KCBHTRV.mjs → runtime-RPMZMTD4.mjs} +1 -1
- package/dist/{runtime-PLE3TUX2.mjs → runtime-UKBJQFXM.mjs} +1 -1
- package/dist/{scaffold-2PPKFFAZ.mjs → scaffold-NJ5VH73M.mjs} +1 -1
- package/dist/{scaffold-3LLBQ2JF.mjs → scaffold-VV3KTYGO.mjs} +1 -1
- package/dist/{security-NAOOXRFV.mjs → security-JR4P7L2C.mjs} +1 -1
- package/dist/{security-QFDYNF2Z.mjs → security-K5PZS3E3.mjs} +1 -1
- package/package.json +8 -8
|
@@ -64,7 +64,7 @@ import { loadConfigDirectory } from "@holo-js/config";
|
|
|
64
64
|
// package.json
|
|
65
65
|
var package_default = {
|
|
66
66
|
name: "@holo-js/cli",
|
|
67
|
-
version: "0.2.
|
|
67
|
+
version: "0.2.6",
|
|
68
68
|
description: "Holo-JS Framework - project creation, discovery, and operational CLI",
|
|
69
69
|
type: "module",
|
|
70
70
|
license: "MIT",
|
|
@@ -118,49 +118,49 @@ var WORKSPACE_CATALOG = Object.freeze({
|
|
|
118
118
|
"@clerk/backend": "^3.4.7",
|
|
119
119
|
"@clack/prompts": "^1.5.1",
|
|
120
120
|
"@eslint/js": "^9.17.0",
|
|
121
|
-
"@holo-js/adapter-next": "^0.2.
|
|
122
|
-
"@holo-js/adapter-nuxt": "^0.2.
|
|
123
|
-
"@holo-js/adapter-sveltekit": "^0.2.
|
|
124
|
-
"@holo-js/auth": "^0.2.
|
|
125
|
-
"@holo-js/auth-clerk": "^0.2.
|
|
126
|
-
"@holo-js/auth-social": "^0.2.
|
|
127
|
-
"@holo-js/auth-social-apple": "^0.2.
|
|
128
|
-
"@holo-js/auth-social-discord": "^0.2.
|
|
129
|
-
"@holo-js/auth-social-facebook": "^0.2.
|
|
130
|
-
"@holo-js/auth-social-github": "^0.2.
|
|
131
|
-
"@holo-js/auth-social-google": "^0.2.
|
|
132
|
-
"@holo-js/auth-social-linkedin": "^0.2.
|
|
133
|
-
"@holo-js/auth-workos": "^0.2.
|
|
134
|
-
"@holo-js/authorization": "^0.2.
|
|
135
|
-
"@holo-js/broadcast": "^0.2.
|
|
136
|
-
"@holo-js/cache": "^0.2.
|
|
137
|
-
"@holo-js/cache-db": "^0.2.
|
|
138
|
-
"@holo-js/cache-redis": "^0.2.
|
|
139
|
-
"@holo-js/cli": "^0.2.
|
|
140
|
-
"@holo-js/config": "^0.2.
|
|
141
|
-
"@holo-js/core": "^0.2.
|
|
142
|
-
"@holo-js/db": "^0.2.
|
|
143
|
-
"@holo-js/db-mysql": "^0.2.
|
|
144
|
-
"@holo-js/db-postgres": "^0.2.
|
|
145
|
-
"@holo-js/db-sqlite": "^0.2.
|
|
146
|
-
"@holo-js/events": "^0.2.
|
|
147
|
-
"@holo-js/flux": "^0.2.
|
|
148
|
-
"@holo-js/flux-react": "^0.2.
|
|
149
|
-
"@holo-js/flux-svelte": "^0.2.
|
|
150
|
-
"@holo-js/flux-vue": "^0.2.
|
|
151
|
-
"@holo-js/forms": "^0.2.
|
|
152
|
-
"@holo-js/mail": "^0.2.
|
|
153
|
-
"@holo-js/media": "^0.2.
|
|
154
|
-
"@holo-js/notifications": "^0.2.
|
|
155
|
-
"@holo-js/queue": "^0.2.
|
|
156
|
-
"@holo-js/queue-db": "^0.2.
|
|
157
|
-
"@holo-js/queue-redis": "^0.2.
|
|
158
|
-
"@holo-js/realtime": "^0.2.
|
|
159
|
-
"@holo-js/security": "^0.2.
|
|
160
|
-
"@holo-js/session": "^0.2.
|
|
161
|
-
"@holo-js/storage": "^0.2.
|
|
162
|
-
"@holo-js/storage-s3": "^0.2.
|
|
163
|
-
"@holo-js/validation": "^0.2.
|
|
121
|
+
"@holo-js/adapter-next": "^0.2.6",
|
|
122
|
+
"@holo-js/adapter-nuxt": "^0.2.6",
|
|
123
|
+
"@holo-js/adapter-sveltekit": "^0.2.6",
|
|
124
|
+
"@holo-js/auth": "^0.2.6",
|
|
125
|
+
"@holo-js/auth-clerk": "^0.2.6",
|
|
126
|
+
"@holo-js/auth-social": "^0.2.6",
|
|
127
|
+
"@holo-js/auth-social-apple": "^0.2.6",
|
|
128
|
+
"@holo-js/auth-social-discord": "^0.2.6",
|
|
129
|
+
"@holo-js/auth-social-facebook": "^0.2.6",
|
|
130
|
+
"@holo-js/auth-social-github": "^0.2.6",
|
|
131
|
+
"@holo-js/auth-social-google": "^0.2.6",
|
|
132
|
+
"@holo-js/auth-social-linkedin": "^0.2.6",
|
|
133
|
+
"@holo-js/auth-workos": "^0.2.6",
|
|
134
|
+
"@holo-js/authorization": "^0.2.6",
|
|
135
|
+
"@holo-js/broadcast": "^0.2.6",
|
|
136
|
+
"@holo-js/cache": "^0.2.6",
|
|
137
|
+
"@holo-js/cache-db": "^0.2.6",
|
|
138
|
+
"@holo-js/cache-redis": "^0.2.6",
|
|
139
|
+
"@holo-js/cli": "^0.2.6",
|
|
140
|
+
"@holo-js/config": "^0.2.6",
|
|
141
|
+
"@holo-js/core": "^0.2.6",
|
|
142
|
+
"@holo-js/db": "^0.2.6",
|
|
143
|
+
"@holo-js/db-mysql": "^0.2.6",
|
|
144
|
+
"@holo-js/db-postgres": "^0.2.6",
|
|
145
|
+
"@holo-js/db-sqlite": "^0.2.6",
|
|
146
|
+
"@holo-js/events": "^0.2.6",
|
|
147
|
+
"@holo-js/flux": "^0.2.6",
|
|
148
|
+
"@holo-js/flux-react": "^0.2.6",
|
|
149
|
+
"@holo-js/flux-svelte": "^0.2.6",
|
|
150
|
+
"@holo-js/flux-vue": "^0.2.6",
|
|
151
|
+
"@holo-js/forms": "^0.2.6",
|
|
152
|
+
"@holo-js/mail": "^0.2.6",
|
|
153
|
+
"@holo-js/media": "^0.2.6",
|
|
154
|
+
"@holo-js/notifications": "^0.2.6",
|
|
155
|
+
"@holo-js/queue": "^0.2.6",
|
|
156
|
+
"@holo-js/queue-db": "^0.2.6",
|
|
157
|
+
"@holo-js/queue-redis": "^0.2.6",
|
|
158
|
+
"@holo-js/realtime": "^0.2.6",
|
|
159
|
+
"@holo-js/security": "^0.2.6",
|
|
160
|
+
"@holo-js/session": "^0.2.6",
|
|
161
|
+
"@holo-js/storage": "^0.2.6",
|
|
162
|
+
"@holo-js/storage-s3": "^0.2.6",
|
|
163
|
+
"@holo-js/validation": "^0.2.6",
|
|
164
164
|
"@nuxt/kit": "^4.4.4",
|
|
165
165
|
"@nuxt/module-builder": "^1.0.2",
|
|
166
166
|
"@sveltejs/adapter-node": "^5.5.4",
|
|
@@ -177,7 +177,7 @@ var WORKSPACE_CATALOG = Object.freeze({
|
|
|
177
177
|
"@vitest/coverage-v8": "^4.1.5",
|
|
178
178
|
"better-sqlite3": "^11.7.0",
|
|
179
179
|
"bullmq": "^5.71.0",
|
|
180
|
-
"create-holo-js": "^0.2.
|
|
180
|
+
"create-holo-js": "^0.2.6",
|
|
181
181
|
"esbuild": "^0.27.4",
|
|
182
182
|
"eslint": "^9.17.0",
|
|
183
183
|
"fast-check": "^4.5.3",
|
|
@@ -1724,10 +1724,10 @@ function renderAuthMigration(slug) {
|
|
|
1724
1724
|
switch (slug) {
|
|
1725
1725
|
case "create_users":
|
|
1726
1726
|
return [
|
|
1727
|
-
"import { defineMigration
|
|
1727
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1728
1728
|
"",
|
|
1729
1729
|
"export default defineMigration({",
|
|
1730
|
-
" async up({ schema }
|
|
1730
|
+
" async up({ schema }) {",
|
|
1731
1731
|
" await schema.createTable('users', (table) => {",
|
|
1732
1732
|
" table.id()",
|
|
1733
1733
|
" table.string('name')",
|
|
@@ -1738,7 +1738,7 @@ function renderAuthMigration(slug) {
|
|
|
1738
1738
|
" table.timestamps()",
|
|
1739
1739
|
" })",
|
|
1740
1740
|
" },",
|
|
1741
|
-
" async down({ schema }
|
|
1741
|
+
" async down({ schema }) {",
|
|
1742
1742
|
" await schema.dropTable('users')",
|
|
1743
1743
|
" },",
|
|
1744
1744
|
"})",
|
|
@@ -1746,10 +1746,10 @@ function renderAuthMigration(slug) {
|
|
|
1746
1746
|
].join("\n");
|
|
1747
1747
|
case "create_sessions":
|
|
1748
1748
|
return [
|
|
1749
|
-
"import { defineMigration
|
|
1749
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1750
1750
|
"",
|
|
1751
1751
|
"export default defineMigration({",
|
|
1752
|
-
" async up({ schema }
|
|
1752
|
+
" async up({ schema }) {",
|
|
1753
1753
|
" await schema.createTable('sessions', (table) => {",
|
|
1754
1754
|
" table.string('id').primaryKey()",
|
|
1755
1755
|
" table.string('store').default('database')",
|
|
@@ -1762,7 +1762,7 @@ function renderAuthMigration(slug) {
|
|
|
1762
1762
|
" table.index(['expires_at'])",
|
|
1763
1763
|
" })",
|
|
1764
1764
|
" },",
|
|
1765
|
-
" async down({ schema }
|
|
1765
|
+
" async down({ schema }) {",
|
|
1766
1766
|
" await schema.dropTable('sessions')",
|
|
1767
1767
|
" },",
|
|
1768
1768
|
"})",
|
|
@@ -1770,10 +1770,10 @@ function renderAuthMigration(slug) {
|
|
|
1770
1770
|
].join("\n");
|
|
1771
1771
|
case "create_auth_identities":
|
|
1772
1772
|
return [
|
|
1773
|
-
"import { defineMigration
|
|
1773
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1774
1774
|
"",
|
|
1775
1775
|
"export default defineMigration({",
|
|
1776
|
-
" async up({ schema }
|
|
1776
|
+
" async up({ schema }) {",
|
|
1777
1777
|
" await schema.createTable('auth_identities', (table) => {",
|
|
1778
1778
|
" table.id()",
|
|
1779
1779
|
" table.string('user_id')",
|
|
@@ -1790,7 +1790,7 @@ function renderAuthMigration(slug) {
|
|
|
1790
1790
|
" table.unique(['provider', 'provider_user_id'], 'auth_identities_provider_user_unique')",
|
|
1791
1791
|
" })",
|
|
1792
1792
|
" },",
|
|
1793
|
-
" async down({ schema }
|
|
1793
|
+
" async down({ schema }) {",
|
|
1794
1794
|
" await schema.dropTable('auth_identities')",
|
|
1795
1795
|
" },",
|
|
1796
1796
|
"})",
|
|
@@ -1798,10 +1798,10 @@ function renderAuthMigration(slug) {
|
|
|
1798
1798
|
].join("\n");
|
|
1799
1799
|
case "create_personal_access_tokens":
|
|
1800
1800
|
return [
|
|
1801
|
-
"import { defineMigration
|
|
1801
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1802
1802
|
"",
|
|
1803
1803
|
"export default defineMigration({",
|
|
1804
|
-
" async up({ schema }
|
|
1804
|
+
" async up({ schema }) {",
|
|
1805
1805
|
" await schema.createTable('personal_access_tokens', (table) => {",
|
|
1806
1806
|
" table.uuid('id').primaryKey()",
|
|
1807
1807
|
" table.string('provider').default('users')",
|
|
@@ -1816,7 +1816,7 @@ function renderAuthMigration(slug) {
|
|
|
1816
1816
|
" table.index(['user_id'])",
|
|
1817
1817
|
" })",
|
|
1818
1818
|
" },",
|
|
1819
|
-
" async down({ schema }
|
|
1819
|
+
" async down({ schema }) {",
|
|
1820
1820
|
" await schema.dropTable('personal_access_tokens')",
|
|
1821
1821
|
" },",
|
|
1822
1822
|
"})",
|
|
@@ -1824,10 +1824,10 @@ function renderAuthMigration(slug) {
|
|
|
1824
1824
|
].join("\n");
|
|
1825
1825
|
case "create_password_reset_tokens":
|
|
1826
1826
|
return [
|
|
1827
|
-
"import { defineMigration
|
|
1827
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1828
1828
|
"",
|
|
1829
1829
|
"export default defineMigration({",
|
|
1830
|
-
" async up({ schema }
|
|
1830
|
+
" async up({ schema }) {",
|
|
1831
1831
|
" await schema.createTable('password_reset_tokens', (table) => {",
|
|
1832
1832
|
" table.uuid('id').primaryKey()",
|
|
1833
1833
|
" table.string('provider').default('users')",
|
|
@@ -1840,7 +1840,7 @@ function renderAuthMigration(slug) {
|
|
|
1840
1840
|
" table.index(['email'])",
|
|
1841
1841
|
" })",
|
|
1842
1842
|
" },",
|
|
1843
|
-
" async down({ schema }
|
|
1843
|
+
" async down({ schema }) {",
|
|
1844
1844
|
" await schema.dropTable('password_reset_tokens')",
|
|
1845
1845
|
" },",
|
|
1846
1846
|
"})",
|
|
@@ -1848,10 +1848,10 @@ function renderAuthMigration(slug) {
|
|
|
1848
1848
|
].join("\n");
|
|
1849
1849
|
case "create_email_verification_tokens":
|
|
1850
1850
|
return [
|
|
1851
|
-
"import { defineMigration
|
|
1851
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1852
1852
|
"",
|
|
1853
1853
|
"export default defineMigration({",
|
|
1854
|
-
" async up({ schema }
|
|
1854
|
+
" async up({ schema }) {",
|
|
1855
1855
|
" await schema.createTable('email_verification_tokens', (table) => {",
|
|
1856
1856
|
" table.uuid('id').primaryKey()",
|
|
1857
1857
|
" table.string('provider').default('users')",
|
|
@@ -1866,7 +1866,7 @@ function renderAuthMigration(slug) {
|
|
|
1866
1866
|
" table.index(['email'])",
|
|
1867
1867
|
" })",
|
|
1868
1868
|
" },",
|
|
1869
|
-
" async down({ schema }
|
|
1869
|
+
" async down({ schema }) {",
|
|
1870
1870
|
" await schema.dropTable('email_verification_tokens')",
|
|
1871
1871
|
" },",
|
|
1872
1872
|
"})",
|
|
@@ -1882,10 +1882,10 @@ function createAuthMigrationFiles(date = /* @__PURE__ */ new Date()) {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
function renderNotificationsMigration() {
|
|
1884
1884
|
return [
|
|
1885
|
-
"import { defineMigration
|
|
1885
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1886
1886
|
"",
|
|
1887
1887
|
"export default defineMigration({",
|
|
1888
|
-
" async up({ schema }
|
|
1888
|
+
" async up({ schema }) {",
|
|
1889
1889
|
" await schema.createTable('notifications', (table) => {",
|
|
1890
1890
|
" table.string('id').primaryKey()",
|
|
1891
1891
|
" table.string('type').nullable()",
|
|
@@ -1899,7 +1899,7 @@ function renderNotificationsMigration() {
|
|
|
1899
1899
|
" table.index(['read_at'])",
|
|
1900
1900
|
" })",
|
|
1901
1901
|
" },",
|
|
1902
|
-
" async down({ schema }
|
|
1902
|
+
" async down({ schema }) {",
|
|
1903
1903
|
" await schema.dropTable('notifications')",
|
|
1904
1904
|
" },",
|
|
1905
1905
|
"})",
|
|
@@ -3092,7 +3092,7 @@ async function installMediaIntoProject(projectRoot) {
|
|
|
3092
3092
|
if (!mediaConfigPath) {
|
|
3093
3093
|
await writeTextFile(resolve4(projectRoot, "config/media.ts"), renderMediaConfig());
|
|
3094
3094
|
}
|
|
3095
|
-
const { createMediaTableMigration } = await import("./media-migrations-
|
|
3095
|
+
const { createMediaTableMigration } = await import("./media-migrations-BNVAPYEM.mjs");
|
|
3096
3096
|
const migrationFilePath = await createMediaTableMigration(projectRoot, {
|
|
3097
3097
|
skipIfExists: true
|
|
3098
3098
|
});
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-VP2E62DF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
syncManagedDriverDependencies
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7B2RVYLL.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ensureGeneratedSchemaPlaceholder,
|
|
12
12
|
ensureProjectConfig
|
|
@@ -97,9 +97,9 @@ async function runProjectBuild(io, projectRoot, spawn2 = spawnSync) {
|
|
|
97
97
|
throw new Error(result.stderr?.trim() || result.stdout?.trim() || "Project build failed.");
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
async function runProjectStartServer(io, projectRoot, spawnProcess = spawn) {
|
|
100
|
+
async function runProjectStartServer(io, projectRoot, spawnProcess = spawn, passthroughArgs = []) {
|
|
101
101
|
const invocation = resolveFrameworkRunnerInvocation(projectRoot, "start");
|
|
102
|
-
const child = spawnProcess(invocation.command, [...invocation.args], {
|
|
102
|
+
const child = spawnProcess(invocation.command, [...invocation.args, ...passthroughArgs], {
|
|
103
103
|
cwd: projectRoot,
|
|
104
104
|
env: process.env,
|
|
105
105
|
stdio: ["pipe", "pipe", "pipe"]
|
|
@@ -64,7 +64,7 @@ import { loadConfigDirectory } from "@holo-js/config";
|
|
|
64
64
|
// package.json
|
|
65
65
|
var package_default = {
|
|
66
66
|
name: "@holo-js/cli",
|
|
67
|
-
version: "0.2.
|
|
67
|
+
version: "0.2.6",
|
|
68
68
|
description: "Holo-JS Framework - project creation, discovery, and operational CLI",
|
|
69
69
|
type: "module",
|
|
70
70
|
license: "MIT",
|
|
@@ -118,49 +118,49 @@ var WORKSPACE_CATALOG = Object.freeze({
|
|
|
118
118
|
"@clerk/backend": "^3.4.7",
|
|
119
119
|
"@clack/prompts": "^1.5.1",
|
|
120
120
|
"@eslint/js": "^9.17.0",
|
|
121
|
-
"@holo-js/adapter-next": "^0.2.
|
|
122
|
-
"@holo-js/adapter-nuxt": "^0.2.
|
|
123
|
-
"@holo-js/adapter-sveltekit": "^0.2.
|
|
124
|
-
"@holo-js/auth": "^0.2.
|
|
125
|
-
"@holo-js/auth-clerk": "^0.2.
|
|
126
|
-
"@holo-js/auth-social": "^0.2.
|
|
127
|
-
"@holo-js/auth-social-apple": "^0.2.
|
|
128
|
-
"@holo-js/auth-social-discord": "^0.2.
|
|
129
|
-
"@holo-js/auth-social-facebook": "^0.2.
|
|
130
|
-
"@holo-js/auth-social-github": "^0.2.
|
|
131
|
-
"@holo-js/auth-social-google": "^0.2.
|
|
132
|
-
"@holo-js/auth-social-linkedin": "^0.2.
|
|
133
|
-
"@holo-js/auth-workos": "^0.2.
|
|
134
|
-
"@holo-js/authorization": "^0.2.
|
|
135
|
-
"@holo-js/broadcast": "^0.2.
|
|
136
|
-
"@holo-js/cache": "^0.2.
|
|
137
|
-
"@holo-js/cache-db": "^0.2.
|
|
138
|
-
"@holo-js/cache-redis": "^0.2.
|
|
139
|
-
"@holo-js/cli": "^0.2.
|
|
140
|
-
"@holo-js/config": "^0.2.
|
|
141
|
-
"@holo-js/core": "^0.2.
|
|
142
|
-
"@holo-js/db": "^0.2.
|
|
143
|
-
"@holo-js/db-mysql": "^0.2.
|
|
144
|
-
"@holo-js/db-postgres": "^0.2.
|
|
145
|
-
"@holo-js/db-sqlite": "^0.2.
|
|
146
|
-
"@holo-js/events": "^0.2.
|
|
147
|
-
"@holo-js/flux": "^0.2.
|
|
148
|
-
"@holo-js/flux-react": "^0.2.
|
|
149
|
-
"@holo-js/flux-svelte": "^0.2.
|
|
150
|
-
"@holo-js/flux-vue": "^0.2.
|
|
151
|
-
"@holo-js/forms": "^0.2.
|
|
152
|
-
"@holo-js/mail": "^0.2.
|
|
153
|
-
"@holo-js/media": "^0.2.
|
|
154
|
-
"@holo-js/notifications": "^0.2.
|
|
155
|
-
"@holo-js/queue": "^0.2.
|
|
156
|
-
"@holo-js/queue-db": "^0.2.
|
|
157
|
-
"@holo-js/queue-redis": "^0.2.
|
|
158
|
-
"@holo-js/realtime": "^0.2.
|
|
159
|
-
"@holo-js/security": "^0.2.
|
|
160
|
-
"@holo-js/session": "^0.2.
|
|
161
|
-
"@holo-js/storage": "^0.2.
|
|
162
|
-
"@holo-js/storage-s3": "^0.2.
|
|
163
|
-
"@holo-js/validation": "^0.2.
|
|
121
|
+
"@holo-js/adapter-next": "^0.2.6",
|
|
122
|
+
"@holo-js/adapter-nuxt": "^0.2.6",
|
|
123
|
+
"@holo-js/adapter-sveltekit": "^0.2.6",
|
|
124
|
+
"@holo-js/auth": "^0.2.6",
|
|
125
|
+
"@holo-js/auth-clerk": "^0.2.6",
|
|
126
|
+
"@holo-js/auth-social": "^0.2.6",
|
|
127
|
+
"@holo-js/auth-social-apple": "^0.2.6",
|
|
128
|
+
"@holo-js/auth-social-discord": "^0.2.6",
|
|
129
|
+
"@holo-js/auth-social-facebook": "^0.2.6",
|
|
130
|
+
"@holo-js/auth-social-github": "^0.2.6",
|
|
131
|
+
"@holo-js/auth-social-google": "^0.2.6",
|
|
132
|
+
"@holo-js/auth-social-linkedin": "^0.2.6",
|
|
133
|
+
"@holo-js/auth-workos": "^0.2.6",
|
|
134
|
+
"@holo-js/authorization": "^0.2.6",
|
|
135
|
+
"@holo-js/broadcast": "^0.2.6",
|
|
136
|
+
"@holo-js/cache": "^0.2.6",
|
|
137
|
+
"@holo-js/cache-db": "^0.2.6",
|
|
138
|
+
"@holo-js/cache-redis": "^0.2.6",
|
|
139
|
+
"@holo-js/cli": "^0.2.6",
|
|
140
|
+
"@holo-js/config": "^0.2.6",
|
|
141
|
+
"@holo-js/core": "^0.2.6",
|
|
142
|
+
"@holo-js/db": "^0.2.6",
|
|
143
|
+
"@holo-js/db-mysql": "^0.2.6",
|
|
144
|
+
"@holo-js/db-postgres": "^0.2.6",
|
|
145
|
+
"@holo-js/db-sqlite": "^0.2.6",
|
|
146
|
+
"@holo-js/events": "^0.2.6",
|
|
147
|
+
"@holo-js/flux": "^0.2.6",
|
|
148
|
+
"@holo-js/flux-react": "^0.2.6",
|
|
149
|
+
"@holo-js/flux-svelte": "^0.2.6",
|
|
150
|
+
"@holo-js/flux-vue": "^0.2.6",
|
|
151
|
+
"@holo-js/forms": "^0.2.6",
|
|
152
|
+
"@holo-js/mail": "^0.2.6",
|
|
153
|
+
"@holo-js/media": "^0.2.6",
|
|
154
|
+
"@holo-js/notifications": "^0.2.6",
|
|
155
|
+
"@holo-js/queue": "^0.2.6",
|
|
156
|
+
"@holo-js/queue-db": "^0.2.6",
|
|
157
|
+
"@holo-js/queue-redis": "^0.2.6",
|
|
158
|
+
"@holo-js/realtime": "^0.2.6",
|
|
159
|
+
"@holo-js/security": "^0.2.6",
|
|
160
|
+
"@holo-js/session": "^0.2.6",
|
|
161
|
+
"@holo-js/storage": "^0.2.6",
|
|
162
|
+
"@holo-js/storage-s3": "^0.2.6",
|
|
163
|
+
"@holo-js/validation": "^0.2.6",
|
|
164
164
|
"@nuxt/kit": "^4.4.4",
|
|
165
165
|
"@nuxt/module-builder": "^1.0.2",
|
|
166
166
|
"@sveltejs/adapter-node": "^5.5.4",
|
|
@@ -177,7 +177,7 @@ var WORKSPACE_CATALOG = Object.freeze({
|
|
|
177
177
|
"@vitest/coverage-v8": "^4.1.5",
|
|
178
178
|
"better-sqlite3": "^11.7.0",
|
|
179
179
|
"bullmq": "^5.71.0",
|
|
180
|
-
"create-holo-js": "^0.2.
|
|
180
|
+
"create-holo-js": "^0.2.6",
|
|
181
181
|
"esbuild": "^0.27.4",
|
|
182
182
|
"eslint": "^9.17.0",
|
|
183
183
|
"fast-check": "^4.5.3",
|
|
@@ -1724,10 +1724,10 @@ function renderAuthMigration(slug) {
|
|
|
1724
1724
|
switch (slug) {
|
|
1725
1725
|
case "create_users":
|
|
1726
1726
|
return [
|
|
1727
|
-
"import { defineMigration
|
|
1727
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1728
1728
|
"",
|
|
1729
1729
|
"export default defineMigration({",
|
|
1730
|
-
" async up({ schema }
|
|
1730
|
+
" async up({ schema }) {",
|
|
1731
1731
|
" await schema.createTable('users', (table) => {",
|
|
1732
1732
|
" table.id()",
|
|
1733
1733
|
" table.string('name')",
|
|
@@ -1738,7 +1738,7 @@ function renderAuthMigration(slug) {
|
|
|
1738
1738
|
" table.timestamps()",
|
|
1739
1739
|
" })",
|
|
1740
1740
|
" },",
|
|
1741
|
-
" async down({ schema }
|
|
1741
|
+
" async down({ schema }) {",
|
|
1742
1742
|
" await schema.dropTable('users')",
|
|
1743
1743
|
" },",
|
|
1744
1744
|
"})",
|
|
@@ -1746,10 +1746,10 @@ function renderAuthMigration(slug) {
|
|
|
1746
1746
|
].join("\n");
|
|
1747
1747
|
case "create_sessions":
|
|
1748
1748
|
return [
|
|
1749
|
-
"import { defineMigration
|
|
1749
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1750
1750
|
"",
|
|
1751
1751
|
"export default defineMigration({",
|
|
1752
|
-
" async up({ schema }
|
|
1752
|
+
" async up({ schema }) {",
|
|
1753
1753
|
" await schema.createTable('sessions', (table) => {",
|
|
1754
1754
|
" table.string('id').primaryKey()",
|
|
1755
1755
|
" table.string('store').default('database')",
|
|
@@ -1762,7 +1762,7 @@ function renderAuthMigration(slug) {
|
|
|
1762
1762
|
" table.index(['expires_at'])",
|
|
1763
1763
|
" })",
|
|
1764
1764
|
" },",
|
|
1765
|
-
" async down({ schema }
|
|
1765
|
+
" async down({ schema }) {",
|
|
1766
1766
|
" await schema.dropTable('sessions')",
|
|
1767
1767
|
" },",
|
|
1768
1768
|
"})",
|
|
@@ -1770,10 +1770,10 @@ function renderAuthMigration(slug) {
|
|
|
1770
1770
|
].join("\n");
|
|
1771
1771
|
case "create_auth_identities":
|
|
1772
1772
|
return [
|
|
1773
|
-
"import { defineMigration
|
|
1773
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1774
1774
|
"",
|
|
1775
1775
|
"export default defineMigration({",
|
|
1776
|
-
" async up({ schema }
|
|
1776
|
+
" async up({ schema }) {",
|
|
1777
1777
|
" await schema.createTable('auth_identities', (table) => {",
|
|
1778
1778
|
" table.id()",
|
|
1779
1779
|
" table.string('user_id')",
|
|
@@ -1790,7 +1790,7 @@ function renderAuthMigration(slug) {
|
|
|
1790
1790
|
" table.unique(['provider', 'provider_user_id'], 'auth_identities_provider_user_unique')",
|
|
1791
1791
|
" })",
|
|
1792
1792
|
" },",
|
|
1793
|
-
" async down({ schema }
|
|
1793
|
+
" async down({ schema }) {",
|
|
1794
1794
|
" await schema.dropTable('auth_identities')",
|
|
1795
1795
|
" },",
|
|
1796
1796
|
"})",
|
|
@@ -1798,10 +1798,10 @@ function renderAuthMigration(slug) {
|
|
|
1798
1798
|
].join("\n");
|
|
1799
1799
|
case "create_personal_access_tokens":
|
|
1800
1800
|
return [
|
|
1801
|
-
"import { defineMigration
|
|
1801
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1802
1802
|
"",
|
|
1803
1803
|
"export default defineMigration({",
|
|
1804
|
-
" async up({ schema }
|
|
1804
|
+
" async up({ schema }) {",
|
|
1805
1805
|
" await schema.createTable('personal_access_tokens', (table) => {",
|
|
1806
1806
|
" table.uuid('id').primaryKey()",
|
|
1807
1807
|
" table.string('provider').default('users')",
|
|
@@ -1816,7 +1816,7 @@ function renderAuthMigration(slug) {
|
|
|
1816
1816
|
" table.index(['user_id'])",
|
|
1817
1817
|
" })",
|
|
1818
1818
|
" },",
|
|
1819
|
-
" async down({ schema }
|
|
1819
|
+
" async down({ schema }) {",
|
|
1820
1820
|
" await schema.dropTable('personal_access_tokens')",
|
|
1821
1821
|
" },",
|
|
1822
1822
|
"})",
|
|
@@ -1824,10 +1824,10 @@ function renderAuthMigration(slug) {
|
|
|
1824
1824
|
].join("\n");
|
|
1825
1825
|
case "create_password_reset_tokens":
|
|
1826
1826
|
return [
|
|
1827
|
-
"import { defineMigration
|
|
1827
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1828
1828
|
"",
|
|
1829
1829
|
"export default defineMigration({",
|
|
1830
|
-
" async up({ schema }
|
|
1830
|
+
" async up({ schema }) {",
|
|
1831
1831
|
" await schema.createTable('password_reset_tokens', (table) => {",
|
|
1832
1832
|
" table.uuid('id').primaryKey()",
|
|
1833
1833
|
" table.string('provider').default('users')",
|
|
@@ -1840,7 +1840,7 @@ function renderAuthMigration(slug) {
|
|
|
1840
1840
|
" table.index(['email'])",
|
|
1841
1841
|
" })",
|
|
1842
1842
|
" },",
|
|
1843
|
-
" async down({ schema }
|
|
1843
|
+
" async down({ schema }) {",
|
|
1844
1844
|
" await schema.dropTable('password_reset_tokens')",
|
|
1845
1845
|
" },",
|
|
1846
1846
|
"})",
|
|
@@ -1848,10 +1848,10 @@ function renderAuthMigration(slug) {
|
|
|
1848
1848
|
].join("\n");
|
|
1849
1849
|
case "create_email_verification_tokens":
|
|
1850
1850
|
return [
|
|
1851
|
-
"import { defineMigration
|
|
1851
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1852
1852
|
"",
|
|
1853
1853
|
"export default defineMigration({",
|
|
1854
|
-
" async up({ schema }
|
|
1854
|
+
" async up({ schema }) {",
|
|
1855
1855
|
" await schema.createTable('email_verification_tokens', (table) => {",
|
|
1856
1856
|
" table.uuid('id').primaryKey()",
|
|
1857
1857
|
" table.string('provider').default('users')",
|
|
@@ -1866,7 +1866,7 @@ function renderAuthMigration(slug) {
|
|
|
1866
1866
|
" table.index(['email'])",
|
|
1867
1867
|
" })",
|
|
1868
1868
|
" },",
|
|
1869
|
-
" async down({ schema }
|
|
1869
|
+
" async down({ schema }) {",
|
|
1870
1870
|
" await schema.dropTable('email_verification_tokens')",
|
|
1871
1871
|
" },",
|
|
1872
1872
|
"})",
|
|
@@ -1882,10 +1882,10 @@ function createAuthMigrationFiles(date = /* @__PURE__ */ new Date()) {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
function renderNotificationsMigration() {
|
|
1884
1884
|
return [
|
|
1885
|
-
"import { defineMigration
|
|
1885
|
+
"import { defineMigration } from '@holo-js/db'",
|
|
1886
1886
|
"",
|
|
1887
1887
|
"export default defineMigration({",
|
|
1888
|
-
" async up({ schema }
|
|
1888
|
+
" async up({ schema }) {",
|
|
1889
1889
|
" await schema.createTable('notifications', (table) => {",
|
|
1890
1890
|
" table.string('id').primaryKey()",
|
|
1891
1891
|
" table.string('type').nullable()",
|
|
@@ -1899,7 +1899,7 @@ function renderNotificationsMigration() {
|
|
|
1899
1899
|
" table.index(['read_at'])",
|
|
1900
1900
|
" })",
|
|
1901
1901
|
" },",
|
|
1902
|
-
" async down({ schema }
|
|
1902
|
+
" async down({ schema }) {",
|
|
1903
1903
|
" await schema.dropTable('notifications')",
|
|
1904
1904
|
" },",
|
|
1905
1905
|
"})",
|
|
@@ -3092,7 +3092,7 @@ async function installMediaIntoProject(projectRoot) {
|
|
|
3092
3092
|
if (!mediaConfigPath) {
|
|
3093
3093
|
await writeTextFile(resolve4(projectRoot, "config/media.ts"), renderMediaConfig());
|
|
3094
3094
|
}
|
|
3095
|
-
const { createMediaTableMigration } = await import("./media-migrations-
|
|
3095
|
+
const { createMediaTableMigration } = await import("./media-migrations-NNB3DAQR.mjs");
|
|
3096
3096
|
const migrationFilePath = await createMediaTableMigration(projectRoot, {
|
|
3097
3097
|
skipIfExists: true
|
|
3098
3098
|
});
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
runProjectPrepare,
|
|
15
15
|
runProjectStartServer,
|
|
16
16
|
toPosixSlashes
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4K4CWMMP.mjs";
|
|
18
18
|
import {
|
|
19
19
|
hasProjectDependency
|
|
20
20
|
} from "./chunk-FGQ2I2YH.mjs";
|
|
21
21
|
import "./chunk-D7O4SU6N.mjs";
|
|
22
22
|
import "./chunk-VP2E62DF.mjs";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-C624G3R2.mjs";
|
|
24
24
|
import "./chunk-YEFJBN56.mjs";
|
|
25
25
|
import "./chunk-J76GH2DR.mjs";
|
|
26
26
|
import "./chunk-ILU426CF.mjs";
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
runProjectPrepare,
|
|
15
15
|
runProjectStartServer,
|
|
16
16
|
toPosixSlashes
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AJLRAC5M.mjs";
|
|
18
18
|
import {
|
|
19
19
|
hasProjectDependency
|
|
20
20
|
} from "./chunk-FGQ2I2YH.mjs";
|
|
21
21
|
import "./chunk-D7O4SU6N.mjs";
|
|
22
22
|
import "./chunk-VP2E62DF.mjs";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-7B2RVYLL.mjs";
|
|
24
24
|
import "./chunk-YEFJBN56.mjs";
|
|
25
25
|
import "./chunk-J76GH2DR.mjs";
|
|
26
26
|
import "./chunk-ILU426CF.mjs";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-VRGB6DIS.mjs";
|
|
4
4
|
import {
|
|
5
5
|
runProjectPrepare
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4K4CWMMP.mjs";
|
|
7
7
|
import "./chunk-FGQ2I2YH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
hasRegisteredCreateTableMigration,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
collectFiles,
|
|
23
23
|
prepareProjectDiscovery
|
|
24
24
|
} from "./chunk-VP2E62DF.mjs";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-C624G3R2.mjs";
|
|
26
26
|
import {
|
|
27
27
|
ensureGeneratedSchemaPlaceholder,
|
|
28
28
|
ensureProjectConfig
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-VRGB6DIS.mjs";
|
|
4
4
|
import {
|
|
5
5
|
runProjectPrepare
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AJLRAC5M.mjs";
|
|
7
7
|
import "./chunk-FGQ2I2YH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
hasRegisteredCreateTableMigration,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
collectFiles,
|
|
23
23
|
prepareProjectDiscovery
|
|
24
24
|
} from "./chunk-VP2E62DF.mjs";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-7B2RVYLL.mjs";
|
|
26
26
|
import {
|
|
27
27
|
ensureGeneratedSchemaPlaceholder,
|
|
28
28
|
ensureProjectConfig
|