@wishbone-media/spark 0.3.0 → 0.4.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 +21 -0
- package/dist/index.js +295 -304
- package/package.json +12 -9
package/README.md
CHANGED
|
@@ -2,8 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
## Dev notes
|
|
4
4
|
|
|
5
|
+
```
|
|
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
|
+
alias spark.public='pnpm remove @wishbone-media/spark && pnpm i @wishbone-media/spark && rm -rf node_modules && pnpm i'
|
|
13
|
+
```
|
|
14
|
+
|
|
5
15
|
```
|
|
6
16
|
# Fully rebuild the package so it can be read by other local packages
|
|
7
17
|
# spark.rebuild
|
|
8
18
|
rm -rf node_modules && pnpm i && pnpm build
|
|
9
19
|
```
|
|
20
|
+
|
|
21
|
+
## Release new build
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
# First commit and push
|
|
25
|
+
|
|
26
|
+
# Then relelease:
|
|
27
|
+
pn release:patch
|
|
28
|
+
pn release:minor
|
|
29
|
+
pn release:major
|
|
30
|
+
```
|