From 2f504b5326f161f32ea84614c39d732cd350d3c8 Mon Sep 17 00:00:00 2001 From: Tyler <192154168+tylerwashington888@users.noreply.github.com> Date: Wed, 29 Jan 2025 16:20:32 -0500 Subject: [PATCH] feat: add dependabot code for app, add deploy script to app's package.json[INTEG-2340] (#4209) --- .github/dependabot.yml | 34 +++++++++++++++++++++++++++++++++- apps/vwo-fme/package.json | 3 ++- release-please-config.json | 4 ++-- 3 files changed, 37 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ae1567514..7b71dd651 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -648,7 +648,39 @@ updates: - minor - patch patterns: - - '*' + - '*' + - package-ecosystem: npm + schedule: + interval: daily + time: '03:00' + timezone: Etc/UTC + open-pull-requests-limit: 3 + commit-message: + prefix: 'fix' + prefix-development: 'chore' + include: 'scope' + directory: '/apps/vwo-fme' + ignore: + - dependency-name: '@types/node' + versions: + - '>18.15.3' + groups: + production-dependencies: + applies-to: version-updates + dependency-type: production + update-types: + - minor + - patch + patterns: + - '*' + dev-dependencies: + applies-to: version-updates + dependency-type: development + update-types: + - minor + - patch + patterns: + - '*' - package-ecosystem: npm schedule: interval: daily diff --git a/apps/vwo-fme/package.json b/apps/vwo-fme/package.json index 1eaddaa78..315ec09f1 100644 --- a/apps/vwo-fme/package.json +++ b/apps/vwo-fme/package.json @@ -22,7 +22,8 @@ "create-app-definition": "contentful-app-scripts create-app-definition", "upload": "contentful-app-scripts upload --bundle-dir ./build", "install-ci": "npm install --legacy-peer-deps", - "upload-ci": "contentful-app-scripts upload --ci --bundle-dir ./build --organization-id $CONTENTFUL_ORG_ID --definition-id $CONTENTFUL_APP_DEF_ID --token $CONTENTFUL_ACCESS_TOKEN" + "deploy": "contentful-app-scripts upload --ci --bundle-dir ./build --organization-id ${DEFINITIONS_ORG_ID} --definition-id 71oYmQJFCIWn9pxizjN8dZ --token ${CONTENTFUL_CMA_TOKEN}", + "deploy:staging": "contentful-app-scripts upload --ci --bundle-dir ./build --organization-id ${TEST_ORG_ID} --definition-id 1Ruf35Q3xWxPZhedm8ygEx --token ${TEST_CMA_TOKEN}" }, "eslintConfig": { "extends": "react-app" diff --git a/release-please-config.json b/release-please-config.json index 23c99d6a7..08ea7574b 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -20,8 +20,8 @@ "apps/transifex": {}, "apps/uploadcare": {}, "apps/voucherify": {}, + "apps/vwo-fme": {}, "apps/wix": {}, - "apps/xillio-transcreate": {}, - "apps/vwo-fme": {} + "apps/xillio-transcreate": {} } } \ No newline at end of file