math-wizard 1.0.2 → 1.0.4

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Mohammed Moaid
3
+ Copyright (c) 2026 Mohammad Moaid
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -19,7 +19,7 @@ npm install math-wizard
19
19
  ## Usage
20
20
 
21
21
  ```ts
22
- import { add } from 'math-wizard';
22
+ import { add } from "math-wizard";
23
23
 
24
24
  const result = add(2, 3);
25
25
  console.log(result); // 5
@@ -30,7 +30,7 @@ console.log(result); // 5
30
30
  ### Basic addition
31
31
 
32
32
  ```ts
33
- import { add } from 'math-wizard';
33
+ import { add } from "math-wizard";
34
34
 
35
35
  console.log(add(10, 15));
36
36
  // Output: 25
@@ -39,7 +39,7 @@ console.log(add(10, 15));
39
39
  ### Using the function in a TypeScript file
40
40
 
41
41
  ```ts
42
- import { add } from 'math-wizard';
42
+ import { add } from "math-wizard";
43
43
 
44
44
  function sumValues(a: number, b: number) {
45
45
  return add(a, b);
@@ -62,3 +62,6 @@ Adds two numeric values and returns the sum.
62
62
  ## License
63
63
 
64
64
  MIT
65
+
66
+ 🔍 **Browse the source**: [github.com/yourusername/math-wizard](https://github.com/yourusername/math-wizard)
67
+ 🐛 **Report an issue**: [github.com/yourusername/math-wizard/issues](https://github.com/yourusername/math-wizard/issues)
package/package.json CHANGED
@@ -1,16 +1,26 @@
1
1
  {
2
2
  "name": "math-wizard",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "a package that enables you to add numbers",
5
5
  "scripts": {
6
6
  "build": "tsc",
7
- "prepublish": "npm run build"
7
+ "prepublish": "npm run build",
8
+ "release:patch": "npm version patch && npm run build && npm publish --access public",
9
+ "release:minor": "npm version minor && npm run build && npm publish --access public",
10
+ "release:major": "npm version major && npm run build && npm publish --access public"
8
11
  },
9
12
  "keywords": [
10
13
  "add",
11
14
  "mathematics",
12
15
  "react addition package"
13
16
  ],
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/moe-moaid/math-wizard.git"
20
+ },
21
+ "bugs": {
22
+ "url": "https://github.com/moe-moaid/math-wizard/issues"
23
+ },
14
24
  "author": "Moe",
15
25
  "license": "MIT",
16
26
  "type": "module",