@bobfrankston/msger 0.1.9 → 0.1.10
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/package.json +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bobfrankston/msger",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Fast, lightweight, cross-platform message box - Rust-powered alternative to msgview",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -16,13 +16,14 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "npm run build:ts && npm run build:native",
|
|
18
18
|
"build:native": "cd msger-native && npm run build",
|
|
19
|
+
"build:native:all": "npm run build:native && wsl bash -c \"cd /mnt/y/dev/utils/msger/msger-native && npm run build\"",
|
|
19
20
|
"build:ts": "tsc",
|
|
20
21
|
"watch": "tsc -w",
|
|
21
22
|
"clean": "rm -rf *.js *.d.ts *.js.map bin && cd msger-native && cargo clean",
|
|
22
23
|
"test": "node test.js",
|
|
23
|
-
"prepublishOnly": "npm run build",
|
|
24
|
+
"prepublishOnly": "npm run build:ts && npm run build:native:all",
|
|
24
25
|
"prerelease:local": "git add -A && (git diff-index --quiet HEAD || git commit -m \"Pre-release commit\")",
|
|
25
|
-
"preversion": "npm run build && git add -A",
|
|
26
|
+
"preversion": "npm run build:ts && npm run build:native:all && git add -A",
|
|
26
27
|
"postversion": "git push && git push --tags",
|
|
27
28
|
"release": "npm run prerelease:local && npm version patch && npm publish",
|
|
28
29
|
"installer": "npm run release && npm install -g @bobfrankston/msger && wsl npm install -g -force @bobfrankston/msger"
|