fastlane-plugin-npm 0.2.5 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ccc983c93f0ab055b0185c9e4b628473f4312c4f54b1a923c9c19a14eff36e5
4
- data.tar.gz: f9dee2b29b096224220e1c6d7686754d333a4398a328f5dd080dca871ee2b7f4
3
+ metadata.gz: 6e082643a7ac6cf1a68c1ae08a1e7798481c6afa17bebdf359523428f7428ed8
4
+ data.tar.gz: c537723a37f8d117125ce2c57a2f9c3557ffbf809969de1f191641fbc0caccd6
5
5
  SHA512:
6
- metadata.gz: efb4b8ec0c879420623e4146c702df158754630c944f5b98241a55703e0e4e59b338d5b60d651c1c017f32c95244ac7c198f58711c93e0e10d81f48e2518cf42
7
- data.tar.gz: f22e19cca0724db8d9ad9bdad6f0258dbc6924b9ee787f91dbcdcc756e031d7a65bd8e8b160d50884811db678481251bb7011668203477c845867c863ad3f7a5
6
+ metadata.gz: 1d467673309dc7aacbd08fe7ccff3016332ff6bef1d5ff478df6bb0354fd55ef531cdc721eda230356474a62a0218a89918f25942646eea318490c150d3c0266
7
+ data.tar.gz: ce5b79bd6b4090f93db9632251ed74e3ceb21eb511fdce2d6dc7170a92582e181ba265ec2584c0237e29937850b479ebc37b10cf09b7d4d5ed1a4561b0a9bd2d
@@ -7,11 +7,13 @@ module Fastlane
7
7
  def self.run(params)
8
8
  # rm may exit with non zero in the case where there is no node_modules and that's what we want anyway
9
9
  if params[:fresh]
10
+ UI.importante('Deleting node modules and installing packages')
10
11
  FastlaneCore::CommandExecutor.execute(command: 'rm -rf ../node_modules 2> /dev/null',
11
12
  print_command: FastlaneCore::Globals.verbose?,
12
13
  print_all: FastlaneCore::Globals.verbose?)
13
14
  end
14
-
15
+
16
+
15
17
  other_action.npm_run(
16
18
  script: 'install',
17
19
  step_name: params[:step_name],
@@ -7,7 +7,7 @@ module Fastlane
7
7
  def self.run(params)
8
8
  arguments = []
9
9
  arguments = ['--fix'] if params[:fix]
10
- arguments.concat params[:fix]
10
+ arguments.concat params[:arguments]
11
11
 
12
12
  other_action.npm_run(
13
13
  script: 'lint',
@@ -5,6 +5,8 @@ module Fastlane
5
5
  module Actions
6
6
  class NpmRunAction < Action
7
7
  def self.run(params)
8
+ UI.message(params[:step_name])
9
+
8
10
  command = ['npm', 'run', params[:script]]
9
11
  command = ['npm', params[:script]] if ['install', 'test', 'start'].include? params[:script]
10
12
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Npm
3
- VERSION = "0.2.5"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-npm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erick Martins