LearnNewsExamplesServices
Frontmatter
id3176
titlebuildScripts/createClass
stateClosed
labels
enhancement
assigneestobiu
createdAtJun 21, 2022, 9:15 PM
updatedAtJun 22, 2022, 12:25 AM
githubUrlhttps://github.com/neomjs/neo/issues/3176
authortobiu
commentsCount4
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJun 22, 2022, 12:25 AM

buildScripts/createClass

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jun 21, 2022, 9:15 PM

I want to create a convenience CLI program, which simplifies creating new neo classes.

For the start, you should be able to pick between a base class of component.Base and container.Base.

There will be follow-up tickets, like extending view models and controllers.

tobiu added the enhancement label on Jun 21, 2022, 9:15 PM
tobiu assigned to @tobiu on Jun 21, 2022, 9:15 PM
tobiu referenced in commit 3913a2a - "buildScripts/createClass #3176: basic setup" on Jun 21, 2022, 9:34 PM
davhm
davhm Jun 21, 2022, 10:04 PM

This sounds like a very valuable improvement! I also love the iterative approach thinking in small increments 👏

tobiu referenced in commit 4473b84 - "#3176: detect, if we are dealing with a Neo src or apps based class" on Jun 21, 2022, 10:24 PM
tobiu referenced in commit 4d6e046 - "#3176: saving the class file within the app scope" on Jun 21, 2022, 10:35 PM
tobiu referenced in commit efd6b7d - "#3176: basic output file" on Jun 21, 2022, 11:00 PM
tobiu
tobiu Jun 21, 2022, 11:02 PM
Screenshot 2022-06-21 at 23 01 23

getting closer :)

tobiu referenced in commit be2328f - "#3176: default import path fix" on Jun 21, 2022, 11:14 PM
tobiu referenced in commit 873accc - "#3176: adjusted the class content to better match component OR container.Base" on Jun 21, 2022, 11:35 PM
tobiu referenced in commit 48d53b9 - "#3176: error for non-existing app names" on Jun 21, 2022, 11:47 PM
tobiu
tobiu Jun 21, 2022, 11:48 PM
Screenshot 2022-06-21 at 23 47 59
tobiu referenced in commit c3e1f56 - "#3176: added a vdom config for component.Base extensions" on Jun 22, 2022, 12:14 AM
tobiu referenced in commit 1aadcd6 - "#3176: dynamic folder levels for base class imports" on Jun 22, 2022, 12:21 AM
tobiu
tobiu Jun 22, 2022, 12:25 AM

created a decent state for the first version, more extensions will follow inside new tickets.

tobiu closed this issue on Jun 22, 2022, 12:25 AM