Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Commit

Permalink
chore: upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ming-tsai committed Sep 8, 2020
1 parent 90e6444 commit ffc0562
Show file tree
Hide file tree
Showing 16 changed files with 6,953 additions and 2,025 deletions.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"]
presets: ["@vue/cli-plugin-babel/preset"],
};
8,776 changes: 6,852 additions & 1,924 deletions package-lock.json

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dotnetexplorer",
"version": "0.1.4",
"version": "1.0.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand All @@ -9,41 +9,41 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.28",
"@fortawesome/free-brands-svg-icons": "^5.13.0",
"@fortawesome/free-regular-svg-icons": "^5.13.0",
"@fortawesome/free-solid-svg-icons": "^5.13.0",
"@fortawesome/vue-fontawesome": "^0.1.9",
"buefy": "^0.8.20",
"@fortawesome/fontawesome-svg-core": "^1.2.30",
"@fortawesome/free-brands-svg-icons": "^5.14.0",
"@fortawesome/free-regular-svg-icons": "^5.14.0",
"@fortawesome/free-solid-svg-icons": "^5.14.0",
"@fortawesome/vue-fontawesome": "^2.0.0",
"buefy": "^0.9.3",
"core-js": "^3.6.5",
"v-clipboard": "^2.2.3",
"vue": "^2.6.11",
"vue-class-component": "^7.2.3",
"vue-property-decorator": "^8.4.2",
"vue-router": "^3.2.0",
"vue": "^2.6.12",
"vue-class-component": "^7.2.5",
"vue-property-decorator": "^9.0.0",
"vue-router": "^3.4.3",
"vue-type-text": "^0.1.3",
"vuex": "^3.4.0"
"vuex": "^3.5.1"
},
"devDependencies": {
"@types/jest": "^24.0.19",
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"@vue/cli-plugin-babel": "~4.4.0",
"@vue/cli-plugin-eslint": "~4.4.0",
"@vue/cli-plugin-router": "~4.4.0",
"@vue/cli-plugin-typescript": "~4.4.0",
"@vue/cli-plugin-unit-jest": "~4.4.0",
"@vue/cli-plugin-vuex": "~4.4.0",
"@vue/cli-service": "~4.4.0",
"@types/jest": "^26.0.13",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"@vue/cli-plugin-babel": "^4.5.4",
"@vue/cli-plugin-eslint": "^4.5.4",
"@vue/cli-plugin-router": "^4.5.4",
"@vue/cli-plugin-typescript": "^4.5.4",
"@vue/cli-plugin-unit-jest": "^4.5.4",
"@vue/cli-plugin-vuex": "^4.5.4",
"@vue/cli-service": "^4.5.4",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^5.0.2",
"@vue/test-utils": "^1.0.3",
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.1.3",
"@vue/eslint-config-typescript": "^5.1.0",
"@vue/test-utils": "^1.0.5",
"eslint": "^7.8.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-vue": "^6.2.2",
"prettier": "^1.19.1",
"typescript": "~3.9.3",
"vue-template-compiler": "^2.6.11",
"prettier": "^2.1.1",
"typescript": "^4.0.2",
"vue-template-compiler": "^2.6.12",
"vuex-class": "^0.3.2",
"vuex-module-decorators": "^0.17.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/App.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Layout from "@/components/commons/Layout/Layout.vue";
export default {
components: {
Layout
}
Layout,
},
};
4 changes: 2 additions & 2 deletions src/components/commons/Layout/Layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const theme = namespace("Theme");
@Component({
components: {
Footer,
Header
}
Header,
},
})
export default class Layout extends Vue {
@theme.State
Expand Down
10 changes: 5 additions & 5 deletions src/data/option.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export class Option {
value : string = '';
label : string = '';
usage? : string;
note? : string;
}
value = "";
label = "";
usage?: string;
note?: string;
}
2 changes: 1 addition & 1 deletion src/data/primary-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const options: Option[] = [
{ value: "restore", label: "restore" },
{ value: "clean", label: "clean" },
{ value: "run", label: "run" },
{ value: "publish", label: "publish" }
{ value: "publish", label: "publish" },
].sort((x, y) => {
let result = 0;
if (x.value < y.value) {
Expand Down
64 changes: 32 additions & 32 deletions src/data/secondary-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,154 +5,154 @@ const options: { [key: string]: Option[] } = {
{
value: "sln",
label: "new solution file",
usage: "dotnet new sln"
usage: "dotnet new sln",
},
{
value: "project",
label: "new project"
label: "new project",
},
{
value: "globaljson",
label: "global.json file",
usage: "dotnet new globaljson"
usage: "dotnet new globaljson",
},
{
value: "nugetconfig",
label: "NuGet config",
usage: "dotnet new nugetconfig"
usage: "dotnet new nugetconfig",
},
{
value: "webconfig",
label: "Web config",
usage: "dotnet new webconfig"
}
usage: "dotnet new webconfig",
},
],
add: [
{
value: "csharp-project",
label: "an existing C# project to a solution",
usage: "dotnet sln [<solution>.sln] add <project>.c­sproj",
note:
"Replace <solution> and <project> with the items you want, if you are in .sln path youd do not have add solution name"
"Replace <solution> and <project> with the items you want, if you are in .sln path youd do not have add solution name",
},
{
value: "project-reference",
label: "a reference from one project to another",
usage: "dotnet add [<PROJECT>] reference <project>.csproj",
note: "Replace <project> with the item you want"
note: "Replace <project> with the item you want",
},
{
value: "package-reference",
label: "a package reference to a project file",
usage: "dotnet add [<project>] package <package_name>",
note:
"If not specified, the command searches the current directory for one\n\ne.g. 'dotnet add package Newtonsoft.Json'\n\nAfter running the command, there's a compatibility check to ensure the package is compatible with the frameworks in the project. If the check passes, a <PackageReference> element is added to the project file and dotnet restore is run."
"If not specified, the command searches the current directory for one\n\ne.g. 'dotnet add package Newtonsoft.Json'\n\nAfter running the command, there's a compatibility check to ensure the package is compatible with the frameworks in the project. If the check passes, a <PackageReference> element is added to the project file and dotnet restore is run.",
},
{
value: "pattern",
label: "multiple C# projects to a solution using a globbing pattern",
usage: "dotnet sln <solution>.sln add **/*.cs­proj",
note: "Replace <solution> with the name you want"
}
note: "Replace <solution> with the name you want",
},
],
delete: [
{
value: "project",
label: "a C# project from a solution",
usage: "dotnet sln todo.sln remove todo-a­pp/­tod­o-a­pp.c­sproj"
usage: "dotnet sln todo.sln remove todo-a­pp/­tod­o-a­pp.c­sproj",
},
{
value: "project-reference",
label: "project-to-project references",
usage:
"dotnet remove [<PROJECT>] reference [-f|--framework] <PROJECT_REFERENCES>",
note:
"If not specified, the command searches the current directory for project\n\ne.g. 'dotnet remove reference lib1/lib1.csproj lib2/lib2.csproj'"
"If not specified, the command searches the current directory for project\n\ne.g. 'dotnet remove reference lib1/lib1.csproj lib2/lib2.csproj'",
},
{
value: "package-reference",
label: "package reference from a project file",
usage: "dotnet remove [<PROJECT>] package <PACKAGE_NAME>",
note:
"If not specified, the command searches the current directory for project\n\ne.g. dotnet remove package Newtonsoft.Json"
}
"If not specified, the command searches the current directory for project\n\ne.g. dotnet remove package Newtonsoft.Json",
},
],
show: [
{
value: "help",
label: "help for a command",
usage: "dotnet help <command>",
note:
"Replace <command> with the command you need help for.\n\ne.g. dotnet build -h."
"Replace <command> with the command you need help for.\n\ne.g. dotnet build -h.",
},
{
value: "installed templates",
label: "list of the available templates",
usage: "dotnet new -l"
usage: "dotnet new -l",
},
{
value: "projects",
label: "all projects in a solution file",
usage: "dotnet sln list"
usage: "dotnet sln list",
},
{
value: "info",
label:
"detailed information about a .NET Core installation and the machine environment,",
usage: "dotnet --info"
usage: "dotnet --info",
},
{
value: "installed runtimes",
label: "installed .NET Core runtimes",
usage: "dotnet --list-runtimes"
usage: "dotnet --list-runtimes",
},
{
value: "installed sdks",
label: "installed .NET Core SDKs",
usage: "dotnet --list-sdks"
usage: "dotnet --list-sdks",
},
{
value: "version",
label: "version of the .NET Core SDK in use",
usage: "dotnet --version"
}
usage: "dotnet --version",
},
],
restore: [
{
value: "dependencies",
label: "dependencies and tools of a project",
usage: "dotnet restore",
note:
"tarting with .NET Core 2.0 SDK, you don't have to run dotnet restore because it's run implicitly by all commands that require a restore to occur, such as dotnet new, dotnet build and dotnet run."
}
"tarting with .NET Core 2.0 SDK, you don't have to run dotnet restore because it's run implicitly by all commands that require a restore to occur, such as dotnet new, dotnet build and dotnet run.",
},
],
clean: [
{
value: "output",
label: "the output of a project",
usage: "dotnet clean [<project>]",
note:
"Replace <project> with your project name.\n\nThe dotnet clean command cleans the output of the previous build."
}
"Replace <project> with your project name.\n\nThe dotnet clean command cleans the output of the previous build.",
},
],
run: [
{
value: "sourcecode",
label: "source code",
usage: "dotnet run <myapp.dll>",
note:
"Replace <myapp.dll> with your dll.\n\nThe command depends on the dotnet build command to build the code. Any requirements for the build, such as that the project must be restored first, apply to dotnet run as well."
}
"Replace <myapp.dll> with your dll.\n\nThe command depends on the dotnet build command to build the code. Any requirements for the build, such as that the project must be restored first, apply to dotnet run as well.",
},
],
publish: [
{
value: "app",
label: "the application and its dependencies",
usage: "dotnet publish [<project>] [-c|--configuration] [-f|--framework]",
note:
"dotnet publish compiles the application, reads through its dependencies specified in the project file, and publishes the resulting set of files to a directory.\n\n If not specified, the command searches the current directory for project\n\n e.g. 'dotnet publish --framework netcoreapp1.1 --runtime osx.10.11-x64'"
}
]
"dotnet publish compiles the application, reads through its dependencies specified in the project file, and publishes the resulting set of files to a directory.\n\n If not specified, the command searches the current directory for project\n\n e.g. 'dotnet publish --framework netcoreapp1.1 --runtime osx.10.11-x64'",
},
],
};

export const secondaryOptions = options;
14 changes: 7 additions & 7 deletions src/data/tertiary-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,37 @@ export const options: { [key: string]: Option[] } = {
label: "Console application",
usage: "dotnet new console [-lang {C#|F#|VB}]",
note:
"argument lang is optional and not valid for some templates but allows to specify the language of the template to create e.g. 'dotnet new console -lang C#'"
"argument lang is optional and not valid for some templates but allows to specify the language of the template to create e.g. 'dotnet new console -lang C#'",
},
{
value: "classlib",
label: "Class library",
usage: "dotnet new classlib",
note:
"argument lang is optional and not valid for some templates but allows to specify the language of the template to create e.g. 'dotnet new classlib -lang C#'"
"argument lang is optional and not valid for some templates but allows to specify the language of the template to create e.g. 'dotnet new classlib -lang C#'",
},
{
value: "mvc",
label: "ASP.NET Core Web App (Model­-Vi­ew-­Con­tro­ller)",
usage: "dotnet new mvc",
note:
"argument lang is optional and not valid for some templates but allows to specify the language of the template to create e.g. 'dotnet new mvc -lang C#'"
"argument lang is optional and not valid for some templates but allows to specify the language of the template to create e.g. 'dotnet new mvc -lang C#'",
},
{
value: "xunit",
label: "xUnit test project",
usage: "dotnet new xunit",
note:
"argument lang is optional and not valid for some templates but allows to specify the language of the template to create e.g. 'dotnet new xunit -lang C#'"
"argument lang is optional and not valid for some templates but allows to specify the language of the template to create e.g. 'dotnet new xunit -lang C#'",
},
{
value: "webapi",
label: "Api project",
usage: "dotnet new webapi [-lang {C#|F#}]",
note:
"argument lang is optional and not valid for some templates but allows to specify the language of the template to create e.g. 'dotnet new webapi -lang C#'"
}
]
"argument lang is optional and not valid for some templates but allows to specify the language of the template to create e.g. 'dotnet new webapi -lang C#'",
},
],
};

export const tertiaryOptions = options;
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Vue.component("vue-fontawesome", FontAwesomeIcon);
Vue.use(Buefy, {
defaultIconComponent: "vue-fontawesome",
defaultIconPack: "fas",
defaultContainerElement: "app"
defaultContainerElement: "app",
});

Vue.use(Clipboard);
Expand All @@ -35,5 +35,5 @@ Vue.config.productionTip = false;
new Vue({
router,
store,
render: h => h(App)
render: (h) => h(App),
}).$mount("#app");
8 changes: 4 additions & 4 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ const routes: Array<RouteConfig> = [
{
path: "/",
name: "Home",
component: Home
component: Home,
},
{
path: "*",
name: "Home",
component: Home
}
component: Home,
},
];

const router = new VueRouter({
mode: "history",
base: process.env.BASE_URL,
routes
routes,
});

export default router;
Loading

0 comments on commit ffc0562

Please sign in to comment.