temporal-fmt 0.8.7 → 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 -9
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -482,15 +482,8 @@ test` locally will pass even with a broken `vitest/` suite.
|
|
|
482
482
|
|
|
483
483
|
## Related tools
|
|
484
484
|
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
Flipped the hell out, yanked the wrong build by mistake, republished it clean, and now npm's anti-malware lockout thinks I'm a supply chain attacker for the next 24 hours — yes, I'm unpatient crap too, so clone it and build it yourself, it's not some multi-hour C++ compile, just a quick build. This library's unaffected btw, bcz I actually didn't screw this one up hahaha, ha, ha ....... sorry nobody laughed.
|
|
488
|
-
|
|
489
|
-
(will pull this line once it's back up)
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
- [`eslint-plugin-temporal-fmt`](https://github.com/DirazCoder/eslint-plugin-temporal-fmt) — lints format strings for common mistakes (e.g. `hh` without `a`)
|
|
493
|
-
- [`temporal-fmt-codemod`](https://github.com/DirazCoder/temporal-fmt-codemod) — one-time migration tool that rewrites dayjs/date-fns calls to temporal-fmt
|
|
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
|
|
494
487
|
|
|
495
488
|
## License
|
|
496
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
|
+
}
|