namespacing

This commit is contained in:
2020-03-23 19:39:48 +01:00
parent 5dfbb9a7c9
commit 01407af633
7 changed files with 33 additions and 16 deletions
+3 -11
View File
@@ -11,22 +11,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="expires" content="0">
<link rel="apple-touch-icon" sizes="180x180" href="~/Assets/Favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="~/Assets/Favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="~/Assets/Favicons/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="196x196" href="~/Assets/Favicons/android-chrome-192x192.png">
<link rel="manifest" href="~/Assets/site.webmanifest">
<link rel="mask-icon" href="~/Assets/Favicons/safari-pinned-tab.svg" color="#161e25">
<meta name="msapplication-TileColor" content="#161e25">
<meta name="theme-color" content="#161e25">
<base href="~/">
@*<environment exclude="Development">
<environment exclude="Development">
<link href="~/Assets/app.css" rel="stylesheet" asp-append-version="true" />
</environment>*@
</environment>
<title>unjo</title>
</head>
<body>
<div id="app"></div>
@*<script src="~/Assets/app.js" asp-append-version="true"></script>*@
<script src="~/Assets/app.js" asp-append-version="true"></script>
</body>
</html>
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using unjo.Core;
using unjo.Core.Entities.Sections;
using unjo.Core.Entities;
namespace unjo.Web.Sections
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using unjo.Core;
using unjo.Core.Entities.Sections;
using unjo.Core.Entities;
namespace unjo.Web.Sections
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using unjo.Core;
using unjo.Core.Entities.Sections;
using unjo.Core.Entities;
namespace unjo.Web.Sections
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using unjo.Core;
using unjo.Core.Entities.Sections;
using unjo.Core.Entities;
namespace unjo.Web.Sections
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using unjo.Core;
using unjo.Core.Entities.Sections;
using unjo.Core.Entities;
namespace unjo.Web.Sections
{
+25
View File
@@ -0,0 +1,25 @@
const fs = require('fs');
const wipeDependencies = () =>
{
const file = fs.readFileSync('package.json');
const content = JSON.parse(file);
for (const devDep in content.devDependencies)
{
content.devDependencies[devDep] = '*';
}
for (const dep in content.dependencies)
{
content.dependencies[dep] = '*';
}
fs.writeFileSync('package.json', JSON.stringify(content));
};
if (require.main === module)
{
wipeDependencies();
}
else
{
module.exports = wipeDependencies;
}