@leancodepl/api-date 8.3.6 → 8.5.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/package.json CHANGED
@@ -1,17 +1,54 @@
1
1
  {
2
2
  "name": "@leancodepl/api-date",
3
- "version": "8.3.6",
3
+ "version": "8.5.0",
4
4
  "license": "Apache-2.0",
5
+ "publishConfig": {
6
+ "access": "public",
7
+ "registry": "https://registry.npmjs.org/"
8
+ },
9
+ "engines": {
10
+ "node": ">=18.0.0"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/leancodepl/js_corelibrary.git",
15
+ "directory": "packages/cqrs-clients/custom-types/date/api-date"
16
+ },
17
+ "homepage": "https://github.com/leancodepl/js_corelibrary",
18
+ "bugs": {
19
+ "url": "https://github.com/leancodepl/js_corelibrary/issues"
20
+ },
21
+ "description": "Core date and time types for API serialization",
22
+ "keywords": [
23
+ "date",
24
+ "time",
25
+ "api",
26
+ "types",
27
+ "serialization",
28
+ "typescript",
29
+ "javascript",
30
+ "leancode"
31
+ ],
32
+ "author": {
33
+ "name": "LeanCode",
34
+ "url": "https://leancode.co"
35
+ },
36
+ "files": [
37
+ "dist",
38
+ "README.md",
39
+ "CHANGELOG.md"
40
+ ],
41
+ "sideEffects": false,
5
42
  "exports": {
6
43
  "./package.json": "./package.json",
7
44
  ".": {
8
45
  "module": "./index.esm.js",
9
- "types": "./index.esm.d.ts",
46
+ "types": "./index.d.ts",
10
47
  "import": "./index.cjs.mjs",
11
48
  "default": "./index.cjs.js"
12
49
  }
13
50
  },
14
51
  "module": "./index.esm.js",
15
52
  "main": "./index.cjs.js",
16
- "types": "./index.esm.d.ts"
53
+ "types": "./index.d.ts"
17
54
  }
package/index.cjs.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./src/index";
@@ -1 +0,0 @@
1
- exports._default = require('./index.cjs.js').default;
package/index.cjs.js DELETED
@@ -1,2 +0,0 @@
1
- 'use strict';
2
-
package/index.cjs.mjs DELETED
@@ -1,2 +0,0 @@
1
- export * from './index.cjs.js';
2
- export { _default as default } from './index.cjs.default.js';
package/index.esm.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./src/index";
package/index.esm.js DELETED
@@ -1 +0,0 @@
1
-
package/src/index.d.ts DELETED
@@ -1,21 +0,0 @@
1
- declare class AD {
2
- private _;
3
- }
4
- declare class ADT {
5
- private _;
6
- }
7
- declare class ATS {
8
- private _;
9
- }
10
- declare class AT {
11
- private _;
12
- }
13
- declare class ADO {
14
- private _;
15
- }
16
- export type ApiDateOnly = AD;
17
- export type ApiDateTime = ADT;
18
- export type ApiTimeSpan = ATS;
19
- export type ApiTimeOnly = AT;
20
- export type ApiDateTimeOffset = ADO;
21
- export {};