Skip to content

Commit e59f68a

Browse files
Updated node modules
1 parent 030ef6a commit e59f68a

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

src/WebCompiler/Compile/LessCompiler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace WebCompiler
99
class LessCompiler : ICompiler
1010
{
1111
private static Regex _errorRx = new Regex("(?<message>.+) on line (?<line>[0-9]+), column (?<column>[0-9]+)", RegexOptions.Compiled);
12-
private string _path;
12+
private readonly string _path;
1313
private string _output = string.Empty;
1414
private string _error = string.Empty;
1515

@@ -125,7 +125,7 @@ private static string ConstructArguments(Config config)
125125
arguments += " --strict-units=on";
126126

127127
if (options.RelativeUrls)
128-
arguments += " --relative-urls";
128+
arguments += " --rewrite-urls=all";
129129

130130
if (!string.IsNullOrEmpty(options.RootPath))
131131
arguments += $" --rootpath=\"{options.RootPath}\"";

src/WebCompiler/WebCompiler.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<PackageReference Include="Microsoft.Build.Framework" Version="15.1.0-*" PrivateAssets="All" />
2525
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="15.1.0-*" PrivateAssets="All" />
2626
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" PrivateAssets="All" />
27-
<PackageReference Include="NUglify" Version="1.5.5" PrivateAssets="All" />
27+
<PackageReference Include="NUglify" Version="1.5.12" PrivateAssets="All" />
2828
</ItemGroup>
2929
<ItemGroup>
3030
<Content Include="MSBuild\*.targets" PackagePath="build\" />

src/WebCompilerVsix/WebCompilerPackage.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ namespace WebCompilerVsix
1717
[ProvideMenuResource("Menus.ctmenu", 1)]
1818
[Guid(PackageGuids.guidCompilerPackageString)]
1919
[ProvideAutoLoad(UIContextGuids80.SolutionExists)]
20-
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1650:ElementDocumentationMustBeSpelledCorrectly", Justification = "pkgdef, VS and vsixmanifest are valid VS terms")]
2120
public sealed class WebCompilerPackage : Package
2221
{
2322
public const string Version = "1.4.167";

src/WebCompilerVsix/WebCompilerVsix.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@
6161
<Compile Include="Commands\Recompile.cs" />
6262
<Compile Include="Commands\CreateConfig.cs" />
6363
<Compile Include="Constants.cs" />
64+
<Compile Include="ContentType\HandlebarsContentTypeDefinition.cs" />
65+
<Compile Include="ContentType\HBSContentTypeDefinition.cs" />
6466
<Compile Include="ContentType\SassContentTypeDefinition.cs" />
67+
<Compile Include="ContentType\StylContentTypeDefinition.cs" />
68+
<Compile Include="ContentType\StylusContentTypeDefinition.cs" />
6569
<Compile Include="ErrorList\ErrorListService.cs" />
6670
<Compile Include="ErrorList\SinkManager.cs" />
6771
<Compile Include="ErrorList\TableDataSource.cs" />
@@ -212,6 +216,9 @@
212216
<HintPath>..\..\packages\NuGet.VisualStudio.2.8.5\lib\net40\NuGet.VisualStudio.dll</HintPath>
213217
<EmbedInteropTypes>True</EmbedInteropTypes>
214218
</Reference>
219+
<Reference Include="NUglify, Version=1.5.12.0, Culture=neutral, PublicKeyToken=15bc7810aec21b5e, processorArchitecture=MSIL">
220+
<HintPath>..\..\packages\NUglify.1.5.12\lib\net40\NUglify.dll</HintPath>
221+
</Reference>
215222
<Reference Include="PresentationCore" />
216223
<Reference Include="PresentationFramework" />
217224
<Reference Include="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
@@ -222,12 +229,14 @@
222229
<Reference Include="System.ComponentModel.Composition" />
223230
<Reference Include="System.Design" />
224231
<Reference Include="System.Windows.Forms" />
232+
<Reference Include="System.Xml" />
225233
<Reference Include="WindowsBase" />
226234
</ItemGroup>
227235
<ItemGroup>
228236
<ProjectReference Include="..\WebCompiler\WebCompiler.csproj">
229237
<Project>{b714b5b9-27c4-443c-9517-fe5c5ef46ea2}</Project>
230238
<Name>WebCompiler</Name>
239+
<AdditionalProperties>TargetFramework=net46</AdditionalProperties>
231240
</ProjectReference>
232241
</ItemGroup>
233242
<ItemGroup />

src/WebCompilerVsix/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<packages>
33
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net46" />
44
<package id="NuGet.VisualStudio" version="3.5.0" targetFramework="net46" />
5-
<package id="NUglify" version="1.5.5" targetFramework="net46" />
5+
<package id="NUglify" version="1.5.12" targetFramework="net46" />
66
</packages>

0 commit comments

Comments
 (0)