@stacksjs/datetime 0.50.0 → 0.52.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/README.md +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.mjs +5 -2
- package/package.json +12 -13
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ pnpm test
|
|
|
36
36
|
|
|
37
37
|
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
|
|
38
38
|
|
|
39
|
-
##
|
|
39
|
+
## 🚜 Contributing
|
|
40
40
|
|
|
41
41
|
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
|
|
42
42
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useNow, useDateFormat } from '@stacksjs/utils';
|
|
2
|
+
export { useDateFormat, useNow } from '@stacksjs/utils';
|
|
3
|
+
|
|
2
4
|
declare const now: typeof useNow;
|
|
3
5
|
declare const dateFormat: typeof useDateFormat;
|
|
4
|
-
|
|
6
|
+
|
|
7
|
+
export { dateFormat, now };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useNow, useDateFormat } from '@stacksjs/utils';
|
|
2
|
+
export { useDateFormat, useNow } from '@stacksjs/utils';
|
|
3
|
+
|
|
2
4
|
const now = useNow;
|
|
3
5
|
const dateFormat = useDateFormat;
|
|
4
|
-
|
|
6
|
+
|
|
7
|
+
export { dateFormat, now };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/datetime",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@
|
|
4
|
+
"version": "0.52.0",
|
|
5
|
+
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks datetime helpers.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -24,7 +24,12 @@
|
|
|
24
24
|
"composables",
|
|
25
25
|
"stacks"
|
|
26
26
|
],
|
|
27
|
-
"
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"import": "./dist/index.mjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
28
33
|
"module": "dist/index.mjs",
|
|
29
34
|
"types": "dist/index.d.ts",
|
|
30
35
|
"contributors": [
|
|
@@ -34,21 +39,15 @@
|
|
|
34
39
|
"dist",
|
|
35
40
|
"README.md"
|
|
36
41
|
],
|
|
37
|
-
"engines": {
|
|
38
|
-
"node": ">=v18.13.0",
|
|
39
|
-
"pnpm": ">=7.25.1"
|
|
40
|
-
},
|
|
41
42
|
"peerDependencies": {
|
|
42
|
-
"@stacksjs/utils": "0.
|
|
43
|
+
"@stacksjs/utils": "0.52.0"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
|
-
"
|
|
46
|
-
"typescript": "^4.9.4",
|
|
47
|
-
"@stacksjs/testing": "0.50.0"
|
|
46
|
+
"@stacksjs/development": "0.52.0"
|
|
48
47
|
},
|
|
49
48
|
"scripts": {
|
|
50
|
-
"build": "
|
|
51
|
-
"dev": "
|
|
49
|
+
"build": "unbuild",
|
|
50
|
+
"dev": "unbuild --stub",
|
|
52
51
|
"typecheck": "tsc --noEmit"
|
|
53
52
|
}
|
|
54
53
|
}
|