-
-
Notifications
You must be signed in to change notification settings - Fork 40
Comparing changes
Open a pull request
base repository: NativeScript/nativescript-dev-webpack
base: 0.24.1
head repository: NativeScript/nativescript-dev-webpack
compare: release
Commits on May 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for de10041 - Browse repository at this point
Copy the full SHA de10041View commit details
Commits on May 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for dbf6bdc - Browse repository at this point
Copy the full SHA dbf6bdcView commit details
Commits on May 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for fd6bfc5 - Browse repository at this point
Copy the full SHA fd6bfc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4c3ba0 - Browse repository at this point
Copy the full SHA f4c3ba0View commit details -
chore: bump version to 0.25.0 (#915)
Vladimir Amiorkov authoredMay 30, 2019 Configuration menu - View commit details
-
Copy full SHA for 9a35eb0 - Browse repository at this point
Copy the full SHA 9a35eb0View commit details
Commits on May 31, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 2d5935c - Browse repository at this point
Copy the full SHA 2d5935cView commit details -
Merge pull request #896 from NativeScript/tachev/fix-custom-entry-points
fix: unify the entry points handling and enable custom applications support in android
Dimitar Tachev authoredMay 31, 2019 Configuration menu - View commit details
-
Copy full SHA for 31f6240 - Browse repository at this point
Copy the full SHA 31f6240View commit details
Commits on Jun 3, 2019
-
fix: handle entry points with custom output filename like output.file…
…name: "[name].custom.js"
Configuration menu - View commit details
-
Copy full SHA for 274ff53 - Browse repository at this point
Copy the full SHA 274ff53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23675a4 - Browse repository at this point
Copy the full SHA 23675a4View commit details -
fix: throw errors when the compilation state is not valid in order to…
… make the investigation easier
Configuration menu - View commit details
-
Copy full SHA for 3aef461 - Browse repository at this point
Copy the full SHA 3aef461View commit details -
Merge pull request #922 from NativeScript/tachev/fix-custom-output
fix: handle entry points with custom output filename
Dimitar Tachev authoredJun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 48b26f4 - Browse repository at this point
Copy the full SHA 48b26f4View commit details
Commits on Jun 4, 2019
-
fix: do not include hot updates when generating requires in entry fil…
…es (they have to be required and processed by the Webpack runtime)
Configuration menu - View commit details
-
Copy full SHA for 27360fd - Browse repository at this point
Copy the full SHA 27360fdView commit details -
Merge pull request #924 from NativeScript/tachev/fix-custom-output
fix: do not include hot updates when generating requires in entry files
Dimitar Tachev authoredJun 4, 2019 Configuration menu - View commit details
-
Copy full SHA for ae9cb8e - Browse repository at this point
Copy the full SHA ae9cb8eView commit details
Commits on Jun 5, 2019
-
Co-Authored-By: Kristian Dimitrov <kddimitrov@progress.com>
Configuration menu - View commit details
-
Copy full SHA for 76314ee - Browse repository at this point
Copy the full SHA 76314eeView commit details
Commits on Jun 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4e622ae - Browse repository at this point
Copy the full SHA 4e622aeView commit details -
chore: merge release into master (#928)
* release: cut the 0.24.0 release (#916) chore: manually update CHANGELOG for release from 0.22.0 to 0.24.0 * fix: stop generating .d.ts on TS compilation (#919) In case `declaration` is set to true in `tsconfig.json` file, the webpack watcher goes in indefinite loop as each change of .ts file leads to generation of new .d.ts files which are also detected by webpack. To prevent this, ensure declaration is set to false in all compilation cases. * fix: move the type check to a child process in order to make it faster in bigger apps and unify the hmr and no-hmr experience. (#926)
Fatme authoredJun 6, 2019 Configuration menu - View commit details
-
Copy full SHA for 545290d - Browse repository at this point
Copy the full SHA 545290dView commit details -
fix: handle file dependencies in non root entry modules (e.g. tns_mod…
…ules/tns_core_modules/inspector_modules)
Configuration menu - View commit details
-
Copy full SHA for bcf0a5c - Browse repository at this point
Copy the full SHA bcf0a5cView commit details
Commits on Jun 7, 2019
-
Merge pull request #929 from NativeScript/tachev/fix-inspector
fix: handle file dependencies in non root entry modules
Dimitar Tachev authoredJun 7, 2019 Configuration menu - View commit details
-
Copy full SHA for daa04fb - Browse repository at this point
Copy the full SHA daa04fbView commit details
Commits on Jun 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c2d6684 - Browse repository at this point
Copy the full SHA c2d6684View commit details
Commits on Jun 12, 2019
-
Merge branch 'release' into fatme/mrm
# Conflicts: # CHANGELOG.md # package.json
Configuration menu - View commit details
-
Copy full SHA for 7e9139b - Browse repository at this point
Copy the full SHA 7e9139bView commit details -
Merge pull request #931 from NativeScript/tachev/androidx
fix: migrate demo apps to android x
Configuration menu - View commit details
-
Copy full SHA for 1699b94 - Browse repository at this point
Copy the full SHA 1699b94View commit details -
fix: emit inspector_modules as a module
This entry point does not resolve when transpiling `tns-core-modules`.
Configuration menu - View commit details
-
Copy full SHA for be2a5a6 - Browse repository at this point
Copy the full SHA be2a5a6View commit details -
Merge branch 'master' into fatme/mrm
Fatme authoredJun 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 5bd4eea - Browse repository at this point
Copy the full SHA 5bd4eeaView commit details -
Merge pull request #933 from NativeScript/fatme/mrm
chore: merge release into master
Fatme authoredJun 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 8df39ba - Browse repository at this point
Copy the full SHA 8df39baView commit details
Commits on Jun 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 94a6270 - Browse repository at this point
Copy the full SHA 94a6270View commit details -
Merge pull request #935 from NativeScript/vchimev/inspector
fix(ios): emit inspector_modules as a module
Dimitar Tachev authoredJun 13, 2019 Configuration menu - View commit details
-
Copy full SHA for e2fbcc6 - Browse repository at this point
Copy the full SHA e2fbcc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0cd8c1 - Browse repository at this point
Copy the full SHA e0cd8c1View commit details -
Merge pull request #936 from NativeScript/tachev/preview-ios-inspector
fix: do not add inspector_modules entry when core modules are an external module
Dimitar Tachev authoredJun 13, 2019 Configuration menu - View commit details
-
Copy full SHA for fc4e415 - Browse repository at this point
Copy the full SHA fc4e415View commit details
Commits on Jun 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 790e386 - Browse repository at this point
Copy the full SHA 790e386View commit details
Commits on Jun 19, 2019
-
feat: introduce webpack only workflow (#882)
* fix: don't provide fake paths to the {N} CLI - relative to the `app` folder * feat: remove not needed hooks * feat: remove webpack compiler logic * fix: don't copy app_resources to the platforms folder * fix: respect --env.verbose * feat: respect production mode based on release option Implements: #911 * fix: watch platform specific files from node_modules Rel to: NativeScript/nativescript-cli#4480 * fix: don't emit absolute webpack's runtime files Previously we needed to emit files with full paths as {N} CLI relies on this and expected them in a such format. With the changes for "webpack-only" mode, {N} CLI expects only relative paths. So we need to fix this in order to ensure that runtime.js file will not be transferred on device on change in hmr mode. * fix: don't process runtime.js files We needed a special processing for `runtime.js` files as we excluded them when transferring the files on device. As the CLI is filtering and emit only hot-update files we don't need this logic anymore. * fix: emit runtime files and entry point files * fix: update webpack config files of demo apps * fix: don't use short imports in demo apps * fix: update dependencies of demo apps so they are compatible with 6.0 release
Configuration menu - View commit details
-
Copy full SHA for 2de4c68 - Browse repository at this point
Copy the full SHA 2de4c68View commit details
Commits on Jun 21, 2019
-
fix: follow the symlinks in JavaScript apps (#941)
We are already following the symlinks in TypeScript, Angular and Vue apps. It allows the plugin developers to link and develop their plugins directly in a JavaScript demo application
Configuration menu - View commit details
-
Copy full SHA for f0c62fb - Browse repository at this point
Copy the full SHA f0c62fbView commit details -
fix: fix hmr for platform specific files in linked plugins (#946)
* fix: override correctly webpack's watchFileSystem * fix: remove ExtraWatchWebpackPlugin from config files * chore: update demo apps
Configuration menu - View commit details
-
Copy full SHA for 9e8c921 - Browse repository at this point
Copy the full SHA 9e8c921View commit details
Commits on Jun 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for bc2f6f1 - Browse repository at this point
Copy the full SHA bc2f6f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a352064 - Browse repository at this point
Copy the full SHA a352064View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e42046 - Browse repository at this point
Copy the full SHA 1e42046View commit details
Commits on Jun 26, 2019
-
fix: inject app.css file from unit-test-runner on test command (#949)
Currently the app.css file from unit-test-runner is not included in bundle/vendor files on test command so the application remains without app.css file. The `tns-core-modules` shows an error in this situation with the in their latest next versions: ``` JS: Error: Could not load CSS from ./app.css: Error: com.tns.NativeScriptException: Failed to find module: "./app.css", relative to: app// JS: com.tns.Module.resolvePathHelper(Module.java:146) JS: com.tns.Module.resolvePath(Module.java:55) JS: com.tns.Runtime.callJSMethodNative(Native Method) JS: com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1212) JS: com.tns.Runtime.callJSMethodImpl(Runtime.java:1092) JS: com.tns.Runtime.callJSMethod(Runtime.java:1079) JS: com.tns.Runtime.callJSMethod(Runtime.java:1059) JS: com.tns.Runtime.callJSMethod(Runtime.java:1051) JS: com.tns.NativeScriptActivity.onCreate(NativeScriptActivity.java:19) JS: android.app.Activity.performCreate(Activity.java:7136) JS: android.app.Activity.performCreate(Activity.java:7127) JS: android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271) JS: android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893) JS: android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048) JS: android.app.servertransac... ``` So we need to inject app.css in order to prevent this error :)
Configuration menu - View commit details
-
Copy full SHA for a216ed3 - Browse repository at this point
Copy the full SHA a216ed3View commit details
Commits on Jun 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4bbf839 - Browse repository at this point
Copy the full SHA 4bbf839View commit details -
fix: hmr should work with uglify (#953)
Currently `hmr` with `--env.uglify` is not working as the uglifier touches all files. This leads to emit of files that are not hot updates. When CLI finds such files, it decides hmr is not successful and restarts the application. However, some of the emitted files are not actully changed. These emitted (and not changed) files are chunks of the entry points - as we are with HMR if there's an actual change for them, we'll receive hot-update files. Currently there's a logic to skip all emitted entry points and webpack runtime files (`runtime.js`) when we are with HMR. To fix the current issue, extend this logic to skip emitted chunks of entry points as well when we are with HMR and there's no hot-update for them.
Configuration menu - View commit details
-
Copy full SHA for 874e4f8 - Browse repository at this point
Copy the full SHA 874e4f8View commit details
Commits on Jun 28, 2019
-
refactor: fix deprecated APIs (#954)
* refactor: fix onCreate() deprecated API call * chore: update apps
Configuration menu - View commit details
-
Copy full SHA for b77ecff - Browse repository at this point
Copy the full SHA b77ecffView commit details -
fix: fix app.css file path on windows machines
Currently `tns test` command on windows throws the following error: ``` ERROR in ./app.js Module not found: Error: Can't resolve '.. ode_modules ativescript-unit-test-runnerapp.css' in 'C:\Jenkins\workspace\master-cli-test-windows\TestApp\app' @ ./app.js 12:93-157 Webpack compilation complete. { Error: Executing webpack failed with exit code 2. at DevicesService.<anonymous> (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\common\mobile\mobile-core\devices-service.js:368:38) at Generator.throw (<anonymous>) at rejected (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\common\mobile\mobile-core\devices-service.js:11:65) at process._tickCallback (internal/process/next_tick.js:68:7) allErrors: [ { Error: Executing webpack failed with exit code 2. at ChildProcess.childProcess.on (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\services\webpack\webpack-compiler-service.js:107:39) at ChildProcess.emit (events.js:189:13) at maybeClose (internal/child_process.js:970:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) code: 2, deviceIdentifier: 'emulator-5562' ```
Configuration menu - View commit details
-
Copy full SHA for 7d734d8 - Browse repository at this point
Copy the full SHA 7d734d8View commit details -
Merge pull request #955 from NativeScript/fatme/fix-css-file-windows
fix: fix app.css file path on windows machines
Configuration menu - View commit details
-
Copy full SHA for aba0313 - Browse repository at this point
Copy the full SHA aba0313View commit details
Commits on Jun 30, 2019
-
fix: don't restart application when lazy loaded code is changed in an…
…gular app with uglify option Currently there is a logic that gets all runtime files and entry point files from webpack compilation. These files are needed to CLI in order to decides if the application should be restarted or refreshed on device(when there is at least one file that is not hot update file, CLI restarts the application). However, this logic doesn't work for lazy loaded modules in angular application as they are reported neither entry point files nor runtime files. Lazy loaded modules are directly injected into webpack compilation using the hooks of ContextModuleFactory - https://github.com/angular/ngtools-webpack-builds/blob/39ccb0b487e92a7ac4330ff9db821337b7aa5c45/src/angular_compiler_plugin.js#L516. This PR fixes the behavior with lazy loaded files as it gets all chunks produced from webpack compilation and omits hot-update.js files from them. Chunk files are all files except hot update files. Chunk files are: `runtime.js`, `tns_modules/inspector-modules.js`, `bundle.js`, `vendor.js` and all lazy loaded modules. When a files is changed in hmr mode, <hash>.hot-update.js file is included into chunk files. This way we don't need to separate the files to entry point, runtime, lazy loaded and others. We just need to omit <hash>.hot-update.js file from chunk files from webpack compilation.
Configuration menu - View commit details
-
Copy full SHA for 121c3b2 - Browse repository at this point
Copy the full SHA 121c3b2View commit details
Commits on Jul 1, 2019
-
fix: create PropertyAssignment instead of string literal (Identifier)…
… when modifying the NgModule - in some cases (e.g. when there is a decomposition in another NgModule property), the TypeScipt program is trying to read `node.name.kind` on each property causing an exception for Identifiers)
Configuration menu - View commit details
-
Copy full SHA for a70fb3b - Browse repository at this point
Copy the full SHA a70fb3bView commit details
Commits on Jul 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7d18cc1 - Browse repository at this point
Copy the full SHA 7d18cc1View commit details -
feat(hooks): improve hooks handling (#961)
* fix(preuninstall): add preuninstall script to remove old hooks During migration from one version to another or when the plugin is removed from application we need to remove its hooks. This is usually done in preuninstall script, however, it was missing until now. This causes several issues when the version is updated as old hooks remain, but they may not be valid anymore. * fix(postinstall): remove old hooks As in 1.0.0 and CLI 6.0 we've changed the way nativescript-dev-webpack interacts with CLI, we need to remove hooks from previous nativescript-dev-webpack versions and use new ones. Usually this should happen with preuninstall script of the old version that removes the hooks. However, our current live version does not have such logic, so implement this in the postinstall of the current version. This way we try to ensure the current plugin will work correctly. * feat(hooks): add before-checkForChanges hook Add before-checkForChanges hook to prevent users from using the current version of the plugin with CLI 5.x.x or older. These two versions are incompatible, so add an error in case older CLI is used.
Configuration menu - View commit details
-
Copy full SHA for f558607 - Browse repository at this point
Copy the full SHA f558607View commit details -
Merge pull request #957 from NativeScript/fatme/fix-ng-uglify
fix: don't restart application when lazy loaded code is changed in angular app with uglify option
Configuration menu - View commit details
-
Copy full SHA for b00fcdd - Browse repository at this point
Copy the full SHA b00fcddView commit details -
Merge pull request #959 from NativeScript/tachev/fix-ng-lazy-exception
fix: the Lazy transformer is not crashing the TypeScript program anymore
Dimitar Tachev authoredJul 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 90846e1 - Browse repository at this point
Copy the full SHA 90846e1View commit details
Commits on Jul 3, 2019
-
fix: allow overriding the
global.process
object from both the app a……nd the plugins By default it will be undefined but the plugins and the app developers will be able to polyfill it. We had the same behavior with the Legacy Workflow.
Configuration menu - View commit details
-
Copy full SHA for 8c4292e - Browse repository at this point
Copy the full SHA 8c4292eView commit details -
Merge pull request #962 from NativeScript/tachev/fix-process-polyfill
fix: allow overriding the `global.process` object
Dimitar Tachev authoredJul 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 804030f - Browse repository at this point
Copy the full SHA 804030fView commit details -
Merge pull request #908 from mudlabs/dependencies
build(package): Update webpack-bundle-analyzer
Dimitar Tachev authoredJul 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 47ad5cf - Browse repository at this point
Copy the full SHA 47ad5cfView commit details
There are no files selected for viewing