temporal-fmt 0.8.8 → 0.8.81
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 +2 -2
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -482,8 +482,8 @@ test` locally will pass even with a broken `vitest/` suite.
|
|
|
482
482
|
|
|
483
483
|
## Related tools
|
|
484
484
|
|
|
485
|
-
- [`eslint-plugin-temporal-fmt`](https://
|
|
486
|
-
- [`temporal-fmt-codemod`](https://
|
|
485
|
+
- [`eslint-plugin-temporal-fmt`](https://www.npmjs.com/package/eslint-plugin-temporal-fmt) — lints format strings for common mistakes (e.g. `hh` without `a`)
|
|
486
|
+
- [`temporal-fmt-codemod`](https://www.npmjs.com/package/temporal-fmt-codemod) — one-time migration tool that rewrites dayjs/date-fns calls to temporal-fmt
|
|
487
487
|
|
|
488
488
|
## License
|
|
489
489
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "temporal-fmt",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.81",
|
|
4
4
|
"description": "Format Temporal.PlainDate/PlainDateTime/PlainTime/ZonedDateTime objects using date-fns-style token strings.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
"test:coverage": "c8 --include=\"dist/index.js\" --include=\"dist/index.cjs\" --check-coverage --lines 90 --branches 75 --functions 88 -r text node scripts/run-tests.mjs",
|
|
32
32
|
"test:types": "vitest run --typecheck",
|
|
33
33
|
"test:pack": "attw --pack . && publint .",
|
|
34
|
-
"test:
|
|
34
|
+
"test:smoke": "node smoke-test/run.mjs",
|
|
35
|
+
"test:all": "npm run build && npm test && npm run test:coverage && npm run test:unit && npm run test:types && npm run test:pack && npm run test:smoke",
|
|
35
36
|
"prepublishOnly": "npm run build && npm test"
|
|
36
37
|
},
|
|
37
38
|
"keywords": [
|
|
@@ -72,4 +73,4 @@
|
|
|
72
73
|
"allowScripts": {
|
|
73
74
|
"esbuild@0.28.1": true
|
|
74
75
|
}
|
|
75
|
-
}
|
|
76
|
+
}
|