@plitzi/plitzi-builder 0.39.1 → 0.39.3
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/CHANGELOG.md +39 -0
- package/dist/modules/Builder/BuilderHelper.d.ts +3 -2
- package/dist/modules/Functions/components/FunctionInspector/FunctionInspector.d.ts +8 -5
- package/dist/modules/Functions/components/FunctionInspector/components/TaskSize/TaskSize.d.ts +20 -0
- package/dist/modules/Functions/components/FunctionInspector/components/TaskSize/index.d.ts +3 -0
- package/dist/modules/Functions/components/FunctionsSidebar/FunctionsSidebar.d.ts +2 -2
- package/dist/modules/Functions/editor/functionsEnvironment.d.ts +1 -1
- package/dist/modules/Functions/editor/source.d.ts +4 -4
- package/dist/modules/Functions/editor/typescriptWorker.d.ts +2 -2
- package/dist/modules/Functions/editor/useFunctionsTypeScript.d.ts +2 -2
- package/dist/modules/Functions/helpers.d.ts +23 -5
- package/dist/modules/Network/hooks/useBuilderNetwork.d.ts +2 -1
- package/dist/modules/Queue/hooks/useQueueManager.d.ts +3 -2
- package/dist/modules/Runtime/components/RuntimeSize/RuntimeSize.d.ts +1 -1
- package/dist/package.json.d.ts +22 -22
- package/dist/plitzi-builder-dev-vendor.js +12 -24
- package/dist/plitzi-builder-dev-vendor.js.gz +0 -0
- package/dist/plitzi-builder-dev-vendor.js.map +1 -1
- package/dist/plitzi-builder-dev-vendor.js.map.gz +0 -0
- package/dist/plitzi-builder.css +2 -2
- package/dist/plitzi-builder.css.gz +0 -0
- package/dist/plitzi-builder.js +1858 -1827
- package/dist/plitzi-builder.js.gz +0 -0
- package/dist/plitzi-functions-worker.js +2 -2
- package/package.json +35 -35
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @plitzi/plitzi-builder
|
|
2
2
|
|
|
3
|
+
## 0.39.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @plitzi/plitzi-sdk@0.39.3
|
|
8
|
+
- @plitzi/sdk-auth@0.39.3
|
|
9
|
+
- @plitzi/sdk-authoring@0.39.3
|
|
10
|
+
- @plitzi/sdk-dev-tools@0.39.3
|
|
11
|
+
- @plitzi/sdk-elements@0.39.3
|
|
12
|
+
- @plitzi/sdk-event-bridge@0.39.3
|
|
13
|
+
- @plitzi/sdk-interactions@0.39.3
|
|
14
|
+
- @plitzi/sdk-navigation@0.39.3
|
|
15
|
+
- @plitzi/sdk-plugins@0.39.3
|
|
16
|
+
- @plitzi/sdk-schema@0.39.3
|
|
17
|
+
- @plitzi/sdk-shared@0.39.3
|
|
18
|
+
- @plitzi/sdk-style@0.39.3
|
|
19
|
+
- @plitzi/sdk-variables@0.39.3
|
|
20
|
+
|
|
21
|
+
## 0.39.2
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- fad1264: Released with every `@plitzi` package at this version. What changed in each, and what to do when you upgrade, is in
|
|
26
|
+
`@plitzi/cli`'s `CHANGELOG.md`: one copy of the notes, not one per package.
|
|
27
|
+
- Updated dependencies [fad1264]
|
|
28
|
+
- @plitzi/plitzi-sdk@0.39.2
|
|
29
|
+
- @plitzi/sdk-auth@0.39.2
|
|
30
|
+
- @plitzi/sdk-authoring@0.39.2
|
|
31
|
+
- @plitzi/sdk-dev-tools@0.39.2
|
|
32
|
+
- @plitzi/sdk-elements@0.39.2
|
|
33
|
+
- @plitzi/sdk-event-bridge@0.39.2
|
|
34
|
+
- @plitzi/sdk-interactions@0.39.2
|
|
35
|
+
- @plitzi/sdk-navigation@0.39.2
|
|
36
|
+
- @plitzi/sdk-plugins@0.39.2
|
|
37
|
+
- @plitzi/sdk-schema@0.39.2
|
|
38
|
+
- @plitzi/sdk-shared@0.39.2
|
|
39
|
+
- @plitzi/sdk-style@0.39.2
|
|
40
|
+
- @plitzi/sdk-variables@0.39.2
|
|
41
|
+
|
|
3
42
|
## 0.39.1
|
|
4
43
|
|
|
5
44
|
### Patch Changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentDefinition, Element, Schema, Style } from '@plitzi/sdk-shared';
|
|
2
2
|
import { BuilderContextValue } from '@plitzi/sdk-shared/builder';
|
|
3
|
-
import {
|
|
3
|
+
import { BuilderMutationsMap, BuilderQueriesMap } from '@plitzi/sdk-shared/network';
|
|
4
|
+
import { BuilderNetworkContextValue } from '@plitzi/sdk-shared/network/react';
|
|
4
5
|
export declare const getClipboardDataProcessed: (clipboardData?: DataTransfer) => Promise<{
|
|
5
6
|
dataType: "text";
|
|
6
7
|
data: string[];
|
|
@@ -41,7 +42,7 @@ export declare const getElementDefinition: (componentDefinitions: Record<string,
|
|
|
41
42
|
id: string;
|
|
42
43
|
} | undefined;
|
|
43
44
|
type BuilderMetadata = {
|
|
44
|
-
mutate:
|
|
45
|
+
mutate: BuilderNetworkContextValue<BuilderQueriesMap, BuilderMutationsMap>['mutate'];
|
|
45
46
|
builderDropElement: BuilderContextValue['builderDropElement'];
|
|
46
47
|
elementSelected: string;
|
|
47
48
|
componentDefinitions: Record<string, ComponentDefinition>;
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import { ListedTask } from '../../helpers';
|
|
2
|
-
import { ActionRunReport,
|
|
2
|
+
import { ActionRunReport, FunctionAskedLimits, FunctionSize } from '@plitzi/sdk-shared';
|
|
3
3
|
export type FunctionInspectorProps = {
|
|
4
4
|
task: ListedTask;
|
|
5
5
|
/** What every task gets unless it asks for its own, from `defineFunctions`. */
|
|
6
|
-
sharedLimits?:
|
|
6
|
+
sharedLimits?: FunctionAskedLimits;
|
|
7
7
|
hosts: string[];
|
|
8
8
|
/** Why its limits cannot be written for you right now — the code is still being read, say — or nothing. */
|
|
9
9
|
limitsDisabledReason: string;
|
|
10
10
|
/** The code differs from the saved draft. */
|
|
11
11
|
modified: boolean;
|
|
12
|
+
/** The sizes the space's plan includes, smallest first. */
|
|
13
|
+
sizes: readonly FunctionSize[];
|
|
12
14
|
onLimitsChange: (task: ListedTask, cpuMs: number | undefined) => void;
|
|
15
|
+
onSizeChange: (task: ListedTask, size: FunctionSize) => void;
|
|
13
16
|
onRun: (task: string, params: Record<string, unknown>) => Promise<ActionRunReport | undefined>;
|
|
14
17
|
};
|
|
15
18
|
/**
|
|
16
|
-
* The selected task: what it is as a step, how much CPU a run of it may use — written into its code — and a
|
|
17
|
-
* in the sandbox, saving first when the code changed.
|
|
19
|
+
* The selected task: what it is as a step, how much CPU and memory a run of it may use — written into its code — and a
|
|
20
|
+
* run of it in the sandbox, saving first when the code changed.
|
|
18
21
|
*/
|
|
19
|
-
declare const FunctionInspector: ({ task, sharedLimits, hosts, limitsDisabledReason, modified, onLimitsChange, onRun }: FunctionInspectorProps) => import('react').JSX.Element;
|
|
22
|
+
declare const FunctionInspector: ({ task, sharedLimits, hosts, limitsDisabledReason, modified, sizes, onLimitsChange, onSizeChange, onRun }: FunctionInspectorProps) => import('react').JSX.Element;
|
|
20
23
|
export default FunctionInspector;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FunctionSize } from '@plitzi/sdk-shared';
|
|
2
|
+
export type TaskSizeProps = {
|
|
3
|
+
/** The size the task runs at now. */
|
|
4
|
+
size: FunctionSize;
|
|
5
|
+
/** Whether the task asked for it, or gets the one every task gets. */
|
|
6
|
+
asked: boolean;
|
|
7
|
+
/** The sizes the space's plan includes, smallest first; the rest are shown locked. */
|
|
8
|
+
allowed: readonly FunctionSize[];
|
|
9
|
+
/** Why it cannot be changed from here right now — the code is still being read, say — or nothing. */
|
|
10
|
+
disabledReason?: string;
|
|
11
|
+
/** A size, written into the task's code. */
|
|
12
|
+
onChange: (size: FunctionSize) => void;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* How much memory one run of the task has, by size, written into the task as `limits: { size }`. The runner keeps it
|
|
16
|
+
* whole for the run, so a larger size waits longer for room: a task starts small, and is made larger when a run says
|
|
17
|
+
* it went over. What the plan does not include is shown locked, never hidden.
|
|
18
|
+
*/
|
|
19
|
+
declare const TaskSize: ({ size, asked, allowed, disabledReason, onChange }: TaskSizeProps) => import('react').JSX.Element;
|
|
20
|
+
export default TaskSize;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { NewTask as NewTaskSpec } from '../../editor/source';
|
|
2
2
|
import { ListedJob, ListedRoute, ListedTask } from '../../helpers';
|
|
3
|
-
import {
|
|
3
|
+
import { FunctionAskedLimits } from '@plitzi/sdk-shared';
|
|
4
4
|
export type FunctionsSidebarProps = {
|
|
5
5
|
tasks: ListedTask[];
|
|
6
6
|
/** What every task gets unless it asks for its own, from `defineFunctions`. */
|
|
7
|
-
sharedLimits?:
|
|
7
|
+
sharedLimits?: FunctionAskedLimits;
|
|
8
8
|
selectedTask: string;
|
|
9
9
|
/** Tasks the code builds by calling something: there, but only a save can say what they are. */
|
|
10
10
|
unreadableTasks: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VirtualTypeScriptEnvironment } from '@typescript/vfs';
|
|
2
2
|
/**
|
|
3
|
-
* The TypeScript a space's functions are checked with: the libs, the contract at `@plitzi/sdk-
|
|
3
|
+
* The TypeScript a space's functions are checked with: the libs, the contract at `@plitzi/sdk-runtime`, and
|
|
4
4
|
* nothing else — the space's own files are added as the editor opens and changes them.
|
|
5
5
|
*/
|
|
6
6
|
export declare const createFunctionsEnvironment: () => VirtualTypeScriptEnvironment;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FunctionJobManifest, FunctionTaskManifest,
|
|
1
|
+
import { FunctionJobManifest, FunctionTaskManifest, FunctionAskedLimits } from '@plitzi/sdk-shared';
|
|
2
2
|
import { VirtualTypeScriptEnvironment } from '@typescript/vfs';
|
|
3
3
|
/**
|
|
4
4
|
* The space's functions as their SOURCE declares them, read while they are written — what the panel lists and edits
|
|
@@ -15,7 +15,7 @@ export type SourcePlace = {
|
|
|
15
15
|
end: number;
|
|
16
16
|
};
|
|
17
17
|
export type SourceTask = Pick<FunctionTaskManifest, 'namespace' | 'action' | 'title' | 'description' | 'params'> & {
|
|
18
|
-
limits?:
|
|
18
|
+
limits?: FunctionAskedLimits;
|
|
19
19
|
at: SourcePlace;
|
|
20
20
|
};
|
|
21
21
|
export type SourceRoute = {
|
|
@@ -35,7 +35,7 @@ export type SourceFunctions = {
|
|
|
35
35
|
jobs: SourceJob[];
|
|
36
36
|
hosts: string[];
|
|
37
37
|
/** What every task and route asks for, unless one asks for its own. */
|
|
38
|
-
limits?:
|
|
38
|
+
limits?: FunctionAskedLimits;
|
|
39
39
|
/** Entries that are there but cannot be read without running the code: what to look at, and where. */
|
|
40
40
|
unreadable: {
|
|
41
41
|
what: string;
|
|
@@ -53,7 +53,7 @@ export type SourceEdit = {
|
|
|
53
53
|
* The task written at `place`, asking for `limits` — written into its own `limits`, or that taken out when it asks for
|
|
54
54
|
* nothing. Its other properties, comments and formatting are left as they are: the edit is the one property.
|
|
55
55
|
*/
|
|
56
|
-
export declare const withTaskLimits: (env: VirtualTypeScriptEnvironment, place: SourcePlace, limits:
|
|
56
|
+
export declare const withTaskLimits: (env: VirtualTypeScriptEnvironment, place: SourcePlace, limits: FunctionAskedLimits) => SourceEdit | undefined;
|
|
57
57
|
/** A new task, as `New task` writes it: what it is called, and a `run` that answers with something to see. */
|
|
58
58
|
export type NewTask = {
|
|
59
59
|
namespace: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { NewTask, SourcePlace } from './source';
|
|
2
|
-
import {
|
|
2
|
+
import { FunctionAskedLimits } from '@plitzi/sdk-shared';
|
|
3
3
|
declare const functionsWorker: {
|
|
4
4
|
describe: () => import('./source').SourceFunctions;
|
|
5
|
-
setTaskLimits: (place: SourcePlace, limits:
|
|
5
|
+
setTaskLimits: (place: SourcePlace, limits: FunctionAskedLimits) => import('./source').SourceEdit | undefined;
|
|
6
6
|
addTask: (task: NewTask) => import('./source').SourceEdit | undefined;
|
|
7
7
|
initialize(): Promise<void>;
|
|
8
8
|
updateFile({ path, code }: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NewTask, SourceEdit, SourceFunctions, SourcePlace } from './source';
|
|
2
2
|
import { Extension } from '@codemirror/state';
|
|
3
|
-
import {
|
|
3
|
+
import { FunctionAskedLimits } from '@plitzi/sdk-shared';
|
|
4
4
|
/**
|
|
5
5
|
* The TypeScript worker for one open panel: started from where the host serves it, given every file of the space so
|
|
6
6
|
* their imports of each other resolve, and turned into the editor extensions for the file being edited. Without a
|
|
@@ -10,7 +10,7 @@ declare const useFunctionsTypeScript: (workerUrl: string, files: Record<string,
|
|
|
10
10
|
ready: boolean;
|
|
11
11
|
extensionsFor: (file: string) => Extension[];
|
|
12
12
|
source: SourceFunctions | undefined;
|
|
13
|
-
setTaskLimits: (place: SourcePlace, limits:
|
|
13
|
+
setTaskLimits: (place: SourcePlace, limits: FunctionAskedLimits) => Promise<SourceEdit | undefined>;
|
|
14
14
|
addTask: (task: NewTask) => Promise<SourceEdit | undefined>;
|
|
15
15
|
};
|
|
16
16
|
export default useFunctionsTypeScript;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SourceFunctions, SourceJob, SourcePlace, SourceRoute } from './editor/source';
|
|
2
2
|
import { Text } from '@codemirror/state';
|
|
3
|
-
import { ActionAccess, FunctionsManifest, FunctionsProblem, FunctionTaskManifest,
|
|
3
|
+
import { ActionAccess, FunctionsManifest, FunctionsProblem, FunctionTaskManifest, FunctionAskedLimits, FunctionSize, JobControlAction, SpaceJob } from '@plitzi/sdk-shared';
|
|
4
4
|
/** What a space's functions start as: one file and one task already written, to change rather than to learn from blank. */
|
|
5
5
|
export declare const STARTER_FILES: Record<string, string>;
|
|
6
6
|
/** Where a problem is, as a person reads it: `lib/feed.ts:12:4`. */
|
|
@@ -36,7 +36,7 @@ export declare const TIME_LIMIT: {
|
|
|
36
36
|
};
|
|
37
37
|
/** A task as the panel lists it: what the source declares right now, where, and whether a save has it yet. */
|
|
38
38
|
export type ListedTask = FunctionTaskManifest & {
|
|
39
|
-
limits?:
|
|
39
|
+
limits?: FunctionAskedLimits;
|
|
40
40
|
/** Where it is written — none while the source has not been read, when the saved list is all there is. */
|
|
41
41
|
at?: SourcePlace;
|
|
42
42
|
/** In the saved draft too: what Try can run. A task only written so far is run once it is saved. */
|
|
@@ -67,10 +67,18 @@ export declare const usualNamespace: (tasks: readonly ListedTask[]) => string;
|
|
|
67
67
|
* The CPU a task runs with, and whether it chose it: its own `limits.cpuMs`, else the one every task of the space gets
|
|
68
68
|
* from `defineFunctions`, else the server's default.
|
|
69
69
|
*/
|
|
70
|
-
export declare const cpuOf: (task: ListedTask, shared:
|
|
70
|
+
export declare const cpuOf: (task: ListedTask, shared: FunctionAskedLimits | undefined) => {
|
|
71
71
|
ms: number;
|
|
72
72
|
asked: boolean;
|
|
73
73
|
};
|
|
74
|
+
/**
|
|
75
|
+
* The size a task runs at, and whether it chose it: its own `limits.size`, else the one every task of the space gets
|
|
76
|
+
* from `defineFunctions`, else small.
|
|
77
|
+
*/
|
|
78
|
+
export declare const sizeOf: (task: ListedTask, shared: FunctionAskedLimits | undefined) => {
|
|
79
|
+
size: FunctionSize;
|
|
80
|
+
asked: boolean;
|
|
81
|
+
};
|
|
74
82
|
/** What the run button says: running, or whether it saves first. */
|
|
75
83
|
export declare const runLabel: (isRunning: boolean, needsSave: boolean) => string;
|
|
76
84
|
/** A place to bring the editor to: a file's line, asked for again whenever `key` changes. */
|
|
@@ -86,8 +94,13 @@ export declare const lineRange: (doc: Text, line: number) => {
|
|
|
86
94
|
from: number;
|
|
87
95
|
to: number;
|
|
88
96
|
};
|
|
89
|
-
/** A task's
|
|
90
|
-
export declare const withCpu: (limits:
|
|
97
|
+
/** A task's limits with its CPU set — or taken out, to run with the default — and the rest as they were. */
|
|
98
|
+
export declare const withCpu: (limits: FunctionAskedLimits | undefined, cpuMs: number | undefined) => FunctionAskedLimits;
|
|
99
|
+
/**
|
|
100
|
+
* A task's limits with its size set — taken out when it is the one the task would get without asking — and the rest
|
|
101
|
+
* as they were.
|
|
102
|
+
*/
|
|
103
|
+
export declare const withSize: (limits: FunctionAskedLimits | undefined, size: FunctionSize, shared: FunctionAskedLimits | undefined) => FunctionAskedLimits;
|
|
91
104
|
/** Why the panel cannot write a task's limits for you right now, or nothing when it can. */
|
|
92
105
|
export declare const limitsBlockedBy: (ready: boolean, task: ListedTask) => string;
|
|
93
106
|
/** The task or job written around an offset of a file — the one the cursor is in — or none. */
|
|
@@ -113,5 +126,10 @@ export declare const watchLabel: (watch: ActionAccess | undefined) => string;
|
|
|
113
126
|
* put back one set aside, stop one not finished, run a finished one again.
|
|
114
127
|
*/
|
|
115
128
|
export declare const jobControlsOf: (job: SpaceJob) => JobControlAction[];
|
|
129
|
+
/**
|
|
130
|
+
* Whether a job failed every attempt and was set aside for somebody to read its runs: resumed once fixed — every
|
|
131
|
+
* attempt again — or cancelled.
|
|
132
|
+
*/
|
|
133
|
+
export declare const setAsideAfterFailing: (job: SpaceJob) => boolean;
|
|
116
134
|
/** Whether a job may still move by itself: what the panel keeps reading while it shows one. */
|
|
117
135
|
export declare const isJobMoving: (job: SpaceJob) => boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { BuilderMutationsMap, BuilderQueriesMap,
|
|
1
|
+
import { BuilderMutationsMap, BuilderQueriesMap, SpaceEventMap } from '@plitzi/sdk-shared/network';
|
|
2
|
+
import { BuilderNetworkContextValue } from '@plitzi/sdk-shared/network/react';
|
|
2
3
|
export type BuilderNetwork = BuilderNetworkContextValue<BuilderQueriesMap, BuilderMutationsMap, SpaceEventMap>;
|
|
3
4
|
/**
|
|
4
5
|
* The builder's network: its queries, mutations and the space's events, typed by what the builder asks for.
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { QueuedChange } from '../QueueContext';
|
|
2
|
-
import { BuilderMutationsMap, BuilderQueriesMap
|
|
2
|
+
import { BuilderMutationsMap, BuilderQueriesMap } from '@plitzi/sdk-shared/network';
|
|
3
|
+
import { BuilderNetworkContextValue } from '@plitzi/sdk-shared/network/react';
|
|
3
4
|
export type UseQueueManagerProps = {
|
|
4
5
|
delay?: number;
|
|
5
|
-
mutate:
|
|
6
|
+
mutate: BuilderNetworkContextValue<BuilderQueriesMap, BuilderMutationsMap>['mutate'];
|
|
6
7
|
maxRetries?: number;
|
|
7
8
|
retryTimeout?: number;
|
|
8
9
|
disabled?: boolean;
|
|
@@ -9,7 +9,7 @@ export type RuntimeSizeProps = {
|
|
|
9
9
|
onChange: () => Promise<void>;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
|
-
* The size an environment's runtime runs at, and choosing another among those the space
|
|
12
|
+
* The size an environment's runtime runs at, and choosing another among those the space bought. Nothing
|
|
13
13
|
* changes until it is applied — a restart is not something a slip of the select should cause — and while the runtime
|
|
14
14
|
* restarts at the new size, it says so.
|
|
15
15
|
*/
|
package/dist/package.json.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"name": "@plitzi/plitzi-builder",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.3",
|
|
4
4
|
"homepage": "./",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"files": [
|
|
@@ -26,15 +26,15 @@ declare const _default: {
|
|
|
26
26
|
"./plitzi-builder-dev-vendor.js.map": "./dist/plitzi-builder-dev-vendor.js.map"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@apollo/client": "^4.3.
|
|
30
|
-
"@codemirror/autocomplete": "^6.20.
|
|
29
|
+
"@apollo/client": "^4.3.7",
|
|
30
|
+
"@codemirror/autocomplete": "^6.20.4",
|
|
31
31
|
"@codemirror/lint": "^6.9.7",
|
|
32
32
|
"@codemirror/state": "^6.7.6",
|
|
33
|
-
"@codemirror/view": "^6.43.
|
|
33
|
+
"@codemirror/view": "^6.43.15",
|
|
34
34
|
"@fortawesome/fontawesome-free": "^7.3.1",
|
|
35
35
|
"@plitzi/nexus": "^1.4.0",
|
|
36
36
|
"@plitzi/plitzi-sdk": "workspace:*",
|
|
37
|
-
"@plitzi/plitzi-ui": "^1.6.
|
|
37
|
+
"@plitzi/plitzi-ui": "^1.6.38",
|
|
38
38
|
"@plitzi/sdk-auth": "workspace:*",
|
|
39
39
|
"@plitzi/sdk-authoring": "workspace:*",
|
|
40
40
|
"@plitzi/sdk-dev-tools": "workspace:*",
|
|
@@ -47,17 +47,17 @@ declare const _default: {
|
|
|
47
47
|
"@plitzi/sdk-shared": "workspace:*",
|
|
48
48
|
"@plitzi/sdk-style": "workspace:*",
|
|
49
49
|
"@plitzi/sdk-variables": "workspace:*",
|
|
50
|
-
"@typescript/vfs": "^1.6.
|
|
50
|
+
"@typescript/vfs": "^1.6.6",
|
|
51
51
|
"@valtown/codemirror-ts": "^2.3.1",
|
|
52
52
|
"apollo-upload-client": "^20.0.0",
|
|
53
53
|
"clsx": "^2.1.1",
|
|
54
54
|
"comlink": "^4.4.2",
|
|
55
|
-
"graphql": "^
|
|
55
|
+
"graphql": "^17.1.0",
|
|
56
56
|
"graphql-ws": "^6.4.1",
|
|
57
|
-
"immer": "^11.
|
|
57
|
+
"immer": "^11.2.9",
|
|
58
58
|
"jszip": "^3.10.2",
|
|
59
|
-
"react-hook-form": "^7.
|
|
60
|
-
"react-router-dom": "^7.18.
|
|
59
|
+
"react-hook-form": "^7.91.0",
|
|
60
|
+
"react-router-dom": "^7.18.5",
|
|
61
61
|
"swr": "^2.5.1",
|
|
62
62
|
"uuid": "^14.0.3",
|
|
63
63
|
"zod": "^4.6.7"
|
|
@@ -67,36 +67,36 @@ declare const _default: {
|
|
|
67
67
|
"react-dom": "^19"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@plitzi/sdk-
|
|
70
|
+
"@plitzi/sdk-runtime": "workspace:*",
|
|
71
71
|
"@tailwindcss/forms": "^0.5.11",
|
|
72
|
-
"@tailwindcss/postcss": "^4.3.
|
|
72
|
+
"@tailwindcss/postcss": "^4.3.5",
|
|
73
73
|
"eslint": "^9.39.5",
|
|
74
|
-
"postcss": "^8.5.
|
|
74
|
+
"postcss": "^8.5.32",
|
|
75
75
|
"postcss-scss": "^4.0.9",
|
|
76
76
|
"prettier": "^3.9.10",
|
|
77
77
|
"react": "^19.3.1",
|
|
78
78
|
"react-dom": "^19.3.1",
|
|
79
|
-
"sass": "^1.
|
|
80
|
-
"sass-embedded": "^1.
|
|
81
|
-
"stylelint": "^
|
|
82
|
-
"stylelint-order": "^8.1.
|
|
83
|
-
"stylelint-scss": "^7.
|
|
79
|
+
"sass": "^1.108.1",
|
|
80
|
+
"sass-embedded": "^1.108.1",
|
|
81
|
+
"stylelint": "^18.0.0",
|
|
82
|
+
"stylelint-order": "^8.1.3",
|
|
83
|
+
"stylelint-scss": "^7.4.0",
|
|
84
84
|
"terser": "^5.51.2",
|
|
85
85
|
"typescript": "^6.0.3",
|
|
86
|
-
"vite": "^8.3.
|
|
86
|
+
"vite": "^8.3.7",
|
|
87
87
|
"vite-plugin-dts": "^5.1.2",
|
|
88
88
|
"vite-plugin-ejs": "^2.0.0",
|
|
89
89
|
"vite-plugin-mkcert": "^2.1.0",
|
|
90
|
-
"vitest": "^5.0
|
|
90
|
+
"vitest": "^5.1.0"
|
|
91
91
|
},
|
|
92
92
|
"scripts": {
|
|
93
93
|
"start": "vite dev --mode development",
|
|
94
94
|
"test": "vitest run",
|
|
95
95
|
"test:coverage": "",
|
|
96
|
-
"lint": "TIMING=1 eslint ./src",
|
|
96
|
+
"lint": "TIMING=1 eslint --cache --cache-location .eslintcache --cache-strategy content ./src",
|
|
97
97
|
"lint-style": "stylelint \"**/*.scss\" --custom-syntax postcss-scss",
|
|
98
98
|
"lint-style:fix": "stylelint \"**/*.scss\" --custom-syntax postcss-scss --fix",
|
|
99
|
-
"typecheck": "tsc -p tsconfig.app.json --noEmit",
|
|
99
|
+
"typecheck": "tsc -p tsconfig.app.json --noEmit --incremental --tsBuildInfoFile .tsbuildinfo/app.tsbuildinfo",
|
|
100
100
|
"build:dev": "tsc -p tsconfig.app.json --noEmit && vite build --mode development && vite build --config vite.functions-worker.config.ts --mode development",
|
|
101
101
|
"build:dev-watch": "tsc -p tsconfig.app.json --noEmit && vite build --mode development --watch",
|
|
102
102
|
"build:dev-gzip": "tsc -p tsconfig.app.json --noEmit && ONLY_GZIP=1 vite build --mode development",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// \0rolldown/runtime.js
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -20,8 +20,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
20
20
|
value: mod,
|
|
21
21
|
enumerable: true
|
|
22
22
|
}) : target, mod));
|
|
23
|
-
|
|
24
|
-
//#region ../../node_modules/react/cjs/react.development.js
|
|
23
|
+
// ../../node_modules/react/cjs/react.development.js
|
|
25
24
|
/**
|
|
26
25
|
* @license React
|
|
27
26
|
* react.development.js
|
|
@@ -800,13 +799,11 @@ var require_react_development = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
800
799
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
801
800
|
})();
|
|
802
801
|
}));
|
|
803
|
-
|
|
804
|
-
//#region ../../node_modules/react/index.js
|
|
802
|
+
// ../../node_modules/react/index.js
|
|
805
803
|
var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
806
804
|
module.exports = require_react_development();
|
|
807
805
|
}));
|
|
808
|
-
|
|
809
|
-
//#region ../../node_modules/react/cjs/react-jsx-runtime.development.js
|
|
806
|
+
// ../../node_modules/react/cjs/react-jsx-runtime.development.js
|
|
810
807
|
/**
|
|
811
808
|
* @license React
|
|
812
809
|
* react-jsx-runtime.development.js
|
|
@@ -1017,13 +1014,11 @@ var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJSMin(((expo
|
|
|
1017
1014
|
};
|
|
1018
1015
|
})();
|
|
1019
1016
|
}));
|
|
1020
|
-
|
|
1021
|
-
//#region ../../node_modules/react/jsx-runtime.js
|
|
1017
|
+
// ../../node_modules/react/jsx-runtime.js
|
|
1022
1018
|
var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1023
1019
|
module.exports = require_react_jsx_runtime_development();
|
|
1024
1020
|
}));
|
|
1025
|
-
|
|
1026
|
-
//#region ../../node_modules/react-dom/cjs/react-dom.development.js
|
|
1021
|
+
// ../../node_modules/react-dom/cjs/react-dom.development.js
|
|
1027
1022
|
/**
|
|
1028
1023
|
* @license React
|
|
1029
1024
|
* react-dom.development.js
|
|
@@ -1211,13 +1206,11 @@ var require_react_dom_development = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
1211
1206
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1212
1207
|
})();
|
|
1213
1208
|
}));
|
|
1214
|
-
|
|
1215
|
-
//#region ../../node_modules/react-dom/index.js
|
|
1209
|
+
// ../../node_modules/react-dom/index.js
|
|
1216
1210
|
var require_react_dom = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1217
1211
|
module.exports = require_react_dom_development();
|
|
1218
1212
|
}));
|
|
1219
|
-
|
|
1220
|
-
//#region ../../node_modules/scheduler/cjs/scheduler.development.js
|
|
1213
|
+
// ../../node_modules/scheduler/cjs/scheduler.development.js
|
|
1221
1214
|
/**
|
|
1222
1215
|
* @license React
|
|
1223
1216
|
* scheduler.development.js
|
|
@@ -1459,13 +1452,11 @@ var require_scheduler_development = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
1459
1452
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1460
1453
|
})();
|
|
1461
1454
|
}));
|
|
1462
|
-
|
|
1463
|
-
//#region ../../node_modules/scheduler/index.js
|
|
1455
|
+
// ../../node_modules/scheduler/index.js
|
|
1464
1456
|
var require_scheduler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1465
1457
|
module.exports = require_scheduler_development();
|
|
1466
1458
|
}));
|
|
1467
|
-
|
|
1468
|
-
//#region ../../node_modules/react-dom/cjs/react-dom-client.development.js
|
|
1459
|
+
// ../../node_modules/react-dom/cjs/react-dom-client.development.js
|
|
1469
1460
|
/**
|
|
1470
1461
|
* @license React
|
|
1471
1462
|
* react-dom-client.development.js
|
|
@@ -17057,13 +17048,11 @@ var require_react_dom_client_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
17057
17048
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
17058
17049
|
})();
|
|
17059
17050
|
}));
|
|
17060
|
-
|
|
17061
|
-
//#region ../../node_modules/react-dom/client.js
|
|
17051
|
+
// ../../node_modules/react-dom/client.js
|
|
17062
17052
|
var require_client = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17063
17053
|
module.exports = require_react_dom_client_development();
|
|
17064
17054
|
}));
|
|
17065
|
-
|
|
17066
|
-
//#region src/vendor-entry.ts
|
|
17055
|
+
// src/vendor-entry.ts
|
|
17067
17056
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
17068
17057
|
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
|
|
17069
17058
|
var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1);
|
|
@@ -17073,7 +17062,6 @@ var { createPortal, flushSync, preconnect, prefetchDNS, preinit, preinitModule,
|
|
|
17073
17062
|
var { createRoot, hydrateRoot } = import_client;
|
|
17074
17063
|
var { jsx, jsxs } = import_jsx_runtime;
|
|
17075
17064
|
var vendor_entry_default = import_react;
|
|
17076
|
-
//#endregion
|
|
17077
17065
|
export { Activity, Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, act, cache, cacheSignal, captureOwnerStack, cloneElement, createContext, createElement, createPortal, createRef, createRoot, vendor_entry_default as default, flushSync, forwardRef, hydrateRoot, isValidElement, jsx, jsxs, lazy, memo, preconnect, prefetchDNS, preinit, preinitModule, preload, preloadModule, requestFormReset, startTransition, unstable_batchedUpdates, use, useActionState, useCallback, useContext, useDebugValue, useDeferredValue, useEffect, useEffectEvent, useFormState, useFormStatus, useId, useImperativeHandle, useInsertionEffect, useLayoutEffect, useMemo, useOptimistic, useReducer, useRef, useState, useSyncExternalStore, useTransition, version };
|
|
17078
17066
|
|
|
17079
17067
|
//# sourceMappingURL=plitzi-builder-dev-vendor.js.map
|
|
Binary file
|