Skip to content

feat: support only webpack workflow #4550

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

Merged
merged 156 commits into from
Jun 19, 2019
Merged

feat: support only webpack workflow #4550

merged 156 commits into from
Jun 19, 2019

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Apr 19, 2019

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

Fatme and others added 17 commits April 10, 2019 11:01
chore: remove the code related to js prepare as webpack overrides prepareJS method with own logic
…y-code

chore: remove the legacy code from android-project-service
chore: delete plugin variables service
chore: remove legacy code from ios-project-service
* remove the support for targetSdk
* extract the logic to separate services
refactor: refactor the logic for building android projects
chore: automate publish of webpack tag
@cla-bot cla-bot bot added the cla: yes label Apr 19, 2019
@ghost ghost assigned Fatme Apr 19, 2019
@ghost ghost added new PR and removed cla: yes labels Apr 19, 2019
@Fatme Fatme changed the title Feature/webpack only feat: support only webpack workflow Apr 20, 2019
@Fatme
Copy link
Contributor Author

Fatme commented Apr 22, 2019

test cli-smoke nativescript@webpack

@miroslavaivanova
Copy link
Contributor

test cli-smoke

@cla-bot cla-bot bot added the cla: yes label Apr 22, 2019
@miroslavaivanova
Copy link
Contributor

test cli-smoke cli-create cli-plugin cli-preview cli-tests cli-templates cli-run cli-build cli-device cli-misc nativescript@webpack nativescript-dev-webpack@webpack

@miroslavaivanova
Copy link
Contributor

test cli-smoke nativescript#webpack branch_cli_tests#webpack_back

@miroslavaivanova
Copy link
Contributor

test nativescript#webpack branch_cli_create#webpack

@miroslavaivanova
Copy link
Contributor

test nativescript#webpack branch-cli#webpack_back

@miroslavaivanova
Copy link
Contributor

test nativescript#webpack branch_cli_create#webpack_back

@miroslavaivanova
Copy link
Contributor

test nativescript#webpack branch-cli#webpack_back

Fatme and others added 5 commits June 17, 2019 23:08
…n already added

To reproduce:
1. `tns platform add [email protected]`
2. `tns platform clean ios`

Expected output:
Platform ios successfully removed.
Copying template files...
Platform ios successfully added. v5.1.0

Actual output:
Platform ios successfully removed.
Copying template files...
Platform ios successfully added. v5.4.2
NativeScript CLI returns that there are no added platforms when iOS platform is already added as the comparison is case sensitive.
The `kinvey-sdk` plugin relies on `preview-sync` hook and mainly on platform property from `hookArgs`. This PR changes the workflow of `preview-sync` hook and makes it the same as in NativeScript v5.4.0. In NativeScript v5.4.0 the hook is executed when pubnub reports the device that the QR code is scanned with. This way we're able to get the platform from device and adds it to the `hookArgs` passed to the hook.
fix: fix the workflow of preview-sync hook
fix: fix `tns platform list` and `tns platform clean` commands
@miroslavaivanova
Copy link
Contributor

test cli-smoke nativescript#webpack branch_cli_create#webpack_back

rosen-vladimirov and others added 14 commits June 18, 2019 10:20
Currently, in case the Android's App_Resources structure is migrated, we copy the files twice. Fix this by setting correct folders to copy the files.
…urces

fix: fix  the way android appResources are processed
fix: show warning when --env.snapshot is provided for debug builds
Enable passing iOS Code signing options to operations like run/debug, etc. Currently the provision and teamId options are not passed to the controllers, so we do not use them during project preparation.
To resolve this, include the buildData in the deviceDescriptors - this way we'll have all the codesigning data required for the specific device and we'll also allow having different codesign options for different devices.
Also remove outputPath from deviceDescriptors as we can use it directly from the buildData.
fix: initialize nativeChanged with true when checking for changes
…e and simulator

NativeScript CLI doesn't respect correctly the built application package when there are connected device and simulator. That is the reason why `tns deploy ios --path TestApp --provision NativeScriptDevProfile –justlaunch` throws  the following error: ENOENT: no such file or directory, scandir '/Users/mivanova/Projects/TestApp/platforms/ios/build/Debug-iphonesimulator'
As buildData has nativePrepare property, when using the runController. Set the nativePrepare last in the merged object.
fix: fix `tns deploy ios --justlaunch` when there are connected device and simulator
fix: enable passing iOS codesigning options to LiveSync operations
@Fatme Fatme marked this pull request as ready for review June 19, 2019 08:05
@Fatme Fatme merged commit 24dd109 into master Jun 19, 2019
@rosen-vladimirov rosen-vladimirov deleted the feature/webpack-only branch January 17, 2020 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants