likec4 1.26.1 → 1.26.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/__app__/src/main.js +132 -41
- package/dist/cli/index.mjs +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{likec4.BCmwBuM_.mjs → likec4.CdjXfSGc.mjs} +1057 -1057
- package/dist/shared/{likec4.Y_4a6gTW.d.mts → likec4.DGrST4wG.d.mts} +2 -1
- package/dist/shared/{likec4.Y_4a6gTW.d.ts → likec4.DGrST4wG.d.ts} +2 -1
- package/dist/shared/{likec4.D3T36QRo.mjs → likec4.DQwwl5M9.mjs} +1 -1
- package/dist/vite-plugin/index.d.mts +1 -1
- package/dist/vite-plugin/index.d.ts +1 -1
- package/dist/vite-plugin/index.mjs +1 -1
- package/package.json +10 -10
|
@@ -1973,7 +1973,8 @@ declare function readonly<TInput>(): ReadonlyAction<TInput>;
|
|
|
1973
1973
|
|
|
1974
1974
|
declare const ProjectConfig: ObjectSchema<{
|
|
1975
1975
|
readonly name: SchemaWithPipe<[StringSchema<undefined>, NonEmptyAction<string, undefined>, DescriptionAction<string, "Project name, must be unique in the workspace">]>;
|
|
1976
|
-
readonly
|
|
1976
|
+
readonly contactPerson: OptionalSchema<SchemaWithPipe<[StringSchema<undefined>, NonEmptyAction<string, undefined>, DescriptionAction<string, "A person who has been involved in creating or maintaining this project">]>, undefined>;
|
|
1977
|
+
readonly exclude: OptionalSchema<SchemaWithPipe<[ArraySchema<StringSchema<undefined>, undefined>, DescriptionAction<string[], "List of file patterns to exclude from the project, default is [\"node_modules\"]">]>, undefined>;
|
|
1977
1978
|
}, undefined>;
|
|
1978
1979
|
type ProjectConfig = InferOutput<typeof ProjectConfig>;
|
|
1979
1980
|
|
|
@@ -1973,7 +1973,8 @@ declare function readonly<TInput>(): ReadonlyAction<TInput>;
|
|
|
1973
1973
|
|
|
1974
1974
|
declare const ProjectConfig: ObjectSchema<{
|
|
1975
1975
|
readonly name: SchemaWithPipe<[StringSchema<undefined>, NonEmptyAction<string, undefined>, DescriptionAction<string, "Project name, must be unique in the workspace">]>;
|
|
1976
|
-
readonly
|
|
1976
|
+
readonly contactPerson: OptionalSchema<SchemaWithPipe<[StringSchema<undefined>, NonEmptyAction<string, undefined>, DescriptionAction<string, "A person who has been involved in creating or maintaining this project">]>, undefined>;
|
|
1977
|
+
readonly exclude: OptionalSchema<SchemaWithPipe<[ArraySchema<StringSchema<undefined>, undefined>, DescriptionAction<string[], "List of file patterns to exclude from the project, default is [\"node_modules\"]">]>, undefined>;
|
|
1977
1978
|
}, undefined>;
|
|
1978
1979
|
type ProjectConfig = InferOutput<typeof ProjectConfig>;
|
|
1979
1980
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{relative as Q}from"node:path";import{f as Z,g as b,T as ee,N as U,i as te,l as y,n as _,j as T,u as m,a as ne,C as ie,b as re,c as O,d as oe,t as se,m as ae,p as de,e as le,L as ce}from"./likec4.
|
|
1
|
+
import{relative as Q}from"node:path";import{f as Z,g as b,T as ee,N as U,i as te,l as y,n as _,j as T,u as m,a as ne,C as ie,b as re,c as O,d as oe,t as se,m as ae,p as de,e as le,L as ce}from"./likec4.CdjXfSGc.mjs";import{sortNaturalByFqn as A,compareNatural as pe}from"@likec4/core";function ue(t){var e,i;if(t){if("astNode"in t)return he(t);if(Array.isArray(t))return t.reduce(J,void 0);{const n=t,r=fe(n)?ge((i=(e=n?.root)===null||e===void 0?void 0:e.astNode)!==null&&i!==void 0?i:n?.astNode):void 0;
|
|
2
2
|
return C(n,r)}}else return}function fe(t){return typeof t<"u"&&"element"in t&&"text"in t}function ge(t){try{return b(t).uri.toString()}catch{return}}function he(t){var e,i;const{astNode:n,property:r,index:s}=t??{},o=(e=n?.$cstNode)!==null&&e!==void 0?e:n?.$textRegion;if(!(n===void 0||o===void 0)){if(r===void 0)return C(o,R(n));{const a=d=>s!==void 0&&s>-1&&Array.isArray(n[r])?s<d.length?d[s]:void 0:d.reduce(J,void 0);if(!((i=o.assignments)===null||i===void 0)&&i[r]){const d=a(o.assignments[r]);return d&&
|
|
3
3
|
C(d,R(n))}else if(n.$cstNode){const d=a(Z(n.$cstNode,r));return d&&C(d,R(n))}else return}}}function R(t){var e,i,n,r;return t.$cstNode?(i=(e=b(t))===null||e===void 0?void 0:e.uri)===null||i===void 0?void 0:i.toString():t.$textRegion?t.$textRegion.documentURI||((r=(n=new ee(t,s=>s.$container?[s.$container]:[]).find(s=>{var o;return(o=s.$textRegion)===null||o===void 0?void 0:o.documentURI}))===null||n===void 0?void 0:n.$textRegion)===null||r===void 0?void 0:r.documentURI):void 0}function C(t,e){var i,
|
|
4
4
|
n;const r={offset:t.offset,end:(i=t.end)!==null&&i!==void 0?i:t.offset+t.length,length:(n=t.length)!==null&&n!==void 0?n:t.end-t.offset};return t.range&&(r.range=t.range),e??(e=t.fileURI),e&&(r.fileURI=e),r}function J(t,e){var i,n;if(t){if(!e)return t&&C(t)}else return e&&C(e);const r=(i=t.end)!==null&&i!==void 0?i:t.offset+t.length,s=(n=e.end)!==null&&n!==void 0?n:e.offset+e.length,o=Math.min(t.offset,e.offset),a=Math.max(r,s),d=a-o,c={offset:o,end:a,length:d};if(t.range&&e.range&&(c.range={start:e.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{L as LikeC4VitePlugin}from"../shared/likec4.
|
|
1
|
+
export{L as LikeC4VitePlugin}from"../shared/likec4.DQwwl5M9.mjs";import"node:path";import"../shared/likec4.CdjXfSGc.mjs";import"node:fs";import"node:url";import"tty";import"node:util";import"util";import"path";import"os";import"crypto";import"net";import"url";import"fs";import"child_process";import"@likec4/core";import"@likec4/core/types";import"events";import"buffer";import"@hpcc-js/wasm-graphviz";import"@likec4/core/compute-view";import"@likec4/core/utils";import"node:process";import"boxen";import"node:child_process";
|
|
2
2
|
import"node:events";import"node:fs/promises";import"node:stream/promises";import"node:os";import"fs/promises";import"@likec4/core/model";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "likec4",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://likec4.dev",
|
|
6
6
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
"@hpcc-js/wasm-graphviz": "1.7.0",
|
|
76
76
|
"@vitejs/plugin-react": "4.3.4",
|
|
77
77
|
"boxen": "^8.0.1",
|
|
78
|
-
"playwright": "1.
|
|
78
|
+
"playwright": "^1.51.1",
|
|
79
79
|
"react": "~19.0.0",
|
|
80
80
|
"react-dom": "~19.0.0",
|
|
81
81
|
"rollup": "4.34.6",
|
|
82
82
|
"type-fest": "4.34.1",
|
|
83
83
|
"vite": "^6.2.0",
|
|
84
|
-
"@likec4/core": "~1.26.
|
|
84
|
+
"@likec4/core": "~1.26.2"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@dagrejs/dagre": "1.1.4",
|
|
@@ -163,13 +163,13 @@
|
|
|
163
163
|
"vscode-uri": "3.1.0",
|
|
164
164
|
"which": "^5.0.0",
|
|
165
165
|
"yargs": "17.7.2",
|
|
166
|
-
"@likec4/
|
|
167
|
-
"@likec4/diagram": "1.26.
|
|
168
|
-
"@likec4/
|
|
169
|
-
"@likec4/language-server": "1.26.
|
|
170
|
-
"@likec4/
|
|
171
|
-
"@likec4/
|
|
172
|
-
"@likec4/tsconfig": "1.26.
|
|
166
|
+
"@likec4/icons": "1.26.2",
|
|
167
|
+
"@likec4/diagram": "1.26.2",
|
|
168
|
+
"@likec4/generators": "1.26.2",
|
|
169
|
+
"@likec4/language-server": "1.26.2",
|
|
170
|
+
"@likec4/layouts": "1.26.2",
|
|
171
|
+
"@likec4/log": "1.26.2",
|
|
172
|
+
"@likec4/tsconfig": "1.26.2"
|
|
173
173
|
},
|
|
174
174
|
"scripts": {
|
|
175
175
|
"turbo-build": "turbo run build --log-prefix=none --log-order=grouped",
|