Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align nuget and npm package versions #1265

Merged
merged 5 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Align nuget and npm package versions",
"packageName": "@ni/nimble-blazor",
"email": "rajsite@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Align nuget and npm package versions",
"packageName": "@ni/nimble-tokens",
"email": "rajsite@users.noreply.github.com",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion packages/nimble-blazor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"format:js": "eslint . --fix",
"test": "dotnet test -c Release",
"pack": "cross-env-shell dotnet pack NimbleBlazor -c Release -p:PackageVersion=$npm_package_version --output dist",
"invoke-publish": "npm run invoke-publish:nuget && npm run invoke-publish:npm -- ",
"invoke-publish": "npm run pack && npm run invoke-publish:nuget && npm run invoke-publish:npm -- ",
"invoke-publish:nuget": "cross-env-shell dotnet nuget push \"dist/*.nupkg\" -k $NUGET_SECRET_TOKEN -s \"https://api.nuget.org/v3/index.json\"",
"invoke-publish:npm": "echo \"noop command to swallow npm args\"",
"copy-resources": "node build/copyNimbleResources.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/nimble-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"pack": "npm run pack:npm && npm run pack:nuget",
"pack:npm": "npm pack",
"pack:nuget": "cross-env-shell dotnet pack ./NimbleTokens --configuration Release -p:PackageVersion=$npm_package_version",
"invoke-publish": "npm run invoke-publish:nuget && npm run invoke-publish:npm -- ",
"invoke-publish": "npm run pack && npm run invoke-publish:nuget && npm run invoke-publish:npm -- ",
"invoke-publish:nuget": "cross-env-shell dotnet nuget push \"NimbleTokens/bin/Release/*.nupkg\" -k $NUGET_SECRET_TOKEN -s \"https://api.nuget.org/v3/index.json\"",
rajsite marked this conversation as resolved.
Show resolved Hide resolved
"invoke-publish:npm": "npm publish"
},
Expand Down