alinea 0.0.1 → 0.0.2
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.js +3 -1
- package/dist/cli.js.map +2 -2
- package/dist/index.js +2 -4
- package/dist/index.js.map +2 -2
- package/dist/server.js +8 -0
- package/dist/server.js.map +7 -0
- package/package.json +19 -17
- package/dist/cli.d.ts +0 -1
- package/dist/index.d.ts +0 -17
package/dist/cli.js
CHANGED
package/dist/cli.js.map
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
-
import { createConfig, schema, Tree, workspace } from "@alinea/core";
|
|
3
|
-
import { Backend, Server } from "@alinea/backend";
|
|
2
|
+
import { createConfig, schema, type, Tree, workspace } from "@alinea/core";
|
|
4
3
|
import { MediaSchema } from "@alinea/dashboard/schema/MediaSchema.js";
|
|
5
4
|
import { BrowserPreview } from "@alinea/dashboard/view/preview/BrowserPreview.js";
|
|
6
5
|
import { code } from "@alinea/input.code";
|
|
@@ -14,13 +13,11 @@ import { tab, tabs } from "@alinea/input.tabs";
|
|
|
14
13
|
import { text } from "@alinea/input.text";
|
|
15
14
|
import { Collection, Cursor, Expr } from "@alinea/store";
|
|
16
15
|
export {
|
|
17
|
-
Backend,
|
|
18
16
|
BrowserPreview,
|
|
19
17
|
Collection,
|
|
20
18
|
Cursor,
|
|
21
19
|
Expr,
|
|
22
20
|
MediaSchema,
|
|
23
|
-
Server,
|
|
24
21
|
Tree,
|
|
25
22
|
code,
|
|
26
23
|
createConfig,
|
|
@@ -34,6 +31,7 @@ export {
|
|
|
34
31
|
tab,
|
|
35
32
|
tabs,
|
|
36
33
|
text,
|
|
34
|
+
type,
|
|
37
35
|
workspace
|
|
38
36
|
};
|
|
39
37
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["// Config creation\nexport {createConfig, schema, Tree, workspace} from '@alinea/core'\nexport type {Config, Schema, TextDoc, Type, Workspace} from '@alinea/core'\n\n//
|
|
5
|
-
"mappings": ";AACA;AAIA;
|
|
4
|
+
"sourcesContent": ["// Config creation\nexport {createConfig, schema, type, Tree, workspace} from '@alinea/core'\nexport type {Config, Schema, TextDoc, Type, Workspace} from '@alinea/core'\n\n// Dashboard\nexport {MediaSchema} from '@alinea/dashboard/schema/MediaSchema'\nexport {BrowserPreview} from '@alinea/dashboard/view/preview/BrowserPreview'\n\n// Included inputs\nexport {code} from '@alinea/input.code'\nexport {link} from '@alinea/input.link'\nexport {list} from '@alinea/input.list'\nexport {number} from '@alinea/input.number'\nexport {path} from '@alinea/input.path'\nexport {richText} from '@alinea/input.richtext'\nexport {select} from '@alinea/input.select'\nexport {tab, tabs} from '@alinea/input.tabs'\nexport {text} from '@alinea/input.text'\n\n// Store\nexport {Collection, Cursor, Expr} from '@alinea/store'\nimport type {Store} from '@alinea/store'\nexport type TypeOf<T> = Store.TypeOf<T>\n"],
|
|
5
|
+
"mappings": ";AACA;AAIA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/server.js
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bin": "./dist/cli.js",
|
|
3
3
|
"name": "alinea",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"type": "module",
|
|
11
11
|
"exports": {
|
|
12
12
|
".": "./dist/index.js",
|
|
13
|
-
"./*": "./dist/*"
|
|
13
|
+
"./*": "./dist/*",
|
|
14
|
+
"./server": "./dist/server.js"
|
|
14
15
|
},
|
|
15
16
|
"files": [
|
|
16
17
|
"dist"
|
|
@@ -26,20 +27,21 @@
|
|
|
26
27
|
}
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"@alinea/backend": "0.0.
|
|
30
|
-
"@alinea/cli": "0.0.
|
|
31
|
-
"@alinea/core": "0.0.
|
|
32
|
-
"@alinea/css": "0.0.
|
|
33
|
-
"@alinea/dashboard": "0.0.
|
|
34
|
-
"@alinea/input.code": "0.0.
|
|
35
|
-
"@alinea/input.link": "0.0.
|
|
36
|
-
"@alinea/input.list": "0.0.
|
|
37
|
-
"@alinea/input.number": "0.0.
|
|
38
|
-
"@alinea/input.path": "0.0.
|
|
39
|
-
"@alinea/input.richtext": "0.0.
|
|
40
|
-
"@alinea/input.select": "0.0.
|
|
41
|
-
"@alinea/input.tabs": "0.0.
|
|
42
|
-
"@alinea/input.text": "0.0.
|
|
43
|
-
"@alinea/
|
|
30
|
+
"@alinea/backend": "0.0.2",
|
|
31
|
+
"@alinea/cli": "0.0.2",
|
|
32
|
+
"@alinea/core": "0.0.2",
|
|
33
|
+
"@alinea/css": "0.0.2",
|
|
34
|
+
"@alinea/dashboard": "0.0.2",
|
|
35
|
+
"@alinea/input.code": "0.0.2",
|
|
36
|
+
"@alinea/input.link": "0.0.2",
|
|
37
|
+
"@alinea/input.list": "0.0.2",
|
|
38
|
+
"@alinea/input.number": "0.0.2",
|
|
39
|
+
"@alinea/input.path": "0.0.2",
|
|
40
|
+
"@alinea/input.richtext": "0.0.2",
|
|
41
|
+
"@alinea/input.select": "0.0.2",
|
|
42
|
+
"@alinea/input.tabs": "0.0.2",
|
|
43
|
+
"@alinea/input.text": "0.0.2",
|
|
44
|
+
"@alinea/sqlite-wasm": "^0.1.4",
|
|
45
|
+
"@alinea/store": "0.0.2"
|
|
44
46
|
}
|
|
45
47
|
}
|
package/dist/cli.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@alinea/cli';
|
package/dist/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export { createConfig, schema, Tree, workspace } from '@alinea/core';
|
|
2
|
-
export type { Config, Schema, TextDoc, Type, Workspace } from '@alinea/core';
|
|
3
|
-
export { Backend, Server } from '@alinea/backend';
|
|
4
|
-
export { MediaSchema } from '@alinea/dashboard/schema/MediaSchema';
|
|
5
|
-
export { BrowserPreview } from '@alinea/dashboard/view/preview/BrowserPreview';
|
|
6
|
-
export { code } from '@alinea/input.code';
|
|
7
|
-
export { link } from '@alinea/input.link';
|
|
8
|
-
export { list } from '@alinea/input.list';
|
|
9
|
-
export { number } from '@alinea/input.number';
|
|
10
|
-
export { path } from '@alinea/input.path';
|
|
11
|
-
export { richText } from '@alinea/input.richtext';
|
|
12
|
-
export { select } from '@alinea/input.select';
|
|
13
|
-
export { tab, tabs } from '@alinea/input.tabs';
|
|
14
|
-
export { text } from '@alinea/input.text';
|
|
15
|
-
export { Collection, Cursor, Expr } from '@alinea/store';
|
|
16
|
-
import type { Store } from '@alinea/store';
|
|
17
|
-
export declare type TypeOf<T> = Store.TypeOf<T>;
|