diff --git a/src/BlazorRealm/(SET b/src/BlazorRealm/(SET
new file mode 100644
index 0000000..e6869a6
--- /dev/null
+++ b/src/BlazorRealm/(SET
@@ -0,0 +1 @@
+hello TEST=
diff --git a/src/BlazorRealm/.gitignore b/src/BlazorRealm/.gitignore
new file mode 100644
index 0000000..e69de29
diff --git a/src/BlazorRealm/BlazorRealm.csproj b/src/BlazorRealm/BlazorRealm.csproj
index 4eebbc3..808d74c 100644
--- a/src/BlazorRealm/BlazorRealm.csproj
+++ b/src/BlazorRealm/BlazorRealm.csproj
@@ -7,7 +7,7 @@
false
7.3
Blazor.Realm
- 0.3.1
+ 0.2.0
dworthen
Realm
Redux state management for Blazor.net.
diff --git a/src/BlazorRealm/RealmComponent.cs b/src/BlazorRealm/RealmComponent.cs
index c720f90..c55c7c4 100644
--- a/src/BlazorRealm/RealmComponent.cs
+++ b/src/BlazorRealm/RealmComponent.cs
@@ -26,7 +26,7 @@ protected override void OnInit()
Store.Change += OnChangeHandler;
}
- public virtual void OnChangeHandler(object sender, EventArgs e)
+ protected virtual void OnChangeHandler(object sender, EventArgs e)
{
StateHasChanged();
}
diff --git a/src/BlazorRealm/package-lock.json b/src/BlazorRealm/package-lock.json
index 782bc31..a86f498 100644
--- a/src/BlazorRealm/package-lock.json
+++ b/src/BlazorRealm/package-lock.json
@@ -481,6 +481,16 @@
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
"dev": true
},
+ "cross-env": {
+ "version": "5.1.6",
+ "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-5.1.6.tgz",
+ "integrity": "sha512-VWTDq+G4v383SzgRS7jsAVWqEWF0aKZpDz1GVjhONvPRgHB1LnxP2sXUVFKbykHkPSnfRKS8YdiDevWFwZmQ9g==",
+ "dev": true,
+ "requires": {
+ "cross-spawn": "5.1.0",
+ "is-windows": "1.0.2"
+ }
+ },
"cross-spawn": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz",
@@ -951,6 +961,12 @@
"integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=",
"dev": true
},
+ "is-windows": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
+ "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",
+ "dev": true
+ },
"isarray": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
diff --git a/src/BlazorRealm/package.json b/src/BlazorRealm/package.json
index eadb517..1bddfd5 100644
--- a/src/BlazorRealm/package.json
+++ b/src/BlazorRealm/package.json
@@ -1,11 +1,14 @@
{
"name": "blazor-realm",
- "version": "0.3.0",
+ "version": "0.3.1",
"description": "Redux state management for Blazor.net.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
- "release": "standard-version -a"
+ "release": "standard-version -a -t blazor-realm@",
+ "pack": "dotnet pack -o nupkgs/",
+ "prepack": "rimraf nupkgs/*",
+ "update-nuget-version": "cross-env replace \"().*()\" \"$npm_package_version\" ./BlazorRealm.csproj"
},
"repository": {
"type": "git",
@@ -18,14 +21,14 @@
},
"homepage": "https://github.com/dworthen/BlazorRealm#readme",
"devDependencies": {
+ "cross-env": "^5.1.6",
"replace": "^1.0.0",
"rimraf": "^2.6.2",
"standard-version": "^4.4.0"
},
"standard-version": {
"scripts": {
- "postbump": "replace \"().*()\" \"$1%npm_package_version%$2\" ./BlazorRealm.csproj && git add ./BlazorRealm.csproj && echo %npm_package_version%",
- "pretag": "echo blazor-realm@%npm_package_version%"
+ "postbump": "npm run update-nuget-version && git add ./BlazorRealm.csproj"
}
}
-}
+}
\ No newline at end of file