@backstage/plugin-user-settings 0.8.22-next.3 → 0.8.23-next.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 CHANGED
@@ -1,5 +1,36 @@
1
1
  # @backstage/plugin-user-settings
2
2
 
3
+ ## 0.8.23-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 18c64e9: Added the `info.packageJson` option to the plugin instance for the new frontend system.
8
+ - Updated dependencies
9
+ - @backstage/frontend-plugin-api@0.10.3-next.0
10
+ - @backstage/core-compat-api@0.4.3-next.0
11
+ - @backstage/plugin-catalog-react@1.18.1-next.0
12
+
13
+ ## 0.8.22
14
+
15
+ ### Patch Changes
16
+
17
+ - a7bfdb6: plugin-user-settingsgs support i18n
18
+ - fb58f20: Internal update to use the new `pluginId` option of `createFrontendPlugin`.
19
+ - 5b04b14: Uppercase language name in language select
20
+ - Updated dependencies
21
+ - @backstage/frontend-plugin-api@0.10.2
22
+ - @backstage/theme@0.6.6
23
+ - @backstage/core-app-api@1.17.0
24
+ - @backstage/core-components@0.17.2
25
+ - @backstage/catalog-model@1.7.4
26
+ - @backstage/core-compat-api@0.4.2
27
+ - @backstage/plugin-catalog-react@1.18.0
28
+ - @backstage/core-plugin-api@1.10.7
29
+ - @backstage/plugin-signals-react@0.0.13
30
+ - @backstage/errors@1.2.7
31
+ - @backstage/types@1.2.1
32
+ - @backstage/plugin-user-settings-common@0.0.1
33
+
3
34
  ## 0.8.22-next.3
4
35
 
5
36
  ### Patch Changes
package/dist/alpha.esm.js CHANGED
@@ -40,6 +40,7 @@ const settingsNavItem = NavItemBlueprint.make({
40
40
  });
41
41
  var alpha = createFrontendPlugin({
42
42
  pluginId: "user-settings",
43
+ info: { packageJson: () => import('./package.json.esm.js') },
43
44
  extensions: [userSettingsPage, settingsNavItem],
44
45
  routes: convertLegacyRouteRefs({
45
46
  root: settingsRouteRef
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.tsx"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport {\n coreExtensionData,\n createExtensionInput,\n createFrontendPlugin,\n PageBlueprint,\n NavItemBlueprint,\n} from '@backstage/frontend-plugin-api';\nimport {\n convertLegacyRouteRef,\n convertLegacyRouteRefs,\n compatWrapper,\n} from '@backstage/core-compat-api';\nimport SettingsIcon from '@material-ui/icons/Settings';\nimport { settingsRouteRef } from './plugin';\n\nexport * from './translation';\n\nconst userSettingsPage = PageBlueprint.makeWithOverrides({\n inputs: {\n providerSettings: createExtensionInput([coreExtensionData.reactElement], {\n singleton: true,\n optional: true,\n }),\n },\n factory(originalFactory, { inputs }) {\n return originalFactory({\n defaultPath: '/settings',\n routeRef: convertLegacyRouteRef(settingsRouteRef),\n loader: () =>\n import('./components/SettingsPage').then(m =>\n compatWrapper(\n <m.SettingsPage\n providerSettings={inputs.providerSettings?.get(\n coreExtensionData.reactElement,\n )}\n />,\n ),\n ),\n });\n },\n});\n\n/** @alpha */\nexport const settingsNavItem = NavItemBlueprint.make({\n params: {\n routeRef: convertLegacyRouteRef(settingsRouteRef),\n title: 'Settings',\n icon: SettingsIcon,\n },\n});\n\n/**\n * @alpha\n */\nexport default createFrontendPlugin({\n pluginId: 'user-settings',\n extensions: [userSettingsPage, settingsNavItem],\n routes: convertLegacyRouteRefs({\n root: settingsRouteRef,\n }),\n});\n"],"names":[],"mappings":";;;;;;;AAgCA,MAAM,gBAAA,GAAmB,cAAc,iBAAkB,CAAA;AAAA,EACvD,MAAQ,EAAA;AAAA,IACN,gBAAkB,EAAA,oBAAA,CAAqB,CAAC,iBAAA,CAAkB,YAAY,CAAG,EAAA;AAAA,MACvE,SAAW,EAAA,IAAA;AAAA,MACX,QAAU,EAAA;AAAA,KACX;AAAA,GACH;AAAA,EACA,OAAQ,CAAA,eAAA,EAAiB,EAAE,MAAA,EAAU,EAAA;AACnC,IAAA,OAAO,eAAgB,CAAA;AAAA,MACrB,WAAa,EAAA,WAAA;AAAA,MACb,QAAA,EAAU,sBAAsB,gBAAgB,CAAA;AAAA,MAChD,MAAQ,EAAA,MACN,OAAO,wCAA2B,CAAE,CAAA,IAAA;AAAA,QAAK,CACvC,CAAA,KAAA,aAAA;AAAA,0BACE,GAAA;AAAA,YAAC,CAAE,CAAA,YAAA;AAAA,YAAF;AAAA,cACC,gBAAA,EAAkB,OAAO,gBAAkB,EAAA,GAAA;AAAA,gBACzC,iBAAkB,CAAA;AAAA;AACpB;AAAA;AACF;AACF;AACF,KACH,CAAA;AAAA;AAEL,CAAC,CAAA;AAGY,MAAA,eAAA,GAAkB,iBAAiB,IAAK,CAAA;AAAA,EACnD,MAAQ,EAAA;AAAA,IACN,QAAA,EAAU,sBAAsB,gBAAgB,CAAA;AAAA,IAChD,KAAO,EAAA,UAAA;AAAA,IACP,IAAM,EAAA;AAAA;AAEV,CAAC;AAKD,YAAe,oBAAqB,CAAA;AAAA,EAClC,QAAU,EAAA,eAAA;AAAA,EACV,UAAA,EAAY,CAAC,gBAAA,EAAkB,eAAe,CAAA;AAAA,EAC9C,QAAQ,sBAAuB,CAAA;AAAA,IAC7B,IAAM,EAAA;AAAA,GACP;AACH,CAAC,CAAA;;;;"}
1
+ {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.tsx"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport {\n coreExtensionData,\n createExtensionInput,\n createFrontendPlugin,\n PageBlueprint,\n NavItemBlueprint,\n} from '@backstage/frontend-plugin-api';\nimport {\n convertLegacyRouteRef,\n convertLegacyRouteRefs,\n compatWrapper,\n} from '@backstage/core-compat-api';\nimport SettingsIcon from '@material-ui/icons/Settings';\nimport { settingsRouteRef } from './plugin';\n\nexport * from './translation';\n\nconst userSettingsPage = PageBlueprint.makeWithOverrides({\n inputs: {\n providerSettings: createExtensionInput([coreExtensionData.reactElement], {\n singleton: true,\n optional: true,\n }),\n },\n factory(originalFactory, { inputs }) {\n return originalFactory({\n defaultPath: '/settings',\n routeRef: convertLegacyRouteRef(settingsRouteRef),\n loader: () =>\n import('./components/SettingsPage').then(m =>\n compatWrapper(\n <m.SettingsPage\n providerSettings={inputs.providerSettings?.get(\n coreExtensionData.reactElement,\n )}\n />,\n ),\n ),\n });\n },\n});\n\n/** @alpha */\nexport const settingsNavItem = NavItemBlueprint.make({\n params: {\n routeRef: convertLegacyRouteRef(settingsRouteRef),\n title: 'Settings',\n icon: SettingsIcon,\n },\n});\n\n/**\n * @alpha\n */\nexport default createFrontendPlugin({\n pluginId: 'user-settings',\n info: { packageJson: () => import('../package.json') },\n extensions: [userSettingsPage, settingsNavItem],\n routes: convertLegacyRouteRefs({\n root: settingsRouteRef,\n }),\n});\n"],"names":[],"mappings":";;;;;;;AAgCA,MAAM,gBAAA,GAAmB,cAAc,iBAAkB,CAAA;AAAA,EACvD,MAAQ,EAAA;AAAA,IACN,gBAAkB,EAAA,oBAAA,CAAqB,CAAC,iBAAA,CAAkB,YAAY,CAAG,EAAA;AAAA,MACvE,SAAW,EAAA,IAAA;AAAA,MACX,QAAU,EAAA;AAAA,KACX;AAAA,GACH;AAAA,EACA,OAAQ,CAAA,eAAA,EAAiB,EAAE,MAAA,EAAU,EAAA;AACnC,IAAA,OAAO,eAAgB,CAAA;AAAA,MACrB,WAAa,EAAA,WAAA;AAAA,MACb,QAAA,EAAU,sBAAsB,gBAAgB,CAAA;AAAA,MAChD,MAAQ,EAAA,MACN,OAAO,wCAA2B,CAAE,CAAA,IAAA;AAAA,QAAK,CACvC,CAAA,KAAA,aAAA;AAAA,0BACE,GAAA;AAAA,YAAC,CAAE,CAAA,YAAA;AAAA,YAAF;AAAA,cACC,gBAAA,EAAkB,OAAO,gBAAkB,EAAA,GAAA;AAAA,gBACzC,iBAAkB,CAAA;AAAA;AACpB;AAAA;AACF;AACF;AACF,KACH,CAAA;AAAA;AAEL,CAAC,CAAA;AAGY,MAAA,eAAA,GAAkB,iBAAiB,IAAK,CAAA;AAAA,EACnD,MAAQ,EAAA;AAAA,IACN,QAAA,EAAU,sBAAsB,gBAAgB,CAAA;AAAA,IAChD,KAAO,EAAA,UAAA;AAAA,IACP,IAAM,EAAA;AAAA;AAEV,CAAC;AAKD,YAAe,oBAAqB,CAAA;AAAA,EAClC,QAAU,EAAA,eAAA;AAAA,EACV,MAAM,EAAE,WAAA,EAAa,MAAM,OAAO,uBAAiB,CAAE,EAAA;AAAA,EACrD,UAAA,EAAY,CAAC,gBAAA,EAAkB,eAAe,CAAA;AAAA,EAC9C,QAAQ,sBAAuB,CAAA;AAAA,IAC7B,IAAM,EAAA;AAAA,GACP;AACH,CAAC,CAAA;;;;"}
@@ -0,0 +1,146 @@
1
+ var name = "@backstage/plugin-user-settings";
2
+ var version = "0.8.23-next.0";
3
+ var description = "A Backstage plugin that provides a settings page";
4
+ var backstage = {
5
+ role: "frontend-plugin",
6
+ pluginId: "user-settings",
7
+ pluginPackages: [
8
+ "@backstage/plugin-user-settings",
9
+ "@backstage/plugin-user-settings-backend",
10
+ "@backstage/plugin-user-settings-common"
11
+ ]
12
+ };
13
+ var publishConfig = {
14
+ access: "public"
15
+ };
16
+ var keywords = [
17
+ "backstage"
18
+ ];
19
+ var homepage = "https://backstage.io";
20
+ var repository = {
21
+ type: "git",
22
+ url: "https://github.com/backstage/backstage",
23
+ directory: "plugins/user-settings"
24
+ };
25
+ var license = "Apache-2.0";
26
+ var sideEffects = false;
27
+ var exports = {
28
+ ".": "./src/index.ts",
29
+ "./alpha": "./src/alpha.tsx",
30
+ "./package.json": "./package.json"
31
+ };
32
+ var main = "src/index.ts";
33
+ var types = "src/index.ts";
34
+ var typesVersions = {
35
+ "*": {
36
+ alpha: [
37
+ "src/alpha.tsx"
38
+ ],
39
+ "package.json": [
40
+ "package.json"
41
+ ]
42
+ }
43
+ };
44
+ var files = [
45
+ "dist"
46
+ ];
47
+ var scripts = {
48
+ build: "backstage-cli package build",
49
+ clean: "backstage-cli package clean",
50
+ lint: "backstage-cli package lint",
51
+ prepack: "backstage-cli package prepack",
52
+ postpack: "backstage-cli package postpack",
53
+ start: "backstage-cli package start",
54
+ test: "backstage-cli package test"
55
+ };
56
+ var dependencies = {
57
+ "@backstage/catalog-model": "workspace:^",
58
+ "@backstage/core-app-api": "workspace:^",
59
+ "@backstage/core-compat-api": "workspace:^",
60
+ "@backstage/core-components": "workspace:^",
61
+ "@backstage/core-plugin-api": "workspace:^",
62
+ "@backstage/errors": "workspace:^",
63
+ "@backstage/frontend-plugin-api": "workspace:^",
64
+ "@backstage/plugin-catalog-react": "workspace:^",
65
+ "@backstage/plugin-signals-react": "workspace:^",
66
+ "@backstage/plugin-user-settings-common": "workspace:^",
67
+ "@backstage/theme": "workspace:^",
68
+ "@backstage/types": "workspace:^",
69
+ "@material-ui/core": "^4.12.2",
70
+ "@material-ui/icons": "^4.9.1",
71
+ "@material-ui/lab": "4.0.0-alpha.61",
72
+ "react-use": "^17.2.4",
73
+ "zen-observable": "^0.10.0"
74
+ };
75
+ var devDependencies = {
76
+ "@backstage/cli": "workspace:^",
77
+ "@backstage/dev-utils": "workspace:^",
78
+ "@backstage/plugin-catalog": "workspace:^",
79
+ "@backstage/test-utils": "workspace:^",
80
+ "@testing-library/dom": "^10.0.0",
81
+ "@testing-library/jest-dom": "^6.0.0",
82
+ "@testing-library/react": "^16.0.0",
83
+ "@testing-library/user-event": "^14.0.0",
84
+ "@types/react": "^18.0.0",
85
+ msw: "^1.0.0",
86
+ react: "^18.0.2",
87
+ "react-dom": "^18.0.2",
88
+ "react-router-dom": "^6.3.0"
89
+ };
90
+ var peerDependencies = {
91
+ "@types/react": "^17.0.0 || ^18.0.0",
92
+ react: "^17.0.0 || ^18.0.0",
93
+ "react-dom": "^17.0.0 || ^18.0.0",
94
+ "react-router-dom": "^6.3.0"
95
+ };
96
+ var peerDependenciesMeta = {
97
+ "@types/react": {
98
+ optional: true
99
+ }
100
+ };
101
+ var configSchema = {
102
+ $schema: "https://backstage.io/schema/config-v1",
103
+ title: "@backstage/user-settings",
104
+ type: "object",
105
+ properties: {
106
+ auth: {
107
+ type: "object",
108
+ properties: {
109
+ providers: {
110
+ type: "object",
111
+ additionalProperties: {
112
+ type: "object",
113
+ visibility: "frontend",
114
+ additionalProperties: true
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ };
121
+ var _package = {
122
+ name: name,
123
+ version: version,
124
+ description: description,
125
+ backstage: backstage,
126
+ publishConfig: publishConfig,
127
+ keywords: keywords,
128
+ homepage: homepage,
129
+ repository: repository,
130
+ license: license,
131
+ sideEffects: sideEffects,
132
+ exports: exports,
133
+ main: main,
134
+ types: types,
135
+ typesVersions: typesVersions,
136
+ files: files,
137
+ scripts: scripts,
138
+ dependencies: dependencies,
139
+ devDependencies: devDependencies,
140
+ peerDependencies: peerDependencies,
141
+ peerDependenciesMeta: peerDependenciesMeta,
142
+ configSchema: configSchema
143
+ };
144
+
145
+ export { backstage, configSchema, _package as default, dependencies, description, devDependencies, exports, files, homepage, keywords, license, main, name, peerDependencies, peerDependenciesMeta, publishConfig, repository, scripts, sideEffects, types, typesVersions, version };
146
+ //# sourceMappingURL=package.json.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package.json.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-user-settings",
3
- "version": "0.8.22-next.3",
3
+ "version": "0.8.23-next.0",
4
4
  "description": "A Backstage plugin that provides a settings page",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -67,17 +67,17 @@
67
67
  "test": "backstage-cli package test"
68
68
  },
69
69
  "dependencies": {
70
- "@backstage/catalog-model": "1.7.3",
71
- "@backstage/core-app-api": "1.17.0-next.1",
72
- "@backstage/core-compat-api": "0.4.2-next.3",
73
- "@backstage/core-components": "0.17.2-next.1",
74
- "@backstage/core-plugin-api": "1.10.7-next.0",
70
+ "@backstage/catalog-model": "1.7.4",
71
+ "@backstage/core-app-api": "1.17.0",
72
+ "@backstage/core-compat-api": "0.4.3-next.0",
73
+ "@backstage/core-components": "0.17.2",
74
+ "@backstage/core-plugin-api": "1.10.7",
75
75
  "@backstage/errors": "1.2.7",
76
- "@backstage/frontend-plugin-api": "0.10.2-next.1",
77
- "@backstage/plugin-catalog-react": "1.18.0-next.3",
78
- "@backstage/plugin-signals-react": "0.0.13-next.0",
76
+ "@backstage/frontend-plugin-api": "0.10.3-next.0",
77
+ "@backstage/plugin-catalog-react": "1.18.1-next.0",
78
+ "@backstage/plugin-signals-react": "0.0.13",
79
79
  "@backstage/plugin-user-settings-common": "0.0.1",
80
- "@backstage/theme": "0.6.6-next.0",
80
+ "@backstage/theme": "0.6.6",
81
81
  "@backstage/types": "1.2.1",
82
82
  "@material-ui/core": "^4.12.2",
83
83
  "@material-ui/icons": "^4.9.1",
@@ -86,10 +86,10 @@
86
86
  "zen-observable": "^0.10.0"
87
87
  },
88
88
  "devDependencies": {
89
- "@backstage/cli": "0.32.1-next.3",
90
- "@backstage/dev-utils": "1.1.10-next.3",
91
- "@backstage/plugin-catalog": "1.30.0-next.3",
92
- "@backstage/test-utils": "1.7.8-next.2",
89
+ "@backstage/cli": "0.32.1",
90
+ "@backstage/dev-utils": "1.1.11-next.0",
91
+ "@backstage/plugin-catalog": "1.31.0-next.0",
92
+ "@backstage/test-utils": "1.7.8",
93
93
  "@testing-library/dom": "^10.0.0",
94
94
  "@testing-library/jest-dom": "^6.0.0",
95
95
  "@testing-library/react": "^16.0.0",