@ianicdev/datatables2 0.4.2 → 0.4.4

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/lib/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- declare module "@ianicdev/datatables2" {
2
- export function useCellRendererFrameworks(): any;
3
- }
1
+ // lib/index.d.ts
2
+ export function useCellRendererFrameworks(): any;
@@ -1,14 +1,15 @@
1
- declare module '@ianicdev/datatables2/locale' {
2
- const el: {
3
- [key: string]: any;
4
- };
5
- const en: {
6
- [key: string]: any;
7
- };
8
- export { el, en };
9
- const defaultExport: {
10
- el: typeof el;
11
- en: typeof en;
12
- };
13
- export default defaultExport;
14
- }
1
+ // lib/locale/index.d.ts
2
+ export const el: {
3
+ [key: string]: any;
4
+ };
5
+
6
+ export const en: {
7
+ [key: string]: any;
8
+ };
9
+
10
+ declare const defaultExport: {
11
+ el: typeof el;
12
+ en: typeof en;
13
+ };
14
+
15
+ export default defaultExport;
@@ -0,0 +1,15 @@
1
+ // lib/locale/index.d.ts
2
+ export const el: {
3
+ [key: string]: any;
4
+ };
5
+
6
+ export const en: {
7
+ [key: string]: any;
8
+ };
9
+
10
+ declare const defaultExport: {
11
+ el: typeof el;
12
+ en: typeof en;
13
+ };
14
+
15
+ export default defaultExport;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ianicdev/datatables2",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "type": "module",
5
5
  "types": "./lib/index.d.ts",
6
6
  "publishConfig": {
@@ -16,7 +16,8 @@
16
16
  "./styles.css": "./dist/style.css",
17
17
  "./locale": {
18
18
  "types": "./lib/locale/index.d.ts",
19
- "import": "./lib/locale/index.js"
19
+ "import": "./lib/locale/index.js",
20
+ "require": "./lib/locale/index.js"
20
21
  }
21
22
  },
22
23
  "module": "./dist/datatables.js",
@@ -29,8 +30,19 @@
29
30
  "dist/",
30
31
  "lib/",
31
32
  "lib/index.d.ts",
33
+ "lib/locale.d.ts",
32
34
  "lib/locale/index.d.ts"
33
35
  ],
36
+ "typesVersions": {
37
+ "*": {
38
+ "*": [
39
+ "lib/index.d.ts"
40
+ ],
41
+ "locale": [
42
+ "lib/locale.d.ts"
43
+ ]
44
+ }
45
+ },
34
46
  "scripts": {
35
47
  "dev": "vite",
36
48
  "build": "rimraf dist && vue-tsc --noEmit && vite build",