daml/daml-assistant
Rohan Jacob-Rao 0f5d93e0c3
Include create-daml-app as a template project for daml new (#5259)
* Initial commit with create-daml-app master

* Include create-daml-app in build rule

* Make daml.yaml a template in version and project name

* Remove git attributes

* Remove license and azure config

* Remove scripts

* Don't overwrite config files in build rule

* Template version numbers in package.json, to be replaced by the assistant

* Rename to package.json.template

changelog_begin
changelog_end

* Add copyright headers

* Do template substitutions in all .template files

And don't special case daml new create-daml-app (so it treats it as a
regular template).

* Add create-daml-app to integration tests

* Remove WIP warning

* Move towards setup that works on head

* Make local copies of the TS libs in the templates tarball

* Hardcode project name for now

* Use isExtensionOf

* Remove service worker

* remove robots.txt (don't even know what it is)

* Revert "Make local copies of the TS libs in the templates tarball"

This reverts commit 1289581fb4a82af3ab534baf978a2c6ed895d538.

* Retemplatize TS lib versions. For head builds these will be installed using npm

* Remove daml/ledger from resolutions for daml-ts

* Comment about test secret

* Remove special create-daml-app assistant command and test that won't work anymore

* Remove redundant imports and export

* Remove old create-daml-app tests

* Remove yarn.lock

* Clean up integration test (just daml new and build atm)

* Add daml/ledger as a resolution for daml-ts

* Remove top level package.json

* Update daml.js version

* Use new import scheme for generated TS

* Update readme with new codegen and build steps

* Use start-navigator in daml.yaml

* Increase a couple of timeouts in tests (either sandbox or TS lib is a bit slower?)

* Update GSG intro with new build steps

* Remove daml2ts -p flag and --start-navigator flag from GSG instructions

* Don't use start-navigator flag in ui tests

* Temporary readme describing how to manually test the create-daml-app template

* Update code samples in app arch section of GSG

* Update code samples in testing doc

* Remove copied create-daml-app code

* Indent docs markers to be more subtle

* Update visible code in Messages (after) section

This needs to be kept up to date properly somehow.

* Update text to useLedger

* Restore code/ui-before copies until the Bazel magic is figured out

We need to make the template code a dependency in the Bazel rule as
otherwise we can't find the files in the docs build.

* Update create-daml-app/readme and make templates/readme more detailed

* Use jsx comments for docs markers so they don't show up in the app
2020-04-02 00:30:07 +00:00
..
daml-helper Include create-daml-app as a template project for daml new (#5259) 2020-04-02 00:30:07 +00:00
daml-project-config/DA/Daml/Project replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
daml-sdk Organize maven coordinates (#5272) 2020-04-01 11:41:18 +02:00
exe/DA/Daml Whitelist fetch-dar command in assistant telemetry (#5261) 2020-03-30 10:39:55 +02:00
integration-tests Include create-daml-app as a template project for daml new (#5259) 2020-04-02 00:30:07 +00:00
scala-daml-project-config Organize maven coordinates (#5272) 2020-04-01 11:41:18 +02:00
src/DA/Daml/Assistant replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
test/DA/Daml/Assistant Move 'withEnv', call it from daml2ts tests (#5276) 2020-03-30 17:20:47 +00:00
BUILD.bazel Move 'withEnv', call it from daml2ts tests (#5276) 2020-03-30 17:20:47 +00:00
daml-project-config.cabal update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
get-daml.sh replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00