Bump oauth2-pkce from ^2.1.3 to ^3.0.0. In v3, getTokens() throws ErrorAccessTokenExpired when the token has expired and no onAccessTokenExpiry handler is configured. Add the handler to the OSM auth client config so it automatically refreshes via the refresh token instead of throwing
119 lines
4.1 KiB
JSON
119 lines
4.1 KiB
JSON
{
|
|
"name": "marco",
|
|
"version": "1.25.1",
|
|
"private": true,
|
|
"description": "Unhosted maps app",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://gitea.kosmos.org/raucao/marco.git"
|
|
},
|
|
"license": "AGPL-3.0-only",
|
|
"author": "Râu Cao <raucao@kosmos.org>",
|
|
"type": "module",
|
|
"imports": {
|
|
"#app/*": "./app/*",
|
|
"#config": "./app/config/environment",
|
|
"#components/*": "./app/components/*"
|
|
},
|
|
"exports": {
|
|
"./tests/*": "./tests/*",
|
|
"./*": "./app/*"
|
|
},
|
|
"scripts": {
|
|
"build": "vite build --outDir release/",
|
|
"build:icons": "cp public/icons/icon-rounded.svg app/icons/icon-rounded.svg && for size in 32 48 144 180 192 512; do if [ \"$size\" -le 64 ]; then magick public/icons/icon.svg -define svg:remove-groups=map-grid -resize ${size}x${size} public/icons/icon-${size}.png; else rsvg-convert -w $size -h $size public/icons/icon.svg -o public/icons/icon-${size}.png; fi; done && rsvg-convert -w 512 -h 512 public/icons/icon.svg -o public/icons/icon-maskable.png",
|
|
"format": "prettier . --cache --write",
|
|
"lint": "concurrently \"pnpm:lint:*(!fix)\" --names \"lint:\" --prefixColors auto",
|
|
"lint:css": "stylelint \"**/*.css\"",
|
|
"lint:css:fix": "stylelint \"**/*.css\" --fix",
|
|
"lint:fix": "concurrently \"pnpm:lint:*:fix\" --names \"fix:\" --prefixColors auto && pnpm format",
|
|
"lint:format": "prettier . --cache --check",
|
|
"lint:format:fix": "prettier . --cache --write",
|
|
"lint:hbs": "ember-template-lint .",
|
|
"lint:hbs:fix": "ember-template-lint . --fix",
|
|
"lint:js": "eslint . --cache",
|
|
"lint:js:fix": "eslint . --fix",
|
|
"start": "vite",
|
|
"test": "vite build --mode development && testem ci --port 0",
|
|
"preversion": "pnpm lint && pnpm test",
|
|
"version": "pnpm build && git add release/"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^8.0.1",
|
|
"@babel/eslint-parser": "^8.0.1",
|
|
"@babel/plugin-transform-runtime": "^8.0.1",
|
|
"@babel/runtime": "^8.0.0",
|
|
"@ember/test-helpers": "^5.4.3",
|
|
"@ember/test-waiters": "^4.1.2",
|
|
"@embroider/core": "^4.6.3",
|
|
"@embroider/legacy-inspector-support": "^0.1.3",
|
|
"@embroider/macros": "^1.20.6",
|
|
"@embroider/router": "^3.0.6",
|
|
"@embroider/vite": "^1.7.9",
|
|
"@eslint/js": "^9.39.2",
|
|
"@glimmer/component": "^2.1.1",
|
|
"@remotestorage/module-places": "~1.3.0",
|
|
"@rollup/plugin-babel": "^7.1.0",
|
|
"@warp-drive/core": "~5.8.2",
|
|
"@warp-drive/ember": "~5.8.2",
|
|
"@warp-drive/json-api": "~5.8.2",
|
|
"@warp-drive/legacy": "~5.8.2",
|
|
"@warp-drive/utilities": "~5.8.2",
|
|
"babel-plugin-ember-template-compilation": "^4.0.0",
|
|
"concurrently": "^9.2.1",
|
|
"decorator-transforms": "^2.4.0",
|
|
"ember-cli": "^7.1.0",
|
|
"ember-cli-deprecation-workflow": "^4.0.1",
|
|
"ember-modifier": "^4.3.0",
|
|
"ember-page-title": "^9.0.3",
|
|
"ember-qunit": "^9.1.0",
|
|
"ember-resolver": "^13.2.0",
|
|
"ember-source": "~7.1.0",
|
|
"ember-template-lint": "^7.9.3",
|
|
"ember-truth-helpers": "^5.0.0",
|
|
"ember-welcome-page": "^8.0.4",
|
|
"eslint": "^9.39.2",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-ember": "^12.7.5",
|
|
"eslint-plugin-n": "^17.23.1",
|
|
"eslint-plugin-qunit": "^8.2.6",
|
|
"eslint-plugin-warp-drive": "^5.8.2",
|
|
"feather-icons": "^4.29.2",
|
|
"globals": "^16.5.0",
|
|
"latlon-geohash": "^2.0.0",
|
|
"ol": "^10.10.0",
|
|
"ol-mapbox-style": "^13.4.2",
|
|
"prettier": "^3.9.6",
|
|
"prettier-plugin-ember-template-tag": "^2.1.7",
|
|
"qunit": "^2.26.0",
|
|
"qunit-dom": "^3.6.0",
|
|
"remotestorage-widget": "^1.8.1",
|
|
"remotestoragejs": "2.0.0-beta.9",
|
|
"sinon": "^21.0.1",
|
|
"stylelint": "^16.26.1",
|
|
"stylelint-config-standard": "^38.0.0",
|
|
"testem": "^3.20.1",
|
|
"vite": "^8.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 22"
|
|
},
|
|
"ember": {
|
|
"edition": "octane"
|
|
},
|
|
"dependencies": {
|
|
"@noble/hashes": "^2.3.0",
|
|
"@waysidemapping/pinhead": "^15.25.0",
|
|
"applesauce-core": "^6.2.0",
|
|
"applesauce-relay": "^6.2.1",
|
|
"applesauce-signers": "^6.2.2",
|
|
"blurhash": "^2.0.5",
|
|
"ember-concurrency": "^5.2.0",
|
|
"ember-lifeline": "^7.1.0",
|
|
"nostr-idb": "^5.1.0",
|
|
"oauth2-pkce": "^3.0.0",
|
|
"qrcode": "^1.5.4",
|
|
"rxjs": "^7.8.2"
|
|
}
|
|
}
|