Skip to content

Commit 0fa98a1

Browse files
author
Florian Aymard
committed
feat: add missing dependencies and sync with backstage tsconfig file
1 parent ad61541 commit 0fa98a1

File tree

6 files changed

+23790
-45
lines changed

6 files changed

+23790
-45
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,6 @@ lerna-debug.log*
141141
!environment/.environment-shared.json
142142

143143
/backstage
144+
145+
backstage-plugins/**/*.d.ts
146+
tsconfig.tsbuildinfo

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ Please see our [Installation instructions](https://harmonixonaws.io/docs/getting
5353
## 3. FAQs
5454
Please see our [FAQs page](https://harmonixonaws.io/docs/faq)
5555

56+
## 4. Build locally
57+
58+
```sh
59+
cd backstage-plugins
60+
yarn --cwd plugins tsc --outDir dist-types
61+
yarn --cwd plugins build
62+
```
63+
5664
## Security
5765

5866
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.

backstage-plugins/plugins/aws-apps/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,12 @@
5555
"@backstage/core-plugin-api": "^1.9.3",
5656
"@backstage/errors": "^1.2.4",
5757
"@backstage/plugin-catalog": "^1.21.1",
58+
"@backstage/plugin-catalog-graph": "^0.4.14",
5859
"@backstage/plugin-catalog-react": "^1.12.2",
60+
"@backstage/plugin-github-actions": "^0.6.16",
5961
"@backstage/plugin-permission-react": "^0.4.24",
62+
"@backstage/plugin-techdocs": "^1.12.0",
63+
"@backstage/plugin-techdocs-module-addons-contrib": "^1.1.19",
6064
"@backstage/theme": "^0.5.6",
6165
"@emotion/react": "^11.13.0",
6266
"@emotion/styled": "^11.13.0",

backstage-plugins/plugins/package.json

Lines changed: 43 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,56 +3,59 @@
33
"description": "App Development for Backstage.io on AWS plugins",
44
"version": "0.0.0",
55
"repository": {
6-
"type": "git",
7-
"url": "github:awslabs/app-development-for-backstage-io-on-aws"
6+
"type": "git",
7+
"url": "github:awslabs/app-development-for-backstage-io-on-aws"
88
},
99
"license": "Apache-2.0",
1010
"author": {
11-
"name": "Amazon Web Services",
12-
"url": "http://aws.amazon.com"
11+
"name": "Amazon Web Services",
12+
"url": "http://aws.amazon.com"
1313
},
1414
"private": true,
1515
"workspaces": {
16-
"packages": [
17-
"aws-apps",
18-
"aws-apps-backend",
19-
"aws-apps-common",
20-
"aws-apps-demo",
21-
"catalog-backend-module-aws-apps-entities-processor",
22-
"scaffolder-backend-module-aws-apps"
23-
]
16+
"packages": [
17+
"aws-apps",
18+
"aws-apps-backend",
19+
"aws-apps-common",
20+
"aws-apps-demo",
21+
"catalog-backend-module-aws-apps-entities-processor",
22+
"scaffolder-backend-module-aws-apps"
23+
]
2424
},
2525
"engines": {
26-
"node": "18"
26+
"node": "20 || 22"
2727
},
2828
"scripts": {
29-
"bootstrap": "lerna bootstrap",
30-
"tsc": "tsc",
31-
"build": "backstage-cli repo build --all",
32-
"clean": "backstage-cli repo clean",
33-
"test": "backstage-cli test --watchAll=false",
34-
"lint": "backstage-cli repo lint",
35-
"prettier:check": "prettier --check .",
36-
"prettier:fix": "prettier --write .",
37-
"ci": "lerna bootstrap && tsc && backstage-cli repo build --all && backstage-cli test --watchAll=false && backstage-cli repo lint && prettier --check .",
38-
"start:frontend": "yarn workspace @aws/aws-apps start",
39-
"start:backend": "yarn workspace @aws/aws-apps-backend start",
40-
"bump-version": "lerna version",
41-
"publish-version": "lerna publish from-package --yes --no-verify-access",
42-
"yarn:audit:fix": "yarn-audit-fix"
29+
"bootstrap": "lerna bootstrap",
30+
"tsc": "tsc",
31+
"build": "backstage-cli repo build --all",
32+
"clean": "backstage-cli repo clean",
33+
"test": "backstage-cli test --watchAll=false",
34+
"lint": "backstage-cli repo lint",
35+
"prettier:check": "prettier --check .",
36+
"prettier:fix": "prettier --write .",
37+
"ci": "lerna bootstrap && tsc && backstage-cli repo build --all && backstage-cli test --watchAll=false && backstage-cli repo lint && prettier --check .",
38+
"start:frontend": "yarn workspace @aws/aws-apps start",
39+
"start:backend": "yarn workspace @aws/aws-apps-backend start",
40+
"bump-version": "lerna version",
41+
"publish-version": "lerna publish from-package --yes --no-verify-access",
42+
"yarn:audit:fix": "yarn-audit-fix"
4343
},
4444
"devDependencies": {
45-
"@backstage/cli": "^0.26.11",
46-
"@spotify/prettier-config": "^15.0.0",
47-
"@types/react": "^18.3.3",
48-
"lerna": "^8.1.7",
49-
"prettier": "^3.3.3",
50-
"react": "^18.3.1",
51-
"react-dom": "^18.3.1",
52-
"react-router": "^6.26.0",
53-
"react-router-dom": "^6.26.0",
54-
"typescript": "~5.5.4",
55-
"yarn-audit-fix": "^10.0.7"
45+
"@backstage/cli": "^0.26.11",
46+
"@spotify/prettier-config": "^15.0.0",
47+
"@types/jest": "^29.5.14",
48+
"@types/node": "^22.10.5",
49+
"@types/react": "^18.3.3",
50+
"lerna": "^8.1.7",
51+
"prettier": "^3.3.3",
52+
"react": "^18.3.1",
53+
"react-dom": "^18.3.1",
54+
"react-router": "^6.26.0",
55+
"react-router-dom": "^6.26.0",
56+
"typescript": "~5.5.4",
57+
"yarn-audit-fix": "^10.0.7"
5658
},
57-
"prettier": "@spotify/prettier-config"
58-
}
59+
"prettier": "@spotify/prettier-config",
60+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
61+
}

0 commit comments

Comments
 (0)