René's URL Explorer Experiment


Title: Add support for different templates by rosen-vladimirov · Pull Request #1218 · NativeScript/nativescript-cli · GitHub

Open Graph Title: Add support for different templates by rosen-vladimirov · Pull Request #1218 · NativeScript/nativescript-cli

X Title: Add support for different templates by rosen-vladimirov · Pull Request #1218 · NativeScript/nativescript-cli

Description: Add support for --template option when creating new project. The value for --template can be anything that you can npm install. For example valid calls are: tns create app1 --template tns-template-hello-world tns create app1 --template https://github.com/NativeScript/template-hello-world-ts/tarball/master tns create app1 --template ../myTemplate tns create app1 --template https://github.com/NativeScript/template-hello-world-ts.git tns create app1 --template https://github.com/NativeScript/template-hello-world-ts.git#master In case you use: tns create app1 --template typescript or tns create app1 --template tsc, CLI will try to install tns-template-hello-world-ts template. In case you use tns create app1 --template typescript@1.2.0 we will install version 1.2.0 of tns-template-hello-world-ts. When a custom template is used, CLI will extend its App_Resources with the ones from default template in case any of them is missing. NOTE: Updating npm version to latest 2.x as our current version (2.6.1) fails when trying to execute: npm install https://github.com/nativescript/template-hello-world.git npm ERR! fetch failed https://github.com/nativescript/template-hello-world.git npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 406 npm ERR! fetch failed https://github.com/nativescript/template-hello-world.git npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 406 Implements #374

Open Graph Description: Add support for --template option when creating new project. The value for --template can be anything that you can npm install. For example valid calls are: tns create app1 --template tns-template...

X Description: Add support for --template option when creating new project. The value for --template can be anything that you can npm install. For example valid calls are: tns create app1 --template tns-template...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/pull/1218

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e791af8d-4e4d-ec52-daf6-3166e9d41171
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8596:2E7EBB:34F442B:431128D:6B01D638
html-safe-nonce3a5923b16133b161330e6369f573b4eaac7cf195d6a1c4893ac28a22b2555c83
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTk2OjJFN0VCQjozNEY0NDJCOjQzMTEyOEQ6NkIwMUQ2MzgiLCJ2aXNpdG9yX2lkIjoiNDA1Mzc5NDU5NzY3ODIwODU2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac07a621e4fe6a6a04d3f71388a4187d0f193cd8d7edd92887c91c5891237be2ba
hovercard-subject-tagpull_request:51216504
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/nativescript-cli/pull/1218/files
twitter:imagehttps://avatars.githubusercontent.com/u/8351653?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/8351653?s=400&v=4
og:image:altAdd support for --template option when creating new project. The value for --template can be anything that you can npm install. For example valid calls are: tns create app1 --template tns-template...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/pull/1218/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F1218%2Ffiles
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%2Fpull%2F1218%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/1218/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/1218/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/1218/files
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 requests38 (38)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
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
rosen-vladimirovhttps://github.com/rosen-vladimirov
masterhttps://github.com/NativeScript/nativescript-cli/tree/master
vladimirov/add-ns-templateshttps://github.com/NativeScript/nativescript-cli/tree/vladimirov/add-ns-templates
Conversation 24 https://github.com/NativeScript/nativescript-cli/pull/1218
Commits 2 https://github.com/NativeScript/nativescript-cli/pull/1218/commits
Checks 0 https://github.com/NativeScript/nativescript-cli/pull/1218/checks
Files changed https://github.com/NativeScript/nativescript-cli/pull/1218/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/1218/files
Add support for different templates https://github.com/NativeScript/nativescript-cli/pull/1218/files#top
Show all changes 2 commits https://github.com/NativeScript/nativescript-cli/pull/1218/files
16f13b7 Add support for different templates rosen-vladimirov Nov 16, 2015 https://github.com/NativeScript/nativescript-cli/pull/1218/commits/16f13b7b783b02018e63f7368845cf1de065fc28
3ad7872 Install all dependencies on create rosen-vladimirov Nov 30, 2015 https://github.com/NativeScript/nativescript-cli/pull/1218/commits/3ad78727c80ad1a0fe6c0c16b68081f52dfc6080
Clear filters https://github.com/NativeScript/nativescript-cli/pull/1218/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/1218/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/1218/files
create-project.ts https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-c57a77ecbe16493fe14ab79b068426a3a6579da8b0134dae28dbc8a81966c67f
common https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-3d47a30a80ed97a9879c39c7aa0f13fd8840649148364e47f61d77844ed101bb
project.d.ts https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-1a8d705894e0644814b9ccb9e2f271c53427dcad1d0036aeb470dd2bca9aeaf8
npm-installation-manager.ts https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-af1906f2e178ae552d80df988e1d58e95bd86a5f20b9e070ba1850d3411dae5d
project-service.ts https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-9be649df02ef8d9cb8331513d59647a0db85ca16ba64ddf5daf27bbcf6f220b9
project-templates-service.ts https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-cbedfb965f2cebdd1bde2bb30cb894ed7cb745846df62d19dc283d58feb385aa
package.json https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
project-service.ts https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-da1248a15520bf4e713da70c577c9440cd5f0c304560800918ffa17946101afa
project-templates-service.ts https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-1ae3b0634cff66ba4d84576cca92394ceeeff13b130a3a23aedb24e1232a8218
stubs.ts https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-dd112d38ea758f19d5a841e5979dd2153713b9f19f0790124b4b8169a60709d9
lib/commands/create-project.tshttps://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-c57a77ecbe16493fe14ab79b068426a3a6579da8b0134dae28dbc8a81966c67f
View file https://github.com/NativeScript/nativescript-cli/blob/3ad78727c80ad1a0fe6c0c16b68081f52dfc6080/lib/commands/create-project.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/1218/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-c57a77ecbe16493fe14ab79b068426a3a6579da8b0134dae28dbc8a81966c67f
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-c57a77ecbe16493fe14ab79b068426a3a6579da8b0134dae28dbc8a81966c67f
lib/commonhttps://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-3d47a30a80ed97a9879c39c7aa0f13fd8840649148364e47f61d77844ed101bb
Open in desktop https://desktop.github.com
commonhttps://github.com/telerik/mobile-cli-lib
2 files https://github.com/telerik/mobile-cli-lib/compare/66516b388a771dc24018d56367aa5c6f1cbe945d...ed9af3330c8c340faf217376d6f6d51916d0bf36
declarations.d.ts https://github.com/telerik/mobile-cli-lib/compare/66516b388a771dc24018d56367aa5c6f1cbe945d...ed9af3330c8c340faf217376d6f6d51916d0bf36#diff-8cdfbd695c6c52376c005a5092ea78b549d4d38989bec624f5e294493410deb4
options.ts https://github.com/telerik/mobile-cli-lib/compare/66516b388a771dc24018d56367aa5c6f1cbe945d...ed9af3330c8c340faf217376d6f6d51916d0bf36#diff-b214e5dfb7d258a52ccb0f445bc3e04c63c4394ca08c6a2cd560fb16d58cfe31
lib/definitions/project.d.tshttps://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-1a8d705894e0644814b9ccb9e2f271c53427dcad1d0036aeb470dd2bca9aeaf8
View file https://github.com/NativeScript/nativescript-cli/blob/3ad78727c80ad1a0fe6c0c16b68081f52dfc6080/lib/definitions/project.d.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/1218/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-1a8d705894e0644814b9ccb9e2f271c53427dcad1d0036aeb470dd2bca9aeaf8
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-1a8d705894e0644814b9ccb9e2f271c53427dcad1d0036aeb470dd2bca9aeaf8
lib/npm-installation-manager.tshttps://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-af1906f2e178ae552d80df988e1d58e95bd86a5f20b9e070ba1850d3411dae5d
View file https://github.com/NativeScript/nativescript-cli/blob/3ad78727c80ad1a0fe6c0c16b68081f52dfc6080/lib/npm-installation-manager.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/1218/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-af1906f2e178ae552d80df988e1d58e95bd86a5f20b9e070ba1850d3411dae5d
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-af1906f2e178ae552d80df988e1d58e95bd86a5f20b9e070ba1850d3411dae5d
lib/services/project-service.tshttps://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-9be649df02ef8d9cb8331513d59647a0db85ca16ba64ddf5daf27bbcf6f220b9
View file https://github.com/NativeScript/nativescript-cli/blob/3ad78727c80ad1a0fe6c0c16b68081f52dfc6080/lib/services/project-service.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/1218/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-9be649df02ef8d9cb8331513d59647a0db85ca16ba64ddf5daf27bbcf6f220b9
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-9be649df02ef8d9cb8331513d59647a0db85ca16ba64ddf5daf27bbcf6f220b9
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-9be649df02ef8d9cb8331513d59647a0db85ca16ba64ddf5daf27bbcf6f220b9
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-9be649df02ef8d9cb8331513d59647a0db85ca16ba64ddf5daf27bbcf6f220b9
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-9be649df02ef8d9cb8331513d59647a0db85ca16ba64ddf5daf27bbcf6f220b9
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-9be649df02ef8d9cb8331513d59647a0db85ca16ba64ddf5daf27bbcf6f220b9
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-9be649df02ef8d9cb8331513d59647a0db85ca16ba64ddf5daf27bbcf6f220b9
lib/services/project-templates-service.tshttps://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-cbedfb965f2cebdd1bde2bb30cb894ed7cb745846df62d19dc283d58feb385aa
View file https://github.com/NativeScript/nativescript-cli/blob/3ad78727c80ad1a0fe6c0c16b68081f52dfc6080/lib/services/project-templates-service.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/1218/{{ revealButtonHref }}
teobugslayerhttps://github.com/teobugslayer
Nov 27, 2015https://github.com/NativeScript/nativescript-cli/pull/1218/files#r46057677
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/1218/files
rosen-vladimirovhttps://github.com/rosen-vladimirov
Nov 30, 2015https://github.com/NativeScript/nativescript-cli/pull/1218/files#r46114280
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-123e2a8a4e8daddf9ac8a60b8c79546dR29https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-123e2a8a4e8daddf9ac8a60b8c79546dR29
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/1218/files
teobugslayerhttps://github.com/teobugslayer
Nov 30, 2015https://github.com/NativeScript/nativescript-cli/pull/1218/files#r46127464
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/1218/files
package.jsonhttps://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
View file https://github.com/NativeScript/nativescript-cli/blob/3ad78727c80ad1a0fe6c0c16b68081f52dfc6080/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/1218/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/NativeScript/nativescript-cli/pull/1218/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/1218/files
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.