From 804cc2d5ec6c00530edb040c7cffec931304e5e8 Mon Sep 17 00:00:00 2001 From: bri becker <39387238+bbckr@users.noreply.github.com> Date: Fri, 15 Mar 2024 10:43:40 -0500 Subject: [PATCH] Add volta yarn version to package.json (#43) * Add volta yarn version to package.json * Update README.md with comment on yarn version --- README.md | 2 ++ package.json | 4 ++++ packages/app/package.json | 4 ++-- plugins/awards-backend/package.json | 3 +-- plugins/awards-common/package.json | 1 - plugins/awards/package.json | 1 - plugins/catalog-backend-module-okta/package.json | 1 - plugins/entity-scaffolder-content/package.json | 1 - plugins/slack-catalog-backend/package.json | 1 - 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e92c638..d62f868 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,5 @@ their respective locations. ## Preview the collection We have created a demo Backstage application to preview the SeatGeek Backstage Plugins Collection. To view it, clone this repository and run `yarn install && yarn dev`. + +If you run into issues running the above command, run `yarn --version` to check the installed yarn version. It is a known issue that the project does not work with the latest version of yarn, so it is recommended to downgrade to the highest known supported version of `1.22.x`. diff --git a/package.json b/package.json index 7184b0a..57b5031 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,10 @@ "plugins/*" ] }, + "volta": { + "node": "18.19.1", + "yarn": "1.22.21" + }, "devDependencies": { "@backstage/cli": "^0.25.1", "@backstage/e2e-test-utils": "^0.1.0", diff --git a/packages/app/package.json b/packages/app/package.json index ae10cf0..8c04198 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -38,10 +38,10 @@ "@backstage/plugin-techdocs-react": "^1.1.15", "@backstage/plugin-user-settings": "^0.8.0", "@backstage/theme": "^0.5.0", - "@seatgeek/backstage-plugin-awards": "link:*", - "@seatgeek/backstage-plugin-entity-scaffolder-content": "link:*", "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", + "@seatgeek/backstage-plugin-awards": "link:*", + "@seatgeek/backstage-plugin-entity-scaffolder-content": "link:*", "history": "^5.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/plugins/awards-backend/package.json b/plugins/awards-backend/package.json index feb774b..6d802cd 100644 --- a/plugins/awards-backend/package.json +++ b/plugins/awards-backend/package.json @@ -4,7 +4,6 @@ "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", - "private": false, "publishConfig": { "access": "public", "main": "dist/index.cjs.js", @@ -34,8 +33,8 @@ "@seatgeek/backstage-plugin-awards-common": "link:*", "@slack/webhook": "^7.0.2", "@tweedegolf/sab-adapter-amazon-s3": "^1.0.13", - "@tweedegolf/sab-adapter-local": "^1.0.5", "@tweedegolf/sab-adapter-google-cloud": "^1.0.5", + "@tweedegolf/sab-adapter-local": "^1.0.5", "@tweedegolf/storage-abstraction": "^2.1.1", "@types/express": "*", "@types/express-fileupload": "^1.4.4", diff --git a/plugins/awards-common/package.json b/plugins/awards-common/package.json index 2625276..b1a5903 100644 --- a/plugins/awards-common/package.json +++ b/plugins/awards-common/package.json @@ -4,7 +4,6 @@ "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", - "private": false, "publishConfig": { "access": "public", "main": "dist/index.cjs.js", diff --git a/plugins/awards/package.json b/plugins/awards/package.json index c5c5a8b..fc555c2 100644 --- a/plugins/awards/package.json +++ b/plugins/awards/package.json @@ -4,7 +4,6 @@ "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", - "private": false, "publishConfig": { "access": "public", "main": "dist/index.esm.js", diff --git a/plugins/catalog-backend-module-okta/package.json b/plugins/catalog-backend-module-okta/package.json index 87572e5..503aa4d 100644 --- a/plugins/catalog-backend-module-okta/package.json +++ b/plugins/catalog-backend-module-okta/package.json @@ -4,7 +4,6 @@ "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", - "private": false, "publishConfig": { "access": "public", "main": "dist/index.cjs.js", diff --git a/plugins/entity-scaffolder-content/package.json b/plugins/entity-scaffolder-content/package.json index d2be753..0ac2f12 100644 --- a/plugins/entity-scaffolder-content/package.json +++ b/plugins/entity-scaffolder-content/package.json @@ -4,7 +4,6 @@ "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", - "private": false, "publishConfig": { "access": "public", "main": "dist/index.esm.js", diff --git a/plugins/slack-catalog-backend/package.json b/plugins/slack-catalog-backend/package.json index 6abbea6..fd06cfe 100644 --- a/plugins/slack-catalog-backend/package.json +++ b/plugins/slack-catalog-backend/package.json @@ -4,7 +4,6 @@ "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", - "private": false, "publishConfig": { "access": "public", "main": "dist/index.cjs.js",