@sistent/sistent 0.14.199 → 0.14.201
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 +11 -9
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ npm install <path-to-sistent-on-local-machine>
|
|
|
94
94
|
This will update your Sistent dependency to:
|
|
95
95
|
|
|
96
96
|
```
|
|
97
|
-
"@
|
|
97
|
+
"@sistent/sistent" : "file:../../sistent"
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
2. Build your local Sistent fork
|
|
@@ -117,12 +117,13 @@ Now, your project should reflect changes from your local Sistent fork.
|
|
|
117
117
|
If you want to remove the local Sistent fork from your project, run:
|
|
118
118
|
|
|
119
119
|
```
|
|
120
|
-
npm uninstall @
|
|
120
|
+
npm uninstall @sistent/sistent
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
This will remove the local Sistent package from your project. You will have to reinstall the official package using this command:
|
|
124
|
+
|
|
124
125
|
```
|
|
125
|
-
npm install @
|
|
126
|
+
npm install @sistent/sistent
|
|
126
127
|
```
|
|
127
128
|
|
|
128
129
|
#### Method 2: Using `npm link`
|
|
@@ -140,7 +141,7 @@ This creates a global symlink which points to the local Sistent fork.
|
|
|
140
141
|
2. Link the local Sistent fork to your project
|
|
141
142
|
|
|
142
143
|
```
|
|
143
|
-
npm link @
|
|
144
|
+
npm link @sistent/sistent
|
|
144
145
|
```
|
|
145
146
|
|
|
146
147
|
3.Build your local Sistent fork
|
|
@@ -168,24 +169,25 @@ To verify that the correct link has been created, run this command:
|
|
|
168
169
|
npm ls -g
|
|
169
170
|
|
|
170
171
|
# Expected output:
|
|
171
|
-
# ├── @
|
|
172
|
+
# ├── @sistent/sistent@0.14.11 -> ./../../../../<path-to-local-sistent-fork>
|
|
172
173
|
```
|
|
173
174
|
|
|
174
175
|
To verify that the created link is correctly used in your project, run this command in the directory where you linked the Sistent fork:
|
|
175
176
|
|
|
176
177
|
```
|
|
177
|
-
ls -l node_modules/@
|
|
178
|
+
ls -l node_modules/@sistent/sistent
|
|
178
179
|
|
|
179
180
|
# Expected output:
|
|
180
|
-
# node_modules/@
|
|
181
|
+
# node_modules/@sistent/sistent -> ../../../../../sistent
|
|
181
182
|
```
|
|
182
183
|
|
|
183
184
|
To revert back to the official package, first unlink the package, then install the official package using the following commands:
|
|
184
185
|
|
|
185
186
|
```
|
|
186
|
-
npm unlink @
|
|
187
|
-
npm install @
|
|
187
|
+
npm unlink @sistent/sistent
|
|
188
|
+
npm install @sistent/sistent
|
|
188
189
|
```
|
|
190
|
+
|
|
189
191
|
> [!NOTE]
|
|
190
192
|
> Avoid using `type any` in your code. Always specify explicit types to ensure type safety and maintainability.
|
|
191
193
|
|