@stacksjs/actions 0.70.23 → 0.70.26
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/chunk-2gh7kgpc.js +3 -0
- package/dist/chunk-2kaj93p5.js +3 -0
- package/dist/chunk-2qchdrf9.js +3 -0
- package/dist/chunk-3086k7zk.js +184 -0
- package/dist/chunk-3beht8ja.js +130 -0
- package/dist/chunk-60qjz7zb.js +3 -0
- package/dist/chunk-67y94dzt.js +658 -0
- package/dist/chunk-6x1m5rkr.js +17 -0
- package/dist/chunk-7bpdkc40.js +714 -0
- package/dist/chunk-96b7fcmd.js +3 -0
- package/dist/chunk-aw6d8zr3.js +7 -0
- package/dist/chunk-c8qt2xst.js +3 -0
- package/dist/chunk-d4srk6ma.js +3 -0
- package/dist/chunk-e9tcbk71.js +1 -0
- package/dist/chunk-gt77jmb5.js +46 -0
- package/dist/chunk-h93n2j40.js +95 -0
- package/dist/chunk-jd1yzkq5.js +3 -0
- package/dist/chunk-kzhgexj4.js +3 -0
- package/dist/chunk-n1y0gpv6.js +3 -0
- package/dist/chunk-n2fd1d0m.js +3 -0
- package/dist/chunk-n2x7v39b.js +5 -0
- package/dist/chunk-rdajkt2s.js +88 -0
- package/dist/chunk-s735m9mg.js +1 -0
- package/dist/chunk-schcaf73.js +3 -0
- package/dist/chunk-tc935b45.js +93 -0
- package/dist/chunk-v0wnrnaa.js +7 -0
- package/dist/chunk-w418anbq.js +5 -0
- package/dist/chunk-wnrgcx3d.js +114 -0
- package/dist/chunk-wv5yb5wb.js +101 -0
- package/dist/chunk-x471rxrn.js +7 -0
- package/dist/chunk-xg9xscqz.js +1 -0
- package/dist/src/action.d.ts +60 -0
- package/dist/src/action.js +2 -0
- package/dist/src/actions.d.ts +2 -0
- package/dist/src/actions.js +2 -0
- package/dist/src/add.d.ts +6 -0
- package/dist/src/add.js +2 -0
- package/dist/src/ai/request-model-access.d.ts +1 -0
- package/dist/src/ai/request-model-access.js +2 -0
- package/dist/src/auth/client.d.ts +1 -0
- package/dist/src/auth/client.js +3 -0
- package/dist/src/auth/prune.d.ts +1 -0
- package/dist/src/auth/prune.js +2 -0
- package/dist/src/auth/setup.d.ts +1 -0
- package/dist/src/auth/setup.js +148 -0
- package/dist/src/auth/token.d.ts +1 -0
- package/dist/src/auth/token.js +2 -0
- package/dist/src/build/cli.d.ts +1 -0
- package/dist/src/build/cli.js +2 -0
- package/dist/src/build/component-libs.d.ts +1 -0
- package/dist/src/build/component-libs.js +2 -0
- package/dist/src/build/core.d.ts +1 -0
- package/dist/src/build/core.js +2 -0
- package/dist/src/build/desktop.d.ts +1 -0
- package/dist/src/build/desktop.js +2 -0
- package/dist/src/build/docs.d.ts +1 -0
- package/dist/src/build/docs.js +2 -0
- package/dist/src/build/server.d.ts +1 -0
- package/dist/src/build/server.js +2 -0
- package/dist/src/build/stacks.d.ts +1 -0
- package/dist/src/build/stacks.js +2 -0
- package/dist/src/build/views.d.ts +1 -0
- package/dist/src/build/views.js +2 -0
- package/dist/{build.d.ts → src/build.d.ts} +1 -2
- package/dist/src/build.js +2 -0
- package/dist/src/bump.d.ts +1 -0
- package/dist/src/bump.js +2 -0
- package/dist/src/cdn/invalidate-cache.d.ts +1 -0
- package/dist/src/cdn/invalidate-cache.js +1 -0
- package/dist/src/changelog.d.ts +1 -0
- package/dist/src/changelog.js +2 -0
- package/dist/src/check/ports.d.ts +1 -0
- package/dist/src/check/ports.js +2 -0
- package/dist/src/clean.d.ts +1 -0
- package/dist/src/clean.js +2 -0
- package/dist/{commit.d.ts → src/commit.d.ts} +1 -2
- package/dist/src/commit.js +2 -0
- package/dist/src/copy-types.d.ts +1 -0
- package/dist/src/copy-types.js +3 -0
- package/dist/src/database/seed.d.ts +1 -0
- package/dist/src/database/seed.js +2 -0
- package/dist/src/deploy/create-receipt-rule.d.ts +1 -0
- package/dist/src/deploy/create-receipt-rule.js +2 -0
- package/dist/src/deploy/index.d.ts +1 -0
- package/dist/src/deploy/index.js +307 -0
- package/dist/src/dev/api.d.ts +1 -0
- package/dist/src/dev/api.js +6 -0
- package/dist/src/dev/components.d.ts +1 -0
- package/dist/src/dev/components.js +2 -0
- package/dist/src/dev/dashboard-globals.d.ts +4 -0
- package/dist/src/dev/dashboard-globals.js +3 -0
- package/dist/src/dev/dashboard-utils.d.ts +126 -0
- package/dist/src/dev/dashboard-utils.js +2 -0
- package/dist/src/dev/dashboard.d.ts +12 -0
- package/dist/src/dev/dashboard.js +8 -0
- package/dist/src/dev/desktop.d.ts +1 -0
- package/dist/src/dev/desktop.js +2 -0
- package/dist/src/dev/docs.d.ts +1 -0
- package/dist/src/dev/docs.js +2 -0
- package/dist/src/dev/index.d.ts +10 -0
- package/dist/src/dev/index.js +2 -0
- package/dist/src/dev/system-tray.d.ts +1 -0
- package/dist/src/dev/system-tray.js +2 -0
- package/dist/src/dev/views.d.ts +1 -0
- package/dist/src/dev/views.js +2 -0
- package/dist/src/discover-packages.d.ts +18 -0
- package/dist/src/discover-packages.js +2 -0
- package/dist/src/domains/add.d.ts +1 -0
- package/dist/src/domains/add.js +2 -0
- package/dist/src/domains/purchase.d.ts +1 -0
- package/dist/src/domains/purchase.js +2 -0
- package/dist/src/domains/remove.d.ts +1 -0
- package/dist/src/domains/remove.js +2 -0
- package/dist/{examples.d.ts → src/examples.d.ts} +1 -2
- package/dist/src/examples.js +2 -0
- package/dist/src/find-projects.d.ts +1 -0
- package/dist/src/find-projects.js +2 -0
- package/dist/src/fresh.d.ts +1 -0
- package/dist/src/fresh.js +2 -0
- package/dist/src/generate/action-types.d.ts +1 -0
- package/dist/src/generate/action-types.js +8 -0
- package/dist/src/generate/component-meta.d.ts +1 -0
- package/dist/src/generate/component-meta.js +3 -0
- package/dist/src/generate/custom-cli-file.d.ts +1 -0
- package/dist/src/generate/custom-cli-file.js +4 -0
- package/dist/src/generate/env-files.d.ts +1 -0
- package/dist/src/generate/env-files.js +26 -0
- package/dist/src/generate/ide-helpers.d.ts +1 -0
- package/dist/src/generate/ide-helpers.js +3 -0
- package/dist/src/generate/index.d.ts +36 -0
- package/dist/src/generate/index.js +2 -0
- package/dist/src/generate/lib-entries.d.ts +1 -0
- package/dist/src/generate/lib-entries.js +3 -0
- package/dist/src/generate/pantry-file.d.ts +1 -0
- package/dist/src/generate/pantry-file.js +2 -0
- package/dist/src/generate/symlink-core.d.ts +1 -0
- package/dist/src/generate/symlink-core.js +2 -0
- package/dist/src/generate/types.d.ts +1 -0
- package/dist/src/generate/types.js +2 -0
- package/dist/src/generate/vscode-custom-data.d.ts +1 -0
- package/dist/src/generate/vscode-custom-data.js +3 -0
- package/dist/src/generate/web-types.d.ts +1 -0
- package/dist/src/generate/web-types.js +1 -0
- package/dist/src/helpers/component-meta.d.ts +26 -0
- package/dist/src/helpers/component-meta.js +2 -0
- package/dist/src/helpers/index.d.ts +4 -0
- package/dist/src/helpers/index.js +2 -0
- package/dist/{lib-entries.d.ts → src/helpers/lib-entries.d.ts} +9 -5
- package/dist/src/helpers/lib-entries.js +2 -0
- package/dist/src/helpers/package-json.d.ts +2 -0
- package/dist/src/helpers/package-json.js +43 -0
- package/dist/src/helpers/utils.d.ts +23 -0
- package/dist/src/helpers/utils.js +2 -0
- package/dist/{vscode-custom-data.d.ts → src/helpers/vscode-custom-data.d.ts} +1 -1
- package/dist/src/helpers/vscode-custom-data.js +2 -0
- package/dist/src/index.d.ts +42 -0
- package/dist/src/index.js +2 -0
- package/dist/src/key-generate.d.ts +1 -0
- package/dist/src/key-generate.js +2 -0
- package/dist/src/lint/fix.d.ts +1 -0
- package/dist/src/lint/fix.js +4 -0
- package/dist/src/lint/index.d.ts +1 -0
- package/dist/src/lint/index.js +3 -0
- package/dist/src/make-command.d.ts +10 -0
- package/dist/src/make-command.js +2 -0
- package/dist/src/make-job.d.ts +5 -0
- package/dist/src/make-job.js +2 -0
- package/dist/src/make-policy.d.ts +10 -0
- package/dist/src/make-policy.js +2 -0
- package/dist/src/make-resource.d.ts +10 -0
- package/dist/src/make-resource.js +2 -0
- package/dist/{make.d.ts → src/make.d.ts} +11 -9
- package/dist/src/make.js +2 -0
- package/dist/src/migrate/database.d.ts +1 -0
- package/dist/src/migrate/database.js +2 -0
- package/dist/src/migrate/fresh.d.ts +1 -0
- package/dist/src/migrate/fresh.js +2 -0
- package/dist/src/orm/base.d.ts +1 -0
- package/dist/src/orm/base.js +2 -0
- package/dist/src/orm/test.d.ts +1 -0
- package/dist/src/orm/test.js +1 -0
- package/dist/src/prepublish.d.ts +1 -0
- package/dist/src/prepublish.js +2 -0
- package/dist/src/queue/clear.d.ts +1 -0
- package/dist/src/queue/clear.js +2 -0
- package/dist/src/queue/failed.d.ts +1 -0
- package/dist/src/queue/failed.js +5 -0
- package/dist/src/queue/flush.d.ts +1 -0
- package/dist/src/queue/flush.js +3 -0
- package/dist/src/queue/inspect.d.ts +1 -0
- package/dist/src/queue/inspect.js +8 -0
- package/dist/src/queue/monitor.d.ts +1 -0
- package/dist/src/queue/monitor.js +7 -0
- package/dist/src/queue/retry.d.ts +1 -0
- package/dist/src/queue/retry.js +2 -0
- package/dist/src/queue/schedule-list.d.ts +1 -0
- package/dist/src/queue/schedule-list.js +5 -0
- package/dist/src/queue/schedule.d.ts +1 -0
- package/dist/src/queue/schedule.js +2 -0
- package/dist/src/queue/status.d.ts +1 -0
- package/dist/src/queue/status.js +5 -0
- package/dist/src/queue/table.d.ts +1 -0
- package/dist/src/queue/table.js +2 -0
- package/dist/src/queue/work.d.ts +1 -0
- package/dist/src/queue/work.js +2 -0
- package/dist/src/release.d.ts +1 -0
- package/dist/src/release.js +3 -0
- package/dist/src/route/list.d.ts +1 -0
- package/dist/src/route/list.js +3 -0
- package/dist/src/run-action.d.ts +2 -0
- package/dist/src/run-action.js +2 -0
- package/dist/src/saas/setup.d.ts +1 -0
- package/dist/src/saas/setup.js +2 -0
- package/dist/src/scaffold-crud.d.ts +25 -0
- package/dist/src/scaffold-crud.js +2 -0
- package/dist/src/schedule/run.d.ts +1 -0
- package/dist/src/schedule/run.js +2 -0
- package/dist/src/search/flush.d.ts +1 -0
- package/dist/src/search/flush.js +2 -0
- package/dist/src/search/import.d.ts +1 -0
- package/dist/src/search/import.js +2 -0
- package/dist/src/search/settings-list.d.ts +1 -0
- package/dist/src/search/settings-list.js +2 -0
- package/dist/src/search/settings.d.ts +1 -0
- package/dist/src/search/settings.js +2 -0
- package/dist/src/serve/api.d.ts +1 -0
- package/dist/src/serve/api.js +2 -0
- package/dist/src/setup/index.d.ts +1 -0
- package/dist/src/setup/index.js +2 -0
- package/dist/src/setup/ssl.d.ts +38 -0
- package/dist/src/setup/ssl.js +2 -0
- package/dist/src/stacks.d.ts +4 -0
- package/dist/src/stacks.js +2 -0
- package/dist/src/templates.d.ts +8 -0
- package/dist/src/templates.js +2 -0
- package/dist/src/test/feature.d.ts +1 -0
- package/dist/src/test/feature.js +2 -0
- package/dist/src/test/index.d.ts +1 -0
- package/dist/src/test/index.js +2 -0
- package/dist/src/test/ui.d.ts +1 -0
- package/dist/src/test/ui.js +2 -0
- package/dist/src/test/unit.d.ts +1 -0
- package/dist/src/test/unit.js +2 -0
- package/dist/src/typecheck.d.ts +1 -0
- package/dist/src/typecheck.js +2 -0
- package/dist/{types.d.ts → src/types.d.ts} +1 -2
- package/dist/src/types.js +2 -0
- package/dist/src/upgrade/binary.d.ts +1 -0
- package/dist/src/upgrade/binary.js +2 -0
- package/dist/src/upgrade/bun.d.ts +1 -0
- package/dist/src/upgrade/bun.js +1 -0
- package/dist/src/upgrade/dependencies.d.ts +1 -0
- package/dist/src/upgrade/dependencies.js +2 -0
- package/dist/src/upgrade/framework-utils.d.ts +102 -0
- package/dist/src/upgrade/framework-utils.js +2 -0
- package/dist/src/upgrade/framework.d.ts +1 -0
- package/dist/src/upgrade/framework.js +7 -0
- package/dist/src/upgrade/index.d.ts +1 -0
- package/dist/src/upgrade/index.js +2 -0
- package/dist/src/upgrade/shell.d.ts +1 -0
- package/dist/src/upgrade/shell.js +5 -0
- package/dist/src/upgrade.d.ts +7 -0
- package/dist/src/upgrade.js +2 -0
- package/package.json +39 -23
- package/dist/action-types.d.ts +0 -9
- package/dist/action.d.ts +0 -64
- package/dist/actions.d.ts +0 -2
- package/dist/add.d.ts +0 -5
- package/dist/add.js +0 -33
- package/dist/api.d.ts +0 -1
- package/dist/binary.d.ts +0 -2
- package/dist/build/component-libs.js +0 -9
- package/dist/build/core.js +0 -23
- package/dist/build/stacks.js +0 -8
- package/dist/build.js +0 -108
- package/dist/bump.d.ts +0 -2
- package/dist/bump.js +0 -17
- package/dist/changelog.d.ts +0 -2
- package/dist/changelog.js +0 -17
- package/dist/chunk-2dvnt46s.js +0 -7657
- package/dist/chunk-494jp8d5.js +0 -54
- package/dist/chunk-4axj3j8y.js +0 -34
- package/dist/chunk-56ar3gp7.js +0 -3823
- package/dist/chunk-76zhb40c.js +0 -92
- package/dist/chunk-7s5qcjkt.js +0 -105
- package/dist/chunk-9v6qtbez.js +0 -45
- package/dist/chunk-a13x0e43.js +0 -1180
- package/dist/chunk-a7k3cdby.js +0 -2266
- package/dist/chunk-b5g5w1hh.js +0 -1482
- package/dist/chunk-bf8bq8pc.js +0 -205
- package/dist/chunk-ccnf3w1b.js +0 -2228
- package/dist/chunk-dvkgakrr.js +0 -1283
- package/dist/chunk-frw3va9v.js +0 -69
- package/dist/chunk-hvfeg6n6.js +0 -179248
- package/dist/chunk-mdj7x1vs.js +0 -790
- package/dist/chunk-mdqphqep.js +0 -438
- package/dist/chunk-mmskr8ar.js +0 -212
- package/dist/chunk-nrr524a7.js +0 -658
- package/dist/chunk-p0c688mg.js +0 -729
- package/dist/chunk-pacq2bz6.js +0 -902
- package/dist/chunk-psa9yf21.js +0 -72
- package/dist/chunk-q81mf99q.js +0 -169
- package/dist/chunk-q9dmga3k.js +0 -11
- package/dist/chunk-qhh0v93n.js +0 -73
- package/dist/chunk-qkm8e752.js +0 -51
- package/dist/chunk-saqpg5nd.js +0 -118
- package/dist/chunk-t5em30ak.js +0 -379
- package/dist/chunk-veja9rez.js +0 -5764
- package/dist/chunk-w4bfpxhm.js +0 -311
- package/dist/chunk-w6fdq4hk.js +0 -14425
- package/dist/chunk-wkwtsvym.js +0 -477
- package/dist/chunk-xgsmf4cy.js +0 -410
- package/dist/chunk-ykb33tkv.js +0 -177
- package/dist/chunk-ze46550n.js +0 -0
- package/dist/chunk-zzerxbrm.js +0 -107
- package/dist/clean.js +0 -6
- package/dist/commit.js +0 -22
- package/dist/component-meta.d.ts +0 -15
- package/dist/components.d.ts +0 -3
- package/dist/copy-types.d.ts +0 -1
- package/dist/copy-types.js +0 -14
- package/dist/core.d.ts +0 -1
- package/dist/create-receipt-rule.d.ts +0 -4
- package/dist/database/seed.js +0 -30
- package/dist/database.d.ts +0 -2
- package/dist/deploy/index.js +0 -48
- package/dist/dev/components.js +0 -11
- package/dist/dev/docs.js +0 -7
- package/dist/dev/index.js +0 -58
- package/dist/env-files.d.ts +0 -9
- package/dist/examples.js +0 -46
- package/dist/feature.d.ts +0 -2
- package/dist/find-projects.d.ts +0 -1
- package/dist/fix.d.ts +0 -1
- package/dist/flush.d.ts +0 -2
- package/dist/fresh.d.ts +0 -1
- package/dist/fresh.js +0 -21
- package/dist/generate/component-meta.js +0 -17
- package/dist/generate/ide-helpers.js +0 -18
- package/dist/generate/index.js +0 -216
- package/dist/generate/lib-entries.js +0 -30
- package/dist/generate/vscode-custom-data.js +0 -17
- package/dist/helpers/component-meta.js +0 -204227
- package/dist/helpers/lib-entries.js +0 -122
- package/dist/helpers/package-json.js +0 -96
- package/dist/helpers/utils.js +0 -76
- package/dist/helpers/vscode-custom-data.js +0 -43
- package/dist/import.d.ts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -172
- package/dist/key-generate.js +0 -15
- package/dist/lint/fix.js +0 -18
- package/dist/lint/index.js +0 -5
- package/dist/list.d.ts +0 -1
- package/dist/make.js +0 -349
- package/dist/package-json.d.ts +0 -92
- package/dist/pkgx-file.d.ts +0 -8
- package/dist/ports.d.ts +0 -2
- package/dist/prepublish.d.ts +0 -1
- package/dist/prepublish.js +0 -17
- package/dist/purchase.d.ts +0 -6
- package/dist/release.js +0 -49
- package/dist/remove.d.ts +0 -6
- package/dist/request-model-access.d.ts +0 -1
- package/dist/run.d.ts +0 -1
- package/dist/settings-list.d.ts +0 -2
- package/dist/settings.d.ts +0 -1
- package/dist/setup.d.ts +0 -1
- package/dist/shell.d.ts +0 -2
- package/dist/table.d.ts +0 -1
- package/dist/test/feature.js +0 -14
- package/dist/test/index.js +0 -14
- package/dist/test/ui.js +0 -6
- package/dist/test/unit.js +0 -14
- package/dist/typecheck.js +0 -6
- package/dist/types.js +0 -23
- package/dist/unit.d.ts +0 -2
- package/dist/upgrade/dependencies.js +0 -8
- package/dist/upgrade/index.js +0 -22
- package/dist/upgrade.d.ts +0 -5
- package/dist/upgrade.js +0 -50
- package/dist/utils.d.ts +0 -75
- package/dist/work.d.ts +0 -3
- /package/dist/{upgrade/framework.js → chunk-cdk2r2jd.js} +0 -0
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
library_default
|
|
4
|
-
} from "../chunk-494jp8d5.js";
|
|
5
|
-
import {
|
|
6
|
-
kebabCase
|
|
7
|
-
} from "../chunk-wkwtsvym.js";
|
|
8
|
-
import"../chunk-9v6qtbez.js";
|
|
9
|
-
|
|
10
|
-
// src/helpers/lib-entries.ts
|
|
11
|
-
import process from "node:process";
|
|
12
|
-
import { log } from "@stacksjs/logging";
|
|
13
|
-
import { componentsPath, functionsPath, libraryEntryPath } from "@stacksjs/path";
|
|
14
|
-
import { writeTextFile } from "@stacksjs/storage";
|
|
15
|
-
import { determineResetPreset } from "@stacksjs/utils";
|
|
16
|
-
async function generateLibEntry(type) {
|
|
17
|
-
await createLibraryEntryPoint(type);
|
|
18
|
-
}
|
|
19
|
-
async function createLibraryEntryPoint(type) {
|
|
20
|
-
if (type === "vue-components")
|
|
21
|
-
await createVueLibraryEntryPoint();
|
|
22
|
-
if (type === "web-components")
|
|
23
|
-
await createWebComponentLibraryEntryPoint();
|
|
24
|
-
if (type === "functions")
|
|
25
|
-
await createFunctionLibraryEntryPoint();
|
|
26
|
-
}
|
|
27
|
-
async function createVueLibraryEntryPoint(type = "vue-components") {
|
|
28
|
-
log.info("Ensuring Component Library Entry Point...");
|
|
29
|
-
await writeTextFile({
|
|
30
|
-
path: libraryEntryPath(type),
|
|
31
|
-
data: generateEntryPointData(type)
|
|
32
|
-
}).catch((err) => {
|
|
33
|
-
log.error("There was an error generating the Vue Component Library Entry Point.", err);
|
|
34
|
-
process.exit(1 /* FatalError */);
|
|
35
|
-
});
|
|
36
|
-
log.success("Created Vue Component Library Entry Point");
|
|
37
|
-
}
|
|
38
|
-
async function createWebComponentLibraryEntryPoint(type = "web-components") {
|
|
39
|
-
log.info("Ensuring Web Component Library Entry Point...");
|
|
40
|
-
await writeTextFile({
|
|
41
|
-
path: libraryEntryPath(type),
|
|
42
|
-
data: generateEntryPointData(type)
|
|
43
|
-
}).catch((err) => {
|
|
44
|
-
log.error("There was an error generating the Web Component library entry point", err);
|
|
45
|
-
process.exit(1 /* FatalError */);
|
|
46
|
-
});
|
|
47
|
-
log.success("Created Web Component Library Entry Point");
|
|
48
|
-
}
|
|
49
|
-
async function createFunctionLibraryEntryPoint(type = "functions") {
|
|
50
|
-
log.info("Ensuring Function Library Entry Point...");
|
|
51
|
-
await writeTextFile({
|
|
52
|
-
path: libraryEntryPath(type),
|
|
53
|
-
data: generateEntryPointData(type)
|
|
54
|
-
}).catch((err) => {
|
|
55
|
-
log.error("There was an error generating Function Library Entry Point", err);
|
|
56
|
-
process.exit(1 /* FatalError */);
|
|
57
|
-
});
|
|
58
|
-
log.success("Created Functions Library Entry Point");
|
|
59
|
-
}
|
|
60
|
-
function generateEntryPointData(type) {
|
|
61
|
-
let arr = [];
|
|
62
|
-
if (type === "functions") {
|
|
63
|
-
if (!library_default.functions?.files) {
|
|
64
|
-
log.error(new Error("There are no functions defined to be built. Please check your config/library.ts file for potential adjustments"));
|
|
65
|
-
process.exit();
|
|
66
|
-
}
|
|
67
|
-
for (const fx of library_default.functions.files) {
|
|
68
|
-
if (Array.isArray(fx))
|
|
69
|
-
arr.push(`export * as ${fx[1]} from '${functionsPath(fx[0])}'`);
|
|
70
|
-
else
|
|
71
|
-
arr.push(`export * from '${functionsPath(fx)}'`);
|
|
72
|
-
}
|
|
73
|
-
return arr.join(`\r
|
|
74
|
-
`);
|
|
75
|
-
}
|
|
76
|
-
if (type === "vue-components") {
|
|
77
|
-
if (!library_default.vueComponents?.tags) {
|
|
78
|
-
log.error(new Error("There are no components defined to be built. Please check your config/library.ts file for potential adjustments"));
|
|
79
|
-
process.exit();
|
|
80
|
-
}
|
|
81
|
-
arr = determineResetPreset();
|
|
82
|
-
for (const component of library_default.vueComponents.tags.map((tag) => tag.name)) {
|
|
83
|
-
if (Array.isArray(component))
|
|
84
|
-
arr.push(`export { default as ${component[1]} } from '${componentsPath(component[0])}.vue'`);
|
|
85
|
-
else
|
|
86
|
-
arr.push(`export { default as ${component} } from '${componentsPath(component)}.vue'`);
|
|
87
|
-
}
|
|
88
|
-
return arr.join(`\r
|
|
89
|
-
`);
|
|
90
|
-
}
|
|
91
|
-
arr = determineResetPreset();
|
|
92
|
-
const imports = [...arr, "import { defineCustomElement } from 'vue'"];
|
|
93
|
-
const declarations = [];
|
|
94
|
-
const definitions = [];
|
|
95
|
-
if (!library_default.webComponents?.tags) {
|
|
96
|
-
log.error(new Error("There are no components defined to be built. Please check your config/library.ts file for potential adjustments"));
|
|
97
|
-
process.exit();
|
|
98
|
-
}
|
|
99
|
-
for (const component of library_default.webComponents.tags.map((tag) => tag.name)) {
|
|
100
|
-
if (Array.isArray(component)) {
|
|
101
|
-
imports.push(`import ${component[1]} from '${componentsPath(component[0])}.vue'`);
|
|
102
|
-
declarations.push(`const ${component[1]}CustomElement = defineCustomElement(${component[1]})`);
|
|
103
|
-
definitions.push(`customElements.define('${kebabCase(component[1])}', ${component[1]}CustomElement)`);
|
|
104
|
-
} else {
|
|
105
|
-
imports.push(`import ${component} from '${componentsPath(component)}.vue'`);
|
|
106
|
-
declarations.push(`const ${component}CustomElement = defineCustomElement(${component})`);
|
|
107
|
-
definitions.push(`customElements.define('${kebabCase(component)}', ${component}CustomElement)`);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
return [...imports, ...declarations, ...definitions].join(`\r
|
|
111
|
-
`);
|
|
112
|
-
}
|
|
113
|
-
export {
|
|
114
|
-
generateLibEntry,
|
|
115
|
-
generateEntryPointData,
|
|
116
|
-
createWebComponentLibraryEntryPoint,
|
|
117
|
-
createVueLibraryEntryPoint,
|
|
118
|
-
createLibraryEntryPoint,
|
|
119
|
-
createFunctionLibraryEntryPoint
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
export { generateLibEntry };
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
library_default
|
|
4
|
-
} from "../chunk-494jp8d5.js";
|
|
5
|
-
import"../chunk-9v6qtbez.js";
|
|
6
|
-
|
|
7
|
-
// src/helpers/package-json.ts
|
|
8
|
-
import { log } from "@stacksjs/logging";
|
|
9
|
-
import { packageJsonPath } from "@stacksjs/path";
|
|
10
|
-
import { writeTextFile } from "@stacksjs/storage";
|
|
11
|
-
async function generatePackageJson(type) {
|
|
12
|
-
let name;
|
|
13
|
-
let description;
|
|
14
|
-
let directory;
|
|
15
|
-
let keywords;
|
|
16
|
-
let config;
|
|
17
|
-
let prettyName;
|
|
18
|
-
if (type === "vue-components") {
|
|
19
|
-
name = library_default.vueComponents?.name;
|
|
20
|
-
description = library_default.vueComponents?.description;
|
|
21
|
-
directory = "components";
|
|
22
|
-
keywords = library_default.vueComponents?.keywords;
|
|
23
|
-
config = "vue-components";
|
|
24
|
-
} else if (type === "web-components") {
|
|
25
|
-
name = library_default.webComponents?.name;
|
|
26
|
-
description = library_default.webComponents?.description;
|
|
27
|
-
directory = "components";
|
|
28
|
-
keywords = library_default.webComponents?.keywords;
|
|
29
|
-
config = "web-components";
|
|
30
|
-
} else if (type === "functions") {
|
|
31
|
-
name = library_default.functions?.name;
|
|
32
|
-
description = library_default.functions?.description;
|
|
33
|
-
directory = "functions";
|
|
34
|
-
keywords = library_default.functions?.keywords;
|
|
35
|
-
config = "functions";
|
|
36
|
-
}
|
|
37
|
-
try {
|
|
38
|
-
await writeTextFile({
|
|
39
|
-
path: packageJsonPath(type),
|
|
40
|
-
data: `{
|
|
41
|
-
"name": "${name}",
|
|
42
|
-
"type": "module",
|
|
43
|
-
"version": "",
|
|
44
|
-
"packageManager": "bun",
|
|
45
|
-
"description": "${description}",
|
|
46
|
-
"author": "${library_default.author}",
|
|
47
|
-
"license": "MIT",
|
|
48
|
-
"homepage": "https://github.com/${library_default.repository}/tree/main/${directory}#readme",
|
|
49
|
-
"repository": {
|
|
50
|
-
"type": "git",
|
|
51
|
-
"url": "git+https://github.com/${library_default.repository}.git",
|
|
52
|
-
"directory": "${directory}"
|
|
53
|
-
},
|
|
54
|
-
"bugs": {
|
|
55
|
-
"url": "https://github.com/${library_default.repository}/issues"
|
|
56
|
-
},
|
|
57
|
-
"keywords": ${JSON.stringify(keywords)},
|
|
58
|
-
"contributors": ${JSON.stringify(library_default.contributors)},
|
|
59
|
-
"exports": {
|
|
60
|
-
".": {
|
|
61
|
-
"types": "./dist/index.d.ts",
|
|
62
|
-
"require": "./dist/index.cjs",
|
|
63
|
-
"import": "./dist/index.js"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"main": "dist/index.cjs",
|
|
67
|
-
"module": "dist/index.js",
|
|
68
|
-
"types": "dist/index.d.ts",
|
|
69
|
-
"files": [
|
|
70
|
-
"dist",
|
|
71
|
-
"README.md"
|
|
72
|
-
],
|
|
73
|
-
"scripts": {
|
|
74
|
-
"build": "vite build -c ../build/${config}.ts",
|
|
75
|
-
"prepublishOnly": "bun run build"
|
|
76
|
-
},
|
|
77
|
-
"devDependencies": {
|
|
78
|
-
"stacks": "workspace:*"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
`
|
|
82
|
-
});
|
|
83
|
-
if (type === "vue-components")
|
|
84
|
-
prettyName = "Vue Component library";
|
|
85
|
-
else if (type === "web-components")
|
|
86
|
-
prettyName = "Web Component library";
|
|
87
|
-
else if (type === "functions")
|
|
88
|
-
prettyName = "Function Library";
|
|
89
|
-
log.success(`Created ${prettyName} package.json file`);
|
|
90
|
-
} catch (err) {
|
|
91
|
-
log.error(`There was an error creating the ${prettyName} package.json`, err);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
export {
|
|
95
|
-
generatePackageJson
|
|
96
|
-
};
|
package/dist/helpers/utils.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import"../chunk-9v6qtbez.js";
|
|
3
|
-
|
|
4
|
-
// src/helpers/utils.ts
|
|
5
|
-
import { buddyOptions, runCommand, runCommands } from "@stacksjs/cli";
|
|
6
|
-
import { err } from "@stacksjs/error-handling";
|
|
7
|
-
import { log } from "@stacksjs/logging";
|
|
8
|
-
import * as p from "@stacksjs/path";
|
|
9
|
-
import { globSync } from "@stacksjs/storage";
|
|
10
|
-
async function runAction(action, options) {
|
|
11
|
-
log.debug("runAction:", action, options);
|
|
12
|
-
const glob = new Bun.Glob("**/*.{ts,js}");
|
|
13
|
-
const scanOptions = { cwd: p.userActionsPath(), onlyFiles: true, absolute: true };
|
|
14
|
-
for await (const file of glob.scan(scanOptions)) {
|
|
15
|
-
if (file.endsWith(`${action}.ts`) || file.endsWith(`${action}.js`))
|
|
16
|
-
return (await import(file)).default.handle();
|
|
17
|
-
try {
|
|
18
|
-
log.debug("trying to import", file);
|
|
19
|
-
const a = await import(file);
|
|
20
|
-
if (a.name === action) {
|
|
21
|
-
log.debug("a.name matches", a.name);
|
|
22
|
-
return await a.handle();
|
|
23
|
-
}
|
|
24
|
-
} catch (error) {}
|
|
25
|
-
}
|
|
26
|
-
const opts = buddyOptions();
|
|
27
|
-
const path = p.relativeActionsPath(`src/${action}.ts`);
|
|
28
|
-
const cmd = `bun ${path} ${opts}`.trimEnd();
|
|
29
|
-
const optionsWithCwd = {
|
|
30
|
-
cwd: options?.cwd || p.projectPath(),
|
|
31
|
-
stdio: [options?.stdin ?? "inherit", "pipe", "pipe"],
|
|
32
|
-
...options
|
|
33
|
-
};
|
|
34
|
-
log.debug("action cmd:", cmd);
|
|
35
|
-
log.debug("optionsWithCwd:", optionsWithCwd);
|
|
36
|
-
return await runCommand(cmd, optionsWithCwd);
|
|
37
|
-
}
|
|
38
|
-
async function runActions(actions, options) {
|
|
39
|
-
log.debug("runActions:", actions, options);
|
|
40
|
-
if (!actions.length)
|
|
41
|
-
return err("No actions were specified");
|
|
42
|
-
for (const action of actions) {
|
|
43
|
-
log.debug(`running action "${action}"`);
|
|
44
|
-
if (!hasAction(action))
|
|
45
|
-
return err(`The specified action "${action}" does not exist`);
|
|
46
|
-
}
|
|
47
|
-
const opts = buddyOptions();
|
|
48
|
-
const o = {
|
|
49
|
-
cwd: options?.cwd || p.projectPath(),
|
|
50
|
-
...options
|
|
51
|
-
};
|
|
52
|
-
const commands = actions.map((action) => `bun ${p.relativeActionsPath(`src/${action}.ts`)} ${opts}`);
|
|
53
|
-
log.debug("commands:", commands);
|
|
54
|
-
return await runCommands(commands, o);
|
|
55
|
-
}
|
|
56
|
-
function hasAction(action) {
|
|
57
|
-
const userActionPatterns = [
|
|
58
|
-
`${action}.ts`,
|
|
59
|
-
`${action}`,
|
|
60
|
-
`Dashboard/${action}.ts`,
|
|
61
|
-
`Dashboard/${action}`,
|
|
62
|
-
`Buddy/${action}.ts`,
|
|
63
|
-
`Buddy/${action}`
|
|
64
|
-
];
|
|
65
|
-
const actionPatterns = [`src/${action}.ts`, `src/${action}`, `${action}.ts`, `${action}`];
|
|
66
|
-
const userActionFiles = globSync(userActionPatterns.map((pattern) => p.userActionsPath(pattern)));
|
|
67
|
-
const actionFiles = globSync(actionPatterns.map((pattern) => p.actionsPath(pattern)));
|
|
68
|
-
return userActionFiles.length > 0 || actionFiles.length > 0;
|
|
69
|
-
}
|
|
70
|
-
export {
|
|
71
|
-
runActions,
|
|
72
|
-
runAction,
|
|
73
|
-
hasAction
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
export { runAction, runActions, hasAction };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
library_default
|
|
4
|
-
} from "../chunk-494jp8d5.js";
|
|
5
|
-
import"../chunk-9v6qtbez.js";
|
|
6
|
-
|
|
7
|
-
// src/helpers/vscode-custom-data.ts
|
|
8
|
-
import { err, ok } from "@stacksjs/error-handling";
|
|
9
|
-
import { log } from "@stacksjs/logging";
|
|
10
|
-
import { customElementsDataPath } from "@stacksjs/path";
|
|
11
|
-
import { writeTextFile } from "@stacksjs/storage";
|
|
12
|
-
async function generateVsCodeCustomData() {
|
|
13
|
-
try {
|
|
14
|
-
log.info("Generating custom-elements.json...");
|
|
15
|
-
await writeTextFile({
|
|
16
|
-
path: customElementsDataPath(),
|
|
17
|
-
data: generateComponentInfoData()
|
|
18
|
-
});
|
|
19
|
-
log.success("Generated custom-elements.json for IDEs.");
|
|
20
|
-
return ok(undefined);
|
|
21
|
-
} catch (e) {
|
|
22
|
-
log.error("There was an error generating the custom-elements.json file.", e);
|
|
23
|
-
return err("There was an error generating the custom-elements.json file.");
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
async function generateWebTypes() {
|
|
27
|
-
log.info("Generating web-types.json...");
|
|
28
|
-
log.info("This feature is not yet implemented.");
|
|
29
|
-
}
|
|
30
|
-
function generateComponentInfoData() {
|
|
31
|
-
const componentsData = JSON.stringify(library_default.vueComponents?.tags);
|
|
32
|
-
return `{
|
|
33
|
-
"version": 1.1,
|
|
34
|
-
"tags": ${componentsData}
|
|
35
|
-
}
|
|
36
|
-
`;
|
|
37
|
-
}
|
|
38
|
-
export {
|
|
39
|
-
generateWebTypes,
|
|
40
|
-
generateVsCodeCustomData
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export { generateVsCodeCustomData, generateWebTypes };
|
package/dist/import.d.ts
DELETED
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
commit
|
|
4
|
-
} from "./commit.js";
|
|
5
|
-
import {
|
|
6
|
-
createComponent,
|
|
7
|
-
createDatabase,
|
|
8
|
-
createFactory,
|
|
9
|
-
createFunction,
|
|
10
|
-
createLanguage,
|
|
11
|
-
createMigration,
|
|
12
|
-
createModel,
|
|
13
|
-
createNotification,
|
|
14
|
-
createPage,
|
|
15
|
-
make,
|
|
16
|
-
makeAction,
|
|
17
|
-
makeCertificate,
|
|
18
|
-
makeComponent,
|
|
19
|
-
makeDatabase,
|
|
20
|
-
makeFunction,
|
|
21
|
-
makeLanguage,
|
|
22
|
-
makeNotification,
|
|
23
|
-
makePage,
|
|
24
|
-
makeQueueTable,
|
|
25
|
-
makeStack
|
|
26
|
-
} from "./make.js";
|
|
27
|
-
import {
|
|
28
|
-
add
|
|
29
|
-
} from "./add.js";
|
|
30
|
-
import {
|
|
31
|
-
generate,
|
|
32
|
-
generateComponentMeta,
|
|
33
|
-
generateCoreSymlink,
|
|
34
|
-
generateIdeHelpers,
|
|
35
|
-
generateLibEntries,
|
|
36
|
-
generateOpenApiSpec,
|
|
37
|
-
generatePkgxConfig,
|
|
38
|
-
generateSeeder,
|
|
39
|
-
generateTypes,
|
|
40
|
-
generateVsCodeCustomData,
|
|
41
|
-
generateWebTypes,
|
|
42
|
-
invoke
|
|
43
|
-
} from "./generate/index.js";
|
|
44
|
-
import"./chunk-xgsmf4cy.js";
|
|
45
|
-
import"./helpers/vscode-custom-data.js";
|
|
46
|
-
import"./chunk-494jp8d5.js";
|
|
47
|
-
import"./chunk-hvfeg6n6.js";
|
|
48
|
-
import"./chunk-mdj7x1vs.js";
|
|
49
|
-
import"./chunk-p0c688mg.js";
|
|
50
|
-
import"./chunk-qkm8e752.js";
|
|
51
|
-
import"./chunk-a13x0e43.js";
|
|
52
|
-
import"./chunk-mdqphqep.js";
|
|
53
|
-
import"./chunk-qhh0v93n.js";
|
|
54
|
-
import"./chunk-ccnf3w1b.js";
|
|
55
|
-
import"./chunk-7s5qcjkt.js";
|
|
56
|
-
import"./chunk-bf8bq8pc.js";
|
|
57
|
-
import"./chunk-b5g5w1hh.js";
|
|
58
|
-
import"./chunk-zzerxbrm.js";
|
|
59
|
-
import"./chunk-veja9rez.js";
|
|
60
|
-
import"./chunk-a7k3cdby.js";
|
|
61
|
-
import"./chunk-frw3va9v.js";
|
|
62
|
-
import"./chunk-saqpg5nd.js";
|
|
63
|
-
import"./chunk-2dvnt46s.js";
|
|
64
|
-
import"./chunk-w6fdq4hk.js";
|
|
65
|
-
import"./chunk-wkwtsvym.js";
|
|
66
|
-
import {
|
|
67
|
-
runApiDevServer,
|
|
68
|
-
runBackendDevServer,
|
|
69
|
-
runComponentsDevServer,
|
|
70
|
-
runDashboardDevServer,
|
|
71
|
-
runDesktopDevServer,
|
|
72
|
-
runDevServer,
|
|
73
|
-
runDocsDevServer,
|
|
74
|
-
runFrontendDevServer,
|
|
75
|
-
runSystemTrayDevServer
|
|
76
|
-
} from "./dev/index.js";
|
|
77
|
-
import"./chunk-ze46550n.js";
|
|
78
|
-
import {
|
|
79
|
-
hasAction,
|
|
80
|
-
runAction,
|
|
81
|
-
runActions
|
|
82
|
-
} from "./helpers/utils.js";
|
|
83
|
-
import"./chunk-9v6qtbez.js";
|
|
84
|
-
|
|
85
|
-
// src/action.ts
|
|
86
|
-
class Action {
|
|
87
|
-
name;
|
|
88
|
-
description;
|
|
89
|
-
rate;
|
|
90
|
-
tries;
|
|
91
|
-
backoff;
|
|
92
|
-
enabled;
|
|
93
|
-
path;
|
|
94
|
-
method;
|
|
95
|
-
validations;
|
|
96
|
-
requestFile;
|
|
97
|
-
handle;
|
|
98
|
-
constructor({
|
|
99
|
-
name,
|
|
100
|
-
description,
|
|
101
|
-
validations,
|
|
102
|
-
handle,
|
|
103
|
-
rate,
|
|
104
|
-
tries,
|
|
105
|
-
backoff,
|
|
106
|
-
enabled,
|
|
107
|
-
path,
|
|
108
|
-
method,
|
|
109
|
-
requestFile
|
|
110
|
-
}) {
|
|
111
|
-
this.name = name;
|
|
112
|
-
this.description = description;
|
|
113
|
-
this.validations = validations;
|
|
114
|
-
this.rate = rate;
|
|
115
|
-
this.tries = tries;
|
|
116
|
-
this.backoff = backoff;
|
|
117
|
-
this.enabled = enabled;
|
|
118
|
-
this.path = path;
|
|
119
|
-
this.method = method;
|
|
120
|
-
this.handle = handle;
|
|
121
|
-
this.requestFile = requestFile;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
export {
|
|
125
|
-
runSystemTrayDevServer,
|
|
126
|
-
make as runMake,
|
|
127
|
-
runFrontendDevServer,
|
|
128
|
-
runDocsDevServer,
|
|
129
|
-
runDevServer,
|
|
130
|
-
runDesktopDevServer,
|
|
131
|
-
runDashboardDevServer,
|
|
132
|
-
runComponentsDevServer,
|
|
133
|
-
commit as runCommit,
|
|
134
|
-
runBackendDevServer,
|
|
135
|
-
runApiDevServer,
|
|
136
|
-
add as runAdd,
|
|
137
|
-
runActions,
|
|
138
|
-
runAction,
|
|
139
|
-
makeStack,
|
|
140
|
-
makeQueueTable,
|
|
141
|
-
makePage,
|
|
142
|
-
makeNotification,
|
|
143
|
-
makeLanguage,
|
|
144
|
-
makeFunction,
|
|
145
|
-
makeDatabase,
|
|
146
|
-
makeComponent,
|
|
147
|
-
makeCertificate,
|
|
148
|
-
makeAction,
|
|
149
|
-
invoke,
|
|
150
|
-
hasAction,
|
|
151
|
-
generateWebTypes,
|
|
152
|
-
generateVsCodeCustomData,
|
|
153
|
-
generateTypes,
|
|
154
|
-
generateSeeder,
|
|
155
|
-
generatePkgxConfig,
|
|
156
|
-
generateOpenApiSpec,
|
|
157
|
-
generateLibEntries,
|
|
158
|
-
generateIdeHelpers,
|
|
159
|
-
generateCoreSymlink,
|
|
160
|
-
generateComponentMeta,
|
|
161
|
-
generate,
|
|
162
|
-
createPage,
|
|
163
|
-
createNotification,
|
|
164
|
-
createModel,
|
|
165
|
-
createMigration,
|
|
166
|
-
createLanguage,
|
|
167
|
-
createFunction,
|
|
168
|
-
createFactory,
|
|
169
|
-
createDatabase,
|
|
170
|
-
createComponent,
|
|
171
|
-
Action
|
|
172
|
-
};
|
package/dist/key-generate.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
generateAppKey
|
|
4
|
-
} from "./chunk-2dvnt46s.js";
|
|
5
|
-
import"./chunk-wkwtsvym.js";
|
|
6
|
-
import"./chunk-9v6qtbez.js";
|
|
7
|
-
|
|
8
|
-
// src/key-generate.ts
|
|
9
|
-
import { runCommand } from "@stacksjs/cli";
|
|
10
|
-
import { projectPath } from "@stacksjs/path";
|
|
11
|
-
import { fs } from "@stacksjs/storage";
|
|
12
|
-
import { setEnvValue } from "@stacksjs/utils";
|
|
13
|
-
if (!await fs.exists(".env"))
|
|
14
|
-
await runCommand("cp .env.example .env", { cwd: projectPath() });
|
|
15
|
-
await setEnvValue("APP_KEY", generateAppKey());
|
package/dist/lint/fix.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
// src/lint/fix.ts
|
|
3
|
-
import process from "node:process";
|
|
4
|
-
import { log, parseOptions, runCommand } from "@stacksjs/cli";
|
|
5
|
-
import { NpmScript } from "@stacksjs/enums";
|
|
6
|
-
import { projectPath } from "@stacksjs/path";
|
|
7
|
-
log.info("Ensuring Code Style...");
|
|
8
|
-
var options = parseOptions();
|
|
9
|
-
var result = await runCommand(NpmScript.LintFix, {
|
|
10
|
-
cwd: projectPath(),
|
|
11
|
-
...options
|
|
12
|
-
});
|
|
13
|
-
if (result.isErr()) {
|
|
14
|
-
log.error("There was an error fixing your code style.");
|
|
15
|
-
console.error(result.error);
|
|
16
|
-
process.exit(1);
|
|
17
|
-
}
|
|
18
|
-
log.success("Linted");
|
package/dist/lint/index.js
DELETED
package/dist/list.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare const result: unknown;
|