@fuzo/soccer-board 0.2.0-alpha.1 → 0.2.0-alpha.2
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 +12 -22
- package/fesm2022/fuzo-soccer-board.mjs +323 -103
- package/fesm2022/fuzo-soccer-board.mjs.map +1 -1
- package/package.json +1 -1
- package/types/fuzo-soccer-board.d.ts +28 -6
package/README.md
CHANGED
|
@@ -318,33 +318,23 @@ Make sure player photos are accessible and CORS is configured correctly if loadi
|
|
|
318
318
|
|
|
319
319
|
## 💻 Local Development
|
|
320
320
|
|
|
321
|
-
If you want to use the library locally in your project during development (to test changes before publishing),
|
|
322
|
-
|
|
323
|
-
**Quick Start:**
|
|
321
|
+
If you want to use the library locally in your project during development (to test changes before publishing), you can use the `file:` protocol in your `package.json`:
|
|
324
322
|
|
|
325
323
|
```bash
|
|
326
|
-
#
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
cd soccer-board-angular
|
|
336
|
-
npm run build # Rebuild the library
|
|
337
|
-
|
|
338
|
-
# 4. When ready to publish:
|
|
339
|
-
cd /your/project
|
|
340
|
-
npm unlink @fuzo/soccer-board
|
|
341
|
-
cd soccer-board-angular
|
|
342
|
-
npm publish --access public
|
|
324
|
+
# In your project's package.json, add:
|
|
325
|
+
{
|
|
326
|
+
"dependencies": {
|
|
327
|
+
"@fuzo/soccer-board": "file:/absolute/path/to/soccer-board-workspace/dist/soccer-board-angular"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
# Then install:
|
|
332
|
+
npm install
|
|
343
333
|
```
|
|
344
334
|
|
|
345
|
-
|
|
335
|
+
**Note:** After making changes to the library, rebuild it (`npm run build` in the library directory) and reinstall in your project (`npm install`) to see the changes.
|
|
346
336
|
|
|
347
|
-
|
|
337
|
+
For more advanced local development options (including npm link), see the source repository's documentation.
|
|
348
338
|
|
|
349
339
|
## 🤝 Contributing
|
|
350
340
|
|