@wishbone-media/spark 0.15.3 → 0.16.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 +18 -9
- package/dist/index.js +437 -408
- package/package.json +2 -1
- package/src/assets/css/spark-table.css +32 -2
- package/src/components/SparkTable.vue +2 -1
- package/src/plugins/fontawesome.js +9 -0
- package/src/utils/sparkTable/header.js +42 -10
package/README.md
CHANGED
|
@@ -2,18 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
## Dev notes
|
|
4
4
|
|
|
5
|
+
### Common use aliases
|
|
6
|
+
|
|
7
|
+
#### Switch to local file package of Spark for Tabula or other clone of Tabula, use for testing and dev purpose of Spark
|
|
8
|
+
```
|
|
9
|
+
alias spark.relink='pnpm add link:../spark && rm -rf node_modules && pnpm i'
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
#### Switch to actual public package of Spark for Tabula or other clone of Tabula, use before commit and push
|
|
5
13
|
```
|
|
6
|
-
# Common use aliases
|
|
7
|
-
# Rebuild, use before commit and release a new version
|
|
8
|
-
alias spark.rebuild='rm -rf node_modules && pnpm i && pnpm build'
|
|
9
|
-
# Switch to local file package of Spark for Tabula or other clone of Tabula, use for testing and dev purpose of Spark
|
|
10
|
-
alias spark.reconnect='pnpm add file:../spark && rm -rf node_modules && pnpm i'
|
|
11
|
-
# Switch to actual public package of Spark for Tabula or other clone of Tabula, use before commit and push
|
|
12
14
|
alias spark.public='pnpm remove @wishbone-media/spark && pnpm i @wishbone-media/spark && rm -rf node_modules && pnpm i'
|
|
13
15
|
```
|
|
14
16
|
|
|
17
|
+
### General development process
|
|
18
|
+
|
|
19
|
+
#### In Tabula folder
|
|
20
|
+
```
|
|
21
|
+
spark.relink # Set tabula to use symblinked local spark at (../spark) for @wishbone-media/spark
|
|
22
|
+
pnpm dev # Serves the tabula in browser
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
#### In Spark folder
|
|
15
26
|
```
|
|
16
|
-
|
|
17
|
-
# spark.rebuild
|
|
18
|
-
rm -rf node_modules && pnpm i && pnpm build
|
|
27
|
+
pnpm build --watch # Build spark on change
|
|
19
28
|
```
|