diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd5445f1..cda26e38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,12 @@ on: workflow_dispatch: jobs: + update-deps: + uses: SolidOS/solidos/.github/workflows/update-solidos-deps.yml@main + secrets: inherit + build: + needs: update-deps runs-on: ubuntu-latest strategy: matrix: @@ -57,6 +62,9 @@ jobs: npm-publish-dev: needs: build + permissions: + id-token: write + contents: read uses: SolidOS/solidos/.github/workflows/publish-prerelease.yml@main with: node_version: 22 diff --git a/package-lock.json b/package-lock.json index 01003e46..7b73e4ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "profile-pane", - "version": "3.2.3-0", + "version": "3.2.3-1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "profile-pane", - "version": "3.2.3-0", + "version": "3.2.3-1", "license": "MIT", "dependencies": { "@solid-data-modules/contacts-rdflib": "^0.7.1", "lit-html": "^3.3.3", - "pane-registry": "^3.1.2-test.0", + "pane-registry": "3.1.2-0", "patch-package": "^8.0.1", "qrcode": "^1.5.4", "validate-color": "^2.2.4" @@ -31,8 +31,8 @@ "babel-loader": "^10.1.1", "babel-plugin-inline-import": "^3.0.0", "babel-plugin-transform-import-meta": "^2.3.3", - "chat-pane": "^3.0.4-0", - "contacts-pane": "^3.2.1-1", + "chat-pane": "3.0.4-1", + "contacts-pane": "3.2.1-2", "copy-webpack-plugin": "^14.0.0", "css-loader": "^7.1.4", "eslint": "^9.39.4", @@ -42,9 +42,9 @@ "jest-fetch-mock": "^3.0.3", "jsdom": "^29.1.1", "node-polyfill-webpack-plugin": "^4.1.0", - "rdflib": "^2.3.9", - "solid-logic": "^4.0.8-test.0", - "solid-ui": "^3.1.3-0", + "rdflib": "2.3.9", + "solid-logic": "4.0.8-0", + "solid-ui": "3.1.3-5", "style-loader": "^4.0.0", "terser-webpack-plugin": "^5.6.0", "ts-loader": "^9.5.7", @@ -52,11 +52,6 @@ "webpack": "^5.106.2", "webpack-cli": "^7.0.2", "webpack-dev-server": "^5.2.4" - }, - "peerDependencies": { - "rdflib": "^2.3.9", - "solid-logic": "^4.0.8-test.0", - "solid-ui": "^3.1.3-0" } }, "node_modules/@adobe/css-tools": { @@ -6292,18 +6287,16 @@ } }, "node_modules/chat-pane": { - "version": "3.0.4-0", - "resolved": "https://registry.npmjs.org/chat-pane/-/chat-pane-3.0.4-0.tgz", - "integrity": "sha512-Q9cerIsuEcP4UNv2LihesYz/60qqVwQOo+zgzQlwratlkHFDroA5HdPrnDFCsReatGdJv6UFDiDwYudst9Bxcg==", + "version": "3.0.4-1", + "resolved": "https://registry.npmjs.org/chat-pane/-/chat-pane-3.0.4-1.tgz", + "integrity": "sha512-KMIP58pQj4G9iFwzbcHfyrZXR2OUAjAz0OFMATUs+fDLPR9UpijxiGvvQnYwTjFy9Vu7tDFUkQknEPy/MheQog==", "dev": true, "license": "MIT", "dependencies": { - "patch-package": "^8.0.1" - }, - "peerDependencies": { - "rdflib": "^2.3.6", - "solid-logic": "^4.0.8-test.0", - "solid-ui": "^3.1.3-0" + "patch-package": "^8.0.1", + "rdflib": "2.3.9", + "solid-logic": "4.0.8-0", + "solid-ui": "3.1.3-4" } }, "node_modules/chokidar": { @@ -6555,18 +6548,13 @@ "license": "MIT" }, "node_modules/contacts-pane": { - "version": "3.2.1-1", - "resolved": "https://registry.npmjs.org/contacts-pane/-/contacts-pane-3.2.1-1.tgz", - "integrity": "sha512-6U5RF9Ik1EMGrOjflFPfNyQ1EdldCXBzjlDD7iNf41LRRKNgL4bDuD2Bzoxgw4Y14wEPWUPyOFnTQTuVHgc3LQ==", + "version": "3.2.1-2", + "resolved": "https://registry.npmjs.org/contacts-pane/-/contacts-pane-3.2.1-2.tgz", + "integrity": "sha512-k5W4/TjTAiA4kz5VpNxxsawr4xheypDmLdyUP4VWAk40SxuF4Wp293/aq6zkUjL6FAtigm3rn6Y94mqIw40qog==", "dev": true, "license": "MIT", "dependencies": { "patch-package": "^8.0.1" - }, - "peerDependencies": { - "rdflib": "^2.3.6", - "solid-logic": "^4.0.8-test.0", - "solid-ui": "^3.1.3-0" } }, "node_modules/content-disposition": { @@ -12534,13 +12522,13 @@ "license": "(MIT AND Zlib)" }, "node_modules/pane-registry": { - "version": "3.1.2-test.0", - "resolved": "https://registry.npmjs.org/pane-registry/-/pane-registry-3.1.2-test.0.tgz", - "integrity": "sha512-s/HMfRhgDcapOeE4tv96AExCG0kOgPTgrC1qaH6ersljZxXLl7tttvUjsK/IYRN/9H5k54n61XinMvNEEYDgXg==", + "version": "3.1.2-0", + "resolved": "https://registry.npmjs.org/pane-registry/-/pane-registry-3.1.2-0.tgz", + "integrity": "sha512-oBFv4x+fNWAU9z+jZRtY2XIWT9DMhcr8ogSGSR5JIobq+tDYzw9VTAzrAz40JgBB7LGbmwz9ov1INcHSSQi6aQ==", "license": "MIT", "peerDependencies": { - "rdflib": "^2.3.9", - "solid-logic": "^4.0.8-test.0" + "rdflib": "2.3.9", + "solid-logic": "4.0.8-0" } }, "node_modules/param-case": { @@ -14597,9 +14585,9 @@ } }, "node_modules/solid-logic": { - "version": "4.0.8-test.0", - "resolved": "https://registry.npmjs.org/solid-logic/-/solid-logic-4.0.8-test.0.tgz", - "integrity": "sha512-oE3L735eGyZvnwVI3HYt/4UJW/SdADZwLTVyCMJI3OLwUtDZxHrV7rGXHgC0qZdni6ifPM8zxiNNs6+L/hGydA==", + "version": "4.0.8-0", + "resolved": "https://registry.npmjs.org/solid-logic/-/solid-logic-4.0.8-0.tgz", + "integrity": "sha512-/vdP03m8zZPkh1nhpSWedlYR3pWDcLrGwFvwQc8wR3vIOYZ0MQME3vlcwW7T5yhrSRkKcrQD9Ubq06tDRUBIrQ==", "license": "MIT", "dependencies": { "@uvdsl/solid-oidc-client-browser": "^0.2.3", @@ -14619,11 +14607,10 @@ "license": "MIT" }, "node_modules/solid-ui": { - "version": "3.1.3-0", - "resolved": "https://registry.npmjs.org/solid-ui/-/solid-ui-3.1.3-0.tgz", - "integrity": "sha512-1LQ3kWzF5u2vWuVrHrGvqVbnI4sCYjjBJQiElv+IBuw2PxgZCo3q326ozTyvZ3UJihThgD4KHaqfjEFabcymtg==", + "version": "3.1.3-5", + "resolved": "https://registry.npmjs.org/solid-ui/-/solid-ui-3.1.3-5.tgz", + "integrity": "sha512-vSxDbDA2Ruca7HKX/Gayl8WP5/1Lxs9YskafoWkMtI0fxwnauGDv4nqwzMj1itU+xRMlYz7u05mHrYeCvCdSgw==", "dev": true, - "hasInstallScript": true, "license": "MIT", "dependencies": { "@lit/context": "^1.1.6", @@ -14632,17 +14619,15 @@ "escape-html": "^1.0.3", "lit": "^3.3.3", "mime-types": "^3.0.2", - "pane-registry": "^3.1.2-test.0", + "pane-registry": "3.1.2-0", + "rdflib": "2.3.9", + "solid-logic": "4.0.8-0", "solid-namespace": "^0.5.4", - "tailwindcss": "^4.3.0", + "tailwindcss": "4.3.0", "uuid": "^14.0.0" }, "optionalDependencies": { "fsevents": "*" - }, - "peerDependencies": { - "rdflib": "^2.3.8", - "solid-logic": "^4.0.8-test.0" } }, "node_modules/source-map": { @@ -14994,9 +14979,9 @@ } }, "node_modules/tailwindcss": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.1.tgz", - "integrity": "sha512-hk+TB1m+K8CYNrP6rjQaq/Y+4Zylwpa87mLYBKCunwnnQ9p+fHb7kmSfGqyEJoxF/O6CDyABWVFEafNSYKll+Q==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.0.tgz", + "integrity": "sha512-y6nxMGB1nMW9R6k96e5gdIFzcfL/gTJRNaqGes1YvkLnPVXzWgbqFF2yLC0T8G774n24cx3Pe8XrKoniCOAH+Q==", "dev": true, "license": "MIT" }, @@ -15868,9 +15853,9 @@ } }, "node_modules/uuid": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.0.tgz", - "integrity": "sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==", + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.1.tgz", + "integrity": "sha512-6ZxzVpzDXDa3bJWaHilVayA+BH/1zmxCJoVgvmqJnid/gPoKHxUrS/aC/T6LGQtNHT+XHG9fXPJB4d+IrU30Ew==", "dev": true, "funding": [ "https://github.com/sponsors/broofa", diff --git a/package.json b/package.json index fceb1e48..94b3815e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "profile-pane", - "version": "3.2.3-0", + "version": "3.2.3-1", "description": "A SolidOS compatible pane to display a personal profile page", "sideEffects": [ "*.css" @@ -38,7 +38,6 @@ "prepush": "npm test && npm run lint-fix && npm run typecheck && npm run typecheck-test", "prepublishOnly": "npm run test && npm run build", "preversion": "npm run lint && npm run typecheck && npm test", - "postpublish": "git push origin main --follow-tags", "start": "webpack serve --config webpack.dev.config.mjs --open" }, "keywords": [ @@ -57,16 +56,11 @@ "dependencies": { "@solid-data-modules/contacts-rdflib": "^0.7.1", "lit-html": "^3.3.3", - "pane-registry": "^3.1.2-test.0", + "pane-registry": "3.1.2-0", "patch-package": "^8.0.1", "qrcode": "^1.5.4", "validate-color": "^2.2.4" }, - "peerDependencies": { - "rdflib": "^2.3.9", - "solid-logic": "^4.0.8-test.0", - "solid-ui": "^3.1.3-0" - }, "overrides": { "rdflib": "$rdflib", "solid-logic": "$solid-logic", @@ -87,8 +81,8 @@ "babel-loader": "^10.1.1", "babel-plugin-inline-import": "^3.0.0", "babel-plugin-transform-import-meta": "^2.3.3", - "chat-pane": "^3.0.4-0", - "contacts-pane": "^3.2.1-1", + "chat-pane": "3.0.4-1", + "contacts-pane": "3.2.1-2", "copy-webpack-plugin": "^14.0.0", "css-loader": "^7.1.4", "eslint": "^9.39.4", @@ -98,9 +92,9 @@ "jest-fetch-mock": "^3.0.3", "jsdom": "^29.1.1", "node-polyfill-webpack-plugin": "^4.1.0", - "rdflib": "^2.3.9", - "solid-logic": "^4.0.8-test.0", - "solid-ui": "^3.1.3-0", + "rdflib": "2.3.9", + "solid-logic": "4.0.8-0", + "solid-ui": "3.1.3-5", "style-loader": "^4.0.0", "terser-webpack-plugin": "^5.6.0", "ts-loader": "^9.5.7", @@ -108,5 +102,13 @@ "webpack": "^5.106.2", "webpack-cli": "^7.0.2", "webpack-dev-server": "^5.2.4" - } + }, + "solidosDependencies": [ + "rdflib", + "solid-logic", + "solid-ui", + "pane-registry", + "chat-pane", + "contacts-pane" + ] } diff --git a/src/specialButtons/addContact/ContactCreationDialog.ts b/src/specialButtons/addContact/ContactCreationDialog.ts index 6bd3fb9f..72ebf852 100644 --- a/src/specialButtons/addContact/ContactCreationDialog.ts +++ b/src/specialButtons/addContact/ContactCreationDialog.ts @@ -23,7 +23,7 @@ type ContactsButtonElement = SolidUIButtonElement function setContactsListButtonSelected(button: Element, isSelected: boolean): void { const listButton = button as ContactsButtonElement - listButton.selected = isSelected + ;(listButton as any).selected = isSelected if (isSelected) { listButton.setAttribute('selected', '') } else { @@ -35,7 +35,7 @@ function setContactsListButtonSelected(button: Element, isSelected: boolean): vo function isContactsListButtonSelected(button: Element | null): boolean { if (!(button instanceof HTMLElement)) return false const listButton = button as ContactsButtonElement - return listButton.selected || button.hasAttribute('selected') + return (listButton as any).selected || button.hasAttribute('selected') } function createContactsButtonElement(