Closed JoshDSommer closed 6 years ago
Hi Guys,
Any ideas when and if this will this be merged?
Regards, Tarek
Please, this has been open for almost a month. Anyone care to merge? The lacking webpack and aot support makes the plugin virtually impossible to use in production.
How do I get access to the latest changes in the master branch (including this merge)?
The latest package version in the npm registry is still 2.1.0 (from December 2017) and including the Github repo directly as a dependecy in my package.json (as suggested here) results in an error: Could not install from "Especializa\nativescript-ng-shadow" as it does not contain a package.json file.
"dependencies": { ... "nativescript-ng-shadow": "Especializa/nativescript-ng-shadow", ... },
@ManuelSch yes, I'm wondering the same. @berardo would be cool if you could publish the latest version (including this PR) to npmjs.org - as mentioned by @ManuelSch the GitHub repository does not contain a package.json so we cannot just install from the master.
@lambourn If you need it real quick, just download the repo as a zip file, take the content of the src folder and use it to overwrite the files in your /node_modules/nativescript-ng-shadow
folder.
Works as a short-term solution, but obviously these changes will be gone as soon as you run npm install
the next time.
@ManuelSch sure. I cloned it locally outside node_modules and set my dependency to file:// location instead. Still, would be great if the maintainers could push a new package to npmjs.org
@especializa-user and @berardo - would be cool if you could publish the latest version including this PR to npmjs.org. Thanks a lot!
It works with --env.aot --env.uglify
flags now but it doesn't without --env.aot
and just --env.uglify
and or without any env
flags for that matter for me? Is this expected behaviour?
Can please you Bump the version and update NPM ?
Hi @berardo - any chance you bump the version? :)
Please publish the version to npm.
Can please you Bump the version and update NPM ?
I've forked and repackage this directive in the standard Angular Package format and published it to NPM here: https://www.npmjs.com/package/nativescript-ngx-shadow. @especializa-user if wish just let me know and I can open a PR with the changes included. I just wanted to get this out there since the directive is so amazing and lots for people are clamoring to use it.
github for the fork is here: https://github.com/TheOriginalJosh/nativescript-ngx-shadow
@especializa-user and @berardo thank you so much for this wonderful Angular Directive. I've taken the liberty to upgrade the project to compile using Angular NGC compiler instead of typescripts compiler. This should be enough to allow webpack and AOT compatibility. However, I'm not familiar with your build scripts so it's quite possible I missed something. This should help resolve these issues: https://github.com/Especializa/nativescript-ng-shadow/issues/6