/packages/create-app/src/lib/versions.ts

https://github.com/backstage/backstage · TypeScript · 106 lines · 72 code · 5 blank · 29 comment · 0 complexity · 0afd69e4066ac88726571ccea921fb2c MD5 · raw file

  1. /*
  2. * Copyright 2020 The Backstage Authors
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /* eslint-disable monorepo/no-relative-import */
  17. /*
  18. This is a list of all packages used by the template. If dependencies are added or removed,
  19. this list should be updated as well.
  20. The list, and the accompanying peerDependencies entries, are here to ensure correct versioning
  21. and bumping of this package. Without this list the version would not be bumped unless we
  22. manually trigger a release.
  23. This does not create an actual dependency on these packages and does not bring in any code.
  24. Relative imports are used rather than package imports to make sure the packages aren't externalized.
  25. Rollup will extract the value of the version field in each package at build time without
  26. leaving any imports in place.
  27. */
  28. import { version as backendCommon } from '../../../backend-common/package.json';
  29. import { version as catalogClient } from '../../../catalog-client/package.json';
  30. import { version as catalogModel } from '../../../catalog-model/package.json';
  31. import { version as cli } from '../../../cli/package.json';
  32. import { version as config } from '../../../config/package.json';
  33. import { version as coreAppApi } from '../../../core-app-api/package.json';
  34. import { version as coreComponents } from '../../../core-components/package.json';
  35. import { version as corePluginApi } from '../../../core-plugin-api/package.json';
  36. import { version as errors } from '../../../errors/package.json';
  37. import { version as integrationReact } from '../../../integration-react/package.json';
  38. import { version as testUtils } from '../../../test-utils/package.json';
  39. import { version as theme } from '../../../theme/package.json';
  40. import { version as pluginApiDocs } from '../../../../plugins/api-docs/package.json';
  41. import { version as pluginAppBackend } from '../../../../plugins/app-backend/package.json';
  42. import { version as pluginAuthBackend } from '../../../../plugins/auth-backend/package.json';
  43. import { version as pluginCatalog } from '../../../../plugins/catalog/package.json';
  44. import { version as pluginCatalogReact } from '../../../../plugins/catalog-react/package.json';
  45. import { version as pluginCatalogBackend } from '../../../../plugins/catalog-backend/package.json';
  46. import { version as pluginCatalogImport } from '../../../../plugins/catalog-import/package.json';
  47. import { version as pluginCircleci } from '../../../../plugins/circleci/package.json';
  48. import { version as pluginExplore } from '../../../../plugins/explore/package.json';
  49. import { version as pluginGithubActions } from '../../../../plugins/github-actions/package.json';
  50. import { version as pluginLighthouse } from '../../../../plugins/lighthouse/package.json';
  51. import { version as pluginOrg } from '../../../../plugins/org/package.json';
  52. import { version as pluginProxyBackend } from '../../../../plugins/proxy-backend/package.json';
  53. import { version as pluginRollbarBackend } from '../../../../plugins/rollbar-backend/package.json';
  54. import { version as pluginScaffolder } from '../../../../plugins/scaffolder/package.json';
  55. import { version as pluginScaffolderBackend } from '../../../../plugins/scaffolder-backend/package.json';
  56. import { version as pluginSearch } from '../../../../plugins/search/package.json';
  57. import { version as pluginSearchBackend } from '../../../../plugins/search-backend/package.json';
  58. import { version as pluginSearchBackendNode } from '../../../../plugins/search-backend-node/package.json';
  59. import { version as pluginTechRadar } from '../../../../plugins/tech-radar/package.json';
  60. import { version as pluginTechdocs } from '../../../../plugins/techdocs/package.json';
  61. import { version as pluginTechdocsBackend } from '../../../../plugins/techdocs-backend/package.json';
  62. import { version as pluginUserSettings } from '../../../../plugins/user-settings/package.json';
  63. export const packageVersions = {
  64. '@backstage/backend-common': backendCommon,
  65. '@backstage/catalog-client': catalogClient,
  66. '@backstage/catalog-model': catalogModel,
  67. '@backstage/cli': cli,
  68. '@backstage/config': config,
  69. '@backstage/core-app-api': coreAppApi,
  70. '@backstage/core-components': coreComponents,
  71. '@backstage/core-plugin-api': corePluginApi,
  72. '@backstage/errors': errors,
  73. '@backstage/integration-react': integrationReact,
  74. '@backstage/plugin-api-docs': pluginApiDocs,
  75. '@backstage/plugin-app-backend': pluginAppBackend,
  76. '@backstage/plugin-auth-backend': pluginAuthBackend,
  77. '@backstage/plugin-catalog': pluginCatalog,
  78. '@backstage/plugin-catalog-react': pluginCatalogReact,
  79. '@backstage/plugin-catalog-backend': pluginCatalogBackend,
  80. '@backstage/plugin-catalog-import': pluginCatalogImport,
  81. '@backstage/plugin-circleci': pluginCircleci,
  82. '@backstage/plugin-explore': pluginExplore,
  83. '@backstage/plugin-github-actions': pluginGithubActions,
  84. '@backstage/plugin-lighthouse': pluginLighthouse,
  85. '@backstage/plugin-org': pluginOrg,
  86. '@backstage/plugin-proxy-backend': pluginProxyBackend,
  87. '@backstage/plugin-rollbar-backend': pluginRollbarBackend,
  88. '@backstage/plugin-scaffolder': pluginScaffolder,
  89. '@backstage/plugin-scaffolder-backend': pluginScaffolderBackend,
  90. '@backstage/plugin-search': pluginSearch,
  91. '@backstage/plugin-search-backend': pluginSearchBackend,
  92. '@backstage/plugin-search-backend-node': pluginSearchBackendNode,
  93. '@backstage/plugin-tech-radar': pluginTechRadar,
  94. '@backstage/plugin-techdocs': pluginTechdocs,
  95. '@backstage/plugin-techdocs-backend': pluginTechdocsBackend,
  96. '@backstage/plugin-user-settings': pluginUserSettings,
  97. '@backstage/test-utils': testUtils,
  98. '@backstage/theme': theme,
  99. };