@lbd-sh/date-tz 1.0.7 → 1.0.8
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 +21 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,11 +14,12 @@
|
|
|
14
14
|
6. [Core Concepts & Recipes](#core-concepts--recipes)
|
|
15
15
|
7. [Daylight Saving Time Deep Dive](#daylight-saving-time-deep-dive)
|
|
16
16
|
8. [Real-World Playbook](#real-world-playbook)
|
|
17
|
-
9. [
|
|
18
|
-
10. [
|
|
19
|
-
11. [
|
|
20
|
-
12. [
|
|
21
|
-
13. [
|
|
17
|
+
9. [Build & Distribution](#build--distribution)
|
|
18
|
+
10. [TypeScript & Tooling](#typescript--tooling)
|
|
19
|
+
11. [Performance Tips](#performance-tips)
|
|
20
|
+
12. [FAQ & Troubleshooting](#faq--troubleshooting)
|
|
21
|
+
13. [Contributing](#contributing)
|
|
22
|
+
14. [License](#license)
|
|
22
23
|
|
|
23
24
|
---
|
|
24
25
|
|
|
@@ -283,6 +284,21 @@ describe('billing cutoff', () => {
|
|
|
283
284
|
|
|
284
285
|
---
|
|
285
286
|
|
|
287
|
+
## Build & Distribution
|
|
288
|
+
|
|
289
|
+
- The compiled CommonJS bundle plus declarations live in `dist/` (`index.js`, `index.d.ts`, maps, and helpers).
|
|
290
|
+
- `package.json` already points `main` and `types` at the compiled output, so consumers never need the TypeScript sources.
|
|
291
|
+
- Rebuild locally before opening a PR:
|
|
292
|
+
|
|
293
|
+
```bash
|
|
294
|
+
npm ci
|
|
295
|
+
npm run build
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
- Publishing to npm is handled by the maintainers. Contributors can stop at the build step and submit a pull request.
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
|
|
286
302
|
## TypeScript & Tooling
|
|
287
303
|
|
|
288
304
|
- `IDateTz` describes constructor-friendly shapes.
|