Skip to content

Commit 9bc4f3c

Browse files
committed
feat: bump app-script & add add-locations script [EXT-6267]
1 parent cb0d756 commit 9bc4f3c

File tree

49 files changed

+76
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+76
-46
lines changed

examples/app-parameters/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@
2020
"build": "tsc && vite build",
2121
"test": "vitest",
2222
"create-app-definition": "contentful-app-scripts create-app-definition",
23+
"add-locations": "contentful-app-scripts add-locations",
2324
"upload": "contentful-app-scripts upload --bundle-dir ./dist",
2425
"upload-ci": "contentful-app-scripts upload --ci --bundle-dir ./dist --organization-id $CONTENTFUL_ORG_ID --definition-id $CONTENTFUL_APP_DEF_ID --token $CONTENTFUL_ACCESS_TOKEN",
2526
"setup": "ts-node scripts/setup.ts"
2627
},
2728
"devDependencies": {
28-
"@contentful/app-scripts": "1.19.1",
29+
"@contentful/app-scripts": "^2.3.0",
2930
"@testing-library/react": "^16.2.0",
3031
"@types/node": "^16.18.124",
3132
"@types/react": "18.3.1",

examples/asset-upload/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@contentful/app-scripts": "^1.30.1",
6+
"@contentful/app-scripts": "^2.3.0",
77
"@contentful/app-sdk": "4.22.0",
88
"@contentful/f36-components": "4.45.0",
99
"@contentful/f36-tokens": "4.0.2",
@@ -18,6 +18,7 @@
1818
"start": "vite",
1919
"build": "tsc && vite build",
2020
"create-app-definition": "contentful-app-scripts create-app-definition",
21+
"add-locations": "contentful-app-scripts add-locations",
2122
"upload": "contentful-app-scripts upload --bundle-dir ./dist",
2223
"upload-ci": "contentful-app-scripts upload --ci --bundle-dir ./dist --organization-id $CONTENTFUL_ORG_ID --definition-id $CONTENTFUL_APP_DEF_ID --token $CONTENTFUL_ACCESS_TOKEN"
2324
},

examples/autotagger/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"build:functions": "contentful-app-scripts build-functions --ci",
2020
"test": "vitest run --passWithNoTests",
2121
"create-app-definition": "contentful-app-scripts create-app-definition",
22+
"add-locations": "contentful-app-scripts add-locations",
2223
"upload": "contentful-app-scripts upload --bundle-dir ./build",
2324
"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"
2425
},
@@ -38,7 +39,7 @@
3839
]
3940
},
4041
"devDependencies": {
41-
"@contentful/app-scripts": "2.1.2",
42+
"@contentful/app-scripts": "^2.3.0",
4243
"@contentful/node-apps-toolkit": "^3.11.1",
4344
"@testing-library/jest-dom": "^6.6.3",
4445
"@testing-library/react": "^16.2.0",

examples/blog-post-metrics/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@
2020
"build": "vite build",
2121
"preview": "vite preview",
2222
"create-app-definition": "contentful-app-scripts create-app-definition",
23+
"add-locations": "contentful-app-scripts add-locations",
2324
"upload": "contentful-app-scripts upload --bundle-dir ./dist",
2425
"upload-ci": "contentful-app-scripts upload --ci --bundle-dir ./dist --organization-id $CONTENTFUL_ORG_ID --definition-id $CONTENTFUL_APP_DEF_ID --token $CONTENTFUL_ACCESS_TOKEN"
2526
},
2627
"devDependencies": {
27-
"@contentful/app-scripts": "1.10.2",
28+
"@contentful/app-scripts": "^2.3.0",
2829
"@testing-library/jest-dom": "5.16.5",
2930
"@testing-library/react": "14.0.0",
3031
"@tsconfig/create-react-app": "2.0.0",

examples/commercelayer/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.5.89",
44
"private": true,
55
"devDependencies": {
6-
"@contentful/app-scripts": "1.15.0",
6+
"@contentful/app-scripts": "^2.3.0",
77
"cross-env": "7.0.3",
88
"vite": "^5.0.0",
99
"@vitejs/plugin-react": "^4.0.3"
@@ -20,6 +20,8 @@
2020
"dev": "vite",
2121
"build": "vite build",
2222
"preview": "vite preview",
23+
"create-app-definition": "contentful-app-scripts create-app-definition",
24+
"add-locations": "contentful-app-scripts add-locations",
2325
"upload": "contentful-app-scripts upload --bundle-dir ./dist",
2426
"upload-ci": "contentful-app-scripts upload --ci --bundle-dir ./dist --organization-id $CONTENTFUL_ORG_ID --definition-id $CONTENTFUL_APP_DEF_ID --token $CONTENTFUL_ACCESS_TOKEN"
2527
},

examples/compare-entries/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"react-dom": "^16.14.0"
1818
},
1919
"devDependencies": {
20-
"@contentful/app-scripts": "1.10.2",
20+
"@contentful/app-scripts": "^2.3.0",
2121
"@tsconfig/create-react-app": "2.0.0",
2222
"@vitejs/plugin-react": "^4.0.3",
2323
"cross-env": "7.0.3",
@@ -29,6 +29,7 @@
2929
"build": "vite build",
3030
"preview": "vite preview",
3131
"create-app-definition": "contentful-app-scripts create-app-definition",
32+
"add-locations": "contentful-app-scripts add-locations",
3233
"upload": "contentful-app-scripts upload --bundle-dir ./dist",
3334
"upload-ci": "contentful-app-scripts upload --ci --bundle-dir ./dist --organization-id $CONTENTFUL_ORG_ID --definition-id $CONTENTFUL_APP_DEF_ID --token $CONTENTFUL_ACCESS_TOKEN"
3435
},

examples/custom-validation/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
"scripts": {
55
"start": "vite",
66
"build": "tsc --noEmit && vite build",
7+
"create-app-definition": "contentful-app-scripts create-app-definition",
8+
"add-locations": "contentful-app-scripts add-locations",
79
"upload": "contentful-app-scripts upload --bundle-dir ./dist",
810
"upload-ci": "contentful-app-scripts upload --ci --bundle-dir ./dist --organization-id $CONTENTFUL_ORG_ID --definition-id $CONTENTFUL_APP_DEF_ID --token $CONTENTFUL_ACCESS_TOKEN"
911
},
1012
"dependencies": {
11-
"@contentful/app-scripts": "1.10.2",
13+
"@contentful/app-scripts": "^2.3.0",
1214
"@contentful/app-sdk": "4.22.0",
1315
"@contentful/f36-components": "4.45.0",
1416
"@contentful/react-apps-toolkit": "1.2.16",

examples/dam-app/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"react-dom": "17.0.2"
1111
},
1212
"devDependencies": {
13-
"@contentful/app-scripts": "1.15.0",
13+
"@contentful/app-scripts": "^2.3.0",
1414
"cross-env": "7.0.3",
1515
"vite": "^5.0.0",
1616
"@vitejs/plugin-react": "^4.0.3"
@@ -19,6 +19,8 @@
1919
"dev": "vite",
2020
"build": "vite build",
2121
"preview": "vite preview",
22+
"create-app-definition": "contentful-app-scripts create-app-definition",
23+
"add-locations": "contentful-app-scripts add-locations",
2224
"upload": "contentful-app-scripts upload --bundle-dir ./dist",
2325
"upload-ci": "contentful-app-scripts upload --ci --bundle-dir ./dist --organization-id $CONTENTFUL_ORG_ID --definition-id $CONTENTFUL_APP_DEF_ID --token $CONTENTFUL_ACCESS_TOKEN"
2426
},

examples/ecommerce-app/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"react-dom": "17.0.2"
1111
},
1212
"devDependencies": {
13-
"@contentful/app-scripts": "1.15.0",
13+
"@contentful/app-scripts": "^2.3.0",
1414
"cross-env": "7.0.3",
1515
"vite": "^5.0.0",
1616
"@vitejs/plugin-react": "^4.0.3"
@@ -19,6 +19,8 @@
1919
"dev": "vite",
2020
"build": "vite build",
2121
"preview": "vite preview",
22+
"create-app-definition": "contentful-app-scripts create-app-definition",
23+
"add-locations": "contentful-app-scripts add-locations",
2224
"upload": "contentful-app-scripts upload --bundle-dir ./dist",
2325
"upload-ci": "contentful-app-scripts upload --ci --bundle-dir ./dist --organization-id $CONTENTFUL_ORG_ID --definition-id $CONTENTFUL_APP_DEF_ID --token $CONTENTFUL_ACCESS_TOKEN"
2426
},

examples/editor-assignment/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"vitest": "^3.0.7"
1818
},
1919
"devDependencies": {
20-
"@contentful/app-scripts": "1.10.2",
20+
"@contentful/app-scripts": "^2.3.0",
2121
"@testing-library/jest-dom": "5.16.5",
2222
"@testing-library/react": "14.0.0",
2323
"@tsconfig/create-react-app": "2.0.0",
@@ -37,6 +37,7 @@
3737
"test": "vitest",
3838
"preview": "vite preview",
3939
"create-app-definition": "contentful-app-scripts create-app-definition",
40+
"add-locations": "contentful-app-scripts add-locations",
4041
"upload": "contentful-app-scripts upload --bundle-dir ./dist",
4142
"upload-ci": "contentful-app-scripts upload --ci --bundle-dir ./dist --organization-id $CONTENTFUL_ORG_ID --definition-id $CONTENTFUL_APP_DEF_ID --token $CONTENTFUL_ACCESS_TOKEN"
4243
},

0 commit comments

Comments
 (0)