Comments (5)
Fixed in 1.1.3
from ngx-sharebuttons.
Hi @MurhafSousli ,
I have downloaded latest v1.1.2 and looked inside the installed package in my node_modules/ng2-sharebuttons
folder. The problem is that it still contains the whole project structure, where as it should only contains what is inside 'dist' folder (conf. PR #19).
Did you publish using the new gulp task i've added in PR #19: gulp publish
?
Which prepare the 'dist' folder and them run npm publish
on that folder.
You can also run gulp build
and them npm publish ./dist
from ngx-sharebuttons.
@tinesoft This can be solved by excluding directories in npmignore
I used npm run prepublish
, and tried the compiled files in the demo and it works, then when I published to npm using gulp publish
, I tested it in the demo again and I got that error
from ngx-sharebuttons.
Hi,
you mean : npm run prepublish
? (not gulp run prepublish
)
If so, this command runs the default gulp task (see "scripts"
section of package.json
),
which build the dist
folder.
Could you try my second proposition:
gulp build
then
npm publish ./dist
from project root
I believe we shouldn't have to specify an .npmignore
file because only the content of dist
folder is supposed to be published to NPM, and it already contains just everything needed for the package...
from ngx-sharebuttons.
@tinesoft sorry I meant npm run prepublish
, okay I will try
from ngx-sharebuttons.
Related Issues (20)
- skype button
- instagram button
- gmail button is not available HOT 1
- When click on Messenger and Viber nothing happens, link doesn't open HOT 1
- setting meta tags doesn't seem to matter? HOT 4
- Share via Mastodon HOT 1
- how to add role to given tag HOT 2
- Opened output not firing HOT 3
- Whatsapp redirection to 'api/web .whatsapp.com' controlled manually HOT 1
- :bug: v12.0.0 says tumblr and reddit are no longer available to use with shareButton directive
- can we open shared details in pop up instead of new tab ? HOT 2
- i am geting error with Angualr version 15 HOT 6
- How to use share buttons vertically? HOT 1
- share-buttons inputs don't work within square brackets. HOT 1
- add or replace twitter option for X HOT 5
- Unable to share image HOT 1
- Can't install; error with cdk version HOT 1
- Required Old Twitter Logo Update | 'X' HOT 2
- Updating to Angular 17 HOT 4
- share my articles in linkedin with preview image HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-sharebuttons.