@alepha/devtools 0.11.10 → 0.11.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/package.json CHANGED
@@ -1,71 +1,48 @@
1
1
  {
2
- "name": "@alepha/devtools",
3
- "description": "Developer tools for monitoring and debugging Alepha applications.",
4
- "version": "0.11.10",
5
- "type": "module",
6
- "engines": {
7
- "node": ">=22.0.0"
8
- },
9
- "license": "MIT",
10
- "main": "./dist/index.js",
11
- "types": "./dist/index.d.ts",
12
- "files": [
13
- "dist",
14
- "src"
15
- ],
16
- "dependencies": {
17
- "@alepha/batch": "0.11.10",
18
- "@alepha/bucket": "0.11.10",
19
- "@alepha/cache": "0.11.10",
20
- "@alepha/core": "0.11.10",
21
- "@alepha/datetime": "0.11.10",
22
- "@alepha/logger": "0.11.10",
23
- "@alepha/postgres": "0.11.10",
24
- "@alepha/queue": "0.11.10",
25
- "@alepha/react": "0.11.10",
26
- "@alepha/react-i18n": "0.11.10",
27
- "@alepha/scheduler": "0.11.10",
28
- "@alepha/security": "0.11.10",
29
- "@alepha/server": "0.11.10",
30
- "@alepha/server-static": "0.11.10",
31
- "@alepha/topic": "0.11.10"
32
- },
33
- "devDependencies": {
34
- "@alepha/ui": "0.11.10",
35
- "@alepha/vite": "0.11.10",
36
- "@biomejs/biome": "^2.3.5",
37
- "@tabler/icons-react": "^3.35.0",
38
- "alepha": "0.11.10",
39
- "react": "^19.2.0",
40
- "tsdown": "^0.16.4",
41
- "typescript": "^5.9.3",
42
- "vitest": "^4.0.9"
43
- },
44
- "scripts": {
45
- "test": "vitest run",
46
- "lint": "biome check --fix",
47
- "build": "yarn ui:build && tsdown -c=../../tsdown.config.ts",
48
- "typecheck": "tsc --noEmit",
49
- "ui:dev": "alepha dev",
50
- "ui:build": "alepha build && rm -r assets/devtools && cp -r dist/public assets/devtools"
51
- },
52
- "homepage": "https://github.com/feunard/alepha",
53
- "repository": {
54
- "type": "git",
55
- "url": "git+https://github.com/feunard/alepha.git"
56
- },
57
- "keywords": [
58
- "alepha",
59
- "devtools",
60
- "monitoring",
61
- "debugging"
62
- ],
63
- "module": "./dist/index.js",
64
- "exports": {
65
- ".": {
66
- "types": "./dist/index.d.ts",
67
- "import": "./dist/index.js",
68
- "require": "./dist/index.cjs"
69
- }
70
- }
2
+ "name": "@alepha/devtools",
3
+ "description": "Developer tools for monitoring and debugging Alepha applications.",
4
+ "version": "0.11.12",
5
+ "type": "module",
6
+ "engines": {
7
+ "node": ">=22.0.0"
8
+ },
9
+ "license": "MIT",
10
+ "main": "./dist/index.js",
11
+ "types": "./dist/index.d.ts",
12
+ "files": [
13
+ "dist",
14
+ "src"
15
+ ],
16
+ "devDependencies": {
17
+ "@alepha/react": "0.11.12",
18
+ "@alepha/ui": "0.11.12",
19
+ "@tabler/icons-react": "^3.35.0",
20
+ "alepha": "0.11.12",
21
+ "react": "^19.2.0",
22
+ "tsdown": "^0.16.4",
23
+ "vitest": "^4.0.9"
24
+ },
25
+ "peerDependencies": {
26
+ "alepha": "0.11.12"
27
+ },
28
+ "scripts": {
29
+ "lint": "alepha lint",
30
+ "typecheck": "alepha typecheck",
31
+ "test": "alepha test",
32
+ "build": "yarn ui:build && tsdown -c=../../tsdown.config.ts",
33
+ "ui:dev": "alepha dev",
34
+ "ui:build": "alepha build && rm -rf assets/devtools && mkdir -p assets && cp -r dist/public assets/devtools"
35
+ },
36
+ "homepage": "https://github.com/feunard/alepha",
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git+https://github.com/feunard/alepha.git"
40
+ },
41
+ "keywords": [
42
+ "alepha",
43
+ "devtools",
44
+ "monitoring",
45
+ "debugging"
46
+ ],
47
+ "module": "./dist/index.js"
71
48
  }
@@ -1,16 +1,16 @@
1
1
  import { join } from "node:path";
2
2
  import { fileURLToPath } from "node:url";
3
- import { $batch } from "@alepha/batch";
4
- import { $hook, $inject, Alepha, pageQuerySchema, t } from "@alepha/core";
3
+ import { $hook, $inject, Alepha, pageQuerySchema, t } from "alepha";
4
+ import { $batch } from "alepha/batch";
5
5
  import {
6
6
  $logger,
7
7
  JsonFormatterProvider,
8
8
  type LogEntry,
9
9
  logEntrySchema,
10
- } from "@alepha/logger";
11
- import { parseQueryString } from "@alepha/postgres";
12
- import { $route, ServerProvider } from "@alepha/server";
13
- import { $serve } from "@alepha/server-static";
10
+ } from "alepha/logger";
11
+ import { parseQueryString } from "alepha/orm";
12
+ import { $route, ServerProvider } from "alepha/server";
13
+ import { $serve } from "alepha/server/static";
14
14
  import { type DevLogEntry, logs } from "./entities/logs.ts";
15
15
  import { DevToolsMetadataProvider } from "./providers/DevToolsMetadataProvider.ts";
16
16
  import { LogRepository } from "./repositories/LogRepository.ts";
@@ -1,5 +1,5 @@
1
- import { type Static, t } from "@alepha/core";
2
- import { $entity, pg } from "@alepha/postgres";
1
+ import { type Static, t } from "alepha";
2
+ import { $entity, pg } from "alepha/orm";
3
3
 
4
4
  export const logs = $entity({
5
5
  name: "logs",
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { $module } from "@alepha/core";
1
+ import { $module } from "alepha";
2
2
  import { DevToolsProvider } from "./DevToolsProvider.ts";
3
3
  import { DevToolsDatabaseProvider } from "./providers/DevToolsDatabaseProvider.ts";
4
4
  import { DevToolsMetadataProvider } from "./providers/DevToolsMetadataProvider.ts";
@@ -1,4 +1,4 @@
1
- import { NodeSqliteProvider } from "@alepha/postgres";
1
+ import { NodeSqliteProvider } from "alepha/orm";
2
2
 
3
3
  export class DevToolsDatabaseProvider extends NodeSqliteProvider {
4
4
  public get name() {
@@ -1,12 +1,12 @@
1
- import { $bucket } from "@alepha/bucket";
2
- import { $cache } from "@alepha/cache";
3
- import { $inject, Alepha } from "@alepha/core";
4
- import { $logger } from "@alepha/logger";
5
- import { $queue } from "@alepha/queue";
6
- import { $scheduler } from "@alepha/scheduler";
7
- import { $realm } from "@alepha/security";
8
- import { $action } from "@alepha/server";
9
- import { $topic } from "@alepha/topic";
1
+ import { $inject, Alepha } from "alepha";
2
+ import { $bucket } from "alepha/bucket";
3
+ import { $cache } from "alepha/cache";
4
+ import { $logger } from "alepha/logger";
5
+ import { $queue } from "alepha/queue";
6
+ import { $scheduler } from "alepha/scheduler";
7
+ import { $realm } from "alepha/security";
8
+ import { $action } from "alepha/server";
9
+ import { $topic } from "alepha/topic";
10
10
  import type { DevActionMetadata } from "../schemas/DevActionMetadata.ts";
11
11
  import type { DevBucketMetadata } from "../schemas/DevBucketMetadata.ts";
12
12
  import type { DevCacheMetadata } from "../schemas/DevCacheMetadata.ts";
@@ -1,4 +1,4 @@
1
- import { Repository } from "@alepha/postgres";
1
+ import { Repository } from "alepha/orm";
2
2
  import { logs } from "../entities/logs.ts";
3
3
  import { DevToolsDatabaseProvider } from "../providers/DevToolsDatabaseProvider.ts";
4
4
 
@@ -1,4 +1,4 @@
1
- import { type Static, t } from "@alepha/core";
1
+ import { type Static, t } from "alepha";
2
2
 
3
3
  export const devActionMetadataSchema = t.object({
4
4
  name: t.text(),
@@ -1,4 +1,4 @@
1
- import { type Static, t } from "@alepha/core";
1
+ import { type Static, t } from "alepha";
2
2
 
3
3
  export const devBucketMetadataSchema = t.object({
4
4
  name: t.text(),
@@ -1,4 +1,4 @@
1
- import { type Static, t } from "@alepha/core";
1
+ import { type Static, t } from "alepha";
2
2
 
3
3
  export const devCacheMetadataSchema = t.object({
4
4
  name: t.text(),
@@ -1,4 +1,4 @@
1
- import { type Static, t } from "@alepha/core";
1
+ import { type Static, t } from "alepha";
2
2
  import { devActionMetadataSchema } from "./DevActionMetadata.ts";
3
3
  import { devBucketMetadataSchema } from "./DevBucketMetadata.ts";
4
4
  import { devCacheMetadataSchema } from "./DevCacheMetadata.ts";
@@ -1,4 +1,4 @@
1
- import { type Static, t } from "@alepha/core";
1
+ import { type Static, t } from "alepha";
2
2
 
3
3
  export const devModuleMetadataSchema = t.object({
4
4
  name: t.text(),
@@ -1,4 +1,4 @@
1
- import { type Static, t } from "@alepha/core";
1
+ import { type Static, t } from "alepha";
2
2
 
3
3
  export const devPageMetadataSchema = t.object({
4
4
  name: t.text(),
@@ -1,4 +1,4 @@
1
- import { type Static, t } from "@alepha/core";
1
+ import { type Static, t } from "alepha";
2
2
 
3
3
  export const devProviderMetadataSchema = t.object({
4
4
  name: t.text(),
@@ -1,4 +1,4 @@
1
- import { type Static, t } from "@alepha/core";
1
+ import { type Static, t } from "alepha";
2
2
 
3
3
  export const devQueueMetadataSchema = t.object({
4
4
  name: t.text(),
@@ -1,4 +1,4 @@
1
- import { type Static, t } from "@alepha/core";
1
+ import { type Static, t } from "alepha";
2
2
 
3
3
  export const devRealmMetadataSchema = t.object({
4
4
  name: t.text(),
@@ -1,4 +1,4 @@
1
- import { type Static, t } from "@alepha/core";
1
+ import { type Static, t } from "alepha";
2
2
 
3
3
  export const devSchedulerMetadataSchema = t.object({
4
4
  name: t.text(),
@@ -1,4 +1,4 @@
1
- import { type Static, t } from "@alepha/core";
1
+ import { type Static, t } from "alepha";
2
2
 
3
3
  export const devTopicMetadataSchema = t.object({
4
4
  name: t.text(),
@@ -1,10 +1,10 @@
1
- import { type Page, t } from "@alepha/core";
2
- import { dayjs } from "@alepha/datetime";
3
- import { type LogEntry, logEntrySchema } from "@alepha/logger";
4
1
  import { useInject } from "@alepha/react";
5
- import { useI18n } from "@alepha/react-i18n";
6
- import { HttpClient } from "@alepha/server";
2
+ import { useI18n } from "@alepha/react/i18n";
7
3
  import { ActionButton, DataTable, DialogService, Flex, Text } from "@alepha/ui";
4
+ import { type Page, t } from "alepha";
5
+ import { dayjs } from "alepha/datetime";
6
+ import { type LogEntry, logEntrySchema } from "alepha/logger";
7
+ import { HttpClient } from "alepha/server";
8
8
  import { logs } from "../../entities/logs.ts";
9
9
 
10
10
  const DevLogViewer = () => {
package/src/ui/main.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { run } from "@alepha/core";
1
+ import { run } from "alepha";
2
2
  import { AppRouter } from "./AppRouter.tsx";
3
3
 
4
4
  run(AppRouter);