alinea 0.1.4 → 0.1.7
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/alinea.d.ts +19 -0
- package/dist/alinea.js +54 -0
- package/dist/cli.js +0 -1
- package/dist/index.d.ts +4 -20
- package/dist/index.js +5 -45
- package/dist/input.d.ts +12 -0
- package/dist/input.js +28 -0
- package/package.json +19 -20
- package/dist/Welcome.d.ts +0 -2
- package/dist/Welcome.js +0 -18
- package/dist/Welcome.js.map +0 -7
- package/dist/cli.js.map +0 -7
- package/dist/index.js.map +0 -7
- package/dist/server.d.ts +0 -1
- package/dist/server.js +0 -8
- package/dist/server.js.map +0 -7
package/dist/alinea.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { createConfig, root, Root, schema, Tree, type, workspace, Workspace } from '@alinea/core';
|
|
2
|
+
export type { Config, Schema, TextDoc, Type } from '@alinea/core';
|
|
3
|
+
export { MediaSchema } from '@alinea/dashboard/schema/MediaSchema';
|
|
4
|
+
export { BrowserPreview } from '@alinea/dashboard/view/preview/BrowserPreview';
|
|
5
|
+
export { check } from '@alinea/input.check';
|
|
6
|
+
export { code } from '@alinea/input.code';
|
|
7
|
+
export { date } from '@alinea/input.date';
|
|
8
|
+
export { link } from '@alinea/input.link';
|
|
9
|
+
export { list } from '@alinea/input.list';
|
|
10
|
+
export { number } from '@alinea/input.number';
|
|
11
|
+
export { object } from '@alinea/input.object';
|
|
12
|
+
export { path } from '@alinea/input.path';
|
|
13
|
+
export { richText } from '@alinea/input.richtext';
|
|
14
|
+
export { select } from '@alinea/input.select';
|
|
15
|
+
export { tab, tabs } from '@alinea/input.tabs';
|
|
16
|
+
export { text } from '@alinea/input.text';
|
|
17
|
+
export { Collection, Cursor, Expr } from '@alinea/store';
|
|
18
|
+
import { Schema } from '@alinea/core';
|
|
19
|
+
export declare type infer<T> = Schema.TypeOf<T>;
|
package/dist/alinea.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// packages/alinea/src/alinea.ts
|
|
2
|
+
import {
|
|
3
|
+
createConfig,
|
|
4
|
+
root,
|
|
5
|
+
Root,
|
|
6
|
+
schema,
|
|
7
|
+
Tree,
|
|
8
|
+
type,
|
|
9
|
+
workspace,
|
|
10
|
+
Workspace
|
|
11
|
+
} from "@alinea/core";
|
|
12
|
+
import { MediaSchema } from "@alinea/dashboard/schema/MediaSchema";
|
|
13
|
+
import { BrowserPreview } from "@alinea/dashboard/view/preview/BrowserPreview";
|
|
14
|
+
import { check } from "@alinea/input.check";
|
|
15
|
+
import { code } from "@alinea/input.code";
|
|
16
|
+
import { date } from "@alinea/input.date";
|
|
17
|
+
import { link } from "@alinea/input.link";
|
|
18
|
+
import { list } from "@alinea/input.list";
|
|
19
|
+
import { number } from "@alinea/input.number";
|
|
20
|
+
import { object } from "@alinea/input.object";
|
|
21
|
+
import { path } from "@alinea/input.path";
|
|
22
|
+
import { richText } from "@alinea/input.richtext";
|
|
23
|
+
import { select } from "@alinea/input.select";
|
|
24
|
+
import { tab, tabs } from "@alinea/input.tabs";
|
|
25
|
+
import { text } from "@alinea/input.text";
|
|
26
|
+
import { Collection, Cursor, Expr } from "@alinea/store";
|
|
27
|
+
export {
|
|
28
|
+
BrowserPreview,
|
|
29
|
+
Collection,
|
|
30
|
+
Cursor,
|
|
31
|
+
Expr,
|
|
32
|
+
MediaSchema,
|
|
33
|
+
Root,
|
|
34
|
+
Tree,
|
|
35
|
+
Workspace,
|
|
36
|
+
check,
|
|
37
|
+
code,
|
|
38
|
+
createConfig,
|
|
39
|
+
date,
|
|
40
|
+
link,
|
|
41
|
+
list,
|
|
42
|
+
number,
|
|
43
|
+
object,
|
|
44
|
+
path,
|
|
45
|
+
richText,
|
|
46
|
+
root,
|
|
47
|
+
schema,
|
|
48
|
+
select,
|
|
49
|
+
tab,
|
|
50
|
+
tabs,
|
|
51
|
+
text,
|
|
52
|
+
type,
|
|
53
|
+
workspace
|
|
54
|
+
};
|
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
export { code } from '@alinea/input.code';
|
|
6
|
-
export { check } from '@alinea/input.check';
|
|
7
|
-
export { date } from '@alinea/input.date';
|
|
8
|
-
export { link } from '@alinea/input.link';
|
|
9
|
-
export { list } from '@alinea/input.list';
|
|
10
|
-
export { number } from '@alinea/input.number';
|
|
11
|
-
export { object } from '@alinea/input.object';
|
|
12
|
-
export { path } from '@alinea/input.path';
|
|
13
|
-
export { richText } from '@alinea/input.richtext';
|
|
14
|
-
export { select } from '@alinea/input.select';
|
|
15
|
-
export { tab, tabs } from '@alinea/input.tabs';
|
|
16
|
-
export { text } from '@alinea/input.text';
|
|
17
|
-
export { Collection, Cursor, Expr } from '@alinea/store';
|
|
18
|
-
import type { Store } from '@alinea/store';
|
|
19
|
-
export declare type TypeOf<T> = Store.TypeOf<T>;
|
|
20
|
-
export { Welcome } from './Welcome';
|
|
1
|
+
export * from './alinea';
|
|
2
|
+
export { alinea };
|
|
3
|
+
import * as alinea from './alinea';
|
|
4
|
+
export default alinea;
|
package/dist/index.js
CHANGED
|
@@ -1,48 +1,8 @@
|
|
|
1
1
|
// packages/alinea/src/index.ts
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import { code } from "@alinea/input.code";
|
|
6
|
-
import { check } from "@alinea/input.check";
|
|
7
|
-
import { date } from "@alinea/input.date";
|
|
8
|
-
import { link } from "@alinea/input.link";
|
|
9
|
-
import { list } from "@alinea/input.list";
|
|
10
|
-
import { number } from "@alinea/input.number";
|
|
11
|
-
import { object } from "@alinea/input.object";
|
|
12
|
-
import { path } from "@alinea/input.path";
|
|
13
|
-
import { richText } from "@alinea/input.richtext";
|
|
14
|
-
import { select } from "@alinea/input.select";
|
|
15
|
-
import { tab, tabs } from "@alinea/input.tabs";
|
|
16
|
-
import { text } from "@alinea/input.text";
|
|
17
|
-
import { Collection, Cursor, Expr } from "@alinea/store";
|
|
18
|
-
import { Welcome } from "./Welcome.js";
|
|
2
|
+
export * from "./alinea.js";
|
|
3
|
+
import * as alinea from "./alinea.js";
|
|
4
|
+
var src_default = alinea;
|
|
19
5
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Cursor,
|
|
23
|
-
Expr,
|
|
24
|
-
MediaSchema,
|
|
25
|
-
Root,
|
|
26
|
-
Tree,
|
|
27
|
-
Welcome,
|
|
28
|
-
Workspace,
|
|
29
|
-
check,
|
|
30
|
-
code,
|
|
31
|
-
createConfig,
|
|
32
|
-
date,
|
|
33
|
-
link,
|
|
34
|
-
list,
|
|
35
|
-
number,
|
|
36
|
-
object,
|
|
37
|
-
path,
|
|
38
|
-
richText,
|
|
39
|
-
root,
|
|
40
|
-
schema,
|
|
41
|
-
select,
|
|
42
|
-
tab,
|
|
43
|
-
tabs,
|
|
44
|
-
text,
|
|
45
|
-
type,
|
|
46
|
-
workspace
|
|
6
|
+
alinea,
|
|
7
|
+
src_default as default
|
|
47
8
|
};
|
|
48
|
-
//# sourceMappingURL=index.js.map
|
package/dist/input.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { code } from '@alinea/input.code';
|
|
2
|
+
export { check } from '@alinea/input.check';
|
|
3
|
+
export { date } from '@alinea/input.date';
|
|
4
|
+
export { link } from '@alinea/input.link';
|
|
5
|
+
export { list } from '@alinea/input.list';
|
|
6
|
+
export { number } from '@alinea/input.number';
|
|
7
|
+
export { object } from '@alinea/input.object';
|
|
8
|
+
export { path } from '@alinea/input.path';
|
|
9
|
+
export { richText } from '@alinea/input.richtext';
|
|
10
|
+
export { select } from '@alinea/input.select';
|
|
11
|
+
export { tab, tabs } from '@alinea/input.tabs';
|
|
12
|
+
export { text } from '@alinea/input.text';
|
package/dist/input.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// packages/alinea/src/input.ts
|
|
2
|
+
import { code } from "@alinea/input.code";
|
|
3
|
+
import { check } from "@alinea/input.check";
|
|
4
|
+
import { date } from "@alinea/input.date";
|
|
5
|
+
import { link } from "@alinea/input.link";
|
|
6
|
+
import { list } from "@alinea/input.list";
|
|
7
|
+
import { number } from "@alinea/input.number";
|
|
8
|
+
import { object } from "@alinea/input.object";
|
|
9
|
+
import { path } from "@alinea/input.path";
|
|
10
|
+
import { richText } from "@alinea/input.richtext";
|
|
11
|
+
import { select } from "@alinea/input.select";
|
|
12
|
+
import { tab, tabs } from "@alinea/input.tabs";
|
|
13
|
+
import { text } from "@alinea/input.text";
|
|
14
|
+
export {
|
|
15
|
+
check,
|
|
16
|
+
code,
|
|
17
|
+
date,
|
|
18
|
+
link,
|
|
19
|
+
list,
|
|
20
|
+
number,
|
|
21
|
+
object,
|
|
22
|
+
path,
|
|
23
|
+
richText,
|
|
24
|
+
select,
|
|
25
|
+
tab,
|
|
26
|
+
tabs,
|
|
27
|
+
text
|
|
28
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bin": "./dist/cli.js",
|
|
3
3
|
"name": "alinea",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.7",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -26,25 +26,24 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@alinea/
|
|
30
|
-
"@alinea/
|
|
31
|
-
"@alinea/
|
|
32
|
-
"@alinea/
|
|
33
|
-
"@alinea/
|
|
34
|
-
"@alinea/input.
|
|
35
|
-
"@alinea/input.
|
|
36
|
-
"@alinea/input.
|
|
37
|
-
"@alinea/input.
|
|
38
|
-
"@alinea/input.
|
|
39
|
-
"@alinea/input.
|
|
40
|
-
"@alinea/input.
|
|
41
|
-
"@alinea/input.
|
|
42
|
-
"@alinea/input.
|
|
43
|
-
"@alinea/input.
|
|
44
|
-
"@alinea/input.
|
|
45
|
-
"@alinea/input.text": "0.1.4",
|
|
29
|
+
"@alinea/cli": "0.1.7",
|
|
30
|
+
"@alinea/core": "0.1.7",
|
|
31
|
+
"@alinea/css": "0.1.7",
|
|
32
|
+
"@alinea/dashboard": "0.1.7",
|
|
33
|
+
"@alinea/input.check": "0.1.7",
|
|
34
|
+
"@alinea/input.code": "0.1.7",
|
|
35
|
+
"@alinea/input.date": "0.1.7",
|
|
36
|
+
"@alinea/input.link": "0.1.7",
|
|
37
|
+
"@alinea/input.list": "0.1.7",
|
|
38
|
+
"@alinea/input.number": "0.1.7",
|
|
39
|
+
"@alinea/input.object": "0.1.7",
|
|
40
|
+
"@alinea/input.path": "0.1.7",
|
|
41
|
+
"@alinea/input.richtext": "0.1.7",
|
|
42
|
+
"@alinea/input.select": "0.1.7",
|
|
43
|
+
"@alinea/input.tabs": "0.1.7",
|
|
44
|
+
"@alinea/input.text": "0.1.7",
|
|
46
45
|
"@alinea/sqlite-wasm": "^0.1.7",
|
|
47
|
-
"@alinea/store": "0.1.
|
|
48
|
-
"@alinea/ui": "0.1.
|
|
46
|
+
"@alinea/store": "0.1.7",
|
|
47
|
+
"@alinea/ui": "0.1.7"
|
|
49
48
|
}
|
|
50
49
|
}
|
package/dist/Welcome.d.ts
DELETED
package/dist/Welcome.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// node_modules/@esbx/react/dist/ReactShim.js
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
|
|
4
|
-
// packages/alinea/src/Welcome.tsx
|
|
5
|
-
import { px, Typo, VStack } from "@alinea/ui";
|
|
6
|
-
function Welcome() {
|
|
7
|
-
return /* @__PURE__ */ React.createElement(VStack, {
|
|
8
|
-
gap: 20,
|
|
9
|
-
style: { marginTop: px(20), padding: px(6) }
|
|
10
|
-
}, /* @__PURE__ */ React.createElement("p", null, "Your alinea installation is now ready for configuration."), /* @__PURE__ */ React.createElement(Typo.Link, {
|
|
11
|
-
href: "https://alinea.sh/docs/overview/configuration",
|
|
12
|
-
target: "_blank"
|
|
13
|
-
}, "Learn how to configure"));
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
Welcome
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=Welcome.js.map
|
package/dist/Welcome.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../node_modules/@esbx/react/src/ReactShim.ts", "../../../packages/alinea/src/Welcome.tsx"],
|
|
4
|
-
"sourcesContent": ["// @ts-ignore\nimport * as React from 'react'\nexport {React}\n", "import {px, Typo, VStack} from '@alinea/ui'\n\nexport function Welcome() {\n return (\n <VStack gap={20} style={{marginTop: px(20), padding: px(6)}}>\n <p>Your alinea installation is now ready for configuration.</p>\n <Typo.Link\n href=\"https://alinea.sh/docs/overview/configuration\"\n target=\"_blank\"\n >\n Learn how to configure\n </Typo.Link>\n </VStack>\n )\n}\n"],
|
|
5
|
-
"mappings": ";AACA;;;ACDA;AAEO,mBAAmB;AACxB,SACE,oCAAC,QAAD;AAAA,IAAQ,KAAK;AAAA,IAAI,OAAO,EAAC,WAAW,GAAG,KAAK,SAAS,GAAG;AAAA,KACtD,oCAAC,KAAD,MAAG,6DACH,oCAAC,KAAK,MAAN;AAAA,IACE,MAAK;AAAA,IACL,QAAO;AAAA,KACR;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/dist/cli.js.map
DELETED
package/dist/index.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../packages/alinea/src/index.ts"],
|
|
4
|
-
"sourcesContent": ["// Config creation\nexport {createConfig, schema, type, Tree, workspace, Workspace, root, Root} from '@alinea/core'\nexport type {Config, Schema, TextDoc, Type} 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 {check} from '@alinea/input.check'\nexport {date} from '@alinea/input.date'\nexport {link} from '@alinea/input.link'\nexport {list} from '@alinea/input.list'\nexport {number} from '@alinea/input.number'\nexport {object} from '@alinea/input.object'\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\n// Used in init template\nexport {Welcome} from './Welcome'\n"],
|
|
5
|
-
"mappings": ";AACA;AAIA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AAKA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/dist/server.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Backend, DevBackend, Server } from '@alinea/backend';
|
package/dist/server.js
DELETED