René's URL Explorer Experiment


Title: Enable transpilers support in NativeScript projects · Issue #493 · NativeScript/nativescript-cli · GitHub

Open Graph Title: Enable transpilers support in NativeScript projects · Issue #493 · NativeScript/nativescript-cli

X Title: Enable transpilers support in NativeScript projects · Issue #493 · NativeScript/nativescript-cli

Description: A common request we have received in the last couple of months is the ability to enable (or start with) JavaScript transpilers for a given NativeScript project. The usual suspects are TypeScript and Babel which recently became quite popu...

Open Graph Description: A common request we have received in the last couple of months is the ability to enable (or start with) JavaScript transpilers for a given NativeScript project. The usual suspects are TypeScript an...

X Description: A common request we have received in the last couple of months is the ability to enable (or start with) JavaScript transpilers for a given NativeScript project. The usual suspects are TypeScript an...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/493

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enable transpilers support in NativeScript projects","articleBody":"A common request we have received in the last couple of months is the ability to enable (or start with) JavaScript transpilers for a given NativeScript project. The usual suspects are TypeScript and Babel which recently became quite popular with the approaching ratification of ES6.\n### Guiding principles\n\nThere a couple of guiding principles we want to follow when we enable this functionality.\n#### Making it generic\n\nWe want to design this feature so we can accommodate any transpiler, not just ones for JavaScript. What if you want to use LESS or Sass instead of CSS? Fan of Jade instead of XML we should have you covered. \n#### Per project configuration\n\nThis feature should allow usage of different version of the transpiler in different projects. For example you can use TypeScript 1.4 for your production app but switch to the cutting edge TypeScript 1.5 in your new project.\n#### Ability to to start with transpiler or enable it on the go\n\nWe believe that the barrier to entry for NativeScript should be as low as the one of the Web. We shouldn't force the users to learn all the cool ES6 features or TypeScript's types system. Users should be able to enable a transpiler for an already existing project or start a new project with given transpiler  if this is what they want.\n### The Command\n\nThe support will boil down to a single command that users will have to execute:\n\n``` sh\n$ tns install typescript\n```\n\nor\n\n``` sh\n$ tns install babel\n```\n\n~~As you can see we have not settled on the command name :smile: We did a little brainstorming sessions internally and we come up with `enable` (ex. `$ tns enable babel`) however this sounds too broad and we are not totally sold on it. If you have ideas how we can better name this command please file them in the comments.~~\n### Implementation details\n\nHere are some internal and more technical implementation details:\n- We plan to add the transpilation code itself in a form of project level hooks. The given transpiler hooks will come in the form of a separate npm package that will be \"hooked\" in the current NativeScript project. \n- All transpilation tools will be added as `devDependencies` to the project's `package.json`.\n# Work breakdown\n### v1.5\n#### TypeScript support\n- [x] `tns install typescript` command. The compiler should be added as `devDependency`.\n- [x] Consume TypeScript declarations from the `tns-core-modules` package.\n- [x] Generate `tsconfig.json` if not present.\n- [x] Add a project level hook that will do the actual transpilation.\n#### Babel support\n### Future ideas\n#### TypeScript support for NativeScript plugins\n\n\u003c!---\n@huboard:{\"custom_state\":\"archived\"}\n-->\n","author":{"url":"https://github.com/ligaz","@type":"Person","name":"ligaz"},"datePublished":"2015-05-21T15:24:21Z","url":"https://github.com/NativeScript/nativescript-cli/issues/493"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f9b96418-9141-ef55-fd9e-ae3ddeca56a3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC214:4BB79:1AFABF8:2265E0F:6B015681
html-safe-nonce5bb21969e7c35480afdf74e88bf33425935756c749f3887efe11ae9770326f64
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjE0OjRCQjc5OjFBRkFCRjg6MjI2NUUwRjo2QjAxNTY4MSIsInZpc2l0b3JfaWQiOiI0MTE5NDQ3MjkwNjQ4NTUxNzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2afb8ed01fc9e8ddb958b68d7e9feb2694adf2f0b1d8a5caba5b48bdb00b925e
hovercard-subject-tagissue:79043290
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-cli/493/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b6353c8838f3db1a49437c7412988e4122a1040d1c3d964fc437436aadeca168/NativeScript/nativescript-cli/issues/493
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b6353c8838f3db1a49437c7412988e4122a1040d1c3d964fc437436aadeca168/NativeScript/nativescript-cli/issues/493
og:image:altA common request we have received in the last couple of months is the ability to enable (or start with) JavaScript transpilers for a given NativeScript project. The usual suspects are TypeScript an...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameligaz
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/issues/493#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fissues%2F493
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fissues%2F493
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/493
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/493
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/493
NativeScripthttps://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Codehttps://github.com/NativeScript/nativescript-cli
Issues357 (357)https://github.com/NativeScript/nativescript-cli/issues
Pull requests37 (37)https://github.com/NativeScript/nativescript-cli/pulls
Actionshttps://github.com/NativeScript/nativescript-cli/actions
Projectshttps://github.com/NativeScript/nativescript-cli/projects
Security and qualityhttps://github.com/NativeScript/nativescript-cli/security
Insightshttps://github.com/NativeScript/nativescript-cli/insights
https://github.com/NativeScript/nativescript-cli
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/493
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/493
Enable transpilers support in NativeScript projectshttps://github.com/NativeScript/nativescript-cli/issues/493#top
featurehttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22feature%22
1.5.0https://github.com/NativeScript/nativescript-cli/milestone/25
https://github.com/ligaz
ligazhttps://github.com/ligaz
on May 21, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issue-79043290
Nexthttps://github.com/NativeScript/nativescript-cli/issues/493?timeline_page=1
ligazhttps://github.com/ligaz
1.2.0https://github.com/NativeScript/nativescript-cli/milestone/12
on May 21, 2015https://github.com/NativeScript/nativescript-cli/issues/493#event-310771455
https://github.com/tjvantoll
tjvantollhttps://github.com/tjvantoll
on May 21, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-104328814
@ligazhttps://github.com/ligaz
https://github.com/ligaz
ligazhttps://github.com/ligaz
on May 21, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-104332376
https://github.com/emiloberg
emiloberghttps://github.com/emiloberg
on May 21, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-104335106
babelrchttps://babeljs.io/docs/usage/babelrc/
ligazhttps://github.com/ligaz
featurehttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22feature%22
♥ community PRhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22%E2%99%A5%20community%20PR%22
on May 24, 2015https://github.com/NativeScript/nativescript-cli/issues/493#event-312485976
https://github.com/atanasovg
atanasovghttps://github.com/atanasovg
on May 24, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-105019300
https://github.com/jamlfy
jamlfyhttps://github.com/jamlfy
on May 28, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-106454249
@ligazhttps://github.com/ligaz
ligazhttps://github.com/ligaz
1.3.0https://github.com/NativeScript/nativescript-cli/milestone/14
1.2.0https://github.com/NativeScript/nativescript-cli/milestone/12
on Jul 15, 2015https://github.com/NativeScript/nativescript-cli/issues/493#event-356566807
https://github.com/moll
mollhttps://github.com/moll
on Aug 1, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-126918374
https://github.com/ligaz
ligazhttps://github.com/ligaz
on Aug 1, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-126936691
@mollhttps://github.com/moll
https://github.com/jamiebuilds
jamiebuildshttps://github.com/jamiebuilds
on Aug 13, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-130574387
teobugslayerhttps://github.com/teobugslayer
1.3.0https://github.com/NativeScript/nativescript-cli/milestone/14
on Aug 13, 2015https://github.com/NativeScript/nativescript-cli/issues/493#event-381593579
teobugslayerhttps://github.com/teobugslayer
1.4.0https://github.com/NativeScript/nativescript-cli/milestone/23
on Sep 8, 2015https://github.com/NativeScript/nativescript-cli/issues/493#event-403384476
ligazhttps://github.com/ligaz
1.5.0https://github.com/NativeScript/nativescript-cli/milestone/25
on Sep 17, 2015https://github.com/NativeScript/nativescript-cli/issues/493#event-411939962
teobugslayerhttps://github.com/teobugslayer
♥ community PRhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22%E2%99%A5%20community%20PR%22
on Oct 5, 2015https://github.com/NativeScript/nativescript-cli/issues/493#event-426977931
https://github.com/tailsu
tailsuhttps://github.com/tailsu
on Nov 3, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-153326130
nativescript-dev-typescripthttps://github.com/NativeScript/nativescript-dev-typescript
nativescript-dev-babelhttps://github.com/NativeScript/nativescript-dev-babel
ligazhttps://github.com/ligaz
2 - Ready For Testhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%222%20-%20Ready%20For%20Test%22
on Nov 3, 2015https://github.com/NativeScript/nativescript-cli/issues/493#event-453687357
https://github.com/vchimev
vchimevhttps://github.com/vchimev
on Nov 11, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-155738989
@tailsuhttps://github.com/tailsu
https://github.com/tailsu
tailsuhttps://github.com/tailsu
on Nov 11, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-155741730
#887https://github.com/NativeScript/nativescript-cli/issues/887
https://github.com/vchimev
vchimevhttps://github.com/vchimev
on Nov 11, 2015https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-155785813
#1117https://github.com/NativeScript/nativescript-cli/issues/1117
vchimevhttps://github.com/vchimev
3 - Donehttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%223%20-%20Done%22
changeloghttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22changelog%22
2 - Ready For Testhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%222%20-%20Ready%20For%20Test%22
on Nov 11, 2015https://github.com/NativeScript/nativescript-cli/issues/493#event-461460353
vchimevhttps://github.com/vchimev
completedhttps://github.com/NativeScript/nativescript-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 11, 2015https://github.com/NativeScript/nativescript-cli/issues/493#event-461460594
dtopuzovhttps://github.com/dtopuzov
3 - Donehttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%223%20-%20Done%22
on Nov 16, 2015https://github.com/NativeScript/nativescript-cli/issues/493#event-465420681
https://github.com/toddanglin
toddanglinhttps://github.com/toddanglin
on Mar 14, 2016https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-196117959
https://github.com/NativeScript/nativescript-dev-lesshttps://github.com/NativeScript/nativescript-dev-less
https://github.com/toddanglin/nativescript-dev-sasshttps://github.com/toddanglin/nativescript-dev-sass
https://www.npmjs.com/search?q=nativescript-devhttps://www.npmjs.com/search?q=nativescript-dev
https://github.com/pjbonestroo
pjbonestroohttps://github.com/pjbonestroo
on Oct 30, 2017https://github.com/NativeScript/nativescript-cli/issues/493#issuecomment-340370372
https://www.transcrypt.org/https://www.transcrypt.org/
Sign up for freehttps://github.com/signup?return_to=https://github.com/NativeScript/nativescript-cli/issues/493
Sign in to commenthttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/493
featurehttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22feature%22
1.5.0https://github.com/NativeScript/nativescript-cli/milestone/25
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.