@awadheshs109/billing 1.0.29 → 1.0.30

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/dist/index.d.mts CHANGED
@@ -103,4 +103,6 @@ declare class InvoiceGenerator {
103
103
  static toHTML(invoice: any): string;
104
104
  }
105
105
 
106
- export { Billing, BillingError, type BillingSummary, type CurrencyType, type Customer, type Invoice, InvoiceCalculator, InvoiceError, InvoiceGenerator, type InvoiceItem, TAX_RATES, type Tax, ValidationError, calculateDiscount, calculateGST, calculateTax, formatCurrency, formatDate, getCurrentTimestamp, isValidEmail, isValidGST, isValidPhone };
106
+ declare const VERSION = "1.1.0";
107
+
108
+ export { Billing, BillingError, type BillingSummary, type CurrencyType, type Customer, type Invoice, InvoiceCalculator, InvoiceError, InvoiceGenerator, type InvoiceItem, TAX_RATES, type Tax, VERSION, ValidationError, calculateDiscount, calculateGST, calculateTax, formatCurrency, formatDate, getCurrentTimestamp, isValidEmail, isValidGST, isValidPhone };
package/dist/index.d.ts CHANGED
@@ -103,4 +103,6 @@ declare class InvoiceGenerator {
103
103
  static toHTML(invoice: any): string;
104
104
  }
105
105
 
106
- export { Billing, BillingError, type BillingSummary, type CurrencyType, type Customer, type Invoice, InvoiceCalculator, InvoiceError, InvoiceGenerator, type InvoiceItem, TAX_RATES, type Tax, ValidationError, calculateDiscount, calculateGST, calculateTax, formatCurrency, formatDate, getCurrentTimestamp, isValidEmail, isValidGST, isValidPhone };
106
+ declare const VERSION = "1.1.0";
107
+
108
+ export { Billing, BillingError, type BillingSummary, type CurrencyType, type Customer, type Invoice, InvoiceCalculator, InvoiceError, InvoiceGenerator, type InvoiceItem, TAX_RATES, type Tax, VERSION, ValidationError, calculateDiscount, calculateGST, calculateTax, formatCurrency, formatDate, getCurrentTimestamp, isValidEmail, isValidGST, isValidPhone };
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ __export(index_exports, {
26
26
  InvoiceError: () => InvoiceError,
27
27
  InvoiceGenerator: () => InvoiceGenerator,
28
28
  TAX_RATES: () => TAX_RATES,
29
+ VERSION: () => VERSION,
29
30
  ValidationError: () => ValidationError,
30
31
  calculateDiscount: () => calculateDiscount,
31
32
  calculateGST: () => calculateGST,
@@ -325,6 +326,9 @@ var InvoiceGenerator = class {
325
326
  return HtmlExporter.generate(invoice);
326
327
  }
327
328
  };
329
+
330
+ // src/version.ts
331
+ var VERSION = "1.1.0";
328
332
  // Annotate the CommonJS export names for ESM import in node:
329
333
  0 && (module.exports = {
330
334
  Billing,
@@ -333,6 +337,7 @@ var InvoiceGenerator = class {
333
337
  InvoiceError,
334
338
  InvoiceGenerator,
335
339
  TAX_RATES,
340
+ VERSION,
336
341
  ValidationError,
337
342
  calculateDiscount,
338
343
  calculateGST,
package/dist/index.mjs CHANGED
@@ -284,6 +284,9 @@ var InvoiceGenerator = class {
284
284
  return HtmlExporter.generate(invoice);
285
285
  }
286
286
  };
287
+
288
+ // src/version.ts
289
+ var VERSION = "1.1.0";
287
290
  export {
288
291
  Billing,
289
292
  BillingError,
@@ -291,6 +294,7 @@ export {
291
294
  InvoiceError,
292
295
  InvoiceGenerator,
293
296
  TAX_RATES,
297
+ VERSION,
294
298
  ValidationError,
295
299
  calculateDiscount,
296
300
  calculateGST,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awadheshs109/billing",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "Framework-independent TypeScript billing library for Angular, React, Vue, Node.js and JavaScript projects",
5
5
  "author": "Awadhesh Sharma",
6
6
  "license": "MIT",
@@ -23,7 +23,8 @@
23
23
  "dev": "tsup src/index.ts --watch",
24
24
  "test": "vitest",
25
25
  "test:run": "vitest run",
26
- "lint": "eslint ."
26
+ "lint": "eslint .",
27
+ "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
27
28
  },
28
29
  "keywords": [
29
30
  "billing",
@@ -47,6 +48,7 @@
47
48
  "homepage": "https://github.com/Awadheshs109",
48
49
  "devDependencies": {
49
50
  "@types/node": "^25.9.1",
51
+ "conventional-changelog-cli": "^5.0.0",
50
52
  "eslint": "^10.4.0",
51
53
  "tsup": "^8.5.1",
52
54
  "tsx": "^4.22.3",