You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea seems that this package PackageFactory.ComponentEngine is framework agnostic an should even work with plain php (composer).
If the files should be generated via CLI command, then one needs a flow adapter package already which provides the Cli controller.
Or we use a composer bin executable or something the like which would work cross framework too.
Multiple Exports per file
Transpile in current package (and relative includes)
Just make sure psr is correctly configured and lets goo place the files ;)
Import from other (composer) packages:
Option A: Each package needs to provide its own transpliled files
Pro: save complex option B
Con: if package only ships php transpilation but not fusion or typescript, one is out of luck
Pro: phpstan would work on ci without pre compile
´
Options B: On transplile, also handle 3rd party packages
If we assume that one is using composer, then we could leverage the existing packages folders and configured psr-4 autoloading and just dump the php files into the via composer installed packages.
if we want to transpile to neos fusion we would need to add a flow adapter package i guess....
This discussion was converted from issue #5 on June 05, 2023 12:20.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
WIP: ... need to shutdown my pc ;) see you soon
The idea seems that this package
PackageFactory.ComponentEngine
is framework agnostic an should even work with plain php (composer).If the files should be generated via CLI command, then one needs a flow adapter package already which provides the Cli controller.
Or we use a composer
bin
executable or something the like which would work cross framework too.Multiple Exports per file
Transpile in current package (and relative includes)
Just make sure psr is correctly configured and lets goo place the files ;)
Import from other (composer) packages:
Option A: Each package needs to provide its own transpliled files
´
Options B: On transplile, also handle 3rd party packages
if we want to transpile to neos fusion we would need to add a flow adapter package i guess....
Beta Was this translation helpful? Give feedback.
All reactions