diff --git a/common/changes/@boostercloud/framework-core/maintainance-consistent-rimraf-dependency-versioning_2023-09-27-15-21.json b/common/changes/@boostercloud/framework-core/maintainance-consistent-rimraf-dependency-versioning_2023-09-27-15-21.json new file mode 100644 index 000000000..ea1f8f721 --- /dev/null +++ b/common/changes/@boostercloud/framework-core/maintainance-consistent-rimraf-dependency-versioning_2023-09-27-15-21.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@boostercloud/framework-core", + "comment": "", + "type": "none" + } + ], + "packageName": "@boostercloud/framework-core" +} \ No newline at end of file diff --git a/packages/application-tester/package.json b/packages/application-tester/package.json index b0b81d844..5fb2fdbad 100644 --- a/packages/application-tester/package.json +++ b/packages/application-tester/package.json @@ -61,7 +61,7 @@ "sinon-chai": "3.5.0", "typescript": "4.7.4", "prettier": "2.3.0", - "rimraf": "5.0.0", + "rimraf": "^5.0.0", "sinon": "9.2.3", "eslint-plugin-unicorn": "~44.0.2" }, diff --git a/packages/cli/package.json b/packages/cli/package.json index 55cf62fea..664d09294 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -65,7 +65,7 @@ "nyc": "^15.1.0", "prettier": "2.3.0", "rewire": "5.0.0", - "rimraf": "5.0.0", + "rimraf": "^5.0.0", "sinon": "9.2.3", "sinon-chai": "3.5.0", "ts-node": "^10.9.1", diff --git a/packages/cli/src/templates/project/package-json.ts b/packages/cli/src/templates/project/package-json.ts index ca262b2ee..9b7a1a2d1 100644 --- a/packages/cli/src/templates/project/package-json.ts +++ b/packages/cli/src/templates/project/package-json.ts @@ -18,7 +18,7 @@ export const template = `{ "@boostercloud/framework-provider-local-infrastructure": "^${VERSION}", "@boostercloud/metadata-booster": "^${VERSION}", "{{{providerPackageName}}}-infrastructure": "^${VERSION}", - "rimraf": "^3.0.1", + "rimraf": "^5.0.0", "@typescript-eslint/eslint-plugin": "4.22.1", "@typescript-eslint/parser": "4.22.1", "eslint": "7.26.0", @@ -47,7 +47,6 @@ export const template = `{ "lint:fix": "eslint --quiet --fix --ext '.js,.ts' **/*.ts", "build": "ttsc -b tsconfig.json", "clean": "rimraf ./dist tsconfig.tsbuildinfo", - "test": "AWS_SDK_LOAD_CONFIG=true BOOSTER_ENV=test nyc --extension .ts mocha --forbid-only \\"test/**/*.test.ts\\"" }, "types": "lib/index.d.ts" }` diff --git a/packages/cli/test/fixtures/mock_project/package.json b/packages/cli/test/fixtures/mock_project/package.json index 85346d7ff..eb099dd62 100644 --- a/packages/cli/test/fixtures/mock_project/package.json +++ b/packages/cli/test/fixtures/mock_project/package.json @@ -13,7 +13,7 @@ "@boostercloud/framework-provider-aws-infrastructure": "^1.11.2", "@boostercloud/rocket-backup-aws-infrastructure": "^1.11.2", "@boostercloud/rocket-static-sites-aws-infrastructure": "^1.11.2", - "rimraf": "^3.0.1", + "rimraf": "^5.0.0", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^6.8.0", diff --git a/packages/framework-common-helpers/package.json b/packages/framework-common-helpers/package.json index 9d771672f..acb79a86a 100644 --- a/packages/framework-common-helpers/package.json +++ b/packages/framework-common-helpers/package.json @@ -61,7 +61,7 @@ "nyc": "^15.1.0", "prettier": "2.3.0", "rewire": "5.0.0", - "rimraf": "5.0.0", + "rimraf": "^5.0.0", "sinon": "9.2.3", "sinon-chai": "3.5.0", "ts-node": "^10.9.1", diff --git a/packages/framework-core/package.json b/packages/framework-core/package.json index 2ef70f908..19bf7b791 100644 --- a/packages/framework-core/package.json +++ b/packages/framework-core/package.json @@ -75,7 +75,7 @@ "nock": "11.8.2", "nyc": "^15.1.0", "prettier": "2.3.0", - "rimraf": "5.0.0", + "rimraf": "^5.0.0", "sinon": "9.2.3", "sinon-chai": "3.5.0", "ts-node": "^10.9.1", diff --git a/packages/framework-integration-tests/package.json b/packages/framework-integration-tests/package.json index f2653fd92..fcc8fd780 100644 --- a/packages/framework-integration-tests/package.json +++ b/packages/framework-integration-tests/package.json @@ -66,7 +66,7 @@ "nedb": "^1.8.0", "nyc": "^15.1.0", "prettier": "2.3.0", - "rimraf": "5.0.0", + "rimraf": "^5.0.0", "reflect-metadata": "0.1.13", "serverless": "3.8.0", "serverless-artillery": "0.5.2", diff --git a/packages/framework-provider-aws-infrastructure/package.json b/packages/framework-provider-aws-infrastructure/package.json index 8cb70f095..1499948c0 100644 --- a/packages/framework-provider-aws-infrastructure/package.json +++ b/packages/framework-provider-aws-infrastructure/package.json @@ -90,7 +90,7 @@ "nyc": "^15.1.0", "prettier": "2.3.0", "rewire": "5.0.0", - "rimraf": "5.0.0", + "rimraf": "^5.0.0", "sinon": "9.2.3", "sinon-chai": "3.5.0", "ts-node": "^10.9.1", diff --git a/packages/framework-provider-aws/package.json b/packages/framework-provider-aws/package.json index 9c4fcb8be..a357f4041 100644 --- a/packages/framework-provider-aws/package.json +++ b/packages/framework-provider-aws/package.json @@ -65,7 +65,7 @@ "nyc": "^15.1.0", "prettier": "2.3.0", "rewire": "5.0.0", - "rimraf": "5.0.0", + "rimraf": "^5.0.0", "sinon": "9.2.3", "sinon-chai": "3.5.0", "ts-node": "^10.9.1", diff --git a/packages/framework-provider-azure-infrastructure/package.json b/packages/framework-provider-azure-infrastructure/package.json index b3d3ab578..83937c4f9 100644 --- a/packages/framework-provider-azure-infrastructure/package.json +++ b/packages/framework-provider-azure-infrastructure/package.json @@ -85,7 +85,7 @@ "mocha": "10.2.0", "nyc": "^15.1.0", "prettier": "2.3.0", - "rimraf": "5.0.0", + "rimraf": "^5.0.0", "ts-node": "^10.9.1", "typescript": "4.7.4", "sinon": "9.2.3", diff --git a/packages/framework-provider-azure/package.json b/packages/framework-provider-azure/package.json index 192105040..3ca0e8d78 100644 --- a/packages/framework-provider-azure/package.json +++ b/packages/framework-provider-azure/package.json @@ -50,7 +50,7 @@ "mocha": "10.2.0", "nyc": "^15.1.0", "prettier": "2.3.0", - "rimraf": "5.0.0", + "rimraf": "^5.0.0", "sinon": "9.2.3", "sinon-chai": "3.5.0", "ts-node": "^10.9.1", diff --git a/packages/framework-provider-local-infrastructure/package.json b/packages/framework-provider-local-infrastructure/package.json index 0a0e36fd1..3d0410d63 100644 --- a/packages/framework-provider-local-infrastructure/package.json +++ b/packages/framework-provider-local-infrastructure/package.json @@ -67,7 +67,7 @@ "mocha": "10.2.0", "nyc": "^15.1.0", "prettier": "2.3.0", - "rimraf": "5.0.0", + "rimraf": "^5.0.0", "sinon": "9.2.3", "sinon-chai": "3.5.0", "sinon-express-mock": "^2.2.1", diff --git a/packages/framework-provider-local/package.json b/packages/framework-provider-local/package.json index 49e44e27c..6c55154d1 100644 --- a/packages/framework-provider-local/package.json +++ b/packages/framework-provider-local/package.json @@ -66,7 +66,7 @@ "mocha": "10.2.0", "nyc": "^15.1.0", "prettier": "2.3.0", - "rimraf": "5.0.0", + "rimraf": "^5.0.0", "sinon": "9.2.3", "sinon-chai": "3.5.0", "sinon-express-mock": "^2.2.1", diff --git a/packages/framework-types/package.json b/packages/framework-types/package.json index 1f88245c1..fb0cdb575 100644 --- a/packages/framework-types/package.json +++ b/packages/framework-types/package.json @@ -68,7 +68,8 @@ "typescript": "4.7.4", "prettier": "2.3.0", "eslint-plugin-unicorn": "~44.0.2", - "graphql": "^16.6.0" + "graphql": "^16.6.0", + "rimraf": "^5.0.0" }, "pnpm": { "overrides": { diff --git a/packages/metadata-booster/package.json b/packages/metadata-booster/package.json index 539cd7667..c38c76f23 100644 --- a/packages/metadata-booster/package.json +++ b/packages/metadata-booster/package.json @@ -42,6 +42,7 @@ "typescript": "4.7.4", "prettier": "2.3.0", "sinon": "9.2.3", + "rimraf": "^5.0.0", "eslint-plugin-unicorn": "~44.0.2" }, "scripts": { diff --git a/website/docs/10_going-deeper/data-migrations.md b/website/docs/10_going-deeper/data-migrations.md index 4f46619b0..5dea8335d 100644 --- a/website/docs/10_going-deeper/data-migrations.md +++ b/website/docs/10_going-deeper/data-migrations.md @@ -147,7 +147,7 @@ export class CartIdDataMigrateV2 { ```json "devDependencies": { - "rimraf": "^3.0.1", + "rimraf": "^5.0.0", "@typescript-eslint/eslint-plugin": "4.22.1", "@typescript-eslint/parser": "4.22.1", "eslint": "7.26.0",