@backstage/plugin-auth-backend-module-github-provider 0.0.0-nightly-20240503021457 → 0.0.0-nightly-20240504021140

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +4 -3
  2. package/config.d.ts +34 -0
  3. package/package.json +22 -20
package/CHANGELOG.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # @backstage/plugin-auth-backend-module-github-provider
2
2
 
3
- ## 0.0.0-nightly-20240503021457
3
+ ## 0.0.0-nightly-20240504021140
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - 4a0577e: fix: Move config declarations to appropriate auth backend modules
7
8
  - Updated dependencies
8
- - @backstage/plugin-auth-node@0.0.0-nightly-20240503021457
9
- - @backstage/backend-plugin-api@0.0.0-nightly-20240503021457
9
+ - @backstage/plugin-auth-node@0.0.0-nightly-20240504021140
10
+ - @backstage/backend-plugin-api@0.0.0-nightly-20240504021140
10
11
 
11
12
  ## 0.1.15-next.1
12
13
 
package/config.d.ts ADDED
@@ -0,0 +1,34 @@
1
+ /*
2
+ * Copyright 2024 The Backstage Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ export interface Config {
18
+ auth?: {
19
+ providers?: {
20
+ /** @visibility frontend */
21
+ github?: {
22
+ [authEnv: string]: {
23
+ clientId: string;
24
+ /**
25
+ * @visibility secret
26
+ */
27
+ clientSecret: string;
28
+ callbackUrl?: string;
29
+ enterpriseInstanceUrl?: string;
30
+ };
31
+ };
32
+ };
33
+ };
34
+ }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@backstage/plugin-auth-backend-module-github-provider",
3
+ "version": "0.0.0-nightly-20240504021140",
3
4
  "description": "The github-provider backend module for the auth plugin.",
4
- "version": "0.0.0-nightly-20240503021457",
5
- "main": "dist/index.cjs.js",
6
- "types": "dist/index.d.ts",
7
- "license": "Apache-2.0",
5
+ "backstage": {
6
+ "role": "backend-plugin-module"
7
+ },
8
8
  "publishConfig": {
9
9
  "access": "public",
10
10
  "main": "dist/index.cjs.js",
@@ -15,31 +15,33 @@
15
15
  "url": "https://github.com/backstage/backstage",
16
16
  "directory": "plugins/auth-backend-module-github-provider"
17
17
  },
18
- "backstage": {
19
- "role": "backend-plugin-module"
20
- },
18
+ "license": "Apache-2.0",
19
+ "main": "dist/index.cjs.js",
20
+ "types": "dist/index.d.ts",
21
+ "files": [
22
+ "dist",
23
+ "config.d.ts"
24
+ ],
21
25
  "scripts": {
22
- "start": "backstage-cli package start",
23
26
  "build": "backstage-cli package build",
24
- "lint": "backstage-cli package lint",
25
- "test": "backstage-cli package test",
26
27
  "clean": "backstage-cli package clean",
28
+ "lint": "backstage-cli package lint",
27
29
  "prepack": "backstage-cli package prepack",
28
- "postpack": "backstage-cli package postpack"
30
+ "postpack": "backstage-cli package postpack",
31
+ "start": "backstage-cli package start",
32
+ "test": "backstage-cli package test"
29
33
  },
30
34
  "dependencies": {
31
- "@backstage/backend-plugin-api": "^0.0.0-nightly-20240503021457",
32
- "@backstage/plugin-auth-node": "^0.0.0-nightly-20240503021457",
35
+ "@backstage/backend-plugin-api": "^0.0.0-nightly-20240504021140",
36
+ "@backstage/plugin-auth-node": "^0.0.0-nightly-20240504021140",
33
37
  "passport-github2": "^0.1.12"
34
38
  },
35
39
  "devDependencies": {
36
- "@backstage/backend-defaults": "^0.0.0-nightly-20240503021457",
37
- "@backstage/backend-test-utils": "^0.0.0-nightly-20240503021457",
38
- "@backstage/cli": "^0.0.0-nightly-20240503021457",
39
- "@backstage/plugin-auth-backend": "^0.0.0-nightly-20240503021457",
40
+ "@backstage/backend-defaults": "^0.0.0-nightly-20240504021140",
41
+ "@backstage/backend-test-utils": "^0.0.0-nightly-20240504021140",
42
+ "@backstage/cli": "^0.0.0-nightly-20240504021140",
43
+ "@backstage/plugin-auth-backend": "^0.0.0-nightly-20240504021140",
40
44
  "supertest": "^6.3.3"
41
45
  },
42
- "files": [
43
- "dist"
44
- ]
46
+ "configSchema": "config.d.ts"
45
47
  }