Skip to content

Add Beachball to Repo #2 #2113

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

Merged
merged 23 commits into from
Aug 8, 2020
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions .beachballrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"branch": "dev",
"changehint": "Need to run the following command before merging this PR: npm run beachball:change"
}
25 changes: 25 additions & 0 deletions .github/workflows/beachball-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow will do a clean install of node dependencies at the root and check that a beachball change file has been committed.
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Beachball Check

on:
pull_request:
branches: [ dev ]

jobs:
build:
runs-on: ubuntu-latest
if: (github.repository == 'AzureAD/microsoft-authentication-library-for-js') && (github.event.pull_request.head.repo.full_name == github.repository)
env:
BEACHBALL: 1
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run beachball:check
25 changes: 25 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: npm Publish

on:
push:
branches:
- master

jobs:
publish-npm:
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
with:
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run beachball:publish
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "updating files for automated release steps",
"packageName": "@azure/msal-angular",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-07T21:18:56.830Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "Add beachball config",
"packageName": "@azure/msal-angularjs",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-06T20:11:19.072Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "Add beachball config",
"packageName": "@azure/msal-browser",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-06T20:11:26.311Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "updating files for automated release steps",
"packageName": "@azure/msal-common",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-07T21:19:00.195Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "updating files for automated release steps",
"packageName": "@azure/msal-node",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-07T21:19:04.562Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "updating files for automated release steps",
"packageName": "@azure/msal-node-extensions",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-07T21:26:31.889Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "Add beachball config",
"packageName": "@azuread/msal-react-native-android-poc",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-06T20:11:11.723Z"
}
8 changes: 8 additions & 0 deletions change/msal-2020-08-07-14-30-10-beachball-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "updating files for automated release steps",
"packageName": "msal",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-07T21:30:10.273Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "add beachball config",
"packageName": "msal-node-auth-code",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-06T20:11:44.091Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "add beachball config",
"packageName": "msal-node-device-code",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-06T20:11:49.625Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "add beachball config",
"packageName": "msal-node-extensions-sample",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-06T20:11:39.923Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "Add beachball config",
"packageName": "msal-node-refresh-token",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-06T20:11:54.926Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "Add beachball config",
"packageName": "msal-node-silent-flow",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-06T20:11:59.743Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "add beachball config",
"packageName": "typescript-test-app-2.0",
"email": "[email protected]",
"dependentChangeType": "none",
"date": "2020-08-06T20:11:33.956Z"
}
3 changes: 3 additions & 0 deletions experimental/msal-electron-proof-of-concept/.beachballrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"shouldPublish": false
}
3 changes: 3 additions & 0 deletions experimental/msal-react-native-android-poc/.beachballrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"shouldPublish": false
}
1 change: 1 addition & 0 deletions experimental/msal-react-native-android-poc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"title": "MSALModule",
"version": "1.0.5",
"main": "index.js",
"private": true,
"files": [
"README.md",
"android",
Expand Down
6 changes: 6 additions & 0 deletions extensions/msal-node-extensions/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Change Log - @azure/msal-node-extensions

This log was last generated on Fri, 07 Aug 2020 21:19:23 GMT and should not be manually modified.

<!-- Start content -->

# 1.0.0-alpha.2
- Fix issue where binding.gyp was not being uploaded to npm

Expand Down
6 changes: 5 additions & 1 deletion lib/msal-angular/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
# Change Log - @azure/msal-angular

This log was last generated on Fri, 07 Aug 2020 21:19:23 GMT and should not be manually modified.

<!-- Start content -->

## 1.0.0

Expand Down
3 changes: 3 additions & 0 deletions lib/msal-angularjs/.beachballrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"shouldPublish": false
}
6 changes: 6 additions & 0 deletions lib/msal-browser/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Change Log - @azure/msal-common

This log was last generated on Fri, 07 Aug 2020 21:19:23 GMT and should not be manually modified.

<!-- Start content -->

# 2.0.1
## Breaking Changes
* None
Expand Down
2 changes: 1 addition & 1 deletion lib/msal-browser/src/app/PublicClientApplication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export class PublicClientApplication implements IPublicClientApplication {
const msalFrame = await silentHandler.initiateAuthRequest(navigateUrl, authCodeRequest, userRequestScopes);
// Monitor the window for the hash. Return the string value and close the popup when the hash is received. Default timeout is 60 seconds.
const hash = await silentHandler.monitorIframeForHash(msalFrame, this.config.system.iframeHashTimeout);
// Handle response from hash string.
// Handle response from hash string
return silentHandler.handleCodeResponse(hash);
}

Expand Down
6 changes: 6 additions & 0 deletions lib/msal-common/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Change Log - @azure/msal-common

This log was last generated on Fri, 07 Aug 2020 21:19:23 GMT and should not be manually modified.

<!-- Start content -->

# 1.1.0
## Breaking Changes
- None
Expand Down
6 changes: 6 additions & 0 deletions lib/msal-core/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Change Log - msal

This log was last generated on Fri, 07 Aug 2020 21:19:23 GMT and should not be manually modified.

<!-- Start content -->

# 1.3.4

## Bugs
Expand Down
6 changes: 6 additions & 0 deletions lib/msal-node/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Change Log - @azure/msal-node

This log was last generated on Fri, 07 Aug 2020 21:19:23 GMT and should not be manually modified.

<!-- Start content -->

# 1.0.0-alpha.4
- Add confidential client support (#2023)

Expand Down
Loading