mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-08 18:14:15 +00:00
clean up
This commit is contained in:
parent
40c0204770
commit
12a741bf28
23
.vscode/components_schemas.code-snippets
vendored
23
.vscode/components_schemas.code-snippets
vendored
@ -1,23 +0,0 @@
|
||||
{
|
||||
"[schema-31] New Connected Component with decorators": {
|
||||
"scope": "javascript",
|
||||
"prefix": "newConnectedComponent",
|
||||
"description": "Create a new react component with default schema for ycore-schema31",
|
||||
"body": [
|
||||
"import React from 'react'",
|
||||
"import * as antd from 'antd'",
|
||||
"import { connect } from 'umi'",
|
||||
"",
|
||||
"@connect(({ app }) => ({ app }))",
|
||||
"export default class ${1:NewComponent} extends React.Component{",
|
||||
"\trender(){",
|
||||
"\t\treturn(",
|
||||
"\t\t\t<div>",
|
||||
"\t\t\t\t",
|
||||
"\t\t\t</div>",
|
||||
"\t\t)",
|
||||
"\t}",
|
||||
"}",
|
||||
]
|
||||
}
|
||||
}
|
30
.vscode/functions_schemas.code-snippets
vendored
30
.vscode/functions_schemas.code-snippets
vendored
@ -1,30 +0,0 @@
|
||||
{
|
||||
"[schema-21] New api v3 based functions": {
|
||||
"scope": "javascript",
|
||||
"prefix": "newApiFunctional21",
|
||||
"description": "Create a new functional core module with default schema for ycore-schema21",
|
||||
"body": [
|
||||
"import verbosity from 'core/libs/verbosity'",
|
||||
"import handle from 'core/libs/errorhandler'",
|
||||
"import { notify } from 'core/libs/ui'",
|
||||
"import settings from 'core/libs/settings'",
|
||||
"import endpoints from 'config/endpoints'",
|
||||
"import { v3_model } from 'core/libs'",
|
||||
"",
|
||||
"export function ${1:NewFunction}(payload, callback){",
|
||||
"\tif (!payload) return false",
|
||||
"\tconst { data } = payload",
|
||||
"\t\t",
|
||||
"\treturn callback(false, null)",
|
||||
"}",
|
||||
"",
|
||||
"export const ${2:ObjectFunction} = {",
|
||||
"\tsomething: (payload, callback) => {",
|
||||
"\t\treturn callback(false, null)",
|
||||
"\t}",
|
||||
"}",
|
||||
"",
|
||||
"export default ${1:NewFunction}",
|
||||
]
|
||||
}
|
||||
}
|
48
.vscode/launch.json
vendored
48
.vscode/launch.json
vendored
@ -8,53 +8,7 @@
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"type": "pwa-node"
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"name": "Attach to Chrome",
|
||||
"port": 8000,
|
||||
"request": "attach",
|
||||
"type": "pwa-chrome",
|
||||
"webRoot": "${workspaceFolder}"
|
||||
},
|
||||
{
|
||||
"name": "Attach by Process ID",
|
||||
"processId": "${command:PickProcess}",
|
||||
"request": "attach",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"type": "pwa-node"
|
||||
},
|
||||
{
|
||||
"name": "Electron Main",
|
||||
"program": "${workspaceFolder}/main/index.js",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"type": "pwa-node"
|
||||
},
|
||||
{
|
||||
"name": "Launch via NPM",
|
||||
"request": "launch",
|
||||
"runtimeArgs": [
|
||||
"run-script",
|
||||
"debug"
|
||||
],
|
||||
"runtimeExecutable": "npm",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"type": "pwa-node"
|
||||
},
|
||||
{
|
||||
"name": "Launch WEB APP",
|
||||
"type": "pwa-chrome",
|
||||
"name": "http://192.168.0.2:8000",
|
||||
"request": "launch",
|
||||
"url": "http://192.168.0.2:8000"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@ -1,10 +1,5 @@
|
||||
{
|
||||
"discord.enabled": false,
|
||||
"peacock.remoteColor": "#ff6064",
|
||||
"docify.inlineComments": true,
|
||||
"docify.moreExpressiveComments": true,
|
||||
"docify.sidePanelReviewMode": false,
|
||||
"docify.programmingLanguage": "javascript",
|
||||
"workbench.colorCustomizations": {
|
||||
"activityBar.activeBackground": "#ff9396",
|
||||
"activityBar.background": "#ff9396",
|
||||
|
Loading…
x
Reference in New Issue
Block a user