Skip to content

Commit 870933a

Browse files
feat: google docs doc uploader [INTEG-3258] (#10250)
* feat: google docs doc uploader * Potential fix for code scanning alert no. 95: DOM text reinterpreted as HTML Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * fix public google doc uploader * removing the ticket number * added some styles * adding mammoth package * removed weird typing * removing referrences to word --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 66090a2 commit 870933a

File tree

4 files changed

+562
-20
lines changed

4 files changed

+562
-20
lines changed

apps/google-docs/package-lock.json

Lines changed: 191 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/google-docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
"@contentful/f36-components": "^5.6.0",
99
"@contentful/f36-tokens": "^5.1.0",
1010
"@contentful/field-editor-json": "^3.3.38",
11-
"@contentful/react-apps-toolkit": "^1.2.16",
1211
"@contentful/node-apps-toolkit": "^3.13.0",
12+
"@contentful/react-apps-toolkit": "^1.2.16",
1313
"@emotion/css": "^11.13.4",
1414
"ai": "^5.0.81",
1515
"contentful-management": "^11.61.0",
16+
"mammoth": "^1.11.0",
1617
"react": "^18.3.1",
1718
"react-dom": "^18.3.1"
1819
},
@@ -30,7 +31,6 @@
3031
"deploy": "contentful-app-scripts upload --ci --bundle-dir ./build --organization-id ${DEFINITIONS_ORG_ID} --definition-id 3EaGZUMKRKVZUyrcoNJ4o4 --token ${CONTENTFUL_CMA_TOKEN}",
3132
"deploy:dev": "npm run build && source .env && contentful-app-scripts upload --ci --bundle-dir ./build --organization-id $CONTENTFUL_ORG_ID --definition-id 653vTnuQw3j5onU1tUoH6t --token \"$CONTENTFUL_CMA_TOKEN\"",
3233
"deploy:staging": "npm run build && source .env && contentful-app-scripts upload --ci --bundle-dir ./build --organization-id $CONTENTFUL_ORG_ID --definition-id 4i0mp5lQtgNsHYVrD5jIkj --token \"$CONTENTFUL_CMA_TOKEN\""
33-
3434
},
3535
"eslintConfig": {
3636
"extends": "react-app"
@@ -63,4 +63,4 @@
6363
"vitest": "^3.0.9"
6464
},
6565
"homepage": "."
66-
}
66+
}

0 commit comments

Comments
 (0)