@backstage/plugin-app 0.5.3-next.0 → 0.5.3-next.1

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,20 @@
1
1
  # @backstage/plugin-app
2
2
 
3
+ ## 0.5.3-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d421187: Reduced the initial app bundle size by loading page and optional UI implementations only when their extensions render.
8
+ - Updated dependencies
9
+ - @backstage/core-components@0.18.14-next.1
10
+ - @backstage/frontend-plugin-api@0.18.1-next.0
11
+ - @backstage/filter-predicates@0.1.5-next.0
12
+ - @backstage/ui@0.18.0-next.1
13
+ - @backstage/integration-react@1.2.22-next.0
14
+ - @backstage/core-plugin-api@1.12.10-next.0
15
+ - @backstage/plugin-app-react@0.2.7-next.0
16
+ - @backstage/plugin-permission-react@0.5.5-next.0
17
+
3
18
  ## 0.5.3-next.0
4
19
 
5
20
  ### Patch Changes
@@ -1,10 +1,12 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { SignInPageBlueprint } from '@backstage/plugin-app-react';
3
- import { SignInPage } from '@backstage/core-components';
4
3
 
5
4
  const DefaultSignInPage = SignInPageBlueprint.make({
6
5
  params: {
7
- loader: async () => (props) => /* @__PURE__ */ jsx(SignInPage, { ...props, providers: ["guest"] })
6
+ loader: async () => {
7
+ const { SignInPage } = await import('@backstage/core-components');
8
+ return (props) => /* @__PURE__ */ jsx(SignInPage, { ...props, providers: ["guest"] });
9
+ }
8
10
  }
9
11
  });
10
12
 
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultSignInPage.esm.js","sources":["../../src/extensions/DefaultSignInPage.tsx"],"sourcesContent":["/*\n * Copyright 2024 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 { SignInPageBlueprint } from '@backstage/plugin-app-react';\nimport { SignInPage } from '@backstage/core-components';\n\nexport const DefaultSignInPage = SignInPageBlueprint.make({\n params: {\n loader: async () => props =>\n <SignInPage {...props} providers={['guest']} />,\n },\n});\n"],"names":[],"mappings":";;;;AAkBO,MAAM,iBAAA,GAAoB,oBAAoB,IAAA,CAAK;AAAA,EACxD,MAAA,EAAQ;AAAA,IACN,MAAA,EAAQ,YAAY,CAAA,KAAA,qBAClB,GAAA,CAAC,UAAA,EAAA,EAAY,GAAG,KAAA,EAAO,SAAA,EAAW,CAAC,OAAO,CAAA,EAAG;AAAA;AAEnD,CAAC;;;;"}
1
+ {"version":3,"file":"DefaultSignInPage.esm.js","sources":["../../src/extensions/DefaultSignInPage.tsx"],"sourcesContent":["/*\n * Copyright 2024 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 { SignInPageBlueprint } from '@backstage/plugin-app-react';\n\nexport const DefaultSignInPage = SignInPageBlueprint.make({\n params: {\n loader: async () => {\n const { SignInPage } = await import('@backstage/core-components');\n return props => <SignInPage {...props} providers={['guest']} />;\n },\n },\n});\n"],"names":[],"mappings":";;;AAiBO,MAAM,iBAAA,GAAoB,oBAAoB,IAAA,CAAK;AAAA,EACxD,MAAA,EAAQ;AAAA,IACN,QAAQ,YAAY;AAClB,MAAA,MAAM,EAAE,UAAA,EAAW,GAAI,MAAM,OAAO,4BAA4B,CAAA;AAChE,MAAA,OAAO,CAAA,KAAA,yBAAU,UAAA,EAAA,EAAY,GAAG,OAAO,SAAA,EAAW,CAAC,OAAO,CAAA,EAAG,CAAA;AAAA,IAC/D;AAAA;AAEJ,CAAC;;;;"}
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-app";
2
- var version = "0.5.3-next.0";
2
+ var version = "0.5.3-next.1";
3
3
  var backstage = {
4
4
  role: "frontend-plugin",
5
5
  pluginId: "app",
@@ -79,6 +79,7 @@ var devDependencies = {
79
79
  "@backstage/frontend-defaults": "workspace:^",
80
80
  "@backstage/frontend-test-utils": "workspace:^",
81
81
  "@backstage/test-utils": "workspace:^",
82
+ "@testing-library/dom": "^10.0.0",
82
83
  "@testing-library/jest-dom": "^6.0.0",
83
84
  "@testing-library/react": "^16.0.0",
84
85
  "@testing-library/user-event": "^14.0.0",
@@ -1 +1 @@
1
- {"version":3,"file":"package.json.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
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-app",
3
- "version": "0.5.3-next.0",
3
+ "version": "0.5.3-next.1",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "app",
@@ -63,16 +63,16 @@
63
63
  "test": "backstage-cli package test"
64
64
  },
65
65
  "dependencies": {
66
- "@backstage/core-components": "0.18.14-next.0",
67
- "@backstage/core-plugin-api": "1.12.9",
68
- "@backstage/filter-predicates": "0.1.4",
69
- "@backstage/frontend-plugin-api": "0.18.0",
70
- "@backstage/integration-react": "1.2.21",
71
- "@backstage/plugin-app-react": "0.2.6",
72
- "@backstage/plugin-permission-react": "0.5.4",
66
+ "@backstage/core-components": "0.18.14-next.1",
67
+ "@backstage/core-plugin-api": "1.12.10-next.0",
68
+ "@backstage/filter-predicates": "0.1.5-next.0",
69
+ "@backstage/frontend-plugin-api": "0.18.1-next.0",
70
+ "@backstage/integration-react": "1.2.22-next.0",
71
+ "@backstage/plugin-app-react": "0.2.7-next.0",
72
+ "@backstage/plugin-permission-react": "0.5.5-next.0",
73
73
  "@backstage/theme": "0.7.3",
74
74
  "@backstage/types": "1.2.2",
75
- "@backstage/ui": "0.17.2-next.0",
75
+ "@backstage/ui": "0.18.0-next.1",
76
76
  "@backstage/version-bridge": "1.0.12",
77
77
  "@material-ui/core": "^4.9.13",
78
78
  "@material-ui/icons": "^4.9.1",
@@ -88,10 +88,11 @@
88
88
  },
89
89
  "devDependencies": {
90
90
  "@backstage/cli": "0.36.6-next.0",
91
- "@backstage/dev-utils": "1.1.27-next.0",
92
- "@backstage/frontend-defaults": "0.5.6-next.0",
93
- "@backstage/frontend-test-utils": "0.6.4-next.0",
94
- "@backstage/test-utils": "1.7.22-next.0",
91
+ "@backstage/dev-utils": "1.1.27-next.1",
92
+ "@backstage/frontend-defaults": "0.5.6-next.1",
93
+ "@backstage/frontend-test-utils": "0.6.4-next.1",
94
+ "@backstage/test-utils": "1.7.22-next.1",
95
+ "@testing-library/dom": "^10.0.0",
95
96
  "@testing-library/jest-dom": "^6.0.0",
96
97
  "@testing-library/react": "^16.0.0",
97
98
  "@testing-library/user-event": "^14.0.0",