Skip to content

Commit

Permalink
chore: use @contentful/browserslist-config (contentful#1230)
Browse files Browse the repository at this point in the history
  • Loading branch information
denkristoffer authored Sep 8, 2022
1 parent f7d9b26 commit 5be7f75
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 31 deletions.
7 changes: 2 additions & 5 deletions apps/entry-app-collapsible/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"devDependencies": {
"@contentful/app-scripts": "^0.9.17-alpha.16",
"@contentful/browserslist-config": "^3.0.0",
"@contentful/field-editor-test-utils": "^0.14.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
Expand All @@ -45,11 +46,7 @@
"@typescript-eslint/eslint-plugin": "^5.29.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"production": "extends @contentful/browserslist-config",
"development": [
"last 1 chrome version",
"last 1 firefox version",
Expand Down
2 changes: 1 addition & 1 deletion apps/entry-app-collapsible/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "ES2020",
"lib": [
"dom",
"dom.iterable",
Expand Down
7 changes: 2 additions & 5 deletions apps/markdown-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"extends": "react-app"
},
"devDependencies": {
"@contentful/browserslist-config": "^3.0.0",
"@contentful/field-editor-test-utils": "^0.14.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
Expand All @@ -39,11 +40,7 @@
"@typescript-eslint/eslint-plugin": "^5.29.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"production": "extends @contentful/browserslist-config",
"development": [
"last 1 chrome version",
"last 1 firefox version",
Expand Down
2 changes: 1 addition & 1 deletion apps/markdown-app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "ES2020",
"lib": [
"dom",
"dom.iterable",
Expand Down
7 changes: 2 additions & 5 deletions apps/multiple-references-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"extends": "react-app"
},
"devDependencies": {
"@contentful/browserslist-config": "^3.0.0",
"@contentful/field-editor-test-utils": "^0.14.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
Expand All @@ -38,11 +39,7 @@
"@typescript-eslint/eslint-plugin": "^5.29.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"production": "extends @contentful/browserslist-config",
"development": [
"last 1 chrome version",
"last 1 firefox version",
Expand Down
2 changes: 1 addition & 1 deletion apps/multiple-references-app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "ES2020",
"lib": [
"dom",
"dom.iterable",
Expand Down
7 changes: 2 additions & 5 deletions apps/rich-text-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"production": "extends @contentful/browserslist-config",
"development": [
"last 1 chrome version",
"last 1 firefox version",
Expand All @@ -36,6 +32,7 @@
},
"devDependencies": {
"@contentful/app-scripts": "^0.15.8",
"@contentful/browserslist-config": "^3.0.0",
"@contentful/field-editor-test-utils": "^0.14.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
Expand Down
2 changes: 1 addition & 1 deletion apps/rich-text-app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "ES2020",
"lib": [
"dom",
"dom.iterable",
Expand Down
7 changes: 2 additions & 5 deletions apps/singleline-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"production": "extends @contentful/browserslist-config",
"development": [
"last 1 chrome version",
"last 1 firefox version",
Expand All @@ -35,6 +31,7 @@
},
"devDependencies": {
"@contentful/app-scripts": "^0.15.8",
"@contentful/browserslist-config": "^3.0.0",
"@contentful/field-editor-test-utils": "^0.14.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
Expand Down
2 changes: 1 addition & 1 deletion apps/singleline-app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "ES2020",
"lib": [
"dom",
"dom.iterable",
Expand Down
1 change: 1 addition & 0 deletions cypress/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"noImplicitAny": false,
"baseUrl": "../node_modules",
"lib": ["es5", "dom"],
"target": "ES6",
"types": ["cypress", "@types/testing-library__cypress"],
"resolveJsonModule": true,
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "ES2020",
"module": "commonjs",
"importHelpers": true,
"declaration": true,
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1727,6 +1727,11 @@
resolved "https://registry.yarnpkg.com/@contentful/app-sdk/-/app-sdk-4.6.0.tgz#2eff666695fb0ed122222415a106f72aebe1d40f"
integrity sha512-6GwyQBhq3iwYJvxx2q+m2JDmDadszzthlIbgX8gO/v8Ode3vRszGY6/aJKgcc8ZtYPzsnvbo9czpUELFnst1DA==

"@contentful/browserslist-config@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@contentful/browserslist-config/-/browserslist-config-3.0.0.tgz#e1cc8bc1cecaec9406633ffaf600fb489a204273"
integrity sha512-e2OQlbOHMPZCI6BMA3OkTgOszPs2dhkbm+EXlllhBqmIvCOzLuA5iOGfoCEddkCqM8VHI+Zhdumq8XnFtSF+Jw==

"@contentful/contentful-extension-scripts@^0.20.4":
version "0.20.4"
resolved "https://registry.yarnpkg.com/@contentful/contentful-extension-scripts/-/contentful-extension-scripts-0.20.4.tgz#8a85d87a3ebd8fedd6d8667e5de196531808a676"
Expand Down

0 comments on commit 5be7f75

Please sign in to comment.