@limetech/lime-web-components 6.0.0 → 6.2.0
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 +18 -0
- package/dist/commandbus/commandbus.d.ts +29 -4
- package/dist/commandbus/commandbus.d.ts.map +1 -1
- package/dist/commandbus/commandbus.spec.d.ts +12 -0
- package/dist/commandbus/commandbus.spec.d.ts.map +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +199 -193
- package/dist/index.esm.js.map +1 -1
- package/dist/limeobject/commands/bulk-create-dialog.d.ts +7 -0
- package/dist/limeobject/commands/bulk-create-dialog.d.ts.map +1 -1
- package/dist/limeobject/commands/create-dialog.d.ts +7 -0
- package/dist/limeobject/commands/create-dialog.d.ts.map +1 -1
- package/dist/limeobject/commands/delete-object.d.ts +7 -0
- package/dist/limeobject/commands/delete-object.d.ts.map +1 -1
- package/dist/limeobject/commands/object-access.d.ts +7 -0
- package/dist/limeobject/commands/object-access.d.ts.map +1 -1
- package/dist/limeobject/commands/save-object.d.ts +7 -0
- package/dist/limeobject/commands/save-object.d.ts.map +1 -1
- package/dist/navigator/command.d.ts +7 -0
- package/dist/navigator/command.d.ts.map +1 -1
- package/dist/view/registry.d.ts +7 -7
- package/dist/view/registry.d.ts.map +1 -1
- package/package.json +11 -10
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { LimeObjectBulkCommand } from '../../commandbus';
|
|
2
2
|
import { Expression } from '../../query';
|
|
3
3
|
import { LimeWebComponentContext } from '../../core';
|
|
4
|
+
declare const COMMAND_ID: "limeobject.bulk-create-dialog";
|
|
5
|
+
declare module '../../commandbus' {
|
|
6
|
+
interface CommandRegistry {
|
|
7
|
+
[COMMAND_ID]: BulkCreateDialogCommand;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
4
10
|
/**
|
|
5
11
|
* Open a dialog for bulk creating limeobjects
|
|
6
12
|
*
|
|
@@ -46,4 +52,5 @@ export declare class BulkCreateDialogCommand implements LimeObjectBulkCommand {
|
|
|
46
52
|
*/
|
|
47
53
|
relation: string;
|
|
48
54
|
}
|
|
55
|
+
export {};
|
|
49
56
|
//# sourceMappingURL=bulk-create-dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-create-dialog.d.ts","sourceRoot":"","sources":["../../../src/limeobject/commands/bulk-create-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAGa,uBAAwB,YAAW,qBAAqB;IAC1D,OAAO,EAAE,uBAAuB,CAAC;IAExC;;;OAGG;IACI,MAAM,EAAE,UAAU,CAAC;IAE1B;;OAEG;IACI,QAAQ,EAAE,MAAM,CAAC;CAC3B"}
|
|
1
|
+
{"version":3,"file":"bulk-create-dialog.d.ts","sourceRoot":"","sources":["../../../src/limeobject/commands/bulk-create-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,QAAA,MAAM,UAAU,iCAA2C,CAAC;AAC5D,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,eAAe;QACrB,CAAC,UAAU,CAAC,EAAE,uBAAuB,CAAC;KACzC;CACJ;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAGa,uBAAwB,YAAW,qBAAqB;IAC1D,OAAO,EAAE,uBAAuB,CAAC;IAExC;;;OAGG;IACI,MAAM,EAAE,UAAU,CAAC;IAE1B;;OAEG;IACI,QAAQ,EAAE,MAAM,CAAC;CAC3B"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { LimeWebComponentContext } from '../../core';
|
|
2
2
|
import { LimeType } from '../../limetype';
|
|
3
|
+
declare const COMMAND_ID: "limeobject.create-dialog";
|
|
4
|
+
declare module '../../commandbus' {
|
|
5
|
+
interface CommandRegistry {
|
|
6
|
+
[COMMAND_ID]: CreateLimeobjectDialogCommand;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
3
9
|
/**
|
|
4
10
|
* Open a dialog for creating a new limeobject or editing a specific limeobject
|
|
5
11
|
*
|
|
@@ -40,4 +46,5 @@ export declare class CreateLimeobjectDialogCommand {
|
|
|
40
46
|
*/
|
|
41
47
|
saveCommand?: any;
|
|
42
48
|
}
|
|
49
|
+
export {};
|
|
43
50
|
//# sourceMappingURL=create-dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-dialog.d.ts","sourceRoot":"","sources":["../../../src/limeobject/commands/create-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAK1C;;;;;;;;;;;GAWG;AACH,qBAGa,6BAA6B;IACtC;;OAEG;IACI,QAAQ,EAAE,QAAQ,CAAC;IAE1B;;OAEG;IACI,UAAU,CAAC,EAAE,GAAG,CAAC;IAExB;;OAEG;IACI,KAAK,CAAC,EAAE,OAAO,CAAS;IAKxB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAEzC;;;;OAIG;IACI,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAEnC;;;OAGG;IACI,WAAW,CAAC,EAAE,GAAG,CAAC;CAC5B"}
|
|
1
|
+
{"version":3,"file":"create-dialog.d.ts","sourceRoot":"","sources":["../../../src/limeobject/commands/create-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAK1C,QAAA,MAAM,UAAU,4BAAsC,CAAC;AACvD,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,eAAe;QACrB,CAAC,UAAU,CAAC,EAAE,6BAA6B,CAAC;KAC/C;CACJ;AAED;;;;;;;;;;;GAWG;AACH,qBAGa,6BAA6B;IACtC;;OAEG;IACI,QAAQ,EAAE,QAAQ,CAAC;IAE1B;;OAEG;IACI,UAAU,CAAC,EAAE,GAAG,CAAC;IAExB;;OAEG;IACI,KAAK,CAAC,EAAE,OAAO,CAAS;IAKxB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAEzC;;;;OAIG;IACI,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAEnC;;;OAGG;IACI,WAAW,CAAC,EAAE,GAAG,CAAC;CAC5B"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { LimeObjectCommand } from '../../commandbus';
|
|
2
2
|
import { LimeWebComponentContext } from '../../core';
|
|
3
|
+
declare const COMMAND_ID: "limeobject.delete-object";
|
|
4
|
+
declare module '../../commandbus' {
|
|
5
|
+
interface CommandRegistry {
|
|
6
|
+
[COMMAND_ID]: DeleteObjectCommand;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
3
9
|
/**
|
|
4
10
|
* Deletes the object from the database
|
|
5
11
|
*
|
|
@@ -10,4 +16,5 @@ import { LimeWebComponentContext } from '../../core';
|
|
|
10
16
|
export declare class DeleteObjectCommand implements LimeObjectCommand {
|
|
11
17
|
context: LimeWebComponentContext;
|
|
12
18
|
}
|
|
19
|
+
export {};
|
|
13
20
|
//# sourceMappingURL=delete-object.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-object.d.ts","sourceRoot":"","sources":["../../../src/limeobject/commands/delete-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;GAMG;AACH,qBAGa,mBAAoB,YAAW,iBAAiB;IAClD,OAAO,EAAE,uBAAuB,CAAC;CAC3C"}
|
|
1
|
+
{"version":3,"file":"delete-object.d.ts","sourceRoot":"","sources":["../../../src/limeobject/commands/delete-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,QAAA,MAAM,UAAU,4BAAsC,CAAC;AACvD,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,eAAe;QACrB,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;KACrC;CACJ;AAED;;;;;;GAMG;AACH,qBAGa,mBAAoB,YAAW,iBAAiB;IAClD,OAAO,EAAE,uBAAuB,CAAC;CAC3C"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { LimeObjectCommand } from '../../commandbus';
|
|
2
2
|
import { LimeWebComponentContext } from '../../core';
|
|
3
|
+
declare const COMMAND_ID: "limeobject.object-access";
|
|
4
|
+
declare module '../../commandbus' {
|
|
5
|
+
interface CommandRegistry {
|
|
6
|
+
[COMMAND_ID]: OpenObjectAccessDialogCommand;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
3
9
|
/**
|
|
4
10
|
* Open a dialog to view and edit object access information
|
|
5
11
|
*
|
|
@@ -10,4 +16,5 @@ import { LimeWebComponentContext } from '../../core';
|
|
|
10
16
|
export declare class OpenObjectAccessDialogCommand implements LimeObjectCommand {
|
|
11
17
|
context: LimeWebComponentContext;
|
|
12
18
|
}
|
|
19
|
+
export {};
|
|
13
20
|
//# sourceMappingURL=object-access.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object-access.d.ts","sourceRoot":"","sources":["../../../src/limeobject/commands/object-access.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;GAMG;AACH,qBAGa,6BAA8B,YAAW,iBAAiB;IAC5D,OAAO,EAAE,uBAAuB,CAAC;CAC3C"}
|
|
1
|
+
{"version":3,"file":"object-access.d.ts","sourceRoot":"","sources":["../../../src/limeobject/commands/object-access.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,QAAA,MAAM,UAAU,4BAAsC,CAAC;AACvD,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,eAAe;QACrB,CAAC,UAAU,CAAC,EAAE,6BAA6B,CAAC;KAC/C;CACJ;AAED;;;;;;GAMG;AACH,qBAGa,6BAA8B,YAAW,iBAAiB;IAC5D,OAAO,EAAE,uBAAuB,CAAC;CAC3C"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { LimeObject } from '../../limeobject';
|
|
2
2
|
import { LimeObjectCommand } from '../../commandbus';
|
|
3
3
|
import { LimeWebComponentContext } from '../../core';
|
|
4
|
+
declare const COMMAND_ID: "limeobject.save-object";
|
|
5
|
+
declare module '../../commandbus' {
|
|
6
|
+
interface CommandRegistry {
|
|
7
|
+
[COMMAND_ID]: SaveLimeObjectCommand;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
4
10
|
/**
|
|
5
11
|
* Saves the object to the database
|
|
6
12
|
*
|
|
@@ -24,4 +30,5 @@ export declare class SaveLimeObjectCommand implements LimeObjectCommand {
|
|
|
24
30
|
*/
|
|
25
31
|
label?: string;
|
|
26
32
|
}
|
|
33
|
+
export {};
|
|
27
34
|
//# sourceMappingURL=save-object.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-object.d.ts","sourceRoot":"","sources":["../../../src/limeobject/commands/save-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAW,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;GAMG;AACH,qBAGa,qBAAsB,YAAW,iBAAiB;IACpD,OAAO,EAAE,uBAAuB,CAAC;IAExC;;OAEG;IACI,UAAU,EAAE,UAAU,CAAC;IAE9B;;OAEG;IACI,KAAK,CAAC,EAAE,OAAO,CAAS;IAE/B;;;OAGG;IACI,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
|
1
|
+
{"version":3,"file":"save-object.d.ts","sourceRoot":"","sources":["../../../src/limeobject/commands/save-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAW,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,QAAA,MAAM,UAAU,0BAAoC,CAAC;AACrD,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,eAAe;QACrB,CAAC,UAAU,CAAC,EAAE,qBAAqB,CAAC;KACvC;CACJ;AAED;;;;;;GAMG;AACH,qBAGa,qBAAsB,YAAW,iBAAiB;IACpD,OAAO,EAAE,uBAAuB,CAAC;IAExC;;OAEG;IACI,UAAU,EAAE,UAAU,CAAC;IAE9B;;OAEG;IACI,KAAK,CAAC,EAAE,OAAO,CAAS;IAE/B;;;OAGG;IACI,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { Location } from './navigator';
|
|
2
|
+
declare const COMMAND_ID: "navigator.navigate";
|
|
3
|
+
declare module '../commandbus' {
|
|
4
|
+
interface CommandRegistry {
|
|
5
|
+
[COMMAND_ID]: NavigateCommand;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
2
8
|
/**
|
|
3
9
|
* Navigates to a new location
|
|
4
10
|
*
|
|
@@ -12,4 +18,5 @@ export declare class NavigateCommand implements Partial<Location> {
|
|
|
12
18
|
hash?: string;
|
|
13
19
|
state?: unknown;
|
|
14
20
|
}
|
|
21
|
+
export {};
|
|
15
22
|
//# sourceMappingURL=command.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/navigator/command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;;;GAMG;AACH,qBAGa,eAAgB,YAAW,OAAO,CAAC,QAAQ,CAAC;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEhC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,OAAO,CAAC;CAC1B"}
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/navigator/command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,QAAA,MAAM,UAAU,sBAAgC,CAAC;AACjD,OAAO,QAAQ,eAAe,CAAC;IAC3B,UAAU,eAAe;QACrB,CAAC,UAAU,CAAC,EAAE,eAAe,CAAC;KACjC;CACJ;AAED;;;;;;GAMG;AACH,qBAGa,eAAgB,YAAW,OAAO,CAAC,QAAQ,CAAC;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEhC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,OAAO,CAAC;CAC1B"}
|
package/dist/view/registry.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LimeWebComponentContext } from '../core';
|
|
2
|
-
import { LimeObject } from '../limeobject';
|
|
3
2
|
/**
|
|
4
3
|
* Registry for view factories
|
|
5
4
|
*
|
|
6
|
-
* A view factory is used to create a view
|
|
5
|
+
* A view factory is used to create a view from some data, typically a
|
|
6
|
+
* {@link LimeObject} but can also be any other data type.
|
|
7
7
|
* Multiple factories can be registered for the same view type, and when that
|
|
8
8
|
* is done the factory returned from {@link ViewFactoryRegistry.getFactory} will
|
|
9
9
|
* invoke each one in the order that they were added, using the return value
|
|
@@ -40,19 +40,19 @@ export interface ViewFactoryRegistry {
|
|
|
40
40
|
* @param type - the type of view to get a factory for
|
|
41
41
|
* @returns a factory for the given view type
|
|
42
42
|
*/
|
|
43
|
-
getFactory<
|
|
43
|
+
getFactory<TView = unknown, TData = unknown>(type: string): ViewFactory<TView, TData> | undefined;
|
|
44
44
|
/**
|
|
45
45
|
* Register a factory for a given view type
|
|
46
46
|
*
|
|
47
47
|
* @param type - the type of view to get a factory for
|
|
48
48
|
* @param factory - factory function to create a view of the specific type
|
|
49
49
|
*/
|
|
50
|
-
registerFactory<
|
|
50
|
+
registerFactory<TView = unknown, TData = unknown>(type: string, factory: ViewFactory<TView, TData>): void;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
* Factory to create a view
|
|
53
|
+
* Factory to create a view from some data
|
|
54
54
|
*
|
|
55
|
-
* @param
|
|
55
|
+
* @param data - the data to create a view for, typically a {@link LimeObject}
|
|
56
56
|
* @param context - the context of the web component rendering the view
|
|
57
57
|
* @param view - the view as it was created by the previous factory, or
|
|
58
58
|
* `undefined` if this is the first factory in the chain
|
|
@@ -60,5 +60,5 @@ export interface ViewFactoryRegistry {
|
|
|
60
60
|
* @beta
|
|
61
61
|
* @group Views
|
|
62
62
|
*/
|
|
63
|
-
export type ViewFactory<
|
|
63
|
+
export type ViewFactory<TView = unknown, TData = unknown> = (data: TData, context: LimeWebComponentContext, view?: TView) => TView | undefined;
|
|
64
64
|
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/view/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/view/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAIlD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;OAKG;IACH,UAAU,CAAC,KAAK,GAAG,OAAO,EAAE,KAAK,GAAG,OAAO,EACvC,IAAI,EAAE,MAAM,GACb,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC;IAEzC;;;;;OAKG;IACH,eAAe,CAAC,KAAK,GAAG,OAAO,EAAE,KAAK,GAAG,OAAO,EAC5C,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,GACnC,IAAI,CAAC;CACX;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,WAAW,CAAC,KAAK,GAAG,OAAO,EAAE,KAAK,GAAG,OAAO,IAAI,CACxD,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,uBAAuB,EAChC,IAAI,CAAC,EAAE,KAAK,KACX,KAAK,GAAG,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-web-components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "Lime Web Components",
|
|
5
5
|
"author": "Lime Technologies",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"lint:fix": "npm run lint:src:fix && npm run lint:json:fix",
|
|
30
30
|
"lint:json": "prettier -l '{!(package*).json,packages/*/!(package*).json,.prettierrc}'",
|
|
31
31
|
"lint:json:fix": "prettier --write '{!(package*).json,packages/*/!(package*).json,.prettierrc}'",
|
|
32
|
-
"lint:src": "eslint '**/*.{ts,js}' --max-warnings=0",
|
|
33
|
-
"lint:src:fix": "eslint '**/*.{ts,js}' --fix --max-warnings=0"
|
|
32
|
+
"lint:src": "eslint '**/*.{ts,js,cjs,mjs}' --max-warnings=0",
|
|
33
|
+
"lint:src:fix": "eslint '**/*.{ts,js,cjs,mjs}' --fix --max-warnings=0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@stencil/core": "^2.22.3",
|
|
@@ -40,22 +40,23 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@commitlint/config-conventional": "^19.8.1",
|
|
42
42
|
"@eslint/eslintrc": "^3.3.1",
|
|
43
|
-
"@eslint/js": "^9.
|
|
43
|
+
"@eslint/js": "^9.29.0",
|
|
44
44
|
"@microsoft/api-extractor": "^7.52.8",
|
|
45
45
|
"@types/jest": "^27.5.0",
|
|
46
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
46
|
+
"@typescript-eslint/eslint-plugin": "^8.34.1",
|
|
47
47
|
"@typescript-eslint/parser": "^8.32.1",
|
|
48
48
|
"commitizen": "^4.3.1",
|
|
49
49
|
"cz-conventional-changelog": "^3.3.0",
|
|
50
|
-
"eslint": "^9.
|
|
50
|
+
"eslint": "^9.29.0",
|
|
51
51
|
"eslint-config-prettier": "^10.1.5",
|
|
52
52
|
"eslint-plugin-ban": "^2.0.0",
|
|
53
53
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
54
|
-
"eslint-plugin-prettier": "^5.
|
|
54
|
+
"eslint-plugin-prettier": "^5.5.0",
|
|
55
55
|
"eslint-plugin-react": "^7.37.5",
|
|
56
|
-
"eslint-plugin-sonarjs": "^3.0.
|
|
56
|
+
"eslint-plugin-sonarjs": "^3.0.3",
|
|
57
57
|
"eslint-plugin-tsdoc": "^0.4.0",
|
|
58
|
-
"
|
|
58
|
+
"expect-type": "^1.2.1",
|
|
59
|
+
"globals": "^16.2.0",
|
|
59
60
|
"jest": "^27.5.1",
|
|
60
61
|
"jest-cli": "^27.5.1",
|
|
61
62
|
"prettier": "^3.5.3",
|
|
@@ -66,7 +67,7 @@
|
|
|
66
67
|
"typescript": "^4.9.5",
|
|
67
68
|
"vite": "^6.1.0",
|
|
68
69
|
"vite-plugin-dts": "^4.5.0",
|
|
69
|
-
"yargs": "^
|
|
70
|
+
"yargs": "^18.0.0"
|
|
70
71
|
},
|
|
71
72
|
"keywords": [
|
|
72
73
|
"lime web components",
|