Title: Update DevelopmentWorkflow.md for v6 · Issue #7745 · NativeScript/NativeScript · GitHub
Open Graph Title: Update DevelopmentWorkflow.md for v6 · Issue #7745 · NativeScript/NativeScript
X Title: Update DevelopmentWorkflow.md for v6 · Issue #7745 · NativeScript/NativeScript
Description: I'm trying to test a contribution to the v6 tns-core-modules and tns-core-modules-widgets, and running into problems following the DevelopmentWorkflow.md. I think it is outdated. In short, I want to modify a .ts file in tns-core-modules ...
Open Graph Description: I'm trying to test a contribution to the v6 tns-core-modules and tns-core-modules-widgets, and running into problems following the DevelopmentWorkflow.md. I think it is outdated. In short, I want t...
X Description: I'm trying to test a contribution to the v6 tns-core-modules and tns-core-modules-widgets, and running into problems following the DevelopmentWorkflow.md. I think it is outdated. In short, I wa...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7745
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update DevelopmentWorkflow.md for v6","articleBody":"I'm trying to test a [contribution](https://github.com/NativeScript/NativeScript/pull/7707) to the v6 `tns-core-modules` and `tns-core-modules-widgets`, and running into problems following the [DevelopmentWorkflow.md](https://github.com/NativeScript/NativeScript/blob/master/DevelopmentWorkflow.md). I think it is outdated.\r\n\r\nIn short, I want to modify a `.ts` file in `tns-core-modules` and be able to test the modification in a v6 NativeScript app in another directory.\r\n\r\nA few issues with the current [DevelopmentWorkflow.md](https://github.com/NativeScript/NativeScript/blob/master/DevelopmentWorkflow.md):\r\n1. The initial setup (`npm install`) does not npm link\r\n1. [Running Another App](https://github.com/NativeScript/NativeScript/blob/master/DevelopmentWorkflow.md#running-another-app) indicates changes require TS rebuild (tsc), however it does not specify which package.json `script` target to run. My hunch is it is `dev-tsc-all` but this script has a bug in it (pr below) AND after running, the `.js` files end up in `bin/dist/tns-core-modules/` without a `package.json` (so `npm link` will not work). `compile-all` script does the same.\r\n1. `dev-link-tns-core-modules-widgets` script references a `dist/package` dir that DNE.\r\n\r\nI'm happy to do the work to PR an update to the docs, however I need some clarity on the right way to do it 1st.\r\n\r\nHere is my workflow - what am I doing wrong?\r\n\r\n1. Fork and clone\r\n1. `git checkout -b my-feature/fix-branch`\r\n1. `npm install`\r\n1. `npm run compile-all` \r\n1. From root of my NS proj: `npm link ../\u003cwhere I cloned\u003e/tns-core-modules-widgets/ \u0026\u0026 npm link ../\u003cwhere I cloned\u003e/tns-core-modules`\r\n1. `tns debug ios --debug-brk --env.sourceMap`\r\n\r\n","author":{"url":"https://github.com/rynop","@type":"Person","name":"rynop"},"datePublished":"2019-08-28T19:52:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/7745/NativeScript/issues/7745"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d411e14d-1deb-56e0-bb9a-86ec7dd76d18 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D452:39FF61:260572:3099C5:697438F1 |
| html-safe-nonce | 43bd2d0017e7589fd3507d65b7c4e68869ad8fcd62fa9309c4a8915d1bb9d3eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDUyOjM5RkY2MToyNjA1NzI6MzA5OUM1OjY5NzQzOEYxIiwidmlzaXRvcl9pZCI6IjExMTgwODE2NDY0OTg5NTM0NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e87ff6665c5cfb200ba8048d08f2879594996ef5cce7c132b5e4d2e92a7c2782 |
| hovercard-subject-tag | issue:486576861 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/7745/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ca620cf7ad5bcf7be408d67120c3553cd4cd899cd94b42719e57a094e4b31434/NativeScript/NativeScript/issues/7745 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca620cf7ad5bcf7be408d67120c3553cd4cd899cd94b42719e57a094e4b31434/NativeScript/NativeScript/issues/7745 |
| og:image:alt | I'm trying to test a contribution to the v6 tns-core-modules and tns-core-modules-widgets, and running into problems following the DevelopmentWorkflow.md. I think it is outdated. In short, I want t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rynop |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fe7e2e8de6e57740bca50402351ea656f7a4bf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width