Skip to content

Commit

Permalink
fix: Update RealmComponent
Browse files Browse the repository at this point in the history
OnChangeHandler is now protected
  • Loading branch information
dworthen committed Jun 8, 2018
1 parent 5c99d05 commit ccf466d
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/BlazorRealm/(SET
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello TEST=
Empty file added src/BlazorRealm/.gitignore
Empty file.
2 changes: 1 addition & 1 deletion src/BlazorRealm/BlazorRealm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<BlazorLinkOnBuild>false</BlazorLinkOnBuild>
<LangVersion>7.3</LangVersion>
<PackageId>Blazor.Realm</PackageId>
<Version>0.3.1</Version>
<Version>0.2.0</Version>
<Authors>dworthen</Authors>
<Product>Realm</Product>
<Description>Redux state management for Blazor.net.</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/BlazorRealm/RealmComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
16 changes: 16 additions & 0 deletions src/BlazorRealm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions src/BlazorRealm/package.json
Original file line number Diff line number Diff line change
@@ -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 \"(<Version>).*(</Version>)\" \"<Version>$npm_package_version</Version>\" ./BlazorRealm.csproj"
},
"repository": {
"type": "git",
Expand All @@ -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 \"(<Version>).*(</Version>)\" \"$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"
}
}
}
}

0 comments on commit ccf466d

Please sign in to comment.