@almighty-shogun/prototype-extensions 1.4.2 → 1.5.0
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 +0 -17
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,23 +5,6 @@ A small package that adds extensions to existing prototypes like string, array,
|
|
|
5
5
|
## 📃 Prerequisites
|
|
6
6
|
- **[Node.js](https://nodejs.org/en/)**: >= v23.11.1
|
|
7
7
|
|
|
8
|
-
## 💻 Installation
|
|
9
|
-
|
|
10
|
-
### Step 1
|
|
11
|
-
Install the package using your package manager of choice.
|
|
12
|
-
```shell
|
|
13
|
-
bun add @almighty-shogun/prototype-extensions
|
|
14
|
-
yarn add @almighty-shogun/prototype-extensions
|
|
15
|
-
npm install @almighty-shogun/prototype-extensions
|
|
16
|
-
pnpm install @almighty-shogun/prototype-extensions
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
### Step 2
|
|
20
|
-
Import the package in the main file of your project.
|
|
21
|
-
```ts
|
|
22
|
-
import '@almighty-shogun/prototype-extensions'
|
|
23
|
-
```
|
|
24
|
-
|
|
25
8
|
## 📦 Building
|
|
26
9
|
- Use the command `bun install` in the root directory to install the required dependencies.
|
|
27
10
|
- Run `bun --cwd packages/prototype-extensions build` to build the package.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almighty-shogun/prototype-extensions",
|
|
3
3
|
"description": "A small package that adds extensions to existing prototypes like string, array, etc.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"main": "./dist/index.js",
|
|
25
25
|
"types": "./dist/index.d.ts",
|
|
26
26
|
"typings": "./dist/index.d.ts",
|
|
27
|
-
"sideEffects":
|
|
27
|
+
"sideEffects": true,
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
30
|
"types": "./dist/index.d.ts",
|