-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow package directories to be optional #80
Comments
see #19 for AC |
Acceptance criteria: 1: Support simplified directory structure:
2: Ensure old structure is still supported. Pull request: #893 |
👍 |
The templates have now changed so package directories aren't used by default. |
Blade template now conforms to the new structure as does the bladeset - i.e. no package directories by default. the app/src directory now has two files: @andyberry88 was this necessary/intentional? Also, while using this with ct libraries, we found that libraries that did not wish to have namespaced-enforcement had problems with bundling files under src-test folder while running tests. Andrew is aware of the issue - I will retest once fixed |
Neither 😄 Its a side effect of having the default bladeset represent the same directory as the default aspect. I'll fix it. |
@thecapdan Issues fixed in 50f515a and 9284471. |
Awesome. I'll take a look at these over the weekend. Thank you, sir, have a good one 👍 |
Rogue js file is now gone. Default src directory for a freshly created app now looks like this: following checkin 9284471 we have a test failing in CI: http://newgo.caplin.com/go/tab/build/detail/BRJS-brjs-develop/690/build/2/exampleAppTests Seems to be ok when i run the same gradle command locally. Will need further investigation on Tuesday. |
confirmed. both remaining issues have been fixed. |
Given a "default" blade with the following directory structure:
When I view the default aspect I get the following error:
If I update the directory structure as follows:
The error goes away. Should the old style package structure be supported within default bladesets? |
The require prefix for Blades inside the 'default' Bladeset is So the exception is valid, the require prefix for your Blade should be |
@leggetter can you confirm the change described above removes the error |
@thecapdan Yep - this was my bad. I left a I've verified that with the correct legacy path things do work. |
instead of src/a/pkg/Class1.js I should be allowed to have src/Class1.js - the package namespace should still be inforced and calculated based on the app/bladeset/blade namespace.
The text was updated successfully, but these errors were encountered: