Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 96cabfe

Browse files
author
Ramón Tomás
committed
Removed bower in Identity.api service
Added client lib dependencies to libman
1 parent 9d194ac commit 96cabfe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+51
-32466
lines changed

src/Services/Identity/Identity.API/.bowerrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/Services/Identity/Identity.API/Dockerfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
1-
ARG NODE_IMAGE=node:8.11
21
FROM microsoft/dotnet:2.1-aspnetcore-runtime AS base
32
WORKDIR /app
43
EXPOSE 80
54

65
FROM microsoft/dotnet:2.1-sdk as dotnet-build
76
WORKDIR /src
87

9-
FROM ${NODE_IMAGE} as node-build
10-
WORKDIR /web
11-
COPY src/Services/Identity/Identity.API .
12-
RUN npm install -g [email protected]
13-
RUN bower install --allow-root
14-
158
FROM dotnet-build as build
16-
WORKDIR /src/src/Services/Identity/Identity.API/wwwroot
17-
COPY --from=node-build /web/wwwroot .
189
WORKDIR /src
1910
COPY . .
2011
WORKDIR /src/src/Services/Identity/Identity.API

src/Services/Identity/Identity.API/Identity.API.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<PackageReference Include="IdentityServer4.EntityFramework" Version="2.1.1" />
2626
<PackageReference Include="Microsoft.AspNetCore.DataProtection.Redis" Version="0.3.3" />
2727
<PackageReference Include="Swashbuckle.AspNetCore" Version="2.4.0" />
28+
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="1.0.163" />
2829
</ItemGroup>
2930

3031
<Target Name="PrepublishScript" BeforeTargets="PrepareForPublish">
@@ -54,6 +55,7 @@
5455

5556
<ItemGroup>
5657
<Folder Include="Extensions\" />
58+
<Folder Include="wwwroot\lib\" />
5759
</ItemGroup>
5860

5961
</Project>

src/Services/Identity/Identity.API/bower.json

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"version": "1.0",
3+
"defaultProvider": "cdnjs",
4+
"libraries": [
5+
{
6+
"library": "[email protected]",
7+
"destination": "wwwroot/lib/jquery/"
8+
},
9+
{
10+
"provider": "unpkg",
11+
"library": "[email protected]",
12+
"files": [
13+
"dist/css/bootstrap.css",
14+
"dist/css/bootstrap.css.map",
15+
"dist/css/bootstrap.min.css",
16+
"dist/css/bootstrap.min.css.map",
17+
"dist/css/bootstrap-theme.css",
18+
"dist/css/bootstrap-theme.css.map",
19+
"dist/css/bootstrap-theme.min.css",
20+
"dist/css/bootstrap-theme.min.css.map",
21+
"dist/fonts/glyphicons-halflings-regular.eot",
22+
"dist/fonts/glyphicons-halflings-regular.svg",
23+
"dist/fonts/glyphicons-halflings-regular.ttf",
24+
"dist/fonts/glyphicons-halflings-regular.woff",
25+
"dist/fonts/glyphicons-halflings-regular.woff2",
26+
"dist/js/bootstrap.js",
27+
"dist/js/bootstrap.min.js",
28+
"fonts/glyphicons-halflings-regular.eot",
29+
"fonts/glyphicons-halflings-regular.svg",
30+
"fonts/glyphicons-halflings-regular.ttf",
31+
"fonts/glyphicons-halflings-regular.woff",
32+
"fonts/glyphicons-halflings-regular.woff2"
33+
],
34+
"destination": "wwwroot/lib/bootstrap/"
35+
},
36+
{
37+
"library": "[email protected]",
38+
"destination": "wwwroot/lib/jquery-validation-unobtrusive/"
39+
},
40+
{
41+
"library": "[email protected]",
42+
"destination": "wwwroot/lib/jquery-validate/",
43+
"files": [
44+
"jquery.validate.min.js",
45+
"jquery.validate.js"
46+
]
47+
}
48+
]
49+
}

src/Services/Identity/Identity.API/wwwroot/lib/bootstrap/.bower.json

Lines changed: 0 additions & 45 deletions
This file was deleted.

src/Services/Identity/Identity.API/wwwroot/lib/bootstrap/LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)