Skip to content

Commit

Permalink
feat: add missing dependencies and sync with backstage tsconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Aymard committed Jan 13, 2025
1 parent ad61541 commit 0fa98a1
Show file tree
Hide file tree
Showing 6 changed files with 23,790 additions and 45 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,6 @@ lerna-debug.log*
!environment/.environment-shared.json

/backstage

backstage-plugins/**/*.d.ts
tsconfig.tsbuildinfo
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ Please see our [Installation instructions](https://harmonixonaws.io/docs/getting
## 3. FAQs
Please see our [FAQs page](https://harmonixonaws.io/docs/faq)

## 4. Build locally

```sh
cd backstage-plugins
yarn --cwd plugins tsc --outDir dist-types
yarn --cwd plugins build
```

## Security

See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
Expand Down
4 changes: 4 additions & 0 deletions backstage-plugins/plugins/aws-apps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,12 @@
"@backstage/core-plugin-api": "^1.9.3",
"@backstage/errors": "^1.2.4",
"@backstage/plugin-catalog": "^1.21.1",
"@backstage/plugin-catalog-graph": "^0.4.14",
"@backstage/plugin-catalog-react": "^1.12.2",
"@backstage/plugin-github-actions": "^0.6.16",
"@backstage/plugin-permission-react": "^0.4.24",
"@backstage/plugin-techdocs": "^1.12.0",
"@backstage/plugin-techdocs-module-addons-contrib": "^1.1.19",
"@backstage/theme": "^0.5.6",
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
Expand Down
83 changes: 43 additions & 40 deletions backstage-plugins/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,56 +3,59 @@
"description": "App Development for Backstage.io on AWS plugins",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "github:awslabs/app-development-for-backstage-io-on-aws"
"type": "git",
"url": "github:awslabs/app-development-for-backstage-io-on-aws"
},
"license": "Apache-2.0",
"author": {
"name": "Amazon Web Services",
"url": "http://aws.amazon.com"
"name": "Amazon Web Services",
"url": "http://aws.amazon.com"
},
"private": true,
"workspaces": {
"packages": [
"aws-apps",
"aws-apps-backend",
"aws-apps-common",
"aws-apps-demo",
"catalog-backend-module-aws-apps-entities-processor",
"scaffolder-backend-module-aws-apps"
]
"packages": [
"aws-apps",
"aws-apps-backend",
"aws-apps-common",
"aws-apps-demo",
"catalog-backend-module-aws-apps-entities-processor",
"scaffolder-backend-module-aws-apps"
]
},
"engines": {
"node": "18"
"node": "20 || 22"
},
"scripts": {
"bootstrap": "lerna bootstrap",
"tsc": "tsc",
"build": "backstage-cli repo build --all",
"clean": "backstage-cli repo clean",
"test": "backstage-cli test --watchAll=false",
"lint": "backstage-cli repo lint",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"ci": "lerna bootstrap && tsc && backstage-cli repo build --all && backstage-cli test --watchAll=false && backstage-cli repo lint && prettier --check .",
"start:frontend": "yarn workspace @aws/aws-apps start",
"start:backend": "yarn workspace @aws/aws-apps-backend start",
"bump-version": "lerna version",
"publish-version": "lerna publish from-package --yes --no-verify-access",
"yarn:audit:fix": "yarn-audit-fix"
"bootstrap": "lerna bootstrap",
"tsc": "tsc",
"build": "backstage-cli repo build --all",
"clean": "backstage-cli repo clean",
"test": "backstage-cli test --watchAll=false",
"lint": "backstage-cli repo lint",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"ci": "lerna bootstrap && tsc && backstage-cli repo build --all && backstage-cli test --watchAll=false && backstage-cli repo lint && prettier --check .",
"start:frontend": "yarn workspace @aws/aws-apps start",
"start:backend": "yarn workspace @aws/aws-apps-backend start",
"bump-version": "lerna version",
"publish-version": "lerna publish from-package --yes --no-verify-access",
"yarn:audit:fix": "yarn-audit-fix"
},
"devDependencies": {
"@backstage/cli": "^0.26.11",
"@spotify/prettier-config": "^15.0.0",
"@types/react": "^18.3.3",
"lerna": "^8.1.7",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "^6.26.0",
"react-router-dom": "^6.26.0",
"typescript": "~5.5.4",
"yarn-audit-fix": "^10.0.7"
"@backstage/cli": "^0.26.11",
"@spotify/prettier-config": "^15.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.5",
"@types/react": "^18.3.3",
"lerna": "^8.1.7",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "^6.26.0",
"react-router-dom": "^6.26.0",
"typescript": "~5.5.4",
"yarn-audit-fix": "^10.0.7"
},
"prettier": "@spotify/prettier-config"
}
"prettier": "@spotify/prettier-config",
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
Loading

0 comments on commit 0fa98a1

Please sign in to comment.