@red-hat-developer-hub/backstage-plugin-mui5-test 0.2.0 → 0.4.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,17 @@
1
1
  # @red-hat-developer-hub/backstage-plugin-mui5-test
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0b7c442: Backstage version bump to v1.49.2
8
+
9
+ ## 0.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 9476d25: Added NFS support.
14
+
3
15
  ## 0.2.0
4
16
 
5
17
  ### Minor Changes
@@ -0,0 +1,49 @@
1
+ import * as react from 'react';
2
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
3
+
4
+ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
5
+ root: _backstage_frontend_plugin_api.RouteRef<undefined>;
6
+ }, {}, {
7
+ "page:mui5-test": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
8
+ kind: "page";
9
+ name: undefined;
10
+ config: {
11
+ path: string | undefined;
12
+ title: string | undefined;
13
+ };
14
+ configInput: {
15
+ title?: string | undefined;
16
+ path?: string | undefined;
17
+ };
18
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
19
+ optional: true;
20
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {
21
+ optional: true;
22
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
23
+ optional: true;
24
+ }>;
25
+ inputs: {
26
+ pages: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
27
+ optional: true;
28
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.title", {
29
+ optional: true;
30
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
31
+ optional: true;
32
+ }>, {
33
+ singleton: false;
34
+ optional: false;
35
+ internal: false;
36
+ }>;
37
+ };
38
+ params: {
39
+ path: string;
40
+ title?: string;
41
+ icon?: _backstage_frontend_plugin_api.IconElement;
42
+ loader?: () => Promise<react.JSX.Element>;
43
+ routeRef?: _backstage_frontend_plugin_api.RouteRef;
44
+ noHeader?: boolean;
45
+ };
46
+ }>;
47
+ }>;
48
+
49
+ export { _default as default };
@@ -0,0 +1,23 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { createRouteRef, PageBlueprint, createFrontendPlugin } from '@backstage/frontend-plugin-api';
3
+ import { RiPuzzleLine } from '@remixicon/react';
4
+
5
+ const rootRouteRef = createRouteRef();
6
+ const mui5TestPage = PageBlueprint.make({
7
+ params: {
8
+ path: "/mui5-tests",
9
+ title: "MUI v5 Tests",
10
+ icon: /* @__PURE__ */ jsx(RiPuzzleLine, {}),
11
+ routeRef: rootRouteRef,
12
+ loader: async () => import('./components/MUI5TestPage.esm.js').then((m) => /* @__PURE__ */ jsx(m.MUI5TestPage, {}))
13
+ }
14
+ });
15
+ var index = createFrontendPlugin({
16
+ pluginId: "mui5-test",
17
+ info: { packageJson: () => import('./package.json.esm.js') },
18
+ extensions: [mui5TestPage],
19
+ routes: { root: rootRouteRef }
20
+ });
21
+
22
+ export { index as default };
23
+ //# sourceMappingURL=alpha.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alpha.esm.js","sources":["../src/alpha/index.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\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 */\n\nimport {\n createFrontendPlugin,\n createRouteRef,\n PageBlueprint,\n} from '@backstage/frontend-plugin-api';\nimport { RiPuzzleLine } from '@remixicon/react';\n\nconst rootRouteRef = createRouteRef();\n\nconst mui5TestPage = PageBlueprint.make({\n params: {\n path: '/mui5-tests',\n title: 'MUI v5 Tests',\n icon: <RiPuzzleLine />,\n routeRef: rootRouteRef,\n loader: async () =>\n import('../components/MUI5TestPage').then(m => <m.MUI5TestPage />),\n },\n});\n\n/*\n * @alpha\n */\nexport default createFrontendPlugin({\n pluginId: 'mui5-test',\n info: { packageJson: () => import('../../package.json') },\n extensions: [mui5TestPage],\n routes: { root: rootRouteRef },\n});\n"],"names":[],"mappings":";;;;AAuBA,MAAM,eAAe,cAAe,EAAA;AAEpC,MAAM,YAAA,GAAe,cAAc,IAAK,CAAA;AAAA,EACtC,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,aAAA;AAAA,IACN,KAAO,EAAA,cAAA;AAAA,IACP,IAAA,sBAAO,YAAa,EAAA,EAAA,CAAA;AAAA,IACpB,QAAU,EAAA,YAAA;AAAA,IACV,MAAA,EAAQ,YACN,OAAO,kCAA4B,CAAA,CAAE,IAAK,CAAA,CAAA,CAAA,qBAAM,GAAA,CAAA,CAAA,CAAE,YAAF,EAAA,EAAe,CAAE;AAAA;AAEvE,CAAC,CAAA;AAKD,YAAe,oBAAqB,CAAA;AAAA,EAClC,QAAU,EAAA,WAAA;AAAA,EACV,MAAM,EAAE,WAAA,EAAa,MAAM,OAAO,uBAAoB,CAAE,EAAA;AAAA,EACxD,UAAA,EAAY,CAAC,YAAY,CAAA;AAAA,EACzB,MAAA,EAAQ,EAAE,IAAA,EAAM,YAAa;AAC/B,CAAC,CAAA;;;;"}
@@ -0,0 +1,91 @@
1
+ var name = "@red-hat-developer-hub/backstage-plugin-mui5-test";
2
+ var version = "0.4.0";
3
+ var main = "src/index.ts";
4
+ var types = "src/index.ts";
5
+ var license = "Apache-2.0";
6
+ var publishConfig = {
7
+ access: "public"
8
+ };
9
+ var repository = {
10
+ type: "git",
11
+ url: "https://github.com/redhat-developer/rhdh-plugins",
12
+ directory: "workspaces/theme/plugins/mui5-test"
13
+ };
14
+ var backstage = {
15
+ role: "frontend-plugin",
16
+ pluginId: "mui5-test",
17
+ pluginPackages: [
18
+ "@red-hat-developer-hub/backstage-plugin-mui5-test"
19
+ ]
20
+ };
21
+ var sideEffects = false;
22
+ var exports = {
23
+ ".": "./src/index.ts",
24
+ "./alpha": "./src/alpha/index.tsx",
25
+ "./package.json": "./package.json"
26
+ };
27
+ var typesVersions = {
28
+ "*": {
29
+ alpha: [
30
+ "src/alpha/index.tsx"
31
+ ],
32
+ "package.json": [
33
+ "package.json"
34
+ ]
35
+ }
36
+ };
37
+ var scripts = {
38
+ start: "backstage-cli package start",
39
+ build: "backstage-cli package build",
40
+ lint: "backstage-cli package lint",
41
+ test: "backstage-cli package test",
42
+ clean: "backstage-cli package clean",
43
+ prepack: "backstage-cli package prepack",
44
+ postpack: "backstage-cli package postpack"
45
+ };
46
+ var dependencies = {
47
+ "@backstage/core-components": "^0.18.8",
48
+ "@backstage/core-plugin-api": "^1.12.4",
49
+ "@backstage/frontend-plugin-api": "^0.15.1",
50
+ "@backstage/plugin-user-settings": "^0.9.1",
51
+ "@mui/material": "^5",
52
+ "@remixicon/react": "^4.9.0"
53
+ };
54
+ var peerDependencies = {
55
+ react: "^16.13.1 || ^17.0.0 || ^18.0.0"
56
+ };
57
+ var devDependencies = {
58
+ "@backstage/cli": "^0.36.0",
59
+ "@backstage/core-app-api": "^1.19.6",
60
+ "@backstage/dev-utils": "^1.1.21",
61
+ "@backstage/test-utils": "^1.7.16",
62
+ "@testing-library/jest-dom": "^6.0.0",
63
+ "@testing-library/react": "^14.0.0",
64
+ "@testing-library/user-event": "^14.0.0",
65
+ msw: "^1.0.0",
66
+ react: "^16.13.1 || ^17.0.0 || ^18.0.0"
67
+ };
68
+ var files = [
69
+ "dist"
70
+ ];
71
+ var _package = {
72
+ name: name,
73
+ version: version,
74
+ main: main,
75
+ types: types,
76
+ license: license,
77
+ publishConfig: publishConfig,
78
+ repository: repository,
79
+ backstage: backstage,
80
+ sideEffects: sideEffects,
81
+ exports: exports,
82
+ typesVersions: typesVersions,
83
+ scripts: scripts,
84
+ dependencies: dependencies,
85
+ peerDependencies: peerDependencies,
86
+ devDependencies: devDependencies,
87
+ files: files
88
+ };
89
+
90
+ export { backstage, _package as default, dependencies, devDependencies, exports, files, license, main, name, peerDependencies, publishConfig, repository, scripts, sideEffects, types, typesVersions, version };
91
+ //# 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,13 +1,11 @@
1
1
  {
2
2
  "name": "@red-hat-developer-hub/backstage-plugin-mui5-test",
3
- "version": "0.2.0",
4
- "main": "dist/index.esm.js",
5
- "types": "dist/index.d.ts",
3
+ "version": "0.4.0",
4
+ "main": "./dist/index.esm.js",
5
+ "types": "./dist/index.d.ts",
6
6
  "license": "Apache-2.0",
7
7
  "publishConfig": {
8
- "access": "public",
9
- "main": "dist/index.esm.js",
10
- "types": "dist/index.d.ts"
8
+ "access": "public"
11
9
  },
12
10
  "repository": {
13
11
  "type": "git",
@@ -19,9 +17,36 @@
19
17
  "pluginId": "mui5-test",
20
18
  "pluginPackages": [
21
19
  "@red-hat-developer-hub/backstage-plugin-mui5-test"
22
- ]
20
+ ],
21
+ "features": {
22
+ "./alpha": "@backstage/FrontendPlugin"
23
+ }
23
24
  },
24
25
  "sideEffects": false,
26
+ "exports": {
27
+ ".": {
28
+ "import": "./dist/index.esm.js",
29
+ "types": "./dist/index.d.ts",
30
+ "default": "./dist/index.esm.js"
31
+ },
32
+ "./alpha": {
33
+ "backstage": "@backstage/FrontendPlugin",
34
+ "import": "./dist/alpha.esm.js",
35
+ "types": "./dist/alpha.d.ts",
36
+ "default": "./dist/alpha.esm.js"
37
+ },
38
+ "./package.json": "./package.json"
39
+ },
40
+ "typesVersions": {
41
+ "*": {
42
+ "alpha": [
43
+ "dist/alpha.d.ts"
44
+ ],
45
+ "package.json": [
46
+ "package.json"
47
+ ]
48
+ }
49
+ },
25
50
  "scripts": {
26
51
  "start": "backstage-cli package start",
27
52
  "build": "backstage-cli package build",
@@ -32,21 +57,21 @@
32
57
  "postpack": "backstage-cli package postpack"
33
58
  },
34
59
  "dependencies": {
35
- "@backstage/core-components": "^0.18.3",
36
- "@backstage/core-plugin-api": "^1.12.0",
37
- "@backstage/plugin-user-settings": "^0.8.29",
38
- "@mui/icons-material": "^5",
60
+ "@backstage/core-components": "^0.18.8",
61
+ "@backstage/core-plugin-api": "^1.12.4",
62
+ "@backstage/frontend-plugin-api": "^0.15.1",
63
+ "@backstage/plugin-user-settings": "^0.9.1",
39
64
  "@mui/material": "^5",
40
- "@mui/styles": "^5"
65
+ "@remixicon/react": "^4.9.0"
41
66
  },
42
67
  "peerDependencies": {
43
68
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0"
44
69
  },
45
70
  "devDependencies": {
46
- "@backstage/cli": "^0.34.5",
47
- "@backstage/core-app-api": "^1.19.2",
48
- "@backstage/dev-utils": "^1.1.17",
49
- "@backstage/test-utils": "^1.7.13",
71
+ "@backstage/cli": "^0.36.0",
72
+ "@backstage/core-app-api": "^1.19.6",
73
+ "@backstage/dev-utils": "^1.1.21",
74
+ "@backstage/test-utils": "^1.7.16",
50
75
  "@testing-library/jest-dom": "^6.0.0",
51
76
  "@testing-library/react": "^14.0.0",
52
77
  "@testing-library/user-event": "^14.0.0",
@@ -56,12 +81,5 @@
56
81
  "files": [
57
82
  "dist"
58
83
  ],
59
- "typesVersions": {
60
- "*": {
61
- "package.json": [
62
- "package.json"
63
- ]
64
- }
65
- },
66
84
  "module": "./dist/index.esm.js"
67
85
  }