aws_sam_yarn_builder 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/aws_sam_yarn_builder/package.rb +1 -13
- data/lib/aws_sam_yarn_builder/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62f3211679b815c84f3515e43184280e7b3d10306b8723f6e39251a59722efbb
|
4
|
+
data.tar.gz: 97e66bea8513d34358edcf99ca89e6b688be4508b3d727072c4da592a5927ff3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abc5a330057f7792794ff1deabcdd253fa78dc99eed79909ee6b8326c32c3b5f62ebe84597b5376e94065db032f2c022856a3d944c66d916245e5570b41ae736
|
7
|
+
data.tar.gz: d987f78e00b06a5bed5bd5134ac396be0082013b15dd1661341109d5a68ec841912b53e6917bfa69a3840114583ebe41835c99ae9775dd6a8b66209e15113d48
|
data/Gemfile.lock
CHANGED
@@ -58,10 +58,6 @@ module AwsSamYarnBuilder
|
|
58
58
|
@dependencies ||= contents[:dependencies].map { |name, version| Dependency.new(self, name, version) }
|
59
59
|
end
|
60
60
|
|
61
|
-
def dev_dependencies
|
62
|
-
@dev_dependencies ||= contents[:devDependencies].map { |name, version| Dependency.new(self, name, version) }
|
63
|
-
end
|
64
|
-
|
65
61
|
def has_sam_prebuild_script?
|
66
62
|
contents[:scripts].present? && contents[:scripts]["sam:prebuild"].present?
|
67
63
|
end
|
@@ -135,15 +131,7 @@ module AwsSamYarnBuilder
|
|
135
131
|
deps
|
136
132
|
end
|
137
133
|
|
138
|
-
result[:devDependencies] =
|
139
|
-
if version.start_with?("file:")
|
140
|
-
deps[name] = "file:../#{name}"
|
141
|
-
else
|
142
|
-
deps[name] = version
|
143
|
-
end
|
144
|
-
|
145
|
-
deps
|
146
|
-
end
|
134
|
+
result[:devDependencies] = {}
|
147
135
|
|
148
136
|
result
|
149
137
|
end
|