question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Questions] CI environment & `development` versus `production` builds

See original GitHub issue

Hey. I’ve really been enjoying the new release of Typewriter v7. I did have 2 questions, however, that I was hoping to get some further clarification on.

  1. How does Typewriter work in a CI environment? I’m using a Token Script to supply the token during client generation. However, I have nothing set up in our CI environment and the client generation surprisingly works. Does the library use an internal token in CI-based environments?

  2. I wasn’t able to find any difference in running these two commands: npx typewriter development and npx typewriter production. Out of curiosity, should these commands produce different outputs given a Browser-based/TypeScript setup?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pruettcommented, Nov 19, 2019

Apologies, I am seeing a difference in production versus development builds on the client. Thanks for the explanation and source code reference!

1reaction
colinkingcommented, Nov 19, 2019

Yeah, you’re right on – it calls npx typewriter development after pulling down the latest changes:

$ typewriter --help
...
  Commands:
    update            Syncs plan.json with Segment, then generates a           (default)
                      development client.
    dev               Generates a development client from plan.json
Read more comments on GitHub >

github_iconTop Results From Across the Web

Arguments for development environment being the same as ...
That being said, your development environment does not need to be the same as production, and it definitely should not have production data...
Read more >
Continuous integration vs. delivery vs. deployment - Atlassian
Learn the difference between continuous integration, continuous delivery, and continuous deployment in modern software development and DevOps.
Read more >
Build System vs CI (Continuous Integration) - Harness
In this article, we explain the 'build system vs CI' question. ... with the least of those changes going to the production environment....
Read more >
30 Common CI/CD Interview Questions (with Answers)
We've collected and answered 30 common CI/CD interview questions. ... Compared with trunk-based development, Gitflow is more complex and has ...
Read more >
How to Build an Effective Initial Deployment Pipeline - CI/CD
My point is, you need a staging environment. It's like production but isn't. A staging environment is where you rehearse deploying to production...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found