@red-hat-developer-hub/backstage-plugin-quickstart 1.6.1 → 1.7.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,20 @@
1
1
  # @red-hat-developer-hub/backstage-plugin-quickstart
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e9adef8: Backstage version bump to v1.44.2
8
+
9
+ ## 1.6.2
10
+
11
+ ### Patch Changes
12
+
13
+ - f1b0f1a: Add package.json exports configuration for alpha module support.
14
+
15
+ - Add exports field to support importing from alpha module
16
+ - Add typesVersions configuration for TypeScript support
17
+
3
18
  ## 1.6.1
4
19
 
5
20
  ### Patch Changes
@@ -0,0 +1,66 @@
1
+ import * as _backstage_core_plugin_api_alpha from '@backstage/core-plugin-api/alpha';
2
+
3
+ /**
4
+ * Translation reference for Quickstart plugin
5
+ * @public
6
+ */
7
+ declare const quickstartTranslationRef: _backstage_core_plugin_api_alpha.TranslationRef<"plugin.quickstart", {
8
+ readonly "button.quickstart": string;
9
+ readonly "button.openQuickstartGuide": string;
10
+ readonly "button.closeDrawer": string;
11
+ readonly "button.gotIt": string;
12
+ readonly "footer.progress": string;
13
+ readonly "footer.hide": string;
14
+ readonly "footer.notStarted": string;
15
+ readonly "header.title": string;
16
+ readonly "header.subtitle": string;
17
+ readonly "content.emptyState.title": string;
18
+ readonly "item.expandAriaLabel": string;
19
+ readonly "item.collapseAriaLabel": string;
20
+ readonly "item.expandButtonAriaLabel": string;
21
+ readonly "item.collapseButtonAriaLabel": string;
22
+ readonly "steps.setupAuthentication.title": string;
23
+ readonly "steps.setupAuthentication.description": string;
24
+ readonly "steps.setupAuthentication.ctaTitle": string;
25
+ readonly "steps.configureRbac.title": string;
26
+ readonly "steps.configureRbac.description": string;
27
+ readonly "steps.configureRbac.ctaTitle": string;
28
+ readonly "steps.configureGit.title": string;
29
+ readonly "steps.configureGit.description": string;
30
+ readonly "steps.configureGit.ctaTitle": string;
31
+ readonly "steps.managePlugins.title": string;
32
+ readonly "steps.managePlugins.description": string;
33
+ readonly "steps.managePlugins.ctaTitle": string;
34
+ readonly "steps.importApplication.title": string;
35
+ readonly "steps.importApplication.description": string;
36
+ readonly "steps.importApplication.ctaTitle": string;
37
+ readonly "steps.learnAboutCatalog.title": string;
38
+ readonly "steps.learnAboutCatalog.description": string;
39
+ readonly "steps.learnAboutCatalog.ctaTitle": string;
40
+ readonly "steps.exploreSelfServiceTemplates.title": string;
41
+ readonly "steps.exploreSelfServiceTemplates.description": string;
42
+ readonly "steps.exploreSelfServiceTemplates.ctaTitle": string;
43
+ readonly "steps.findAllLearningPaths.title": string;
44
+ readonly "steps.findAllLearningPaths.description": string;
45
+ readonly "steps.findAllLearningPaths.ctaTitle": string;
46
+ readonly "dev.pageTitle": string;
47
+ readonly "dev.pageDescription": string;
48
+ readonly "dev.drawerControls": string;
49
+ readonly "dev.currentState": string;
50
+ readonly "dev.stateOpen": string;
51
+ readonly "dev.stateClosed": string;
52
+ readonly "dev.instructions": string;
53
+ readonly "dev.step1": string;
54
+ readonly "dev.step2": string;
55
+ readonly "dev.step3": string;
56
+ readonly "dev.step4": string;
57
+ readonly "dev.step5": string;
58
+ }>;
59
+
60
+ /**
61
+ * Translation Resource for Quickstart
62
+ * @public
63
+ */
64
+ declare const quickstartTranslations: _backstage_core_plugin_api_alpha.TranslationResource<"plugin.quickstart">;
65
+
66
+ export { quickstartTranslationRef, quickstartTranslations };
@@ -0,0 +1,3 @@
1
+ export { quickstartTranslations } from './translations/index.esm.js';
2
+ export { quickstartTranslationRef } from './translations/ref.esm.js';
3
+ //# sourceMappingURL=alpha.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alpha.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index.d.ts CHANGED
@@ -2,7 +2,8 @@
2
2
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { CSSProperties, PropsWithChildren } from 'react';
5
- import * as _backstage_core_plugin_api_alpha from '@backstage/core-plugin-api/alpha';
5
+ export { quickstartTranslationRef, quickstartTranslations } from './alpha.js';
6
+ import '@backstage/core-plugin-api/alpha';
6
7
 
7
8
  /**
8
9
  * Props for the QuickstartButton component
@@ -127,69 +128,6 @@ declare const useQuickstartDrawerContext: () => QuickstartDrawerContextType;
127
128
  */
128
129
  declare const QuickstartDrawerProvider: ({ children }: PropsWithChildren) => react_jsx_runtime.JSX.Element;
129
130
 
130
- /**
131
- * Translation reference for Quickstart plugin
132
- * @public
133
- */
134
- declare const quickstartTranslationRef: _backstage_core_plugin_api_alpha.TranslationRef<"plugin.quickstart", {
135
- readonly "button.quickstart": string;
136
- readonly "button.openQuickstartGuide": string;
137
- readonly "button.closeDrawer": string;
138
- readonly "button.gotIt": string;
139
- readonly "footer.progress": string;
140
- readonly "footer.hide": string;
141
- readonly "footer.notStarted": string;
142
- readonly "header.title": string;
143
- readonly "header.subtitle": string;
144
- readonly "content.emptyState.title": string;
145
- readonly "item.expandAriaLabel": string;
146
- readonly "item.collapseAriaLabel": string;
147
- readonly "item.expandButtonAriaLabel": string;
148
- readonly "item.collapseButtonAriaLabel": string;
149
- readonly "steps.setupAuthentication.title": string;
150
- readonly "steps.setupAuthentication.description": string;
151
- readonly "steps.setupAuthentication.ctaTitle": string;
152
- readonly "steps.configureRbac.title": string;
153
- readonly "steps.configureRbac.description": string;
154
- readonly "steps.configureRbac.ctaTitle": string;
155
- readonly "steps.configureGit.title": string;
156
- readonly "steps.configureGit.description": string;
157
- readonly "steps.configureGit.ctaTitle": string;
158
- readonly "steps.managePlugins.title": string;
159
- readonly "steps.managePlugins.description": string;
160
- readonly "steps.managePlugins.ctaTitle": string;
161
- readonly "steps.importApplication.title": string;
162
- readonly "steps.importApplication.description": string;
163
- readonly "steps.importApplication.ctaTitle": string;
164
- readonly "steps.learnAboutCatalog.title": string;
165
- readonly "steps.learnAboutCatalog.description": string;
166
- readonly "steps.learnAboutCatalog.ctaTitle": string;
167
- readonly "steps.exploreSelfServiceTemplates.title": string;
168
- readonly "steps.exploreSelfServiceTemplates.description": string;
169
- readonly "steps.exploreSelfServiceTemplates.ctaTitle": string;
170
- readonly "steps.findAllLearningPaths.title": string;
171
- readonly "steps.findAllLearningPaths.description": string;
172
- readonly "steps.findAllLearningPaths.ctaTitle": string;
173
- readonly "dev.pageTitle": string;
174
- readonly "dev.pageDescription": string;
175
- readonly "dev.drawerControls": string;
176
- readonly "dev.currentState": string;
177
- readonly "dev.stateOpen": string;
178
- readonly "dev.stateClosed": string;
179
- readonly "dev.instructions": string;
180
- readonly "dev.step1": string;
181
- readonly "dev.step2": string;
182
- readonly "dev.step3": string;
183
- readonly "dev.step4": string;
184
- readonly "dev.step5": string;
185
- }>;
186
-
187
- /**
188
- * Translation Resource for Quickstart
189
- * @public
190
- */
191
- declare const quickstartTranslations: _backstage_core_plugin_api_alpha.TranslationResource<"plugin.quickstart">;
192
-
193
131
  /**
194
132
  * Filters quickstart items based on user role.
195
133
  *
@@ -201,5 +139,5 @@ declare const quickstartTranslations: _backstage_core_plugin_api_alpha.Translati
201
139
  */
202
140
  declare const filterQuickstartItemsByRole: (items: QuickstartItemData[], userRole: string) => QuickstartItemData[];
203
141
 
204
- export { QuickstartButton, QuickstartDrawerProvider, filterQuickstartItemsByRole, quickstartPlugin, quickstartTranslationRef, quickstartTranslations, useQuickstartDrawerContext };
142
+ export { QuickstartButton, QuickstartDrawerProvider, filterQuickstartItemsByRole, quickstartPlugin, useQuickstartDrawerContext };
205
143
  export type { QuickstartButtonProps, QuickstartDrawerContextType, QuickstartItemCtaData, QuickstartItemData, UserRole };
package/package.json CHANGED
@@ -1,13 +1,11 @@
1
1
  {
2
2
  "name": "@red-hat-developer-hub/backstage-plugin-quickstart",
3
- "version": "1.6.1",
3
+ "version": "1.7.0",
4
4
  "license": "Apache-2.0",
5
- "main": "dist/index.esm.js",
6
- "types": "dist/index.d.ts",
5
+ "main": "./dist/index.esm.js",
6
+ "types": "./dist/index.d.ts",
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",
@@ -33,10 +31,10 @@
33
31
  },
34
32
  "dependencies": {
35
33
  "@backstage-community/plugin-rbac-common": "^1.19.0",
36
- "@backstage/core-components": "^0.17.5",
37
- "@backstage/core-plugin-api": "^1.10.9",
38
- "@backstage/plugin-permission-react": "^0.4.36",
39
- "@backstage/theme": "^0.6.8",
34
+ "@backstage/core-components": "^0.18.2",
35
+ "@backstage/core-plugin-api": "^1.11.1",
36
+ "@backstage/plugin-permission-react": "^0.4.37",
37
+ "@backstage/theme": "^0.7.0",
40
38
  "@mui/icons-material": "5.18.0",
41
39
  "@mui/material": "5.18.0",
42
40
  "@red-hat-developer-hub/backstage-plugin-theme": "^0.10.0",
@@ -46,30 +44,46 @@
46
44
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0"
47
45
  },
48
46
  "devDependencies": {
49
- "@backstage/cli": "^0.34.1",
50
- "@backstage/core-app-api": "^1.18.0",
51
- "@backstage/dev-utils": "^1.1.13",
52
- "@backstage/plugin-permission-common": "^0.9.1",
53
- "@backstage/test-utils": "^1.7.11",
47
+ "@backstage/cli": "^0.34.4",
48
+ "@backstage/core-app-api": "^1.19.1",
49
+ "@backstage/dev-utils": "^1.1.16",
50
+ "@backstage/plugin-permission-common": "^0.9.2",
51
+ "@backstage/test-utils": "^1.7.12",
54
52
  "@testing-library/jest-dom": "^6.0.0",
55
53
  "@testing-library/react": "^14.0.0",
56
54
  "@testing-library/user-event": "^14.0.0",
57
55
  "msw": "^1.0.0",
58
56
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0"
59
57
  },
60
- "files": [
61
- "dist",
62
- "dist-scalprum",
63
- "config.d.ts",
64
- "app-config.dynamic.yaml"
65
- ],
66
- "configSchema": "config.d.ts",
58
+ "exports": {
59
+ ".": {
60
+ "import": "./dist/index.esm.js",
61
+ "types": "./dist/index.d.ts",
62
+ "default": "./dist/index.esm.js"
63
+ },
64
+ "./alpha": {
65
+ "import": "./dist/alpha.esm.js",
66
+ "types": "./dist/alpha.d.ts",
67
+ "default": "./dist/alpha.esm.js"
68
+ },
69
+ "./package.json": "./package.json"
70
+ },
67
71
  "typesVersions": {
68
72
  "*": {
73
+ "alpha": [
74
+ "dist/alpha.d.ts"
75
+ ],
69
76
  "package.json": [
70
77
  "package.json"
71
78
  ]
72
79
  }
73
80
  },
81
+ "files": [
82
+ "dist",
83
+ "dist-scalprum",
84
+ "config.d.ts",
85
+ "app-config.dynamic.yaml"
86
+ ],
87
+ "configSchema": "config.d.ts",
74
88
  "module": "./dist/index.esm.js"
75
89
  }