Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
guru
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
guru
Commits
1ce0942f
Commit
1ce0942f
authored
Dec 20, 2018
by
Clint.Network
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrating NodeJS -> Libman
parent
9bd027e2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
62 deletions
+23
-62
Startup.cs
Stratis.Guru/Startup.cs
+1
-13
libman.json
Stratis.Guru/libman.json
+22
-0
package-lock.json
Stratis.Guru/package-lock.json
+0
-28
package.json
Stratis.Guru/package.json
+0
-21
No files found.
Stratis.Guru/Startup.cs
View file @
1ce0942f
...
...
@@ -44,9 +44,6 @@ namespace Stratis.Guru
services
.
Configure
<
NakoApiSettings
>(
Configuration
.
GetSection
(
"NakoApi"
));
services
.
Configure
<
FixerApiSettings
>(
Configuration
.
GetSection
(
"FixerApi"
));
/*Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");*/
services
.
AddMemoryCache
();
services
.
AddTransient
<
UpdateHub
>();
...
...
@@ -58,7 +55,7 @@ namespace Stratis.Guru
services
.
AddLocalization
();
services
.
AddMvc
()
.
SetCompatibilityVersion
(
CompatibilityVersion
.
Version_2_1
)
;
services
.
AddMvc
();
services
.
AddSignalR
();
}
...
...
@@ -79,15 +76,6 @@ namespace Stratis.Guru
app
.
UseStaticFiles
();
app
.
UseCookiePolicy
();
// Node.js Modules Directory Access
app
.
UseStaticFiles
(
new
StaticFileOptions
{
FileProvider
=
new
PhysicalFileProvider
(
Path
.
Combine
(
env
.
ContentRootPath
,
"node_modules"
)
),
RequestPath
=
"/npm"
});
// Add Documentation (MkDocs) Support
app
.
UseFileServer
(
new
FileServerOptions
{
...
...
Stratis.Guru/libman.json
0 → 100644
View file @
1ce0942f
{
"version"
:
"1.0"
,
"defaultProvider"
:
"unpkg"
,
"libraries"
:
[
{
"library"
:
"bootstrap@4.1.3"
,
"destination"
:
"wwwroot
\\
lib
\\
bootstrap"
},
{
"library"
:
"jquery-countdown@2.2.0"
,
"destination"
:
"wwwroot
\\
lib
\\
jquery-countdown"
},
{
"library"
:
"nprogress@0.2.0"
,
"destination"
:
"wwwroot
\\
lib
\\
nprogress"
},
{
"library"
:
"@aspnet/signalr@1.1.0"
,
"destination"
:
"wwwroot
\\
lib
\\
@aspnet/signalr"
}
]
}
\ No newline at end of file
Stratis.Guru/package-lock.json
deleted
100644 → 0
View file @
9bd027e2
{
"name"
:
"stratis.guru"
,
"version"
:
"1.0.0"
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
"dependencies"
:
{
"@aspnet/signalr"
:
{
"version"
:
"1.0.4"
,
"resolved"
:
"https://registry.npmjs.org/@aspnet/signalr/-/signalr-1.0.4.tgz"
,
"integrity"
:
"sha512-q7HMlTZPkZCa/0UclsXvEyqNirpjRfRuwhjEeADD1i6pqe0Yx5OwuCO7+Xsc6MNKR8vE1C9MyxnSj0SecvUbTA=="
},
"bootstrap"
:
{
"version"
:
"4.1.3"
,
"resolved"
:
"https://registry.npmjs.org/bootstrap/-/bootstrap-4.1.3.tgz"
,
"integrity"
:
"sha512-rDFIzgXcof0jDyjNosjv4Sno77X4KuPeFxG2XZZv1/Kc8DRVGVADdoQyyOVDwPqL36DDmtCQbrpMCqvpPLJQ0w=="
},
"jquery-countdown"
:
{
"version"
:
"2.2.0"
,
"resolved"
:
"https://registry.npmjs.org/jquery-countdown/-/jquery-countdown-2.2.0.tgz"
,
"integrity"
:
"sha1-unjtXXzxB7OxysnGugeZfUqi3O8="
},
"nprogress"
:
{
"version"
:
"0.2.0"
,
"resolved"
:
"https://registry.npmjs.org/nprogress/-/nprogress-0.2.0.tgz"
,
"integrity"
:
"sha1-y480xTIT2JVyP8urkH6UIq28r7E="
}
}
}
Stratis.Guru/package.json
deleted
100644 → 0
View file @
9bd027e2
{
"name"
:
"stratis.guru"
,
"version"
:
"1.0.0"
,
"description"
:
""
,
"main"
:
"index.js"
,
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"http://git.clint.network/clintm/Stratis.Guru.git"
},
"author"
:
""
,
"license"
:
"ISC"
,
"dependencies"
:
{
"@aspnet/signalr"
:
"^1.0.4"
,
"bootstrap"
:
"^4.1.3"
,
"jquery-countdown"
:
"^2.2.0"
,
"nprogress"
:
"^0.2.0"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment