Spomky-Labs / phpwa-demo

Demonstration for the PHPWA Bundle
0 stars 1 forks source link

demo not in sync with bundle #2

Closed tacman closed 6 months ago

tacman commented 8 months ago

After cloning the demo, updating fails.

composer update
Loading composer repositories with package information
Restricting packages listed in "symfony/symfony" to "7.0.*"
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Upgrading spomky-labs/phpwa (1.0.x-dev 942604a => 1.0.x-dev b983496)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Downloading spomky-labs/phpwa (1.0.x-dev b983496)
  - Upgrading spomky-labs/phpwa (1.0.x-dev 942604a => 1.0.x-dev b983496): Extracting archive
Generating autoload files
88 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

What about running composer global require symfony/thanks && composer thanks now?
This will spread some πŸ’–  by sending a β˜…  to the GitHub repositories of your fellow package maintainers.

Run composer recipes at any time to see the status of your Symfony recipes.

Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  
!!  In ArrayNode.php line 304:
!!                                                                                 
!!    Unrecognized options "warm_cache_urls, offline_fallback" under "pwa.service  
!!    worker". Available options are "dest", "scope", "src", "use_cache", "workbo  
!!    x".                                                                          
!!                                                                                 
!!  
!!  
Script @auto-scripts was called via post-update-cmd
tacman commented 8 months ago

@Spomky -- any chance you could get just a small demo working? Even if it's just a page that tells the user that they're offline.

Spomky commented 8 months ago

Hello @tacman,

Yes, I will prepare a TODO list that will work offline, including the possibility to POST/DELETE tasks when offline. The library changed a bit past days and I also created documentation pages available at https://pwa.spomky-labs.com/ (synced with https://github.com/Spomky-Labs/phpwa-doc)

tacman commented 7 months ago

Although a todo list would be great, or a news reader, can you tweak this demo so that it installs with the latest library?

Thanks!

tacman commented 6 months ago

Although the demo isn't working for me, I do think that it's in sync with the bundle, so I'll close this issue.