Commit graph

13 commits

Author SHA1 Message Date
Marc Durdin
65c8c89be5 chore(web): adapts keyman-version bundling in Developer products
As KEYMAN-VERSION changed from being a type to a class, this broke the
bundling and referencing strategies in Developer/Server and
Developer/kmlmc. This updates the bundling process and fixes the
references in both projects.

Note that keyman-version no longer depends on gosh. Given we are
currently manually calling the build for this in all projects (or should
be!), it's better that we keep the build of this explicit for now.

If we want to restore the postinstall/postci steps in the future, the
gosh dependency would need to be manually removed from package.json in
order for the bundling builds to work for Developer/Server and
Developer/kmlmc.
2022-05-28 10:57:24 +10:00
Marc Durdin
66efed172b
Merge branch 'chore/web/no-more-lerna' into chore/web/move-common-core-web-to-common-web 2022-05-27 09:04:52 +10:00
Marc Durdin
fbf4bea9e4
Update developer/js/bundle.sh
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2022-05-24 13:10:44 +10:00
Marc Durdin
7e5cd7a137 chore(web): chmod +x 2022-05-18 07:21:47 +10:00
Marc Durdin
75e77c4c76 chore(developer): remove package-lock ref
This is probably not needed at the bundling stage.
2022-05-16 16:12:01 +10:00
Marc Durdin
15f4aa8af2 chore(web): update npm version refs for publishing packages
Note that the version entry will be added to the local package.json
which will then be dirty. This version entry should not be committed.
2022-05-16 08:46:09 +10:00
Marc Durdin
63ef4a30e8 chore(developer): lexical model compiler bundling cleanup 2022-05-15 12:25:22 +10:00
Marc Durdin
f8b3173e2c chore: remove set -x 2022-01-17 07:31:06 +11:00
Marc Durdin
69d2b651cb fix(developer): repatch #6074 2022-01-17 07:28:35 +11:00
Marc Durdin
474a23bd27 fix(developer): bundle.sh must succeed
Fixes a build failure after #6074 was merged. The final grep statement
in the line

  cat package.json | grep -v "@keymanapp/models-templates" | grep -v "@keymanapp/models-wordbreakers" > package.json

would fail to find anything to exclude, and return an error value, so
the script would fail, as we use `set -e`. We didn't care that it didn't
find anything to exclude... so we will ignore the return value.
2022-01-11 07:19:25 +11:00
Marc Durdin
984d429e9c fix(developer): bundle.sh rm 2021-12-23 09:19:04 +11:00
Marc Durdin
2e13e7fc0f chore: temp set -x 2021-12-23 09:16:22 +11:00
Marc Durdin
5fccc1161d chore(developer): refactor model compiler bundling into bash script
This made the string processing needed much simpler than
when it was embedded within the Makefile, where horrible
escaping proved necessary.
2021-12-22 04:47:05 +11:00