Skip to content

Commit

Permalink
build: directly generate js libs to node_modules
Browse files Browse the repository at this point in the history
Roll back stellar#122, but
keep `crowdfund-contract` and `abundance-token` in
`optionalDependencies`.

As I worked with the old version in earnest, iterating on a local copy
of the CLI and generating new JS libs over and over, the two-step
generate-to-.soroban, then install-to-node_modules wasn't working very
well. Probably because the new library wasn't being added until the
`postinstall` step, and the dependencies are optional.

Generating directly to `node_modules` feels dirty, but it works
consistently. At least in this version, you can still see the
dependencies listed in the `optionalDependencies` section, so they're
not quite as surprising/mysterious.
  • Loading branch information
chadoh committed Jul 20, 2023
1 parent abdac3a commit f7454d2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3,579 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock.json linguist-generated=true -diff
Loading

0 comments on commit f7454d2

Please sign in to comment.