@backstage/plugin-auth-backend-module-github-provider 0.1.15-next.1 → 0.1.15

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 +15 -0
  2. package/config.d.ts +34 -0
  3. package/package.json +22 -20
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @backstage/plugin-auth-backend-module-github-provider
2
2
 
3
+ ## 0.1.15
4
+
5
+ ### Patch Changes
6
+
7
+ - 4a0577e: fix: Move config declarations to appropriate auth backend modules
8
+ - Updated dependencies
9
+ - @backstage/backend-plugin-api@0.6.18
10
+ - @backstage/plugin-auth-node@0.4.13
11
+
12
+ ## 0.1.15-next.2
13
+
14
+ ### Patch Changes
15
+
16
+ - 4a0577e: fix: Move config declarations to appropriate auth backend modules
17
+
3
18
  ## 0.1.15-next.1
4
19
 
5
20
  ### Patch Changes
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.1.15",
3
4
  "description": "The github-provider backend module for the auth plugin.",
4
- "version": "0.1.15-next.1",
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.6.18-next.1",
32
- "@backstage/plugin-auth-node": "^0.4.13-next.1",
35
+ "@backstage/backend-plugin-api": "^0.6.18",
36
+ "@backstage/plugin-auth-node": "^0.4.13",
33
37
  "passport-github2": "^0.1.12"
34
38
  },
35
39
  "devDependencies": {
36
- "@backstage/backend-defaults": "^0.2.18-next.1",
37
- "@backstage/backend-test-utils": "^0.3.8-next.1",
38
- "@backstage/cli": "^0.26.5-next.0",
39
- "@backstage/plugin-auth-backend": "^0.22.5-next.1",
40
+ "@backstage/backend-defaults": "^0.2.18",
41
+ "@backstage/backend-test-utils": "^0.3.8",
42
+ "@backstage/cli": "^0.26.5",
43
+ "@backstage/plugin-auth-backend": "^0.22.5",
40
44
  "supertest": "^6.3.3"
41
45
  },
42
- "files": [
43
- "dist"
44
- ]
46
+ "configSchema": "config.d.ts"
45
47
  }