schematic-symbols 0.0.31 → 0.0.33
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 +2 -1
- package/dist/index.js +238 -162
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/boxresistor_horz.ts +11 -28
package/README.md
CHANGED
@@ -30,7 +30,8 @@ console.log(resize(symbols.resistor, { width: 100 }).size)
|
|
30
30
|
1. Add a new svg file to the `./assets/symbols` directory (copy volt_meter.svg to a new file named `<symbol_name>.svg`)
|
31
31
|
2. Run `bun run generate` to generate the new symbol
|
32
32
|
3. Run `bun run dev` to start the dev server and verify the new symbol
|
33
|
-
4. Run `bun run
|
33
|
+
4. Run `bun run format` to format code before committing
|
34
|
+
5. Run `bun run build` to build all the symbols into the `./generated` directory
|
34
35
|
|
35
36
|
Here's an example of a generated symbol file:
|
36
37
|
|