Skip to content

Fix POST requests from api.js#605

Merged
mattgrill merged 8 commits intojsdrupal:masterfrom
dawehner:fix-api-js
Apr 12, 2019
Merged

Fix POST requests from api.js#605
mattgrill merged 8 commits intojsdrupal:masterfrom
dawehner:fix-api-js

Conversation

@dawehner
Copy link
Copy Markdown
Contributor

Moving api.js to the utilities package introduced a couple of bugs,
one was saving no longer works.

As part of that I started to gitignore build/index.js as we don't need this in version control.

@mattgrill
Copy link
Copy Markdown
Contributor

@dawehner So I think this works. We should probably restore the build dir for now, and then figure out how we can actually deploy these modules to npm.

@dawehner
Copy link
Copy Markdown
Contributor Author

@mattgrill well, we would need to rebuild at least once, as otherwise this wouldn't be fixed. In general it feels like npm run start should build this package as well somehow. Otherwise the DX is quite bad :|

@mattgrill
Copy link
Copy Markdown
Contributor

@dawehner Can we run this with a post-install script?

@mattgrill mattgrill merged commit 4a0786b into jsdrupal:master Apr 12, 2019
@mattgrill mattgrill deleted the fix-api-js branch April 12, 2019 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants