@backstage-community/plugin-servicenow 1.13.2 → 1.15.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 +19 -0
- package/README.md +2 -5
- package/dist/alpha/plugin.esm.js +0 -1
- package/dist/alpha/plugin.esm.js.map +1 -1
- package/dist/alpha.d.ts +2 -41
- package/dist/alpha.esm.js +1 -1
- package/dist/hooks/useTranslation.esm.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +1 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/translations.d.ts +49 -0
- package/dist/translations.esm.js +29 -0
- package/dist/translations.esm.js.map +1 -0
- package/package.json +25 -14
- package/dist/translations/index.esm.js +0 -16
- package/dist/translations/index.esm.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @backstage-community/plugin-servicenow
|
|
2
2
|
|
|
3
|
+
## 1.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ede61dd: Backstage version bump to v1.54.5
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 7640966: Improve automated coverage for plugin init, Table API client query contracts, and frontend backend client wiring so Backstage version bumps fail in CI when those surfaces break. The backend client now includes the entity annotation field in ServiceNow incident queries.
|
|
12
|
+
- Updated dependencies [7640966]
|
|
13
|
+
- Updated dependencies [ede61dd]
|
|
14
|
+
- @backstage-community/plugin-servicenow-common@1.13.0
|
|
15
|
+
|
|
16
|
+
## 1.14.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- 087a229: Add NFS translations module with default export for `packages: all` discovery
|
|
21
|
+
|
|
3
22
|
## 1.13.2
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -78,9 +78,6 @@ metadata:
|
|
|
78
78
|
|
|
79
79
|
For more information how to setup the plugin, please refer to the [General](../../docs/index.md) and [Configuration.md](../../docs/Configuration.md) documentation.
|
|
80
80
|
|
|
81
|
-
##
|
|
81
|
+
## Contributing
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
2. Start the Backstage dev app with `yarn start`
|
|
85
|
-
|
|
86
|
-
Your plugin has been added to the example app in this `plugins/servicenow` directory, meaning you'll be able to access it by running `yarn start` in the current directory, and then navigating to [/servicenow](http://localhost:3000/servicenow).
|
|
83
|
+
See [CONTRIBUTING.md](./CONTRIBUTING.md) for the local `dev/` harness (Mock vs Backend pages), scoped tests, and notes on Playwright vs backend bump trust.
|
package/dist/alpha/plugin.esm.js
CHANGED
|
@@ -3,7 +3,6 @@ import { ApiBlueprint, identityApiRef, fetchApiRef, discoveryApiRef, createFront
|
|
|
3
3
|
import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
|
|
4
4
|
import { ServiceNowBackendClient, serviceNowApiRef } from '../api/ServiceNowBackendClient.esm.js';
|
|
5
5
|
import { isServicenowAvailable } from '@backstage-community/plugin-servicenow-common';
|
|
6
|
-
export { servicenowTranslations } from '../translations/index.esm.js';
|
|
7
6
|
|
|
8
7
|
const servicenowApi = ApiBlueprint.make({
|
|
9
8
|
params: (defineParams) => defineParams({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2025 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 */\n\nimport {\n ApiBlueprint,\n createFrontendPlugin,\n discoveryApiRef,\n fetchApiRef,\n identityApiRef,\n} from '@backstage/frontend-plugin-api';\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\nimport {\n serviceNowApiRef,\n ServiceNowBackendClient,\n} from '../api/ServiceNowBackendClient';\n\nimport { isServicenowAvailable } from '@backstage-community/plugin-servicenow-common';\n\n/** @alpha */\nexport const servicenowApi = ApiBlueprint.make({\n params: defineParams =>\n defineParams({\n api: serviceNowApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n fetchApi: fetchApiRef,\n identityApi: identityApiRef,\n },\n factory: ({ discoveryApi, fetchApi, identityApi }) =>\n new ServiceNowBackendClient(discoveryApi, fetchApi, identityApi),\n }),\n});\n\n/**\n * Servicenow entity content that shows an incident table with a\n * filter similar to the catalog table\n * @alpha\n */\nexport const entityServicenowContent = EntityContentBlueprint.make({\n name: 'EntityServicenowContent',\n params: {\n path: 'servicenow',\n title: 'ServiceNow',\n filter: isServicenowAvailable,\n loader: () =>\n import('../components/Servicenow').then(m => (\n <m.EntityServicenowContent />\n )),\n },\n});\n\n/** @alpha */\nexport default createFrontendPlugin({\n pluginId: 'servicenow',\n extensions: [servicenowApi, entityServicenowContent],\n});\n\n/**\n * @alpha\n * Translation resources for the ServiceNow plugin\n */\nexport * from '../translations';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2025 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 */\n\nimport {\n ApiBlueprint,\n createFrontendPlugin,\n discoveryApiRef,\n fetchApiRef,\n identityApiRef,\n} from '@backstage/frontend-plugin-api';\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\nimport {\n serviceNowApiRef,\n ServiceNowBackendClient,\n} from '../api/ServiceNowBackendClient';\n\nimport { isServicenowAvailable } from '@backstage-community/plugin-servicenow-common';\n\n/** @alpha */\nexport const servicenowApi = ApiBlueprint.make({\n params: defineParams =>\n defineParams({\n api: serviceNowApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n fetchApi: fetchApiRef,\n identityApi: identityApiRef,\n },\n factory: ({ discoveryApi, fetchApi, identityApi }) =>\n new ServiceNowBackendClient(discoveryApi, fetchApi, identityApi),\n }),\n});\n\n/**\n * Servicenow entity content that shows an incident table with a\n * filter similar to the catalog table\n * @alpha\n */\nexport const entityServicenowContent = EntityContentBlueprint.make({\n name: 'EntityServicenowContent',\n params: {\n path: 'servicenow',\n title: 'ServiceNow',\n filter: isServicenowAvailable,\n loader: () =>\n import('../components/Servicenow').then(m => (\n <m.EntityServicenowContent />\n )),\n },\n});\n\n/** @alpha */\nexport default createFrontendPlugin({\n pluginId: 'servicenow',\n extensions: [servicenowApi, entityServicenowContent],\n});\n\n/**\n * @alpha\n * Translation resources for the ServiceNow plugin\n */\nexport * from '../translations';\n"],"names":[],"mappings":";;;;;;AAgCO,MAAM,aAAA,GAAgB,aAAa,IAAA,CAAK;AAAA,EAC7C,MAAA,EAAQ,kBACN,YAAA,CAAa;AAAA,IACX,GAAA,EAAK,gBAAA;AAAA,IACL,IAAA,EAAM;AAAA,MACJ,YAAA,EAAc,eAAA;AAAA,MACd,QAAA,EAAU,WAAA;AAAA,MACV,WAAA,EAAa;AAAA,KACf;AAAA,IACA,OAAA,EAAS,CAAC,EAAE,YAAA,EAAc,QAAA,EAAU,WAAA,EAAY,KAC9C,IAAI,uBAAA,CAAwB,YAAA,EAAc,QAAA,EAAU,WAAW;AAAA,GAClE;AACL,CAAC;AAOM,MAAM,uBAAA,GAA0B,uBAAuB,IAAA,CAAK;AAAA,EACjE,IAAA,EAAM,yBAAA;AAAA,EACN,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,YAAA;AAAA,IACN,KAAA,EAAO,YAAA;AAAA,IACP,MAAA,EAAQ,qBAAA;AAAA,IACR,MAAA,EAAQ,MACN,OAAO,uCAA0B,CAAA,CAAE,IAAA,CAAK,CAAA,CAAA,qBACtC,GAAA,CAAC,CAAA,CAAE,uBAAA,EAAF,EAA0B,CAC5B;AAAA;AAEP,CAAC;AAGD,aAAe,oBAAA,CAAqB;AAAA,EAClC,QAAA,EAAU,YAAA;AAAA,EACV,UAAA,EAAY,CAAC,aAAA,EAAe,uBAAuB;AACrD,CAAC,CAAA;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -2,46 +2,7 @@ import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import * as _backstage_filter_predicates from '@backstage/filter-predicates';
|
|
4
4
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Translation reference for the ServiceNow plugin.
|
|
8
|
-
* @alpha
|
|
9
|
-
*/
|
|
10
|
-
declare const servicenowTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"plugin.servicenow", {
|
|
11
|
-
readonly "table.searchPlaceholder": string;
|
|
12
|
-
readonly "table.labelRowsSelect": string;
|
|
13
|
-
readonly "table.columns.description": string;
|
|
14
|
-
readonly "table.columns.priority": string;
|
|
15
|
-
readonly "table.columns.incidentNumber": string;
|
|
16
|
-
readonly "table.columns.created": string;
|
|
17
|
-
readonly "table.columns.state": string;
|
|
18
|
-
readonly "table.columns.actions": string;
|
|
19
|
-
readonly "table.emptyContent": string;
|
|
20
|
-
readonly "table.rowsPerPage": string;
|
|
21
|
-
readonly "filter.priority": string;
|
|
22
|
-
readonly "filter.state": string;
|
|
23
|
-
readonly "priority.critical": string;
|
|
24
|
-
readonly "priority.high": string;
|
|
25
|
-
readonly "priority.moderate": string;
|
|
26
|
-
readonly "priority.low": string;
|
|
27
|
-
readonly "priority.planning": string;
|
|
28
|
-
readonly "page.title": string;
|
|
29
|
-
readonly "page.titleWithCount": string;
|
|
30
|
-
readonly "actions.openInServicenow": string;
|
|
31
|
-
readonly "incidentState.new": string;
|
|
32
|
-
readonly "incidentState.inProgress": string;
|
|
33
|
-
readonly "incidentState.onHold": string;
|
|
34
|
-
readonly "incidentState.resolved": string;
|
|
35
|
-
readonly "incidentState.closed": string;
|
|
36
|
-
readonly "incidentState.cancelled": string;
|
|
37
|
-
readonly "errors.loadingIncidents": string;
|
|
38
|
-
}>;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Translation resources for the ServiceNow plugin.
|
|
42
|
-
* @alpha
|
|
43
|
-
*/
|
|
44
|
-
declare const servicenowTranslations: _backstage_frontend_plugin_api.TranslationResource<"plugin.servicenow">;
|
|
5
|
+
export { servicenowTranslationRef, servicenowTranslations } from './translations.js';
|
|
45
6
|
|
|
46
7
|
/** @alpha */
|
|
47
8
|
declare const servicenowApi: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
@@ -155,4 +116,4 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
155
116
|
}>;
|
|
156
117
|
}>;
|
|
157
118
|
|
|
158
|
-
export { _default as default, entityServicenowContent, servicenowApi
|
|
119
|
+
export { _default as default, entityServicenowContent, servicenowApi };
|
package/dist/alpha.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default, entityServicenowContent, servicenowApi } from './alpha/plugin.esm.js';
|
|
2
2
|
export { servicenowTranslationRef } from './translations/ref.esm.js';
|
|
3
|
-
export { servicenowTranslations } from './translations
|
|
3
|
+
export { servicenowTranslations } from './translations.esm.js';
|
|
4
4
|
//# sourceMappingURL=alpha.esm.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ export { isServicenowAvailable } from '@backstage-community/plugin-servicenow-co
|
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
4
4
|
import { Entity } from '@backstage/catalog-model';
|
|
5
|
+
export { default as servicenowTranslationsModule } from './translations.js';
|
|
6
|
+
import '@backstage/frontend-plugin-api';
|
|
5
7
|
|
|
6
8
|
/**
|
|
7
9
|
* Servicenow Plugin
|
package/dist/index.esm.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { isServicenowAvailable } from '@backstage-community/plugin-servicenow-common';
|
|
2
2
|
export { EntityServicenowContent, Router, ServicenowPage, isMyProfile, servicenowPlugin } from './plugin.esm.js';
|
|
3
|
+
export { default as servicenowTranslationsModule } from './translations.esm.js';
|
|
3
4
|
//# sourceMappingURL=index.esm.js.map
|
package/dist/index.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Translation reference for the ServiceNow plugin.
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
declare const servicenowTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"plugin.servicenow", {
|
|
8
|
+
readonly "table.searchPlaceholder": string;
|
|
9
|
+
readonly "table.labelRowsSelect": string;
|
|
10
|
+
readonly "table.columns.description": string;
|
|
11
|
+
readonly "table.columns.priority": string;
|
|
12
|
+
readonly "table.columns.incidentNumber": string;
|
|
13
|
+
readonly "table.columns.created": string;
|
|
14
|
+
readonly "table.columns.state": string;
|
|
15
|
+
readonly "table.columns.actions": string;
|
|
16
|
+
readonly "table.emptyContent": string;
|
|
17
|
+
readonly "table.rowsPerPage": string;
|
|
18
|
+
readonly "filter.priority": string;
|
|
19
|
+
readonly "filter.state": string;
|
|
20
|
+
readonly "priority.critical": string;
|
|
21
|
+
readonly "priority.high": string;
|
|
22
|
+
readonly "priority.moderate": string;
|
|
23
|
+
readonly "priority.low": string;
|
|
24
|
+
readonly "priority.planning": string;
|
|
25
|
+
readonly "page.title": string;
|
|
26
|
+
readonly "page.titleWithCount": string;
|
|
27
|
+
readonly "actions.openInServicenow": string;
|
|
28
|
+
readonly "incidentState.new": string;
|
|
29
|
+
readonly "incidentState.inProgress": string;
|
|
30
|
+
readonly "incidentState.onHold": string;
|
|
31
|
+
readonly "incidentState.resolved": string;
|
|
32
|
+
readonly "incidentState.closed": string;
|
|
33
|
+
readonly "incidentState.cancelled": string;
|
|
34
|
+
readonly "errors.loadingIncidents": string;
|
|
35
|
+
}>;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Translation resources for the ServiceNow plugin.
|
|
39
|
+
* @alpha
|
|
40
|
+
*/
|
|
41
|
+
declare const servicenowTranslations: _backstage_frontend_plugin_api.TranslationResource<"plugin.servicenow">;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Translation module for the ServiceNow plugin.
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
declare const servicenowTranslationsModule: _backstage_frontend_plugin_api.FrontendModule;
|
|
48
|
+
|
|
49
|
+
export { servicenowTranslationsModule as default, servicenowTranslationRef, servicenowTranslations };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createTranslationResource } from '@backstage/core-plugin-api/alpha';
|
|
2
|
+
import { createFrontendModule } from '@backstage/frontend-plugin-api';
|
|
3
|
+
import { TranslationBlueprint } from '@backstage/plugin-app-react';
|
|
4
|
+
import { servicenowTranslationRef } from './translations/ref.esm.js';
|
|
5
|
+
|
|
6
|
+
const servicenowTranslations = createTranslationResource({
|
|
7
|
+
ref: servicenowTranslationRef,
|
|
8
|
+
translations: {
|
|
9
|
+
de: () => import('./translations/de.esm.js'),
|
|
10
|
+
fr: () => import('./translations/fr.esm.js'),
|
|
11
|
+
it: () => import('./translations/it.esm.js'),
|
|
12
|
+
es: () => import('./translations/es.esm.js'),
|
|
13
|
+
ja: () => import('./translations/ja.esm.js')
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
const servicenowTranslationsModule = createFrontendModule({
|
|
17
|
+
pluginId: "app",
|
|
18
|
+
extensions: [
|
|
19
|
+
TranslationBlueprint.make({
|
|
20
|
+
name: "servicenow-translations",
|
|
21
|
+
params: {
|
|
22
|
+
resource: servicenowTranslations
|
|
23
|
+
}
|
|
24
|
+
})
|
|
25
|
+
]
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export { servicenowTranslationsModule as default, servicenowTranslationRef, servicenowTranslations };
|
|
29
|
+
//# sourceMappingURL=translations.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translations.esm.js","sources":["../src/translations/index.ts"],"sourcesContent":["/*\n * Copyright 2025 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 { createTranslationResource } from '@backstage/core-plugin-api/alpha';\nimport { createFrontendModule } from '@backstage/frontend-plugin-api';\nimport { TranslationBlueprint } from '@backstage/plugin-app-react';\nimport { servicenowTranslationRef } from './ref';\n\n/**\n * Translation resources for the ServiceNow plugin.\n * @alpha\n */\nexport const servicenowTranslations = createTranslationResource({\n ref: servicenowTranslationRef,\n translations: {\n de: () => import('./de'),\n fr: () => import('./fr'),\n it: () => import('./it'),\n es: () => import('./es'),\n ja: () => import('./ja'),\n },\n});\n\nexport { servicenowTranslationRef };\n\n/**\n * Translation module for the ServiceNow plugin.\n * @public\n */\nconst servicenowTranslationsModule = createFrontendModule({\n pluginId: 'app',\n extensions: [\n TranslationBlueprint.make({\n name: 'servicenow-translations',\n params: {\n resource: servicenowTranslations,\n },\n }),\n ],\n});\n\nexport default servicenowTranslationsModule;\n"],"names":[],"mappings":";;;;;AAwBO,MAAM,yBAAyB,yBAAA,CAA0B;AAAA,EAC9D,GAAA,EAAK,wBAAA;AAAA,EACL,YAAA,EAAc;AAAA,IACZ,EAAA,EAAI,MAAM,OAAO,0BAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,0BAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,0BAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,0BAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,0BAAM;AAAA;AAE3B,CAAC;AAQD,MAAM,+BAA+B,oBAAA,CAAqB;AAAA,EACxD,QAAA,EAAU,KAAA;AAAA,EACV,UAAA,EAAY;AAAA,IACV,qBAAqB,IAAA,CAAK;AAAA,MACxB,IAAA,EAAM,yBAAA;AAAA,MACN,MAAA,EAAQ;AAAA,QACN,QAAA,EAAU;AAAA;AACZ,KACD;AAAA;AAEL,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-servicenow",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index.esm.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -24,6 +24,12 @@
|
|
|
24
24
|
"types": "./dist/alpha.d.ts",
|
|
25
25
|
"default": "./dist/alpha.esm.js"
|
|
26
26
|
},
|
|
27
|
+
"./translations": {
|
|
28
|
+
"backstage": "@backstage/FrontendModule",
|
|
29
|
+
"import": "./dist/translations.esm.js",
|
|
30
|
+
"types": "./dist/translations.d.ts",
|
|
31
|
+
"default": "./dist/translations.esm.js"
|
|
32
|
+
},
|
|
27
33
|
"./package.json": "./package.json"
|
|
28
34
|
},
|
|
29
35
|
"typesVersions": {
|
|
@@ -31,6 +37,9 @@
|
|
|
31
37
|
"alpha": [
|
|
32
38
|
"dist/alpha.d.ts"
|
|
33
39
|
],
|
|
40
|
+
"translations": [
|
|
41
|
+
"dist/translations.d.ts"
|
|
42
|
+
],
|
|
34
43
|
"package.json": [
|
|
35
44
|
"package.json"
|
|
36
45
|
]
|
|
@@ -45,7 +54,8 @@
|
|
|
45
54
|
"@backstage-community/plugin-servicenow-common"
|
|
46
55
|
],
|
|
47
56
|
"features": {
|
|
48
|
-
"./alpha": "@backstage/FrontendPlugin"
|
|
57
|
+
"./alpha": "@backstage/FrontendPlugin",
|
|
58
|
+
"./translations": "@backstage/FrontendModule"
|
|
49
59
|
}
|
|
50
60
|
},
|
|
51
61
|
"sideEffects": false,
|
|
@@ -59,13 +69,14 @@
|
|
|
59
69
|
"postpack": "backstage-cli package postpack"
|
|
60
70
|
},
|
|
61
71
|
"dependencies": {
|
|
62
|
-
"@backstage-community/plugin-servicenow-common": "^1.
|
|
63
|
-
"@backstage/catalog-model": "^1.
|
|
64
|
-
"@backstage/core-compat-api": "^0.5.
|
|
65
|
-
"@backstage/core-components": "^0.18.
|
|
66
|
-
"@backstage/core-plugin-api": "^1.12.
|
|
67
|
-
"@backstage/frontend-plugin-api": "^0.
|
|
68
|
-
"@backstage/plugin-
|
|
72
|
+
"@backstage-community/plugin-servicenow-common": "^1.13.0",
|
|
73
|
+
"@backstage/catalog-model": "^1.10.0",
|
|
74
|
+
"@backstage/core-compat-api": "^0.5.14",
|
|
75
|
+
"@backstage/core-components": "^0.18.13",
|
|
76
|
+
"@backstage/core-plugin-api": "^1.12.9",
|
|
77
|
+
"@backstage/frontend-plugin-api": "^0.18.0",
|
|
78
|
+
"@backstage/plugin-app-react": "^0.2.6",
|
|
79
|
+
"@backstage/plugin-catalog-react": "^3.2.2",
|
|
69
80
|
"@backstage/theme": "^0.7.3",
|
|
70
81
|
"@mui/icons-material": "^5.15.17",
|
|
71
82
|
"@mui/lab": "^5.0.0-alpha.153",
|
|
@@ -81,11 +92,11 @@
|
|
|
81
92
|
},
|
|
82
93
|
"devDependencies": {
|
|
83
94
|
"@axe-core/playwright": "^4.11.0",
|
|
84
|
-
"@backstage/cli": "^0.36.
|
|
85
|
-
"@backstage/core-app-api": "^1.20.
|
|
86
|
-
"@backstage/dev-utils": "^1.1.
|
|
87
|
-
"@backstage/frontend-test-utils": "^0.6.
|
|
88
|
-
"@backstage/test-utils": "^1.7.
|
|
95
|
+
"@backstage/cli": "^0.36.5",
|
|
96
|
+
"@backstage/core-app-api": "^1.20.4",
|
|
97
|
+
"@backstage/dev-utils": "^1.1.26",
|
|
98
|
+
"@backstage/frontend-test-utils": "^0.6.3",
|
|
99
|
+
"@backstage/test-utils": "^1.7.21",
|
|
89
100
|
"@playwright/test": "1.61.1",
|
|
90
101
|
"@testing-library/dom": "^10.4.1",
|
|
91
102
|
"@testing-library/jest-dom": "^6.0.0",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { createTranslationResource } from '@backstage/core-plugin-api/alpha';
|
|
2
|
-
import { servicenowTranslationRef } from './ref.esm.js';
|
|
3
|
-
|
|
4
|
-
const servicenowTranslations = createTranslationResource({
|
|
5
|
-
ref: servicenowTranslationRef,
|
|
6
|
-
translations: {
|
|
7
|
-
de: () => import('./de.esm.js'),
|
|
8
|
-
fr: () => import('./fr.esm.js'),
|
|
9
|
-
it: () => import('./it.esm.js'),
|
|
10
|
-
es: () => import('./es.esm.js'),
|
|
11
|
-
ja: () => import('./ja.esm.js')
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
export { servicenowTranslationRef, servicenowTranslations };
|
|
16
|
-
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../src/translations/index.ts"],"sourcesContent":["/*\n * Copyright 2025 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 { createTranslationResource } from '@backstage/core-plugin-api/alpha';\nimport { servicenowTranslationRef } from './ref';\n\n/**\n * Translation resources for the ServiceNow plugin.\n * @alpha\n */\nexport const servicenowTranslations = createTranslationResource({\n ref: servicenowTranslationRef,\n translations: {\n de: () => import('./de'),\n fr: () => import('./fr'),\n it: () => import('./it'),\n es: () => import('./es'),\n ja: () => import('./ja'),\n },\n});\n\nexport { servicenowTranslationRef };\n"],"names":[],"mappings":";;;AAsBO,MAAM,yBAAyB,yBAAA,CAA0B;AAAA,EAC9D,GAAA,EAAK,wBAAA;AAAA,EACL,YAAA,EAAc;AAAA,IACZ,EAAA,EAAI,MAAM,OAAO,aAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,aAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,aAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,aAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,aAAM;AAAA;AAE3B,CAAC;;;;"}
|