Skip to content

Commit

Permalink
chore: remove vulnerable dependencies from Jira app (#9055)
Browse files Browse the repository at this point in the history
* chore: remove vulnerable dependencies from Jira app

* fix css issues related to forma migration

* set max width for issue list and fix unique key warning

* chore: remove vulnerable dependencies from Jira app

* fix css issues related to forma migration

* set max width for issue list and fix unique key warning

* update import.meta logic

* update vars in package.json to prefix with VITE

* variable change logic for node env

* regenerate package lock

---------

Co-authored-by: Sarah Lessner <sarah.lessner@contentful.com>
  • Loading branch information
david-shibley-contentful and sarahlessner authored Dec 20, 2024
1 parent f0372bb commit 7ed3195
Show file tree
Hide file tree
Showing 21 changed files with 4,453 additions and 32,977 deletions.
12 changes: 12 additions & 0 deletions apps/jira/jira-app/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jira Software</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="./src/index.tsx"></script>
</body>
</html>
34,338 changes: 4,191 additions & 30,147 deletions apps/jira/jira-app/package-lock.json

Large diffs are not rendered by default.

18 changes: 10 additions & 8 deletions apps/jira/jira-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,32 @@
"@types/webpack-env": "1.18.5",
"cross-env": "^7.0.3",
"fetch-mock": "^9.11.0",
"jsdom": "^25.0.1",
"node-fetch": "^2.6.7",
"sass": "^1.23.7",
"typescript": "^4.1.5"
},
"dependencies": {
"@contentful/app-sdk": "4.23.0",
"@contentful/forma-36-fcss": "^0.3.5",
"@contentful/forma-36-react-components": "^3.100.7",
"@contentful/forma-36-tokens": "^0.11.2",
"@contentful/f36-components": "^4.70.0",
"@contentful/f36-icons": "^4.29.0",
"@contentful/f36-tokens": "^4.0.5",
"@contentful/react-apps-toolkit": "^1.2.16",
"lodash.debounce": "^4.0.8",
"lodash.get": "^4.4.2",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "5.0.1"
"vite": "^5.4.8",
"vitest": "^2.1.2"
},
"scripts": {
"start": "cross-env BROWSER=none REACT_APP_NGROK_URL=${NGROK_URL} REACT_APP_ATLASSIAN_APP_CLIENT_ID=${ATLASSIAN_APP_CLIENT_ID} react-scripts --openssl-legacy-provider start",
"build": "react-scripts --openssl-legacy-provider build",
"start": "VITE_NGROK_URL=${NGROK_URL} VITE_ATLASSIAN_APP_CLIENT_ID=${ATLASSIAN_APP_CLIENT_ID} vite",
"build": "vite build",
"deploy": "aws s3 sync ./build ${STATIC_JIRA_S3_BASE} --acl public-read",
"deploy:test": "npm run deploy",
"test": "react-scripts test",
"test:ci": "CI=true react-scripts test"
"test": "vitest",
"test:ci": "CI=true vitest"
},
"eslintConfig": {
"extends": "react-app"
Expand Down
Loading

0 comments on commit 7ed3195

Please sign in to comment.