@backstage/plugin-auth-backend-module-github-provider 0.1.0-next.2 → 0.1.0
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/CHANGELOG.md +54 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend-module-github-provider
|
|
2
2
|
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 23af27f5ce79: New module for `@backstage/plugin-auth-backend` that adds a GitHub auth provider.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 71114ac50e02: The export for the new backend system has been moved to be the `default` export.
|
|
12
|
+
|
|
13
|
+
For example, if you are currently importing the plugin using the following pattern:
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import { examplePlugin } from '@backstage/plugin-example-backend';
|
|
17
|
+
|
|
18
|
+
backend.add(examplePlugin);
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
It should be migrated to this:
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
backend.add(import('@backstage/plugin-example-backend'));
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
- @backstage/backend-common@0.19.5
|
|
29
|
+
- @backstage/plugin-auth-node@0.3.0
|
|
30
|
+
- @backstage/backend-plugin-api@0.6.3
|
|
31
|
+
|
|
32
|
+
## 0.1.0-next.3
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- 71114ac50e02: The export for the new backend system has been moved to be the `default` export.
|
|
37
|
+
|
|
38
|
+
For example, if you are currently importing the plugin using the following pattern:
|
|
39
|
+
|
|
40
|
+
```ts
|
|
41
|
+
import { examplePlugin } from '@backstage/plugin-example-backend';
|
|
42
|
+
|
|
43
|
+
backend.add(examplePlugin);
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
It should be migrated to this:
|
|
47
|
+
|
|
48
|
+
```ts
|
|
49
|
+
backend.add(import('@backstage/plugin-example-backend'));
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
- Updated dependencies
|
|
53
|
+
- @backstage/backend-plugin-api@0.6.3-next.3
|
|
54
|
+
- @backstage/backend-common@0.19.5-next.3
|
|
55
|
+
- @backstage/plugin-auth-node@0.3.0-next.3
|
|
56
|
+
|
|
3
57
|
## 0.1.0-next.2
|
|
4
58
|
|
|
5
59
|
### Patch Changes
|
package/dist/index.cjs.js
CHANGED
|
@@ -116,6 +116,6 @@ const authModuleGithubProvider = backendPluginApi.createBackendModule({
|
|
|
116
116
|
}
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
exports
|
|
119
|
+
exports["default"] = authModuleGithubProvider;
|
|
120
120
|
exports.githubAuthenticator = githubAuthenticator;
|
|
121
121
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -20,4 +20,4 @@ declare namespace githubSignInResolvers {
|
|
|
20
20
|
const usernameMatchingUserEntityName: _backstage_plugin_auth_node.SignInResolverFactory<OAuthAuthenticatorResult<PassportProfile>, unknown>;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export { authModuleGithubProvider, githubAuthenticator, githubSignInResolvers };
|
|
23
|
+
export { authModuleGithubProvider as default, githubAuthenticator, githubSignInResolvers };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-auth-backend-module-github-provider",
|
|
3
3
|
"description": "The github-provider backend module for the auth plugin.",
|
|
4
|
-
"version": "0.1.0
|
|
4
|
+
"version": "0.1.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
"postpack": "backstage-cli package postpack"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@backstage/backend-common": "^0.19.5
|
|
27
|
-
"@backstage/backend-plugin-api": "^0.6.3
|
|
28
|
-
"@backstage/plugin-auth-node": "^0.3.0
|
|
26
|
+
"@backstage/backend-common": "^0.19.5",
|
|
27
|
+
"@backstage/backend-plugin-api": "^0.6.3",
|
|
28
|
+
"@backstage/plugin-auth-node": "^0.3.0",
|
|
29
29
|
"passport-github2": "^0.1.12"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@backstage/backend-defaults": "^0.2.3
|
|
33
|
-
"@backstage/backend-test-utils": "^0.2.3
|
|
34
|
-
"@backstage/cli": "^0.22.13
|
|
35
|
-
"@backstage/plugin-auth-backend": "^0.
|
|
32
|
+
"@backstage/backend-defaults": "^0.2.3",
|
|
33
|
+
"@backstage/backend-test-utils": "^0.2.3",
|
|
34
|
+
"@backstage/cli": "^0.22.13",
|
|
35
|
+
"@backstage/plugin-auth-backend": "^0.19.0",
|
|
36
36
|
"supertest": "^6.3.3"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|