mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
920474b7f7
ChangeLog: https://github.com/gotify/server/releases/tag/v2.0.22
ChangeLog: https://github.com/gotify/server/releases/tag/v2.0.23
ChangeLog: https://github.com/gotify/server/releases/tag/v2.1.0
While the update only contains a few small features and a few bugfixes,
the change was rather messy for us unfortunately:
* It seems as if `npmjs.org`-packages can't be transformed into
`pkg___pkg-x.y.z` for Yarn's offline cache. The name
`https___registry.npmjs.org_caniuse_lite___caniuse_lite_1.0.30001237.tgz`
isn't the problem because when changing the URL "parser" of `yarn2nix`
to transform this into `org_caniuse_lite___caniuse_lite_1.0.30001237`
this doesn't help either.
Instead, I derived the fix from `gitlab`[1] where `yarn.lock` gets
patched to make sure that it detects the package in the offline-cache
properly.
* The frontend is now built with `react-scripts`. This is a problem for
us because it tries to write into `node_modules/.cache` even though
`node_modules` is a store-path in the context of `yarn2nix`[2].
The change isn't pretty, but solves the issue for us.
[1] f007b794c7/pkgs/applications/version-management/gitlab/default.nix (L85-L86)
[2] https://github.com/facebook/create-react-app/issues/11263
88 lines
2.4 KiB
JSON
88 lines
2.4 KiB
JSON
{
|
|
"name": "gotify-ui",
|
|
"version": "0.2.0",
|
|
"private": true,
|
|
"homepage": ".",
|
|
"proxy": "http://localhost:80",
|
|
"dependencies": {
|
|
"@material-ui/core": "^4.11.4",
|
|
"@material-ui/icons": "^4.9.1",
|
|
"axios": "^0.21.1",
|
|
"codemirror": "^5.61.1",
|
|
"detect-browser": "^5.2.0",
|
|
"js-base64": "^3.6.1",
|
|
"mobx": "^5.15.6",
|
|
"mobx-react": "^6.3.0",
|
|
"mobx-utils": "^5.6.1",
|
|
"notifyjs": "^3.0.0",
|
|
"prop-types": "^15.6.2",
|
|
"react": "^16.4.2",
|
|
"react-codemirror2": "^7.2.1",
|
|
"react-dom": "^16.4.2",
|
|
"react-infinite": "^0.13.0",
|
|
"react-markdown": "^6.0.2",
|
|
"react-router": "^5.2.0",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-timeago": "^6.2.1",
|
|
"remark-gfm": "^1.0.0",
|
|
"remove-markdown": "^0.3.0",
|
|
"typeface-roboto": "1.1.13"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test --env=node",
|
|
"eject": "react-scripts eject",
|
|
"lint": "eslint \"src/**/*.{ts,tsx}\"",
|
|
"format": "prettier \"src/**/*.{ts,tsx}\" --write",
|
|
"testformat": "prettier \"src/**/*.{ts,tsx}\" --list-different"
|
|
},
|
|
"devDependencies": {
|
|
"@types/codemirror": "5.60.0",
|
|
"@types/detect-browser": "^4.0.0",
|
|
"@types/get-port": "^4.0.0",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/js-base64": "^3.3.1",
|
|
"@types/node": "^15.12.2",
|
|
"@types/notifyjs": "^3.0.2",
|
|
"@types/puppeteer": "^5.4.3",
|
|
"@types/react": "^16.9.49",
|
|
"@types/react-dom": "^16.9.8",
|
|
"@types/react-infinite": "0.0.35",
|
|
"@types/react-router-dom": "^5.1.7",
|
|
"@types/remove-markdown": "^0.3.0",
|
|
"@types/rimraf": "^3.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.1.0",
|
|
"@typescript-eslint/parser": "^4.1.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-import": "^2.22.0",
|
|
"eslint-plugin-jest": "^24.0.0",
|
|
"eslint-plugin-prefer-arrow": "^1.2.2",
|
|
"eslint-plugin-react": "^7.20.6",
|
|
"eslint-plugin-unicorn": "^21.0.0",
|
|
"get-port": "^5.1.1",
|
|
"prettier": "^2.3.1",
|
|
"puppeteer": "^10.0.0",
|
|
"react-scripts": "^4.0.3",
|
|
"rimraf": "^3.0.2",
|
|
"tree-kill": "^1.2.0",
|
|
"typescript": "4.0.2",
|
|
"wait-on": "^5.3.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|