diff --git a/.gitignore b/.gitignore index 02a8adbd..de15c0b3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ dist/ dev-dist/ packages/*/coverage tsconfig.tsbuildinfo +.rollup.cache # CSS internals packages/css-storage-fixture/.internal/idp diff --git a/examples/vuejectron/package.json b/examples/vuejectron/package.json index 15562c2d..291c86d6 100644 --- a/examples/vuejectron/package.json +++ b/examples/vuejectron/package.json @@ -10,9 +10,9 @@ }, "dependencies": { "@inrupt/solid-client-authn-browser": "^2.0.0", - "@janeirodigital/interop-application": "^1.0.0-rc.23", - "@janeirodigital/interop-utils": "^1.0.0-rc.23", - "@janeirodigital/interop-data-model": "^1.0.0-rc.23", + "@janeirodigital/interop-application": "^1.0.0-rc.24", + "@janeirodigital/interop-utils": "^1.0.0-rc.24", + "@janeirodigital/interop-data-model": "^1.0.0-rc.24", "@mdi/font": "7.3.67", "@vueuse/core": "^10.5.0", "core-js": "^3.33.0", diff --git a/package.json b/package.json index f8db82c9..1e90bd90 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "interop", "private": true, "devDependencies": { + "@inrupt/base-rollup-config": "^3.1.0", "@jest/globals": "^29.7.0", "@types/jest": "^29.5.5", "@types/node": "^20.8.6", @@ -21,15 +22,18 @@ "lint-staged": "^15.0.1", "prettier": "^3.0.3", "rimraf": "^5.0.5", + "rollup": "^4.13.0", "ts-jest": "^29.1.1", + "tslib": "^2.6.2", "turbo": "^1.10.16", "turbowatch": "^2.29.4", "typescript": "^5.2.2" }, "scripts": { "prepare": "husky install", - "build": "pnpx turbo run build", - "test": "pnpx turbo run test", + "build": "turbo run build", + "test": "turbo run test", + "clean": "turbo run clean", "dev": "pnpm --filter '@janeirodigital/sai-server' redis && pnpx turbo run dev", "watch": "./node_modules/.bin/turbowatch turbowatch.ts", "lint": "eslint --config .eslintrc.js" diff --git a/packages/api-messages/fixup.sh b/packages/api-messages/fixup.sh deleted file mode 100644 index 45d3307b..00000000 --- a/packages/api-messages/fixup.sh +++ /dev/null @@ -1,14 +0,0 @@ - -cat >dist/cjs/package.json <dist/mjs/package.json <dist/cjs/package.json <dist/mjs/package.json <dist/cjs/package.json <dist/mjs/package.json <dist/cjs/package.json <dist/mjs/package.json <dist/cjs/package.json <dist/mjs/package.json <=8'} dev: true - /@janeirodigital/interop-utils@1.0.0-rc.23: - resolution: {integrity: sha512-6ltuM9YXZ7T+voRlVwHVsiPOtUBOPTJnE8ff6vcLMwRes3FaOWEQjOhCYxYX1gdkXhexLyUi/pV8oADDXSrWgg==} + /@janeirodigital/interop-utils@1.0.0-rc.24: + resolution: {integrity: sha512-mLOhitq6SyRSZi1DxrzTTgms7Mt0zgx/5KezkkyMBH3OYuYJBGPH6A93iBJl0wA5Ln90A9KnyiC7I/7+IUYhoQ==} dependencies: http-link-header: 1.1.1 jsonld-streaming-parser: 3.2.1 - n3: 1.17.1 + n3: 1.17.2 transitivePeerDependencies: - encoding dev: false @@ -4527,6 +4546,26 @@ packages: rollup: 2.79.1 dev: true + /@rollup/plugin-typescript@11.1.6(rollup@4.13.0)(tslib@2.6.2)(typescript@5.2.2): + resolution: {integrity: sha512-R92yOmIACgYdJ7dJ97p4K69I8gg6IEHt8M7dUBxN3W6nrO8uUxX5ixl0yU/N3aZTi8WhPuICvOHXQvF6FaykAA==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^2.14.0||^3.0.0||^4.0.0 + tslib: '*' + typescript: '>=3.7.0' + peerDependenciesMeta: + rollup: + optional: true + tslib: + optional: true + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@4.13.0) + resolve: 1.22.6 + rollup: 4.13.0 + tslib: 2.6.2 + typescript: 5.2.2 + dev: true + /@rollup/pluginutils@3.1.0(rollup@2.79.1): resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} engines: {node: '>= 8.0.0'} @@ -4554,6 +4593,21 @@ packages: rollup: 2.79.1 dev: true + /@rollup/pluginutils@5.1.0(rollup@4.13.0): + resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@types/estree': 1.0.5 + estree-walker: 2.0.2 + picomatch: 2.3.1 + rollup: 4.13.0 + dev: true + /@rollup/rollup-android-arm-eabi@4.12.0: resolution: {integrity: sha512-+ac02NL/2TCKRrJu2wffk1kZ+RyqxVUlbjSagNgPm94frxtr+XDL12E5Ll1enWskLrtrZ2r8L3wED1orIibV/w==} cpu: [arm] @@ -4561,6 +4615,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-android-arm-eabi@4.13.0: + resolution: {integrity: sha512-5ZYPOuaAqEH/W3gYsRkxQATBW3Ii1MfaT4EQstTnLKViLi2gLSQmlmtTpGucNP3sXEpOiI5tdGhjdE111ekyEg==} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-android-arm64@4.12.0: resolution: {integrity: sha512-OBqcX2BMe6nvjQ0Nyp7cC90cnumt8PXmO7Dp3gfAju/6YwG0Tj74z1vKrfRz7qAv23nBcYM8BCbhrsWqO7PzQQ==} cpu: [arm64] @@ -4568,6 +4630,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-android-arm64@4.13.0: + resolution: {integrity: sha512-BSbaCmn8ZadK3UAQdlauSvtaJjhlDEjS5hEVVIN3A4bbl3X+otyf/kOJV08bYiRxfejP3DXFzO2jz3G20107+Q==} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-darwin-arm64@4.12.0: resolution: {integrity: sha512-X64tZd8dRE/QTrBIEs63kaOBG0b5GVEd3ccoLtyf6IdXtHdh8h+I56C2yC3PtC9Ucnv0CpNFJLqKFVgCYe0lOQ==} cpu: [arm64] @@ -4575,6 +4645,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-darwin-arm64@4.13.0: + resolution: {integrity: sha512-Ovf2evVaP6sW5Ut0GHyUSOqA6tVKfrTHddtmxGQc1CTQa1Cw3/KMCDEEICZBbyppcwnhMwcDce9ZRxdWRpVd6g==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-darwin-x64@4.12.0: resolution: {integrity: sha512-cc71KUZoVbUJmGP2cOuiZ9HSOP14AzBAThn3OU+9LcA1+IUqswJyR1cAJj3Mg55HbjZP6OLAIscbQsQLrpgTOg==} cpu: [x64] @@ -4582,6 +4660,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-darwin-x64@4.13.0: + resolution: {integrity: sha512-U+Jcxm89UTK592vZ2J9st9ajRv/hrwHdnvyuJpa5A2ngGSVHypigidkQJP+YiGL6JODiUeMzkqQzbCG3At81Gg==} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm-gnueabihf@4.12.0: resolution: {integrity: sha512-a6w/Y3hyyO6GlpKL2xJ4IOh/7d+APaqLYdMf86xnczU3nurFTaVN9s9jOXQg97BE4nYm/7Ga51rjec5nfRdrvA==} cpu: [arm] @@ -4589,6 +4675,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-linux-arm-gnueabihf@4.13.0: + resolution: {integrity: sha512-8wZidaUJUTIR5T4vRS22VkSMOVooG0F4N+JSwQXWSRiC6yfEsFMLTYRFHvby5mFFuExHa/yAp9juSphQQJAijQ==} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm64-gnu@4.12.0: resolution: {integrity: sha512-0fZBq27b+D7Ar5CQMofVN8sggOVhEtzFUwOwPppQt0k+VR+7UHMZZY4y+64WJ06XOhBTKXtQB/Sv0NwQMXyNAA==} cpu: [arm64] @@ -4596,6 +4690,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-linux-arm64-gnu@4.13.0: + resolution: {integrity: sha512-Iu0Kno1vrD7zHQDxOmvweqLkAzjxEVqNhUIXBsZ8hu8Oak7/5VTPrxOEZXYC1nmrBVJp0ZcL2E7lSuuOVaE3+w==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm64-musl@4.12.0: resolution: {integrity: sha512-eTvzUS3hhhlgeAv6bfigekzWZjaEX9xP9HhxB0Dvrdbkk5w/b+1Sxct2ZuDxNJKzsRStSq1EaEkVSEe7A7ipgQ==} cpu: [arm64] @@ -4603,6 +4705,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-linux-arm64-musl@4.13.0: + resolution: {integrity: sha512-C31QrW47llgVyrRjIwiOwsHFcaIwmkKi3PCroQY5aVq4H0A5v/vVVAtFsI1nfBngtoRpeREvZOkIhmRwUKkAdw==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-riscv64-gnu@4.12.0: resolution: {integrity: sha512-ix+qAB9qmrCRiaO71VFfY8rkiAZJL8zQRXveS27HS+pKdjwUfEhqo2+YF2oI+H/22Xsiski+qqwIBxVewLK7sw==} cpu: [riscv64] @@ -4610,6 +4720,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-linux-riscv64-gnu@4.13.0: + resolution: {integrity: sha512-Oq90dtMHvthFOPMl7pt7KmxzX7E71AfyIhh+cPhLY9oko97Zf2C9tt/XJD4RgxhaGeAraAXDtqxvKE1y/j35lA==} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-x64-gnu@4.12.0: resolution: {integrity: sha512-TenQhZVOtw/3qKOPa7d+QgkeM6xY0LtwzR8OplmyL5LrgTWIXpTQg2Q2ycBf8jm+SFW2Wt/DTn1gf7nFp3ssVA==} cpu: [x64] @@ -4617,6 +4735,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-linux-x64-gnu@4.13.0: + resolution: {integrity: sha512-yUD/8wMffnTKuiIsl6xU+4IA8UNhQ/f1sAnQebmE/lyQ8abjsVyDkyRkWop0kdMhKMprpNIhPmYlCxgHrPoXoA==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-x64-musl@4.12.0: resolution: {integrity: sha512-LfFdRhNnW0zdMvdCb5FNuWlls2WbbSridJvxOvYWgSBOYZtgBfW9UGNJG//rwMqTX1xQE9BAodvMH9tAusKDUw==} cpu: [x64] @@ -4624,6 +4750,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-linux-x64-musl@4.13.0: + resolution: {integrity: sha512-9RyNqoFNdF0vu/qqX63fKotBh43fJQeYC98hCaf89DYQpv+xu0D8QFSOS0biA7cGuqJFOc1bJ+m2rhhsKcw1hw==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-win32-arm64-msvc@4.12.0: resolution: {integrity: sha512-JPDxovheWNp6d7AHCgsUlkuCKvtu3RB55iNEkaQcf0ttsDU/JZF+iQnYcQJSk/7PtT4mjjVG8N1kpwnI9SLYaw==} cpu: [arm64] @@ -4631,6 +4765,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-win32-arm64-msvc@4.13.0: + resolution: {integrity: sha512-46ue8ymtm/5PUU6pCvjlic0z82qWkxv54GTJZgHrQUuZnVH+tvvSP0LsozIDsCBFO4VjJ13N68wqrKSeScUKdA==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-win32-ia32-msvc@4.12.0: resolution: {integrity: sha512-fjtuvMWRGJn1oZacG8IPnzIV6GF2/XG+h71FKn76OYFqySXInJtseAqdprVTDTyqPxQOG9Exak5/E9Z3+EJ8ZA==} cpu: [ia32] @@ -4638,6 +4780,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-win32-ia32-msvc@4.13.0: + resolution: {integrity: sha512-P5/MqLdLSlqxbeuJ3YDeX37srC8mCflSyTrUsgbU1c/U9j6l2g2GiIdYaGD9QjdMQPMSgYm7hgg0551wHyIluw==} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-win32-x64-msvc@4.12.0: resolution: {integrity: sha512-ZYmr5mS2wd4Dew/JjT0Fqi2NPB/ZhZ2VvPp7SmvPZb4Y1CG/LRcS6tcRo2cYU7zLK5A7cdbhWnnWmUjoI4qapg==} cpu: [x64] @@ -4645,6 +4795,14 @@ packages: requiresBuild: true optional: true + /@rollup/rollup-win32-x64-msvc@4.13.0: + resolution: {integrity: sha512-UKXUQNbO3DOhzLRwHSpa0HnhhCgNODvfoPWv2FCXme8N/ANFfhIPMGuOT+QuKd16+B5yxZ0HdpNlqPvTMS1qfw==} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@rubensworks/saxes@6.0.1: resolution: {integrity: sha512-UW4OTIsOtJ5KSXo2Tchi4lhZqu+tlHrOAs4nNti7CrtB53kAZl3/hyrTi6HkMihxdbDM6m2Zc3swc/ZewEe1xw==} engines: {node: '>=v12.22.12'} @@ -4672,27 +4830,27 @@ packages: '@sinonjs/commons': 3.0.0 dev: true - /@solid-notifications/discovery@0.1.0: - resolution: {integrity: sha512-n96D0LABrGCrJwRUm92cNE3LoeyE77TmisnJzA7NuHEHbFmf6q0CyUWE6K75aWyBp7MjrCOS/6pIzBTp5so/xg==} + /@solid-notifications/discovery@0.1.2: + resolution: {integrity: sha512-jkqV+Ceknw2XE0Vl/4O2BBFnkCZQhNDVt6B9nzbVD4T3aNhMlK/gZS6oNHqa23obgFNCtgFBmeeRKiN1/v8lcw==} dependencies: - '@janeirodigital/interop-utils': 1.0.0-rc.23 - n3: 1.17.1 + '@janeirodigital/interop-utils': 1.0.0-rc.24 + n3: 1.17.2 transitivePeerDependencies: - encoding dev: false - /@solid-notifications/subscription@0.1.0: - resolution: {integrity: sha512-BVXhM1FpLlpfjhGZ36SBjwDGTbvCfyuNQoOu+MCAZBntYjyzaUJ3OESvx4/C+RyvkvGsCKCEVKPrnEzsPSNZAw==} + /@solid-notifications/subscription@0.1.2: + resolution: {integrity: sha512-XnnqNsLOIdUAzB11aROzfRiJLHJjTOaHMSrnn3teQRtE0BwpbnAJtzGG/m3JNUR+QqyjKkB3jfibxJjzvI/HQg==} dependencies: - '@janeirodigital/interop-utils': 1.0.0-rc.23 - '@solid-notifications/discovery': 0.1.0 - n3: 1.17.1 + '@janeirodigital/interop-utils': 1.0.0-rc.24 + '@solid-notifications/discovery': 0.1.2 + n3: 1.17.2 transitivePeerDependencies: - encoding dev: false - /@solid-notifications/types@0.1.0: - resolution: {integrity: sha512-wiEpH0jf1mBn9xkeJhy/1lkqe/EgJyt4UxEd1wRx2g3qTc6WlTj6mQM2yhhl7Vg/p+UH4xYi24QfqQ7oD9C8vA==} + /@solid-notifications/types@0.1.2: + resolution: {integrity: sha512-0SP6XmOjFhqt/m4FFXnYh6slSiXMoheO3UpU7POSDStLSb6tLVAQLiy0hBKvNyGBLlftRObHWoBWlt2X/LhVRg==} dev: true /@solid/access-control-policy@0.1.3: @@ -9122,6 +9280,14 @@ packages: queue-microtask: 1.2.3 readable-stream: 4.4.2 + /n3@1.17.2: + resolution: {integrity: sha512-BxSM52wYFqXrbQQT5WUEzKUn6qpYV+2L4XZLfn3Gblz2kwZ09S+QxC33WNdVEQy2djenFL8SNkrjejEKlvI6+Q==} + engines: {node: '>=12.0'} + dependencies: + queue-microtask: 1.2.3 + readable-stream: 4.4.2 + dev: false + /nanoid@3.3.6: resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -10233,6 +10399,29 @@ packages: '@rollup/rollup-win32-x64-msvc': 4.12.0 fsevents: 2.3.3 + /rollup@4.13.0: + resolution: {integrity: sha512-3YegKemjoQnYKmsBlOHfMLVPPA5xLkQ8MHLLSw/fBrFaVkEayL51DilPpNNLq1exr98F2B1TzrV0FUlN3gWRPg==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.13.0 + '@rollup/rollup-android-arm64': 4.13.0 + '@rollup/rollup-darwin-arm64': 4.13.0 + '@rollup/rollup-darwin-x64': 4.13.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.13.0 + '@rollup/rollup-linux-arm64-gnu': 4.13.0 + '@rollup/rollup-linux-arm64-musl': 4.13.0 + '@rollup/rollup-linux-riscv64-gnu': 4.13.0 + '@rollup/rollup-linux-x64-gnu': 4.13.0 + '@rollup/rollup-linux-x64-musl': 4.13.0 + '@rollup/rollup-win32-arm64-msvc': 4.13.0 + '@rollup/rollup-win32-ia32-msvc': 4.13.0 + '@rollup/rollup-win32-x64-msvc': 4.13.0 + fsevents: 2.3.3 + dev: true + /run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} dependencies: diff --git a/tsconfig.json b/tsconfig.json index 186a48f4..27c6c4ee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,6 +13,8 @@ "target": "ES2020", "sourceMap": true, "declarationMap": true, - "lib": ["ES2020", "DOM"] + "lib": ["ES2020", "DOM"], + "allowJs": true, + "module": "ESNext" } } diff --git a/turbo.json b/turbo.json index 02c21c76..3f8c5b7e 100644 --- a/turbo.json +++ b/turbo.json @@ -14,6 +14,9 @@ "dependsOn": ["build"], "cache": false, "persistent": false + }, + "clean": { + "cache": false } } } diff --git a/ui/authorization/package.json b/ui/authorization/package.json index 10b131d3..cc3aab6f 100644 --- a/ui/authorization/package.json +++ b/ui/authorization/package.json @@ -10,7 +10,7 @@ "dependencies": { "@fluent/bundle": "^0.18.0", "@inrupt/solid-client-authn-browser": "^2.0.0", - "@janeirodigital/sai-api-messages": "^1.0.0-rc.23", + "@janeirodigital/sai-api-messages": "^1.0.0-rc.24", "@mdi/font": "7.3.67", "fluent-vue": "^3.5.0", "locale-codes": "^1.3.1",