@fuzo/soccer-board 0.1.0-alpha.2 → 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 CHANGED
@@ -22,7 +22,7 @@ A beautiful, interactive soccer field component for Angular applications. Create
22
22
  ## 📦 Installation
23
23
 
24
24
  ```bash
25
- npm install fuzo-soccer-board
25
+ npm install @fuzo/soccer-board
26
26
  ```
27
27
 
28
28
  That's it! The library includes `html2canvas-pro` as a dependency for PNG export functionality (supports modern CSS color functions like `oklab`).
@@ -32,7 +32,7 @@ That's it! The library includes `html2canvas-pro` as a dependency for PNG export
32
32
  ### 1. Import the Component
33
33
 
34
34
  ```typescript
35
- import { SoccerBoardComponent, SoccerBoardPlayer, SoccerBoardOrientation, SoccerBoardTeamSide } from 'fuzo-soccer-board';
35
+ import { SoccerBoardComponent, SoccerBoardPlayer, SoccerBoardOrientation, SoccerBoardTeamSide } from '@fuzo/soccer-board';
36
36
 
37
37
  @Component({
38
38
  selector: 'app-my-component',
@@ -316,6 +316,26 @@ Make sure player photos are accessible and CORS is configured correctly if loadi
316
316
  - Use `[fit]="SoccerBoardFitMode.Contain"` for responsive behavior
317
317
  - Ensure parent container has defined dimensions
318
318
 
319
+ ## 💻 Local Development
320
+
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`:
322
+
323
+ ```bash
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
333
+ ```
334
+
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.
336
+
337
+ For more advanced local development options (including npm link), see the source repository's documentation.
338
+
319
339
  ## 🤝 Contributing
320
340
 
321
341
  Contributions are welcome! Please feel free to submit a Pull Request.