-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat/cli #572
base: development
Are you sure you want to change the base?
feat/cli #572
Conversation
Codecov Report
@@ Coverage Diff @@
## development #572 +/- ##
============================================
Coverage 70.91% 70.91%
============================================
Files 208 208
Lines 7561 7561
Branches 2113 2113
============================================
Hits 5362 5362
Misses 2022 2022
Partials 177 177
Continue to review full report at Codecov.
|
e5037f9
to
bf64ae4
Compare
…fixes in project generator
} | ||
|
||
export const BASE_URL = 'https://us-central1-croapp-dev.cloudfunctions.net/repl-api/' | ||
export const STUDIO_URL = 'https://playground-api-production-v5.services.teleporthq.io/project/' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this URL be the frontend one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If not, it's a little tricky, because we might upgrade the backend in the future, let's say from v5 to v6.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So in that case, an old version of the CLI will not work anymore
import { getPackageJSON } from '../utils' | ||
|
||
export const fetchUIDLFromREPL = async (url: string): Promise<Record<string, unknown>> => { | ||
const id = url.match(UUDID_REGEX)[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think here is better to use this https://www.npmjs.com/package/uuid#uuidvalidatestr
And please a minimal Readme in teleport-mapper |
f2c8c2e
to
4717bdd
Compare
c361278
to
fc3bc88
Compare
No description provided.