-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config-editor): plugin for config files (#412)
- Loading branch information
Showing
128 changed files
with
3,243 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,85 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Run miranum-console", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"args": [ | ||
"--disable-extensions", | ||
"--extensionDevelopmentPath=${workspaceFolder}/dist/apps/miranum-console" | ||
], | ||
"outFiles": [ | ||
"${workspaceFolder}/dist/apps/miranum-console/**/*.js" | ||
], | ||
"resolveSourceMapLocations": [ | ||
"${workspaceFolder}/dist/apps/miranum-console/**", | ||
"!**/node_modules/**" | ||
], | ||
"sourceMapPathOverrides": { | ||
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | ||
"webpack://?:*/*": "${workspaceFolder}/apps/miranum-console/*" | ||
} | ||
}, | ||
{ | ||
"name": "Run miranum-forms", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"args": [ | ||
"--disable-extensions", | ||
"--extensionDevelopmentPath=${workspaceFolder}/dist/apps/miranum-forms" | ||
], | ||
"outFiles": [ | ||
"${workspaceFolder}/dist/apps/miranum-forms/**/*.js" | ||
], | ||
"resolveSourceMapLocations": [ | ||
"${workspaceFolder}/dist/apps/miranum-forms/**", | ||
"!**/node_modules/**" | ||
], | ||
"sourceMapPathOverrides": { | ||
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | ||
"webpack://?:*/*": "${workspaceFolder}/apps/miranum-forms/*" | ||
} | ||
}, | ||
{ | ||
"name": "Run miranum-modeler", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"args": [ | ||
"--disable-extensions", | ||
"--extensionDevelopmentPath=${workspaceFolder}/dist/apps/miranum-modeler" | ||
], | ||
"outFiles": [ | ||
"${workspaceFolder}/dist/apps/miranum-modeler/**/*.js" | ||
], | ||
"resolveSourceMapLocations": [ | ||
"${workspaceFolder}/dist/apps/miranum-modeler/**", | ||
"!**/node_modules/**" | ||
], | ||
"sourceMapPathOverrides": { | ||
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | ||
"webpack://?:*/*": "${workspaceFolder}/apps/miranum-modeler/*" | ||
} | ||
} | ||
] | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Run miranum-console", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"args": [ | ||
"--disable-extensions", | ||
"--extensionDevelopmentPath=${workspaceFolder}/dist/apps/miranum-console" | ||
], | ||
"outFiles": [ | ||
"${workspaceFolder}/dist/apps/miranum-console/**/*.js" | ||
], | ||
"resolveSourceMapLocations": [ | ||
"${workspaceFolder}/dist/apps/miranum-console/**", | ||
"!**/node_modules/**" | ||
], | ||
"sourceMapPathOverrides": { | ||
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | ||
"webpack://?:*/*": "${workspaceFolder}/apps/miranum-console/*" | ||
} | ||
}, | ||
{ | ||
"name": "Run miranum-forms", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"args": [ | ||
"--disable-extensions", | ||
"--extensionDevelopmentPath=${workspaceFolder}/dist/apps/miranum-forms" | ||
], | ||
"outFiles": [ | ||
"${workspaceFolder}/dist/apps/miranum-forms/**/*.js" | ||
], | ||
"resolveSourceMapLocations": [ | ||
"${workspaceFolder}/dist/apps/miranum-forms/**", | ||
"!**/node_modules/**" | ||
], | ||
"sourceMapPathOverrides": { | ||
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | ||
"webpack://?:*/*": "${workspaceFolder}/apps/miranum-forms/*" | ||
} | ||
}, | ||
{ | ||
"name": "Run miranum-modeler", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"args": [ | ||
"--disable-extensions", | ||
"--extensionDevelopmentPath=${workspaceFolder}/dist/apps/miranum-modeler" | ||
], | ||
"outFiles": [ | ||
"${workspaceFolder}/dist/apps/miranum-modeler/**/*.js" | ||
], | ||
"resolveSourceMapLocations": [ | ||
"${workspaceFolder}/dist/apps/miranum-modeler/**", | ||
"!**/node_modules/**" | ||
], | ||
"sourceMapPathOverrides": { | ||
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | ||
"webpack://?:*/*": "${workspaceFolder}/apps/miranum-modeler/*" | ||
} | ||
}, | ||
{ | ||
"name": "Run miranum-config-editor", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"args": [ | ||
"--disable-extensions", | ||
"--extensionDevelopmentPath=${workspaceFolder}/dist/apps/miranum-config-editor" | ||
], | ||
"outFiles": [ | ||
"${workspaceFolder}/dist/apps/miranum-config-editor/**/*.js" | ||
], | ||
"resolveSourceMapLocations": [ | ||
"${workspaceFolder}/dist/apps/miranum-config-editor/**", | ||
"!**/node_modules/**" | ||
], | ||
"sourceMapPathOverrides": { | ||
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | ||
"webpack://?:*/*": "${workspaceFolder}/apps/miranum-config-editor/*" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"presets": [ | ||
"@nx/js/babel" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"extends": [ | ||
"../../.eslintrc.json", | ||
"plugin:vue/essential", | ||
"prettier", | ||
"@vue/typescript/recommended", | ||
"@vue/eslint-config-prettier" | ||
], | ||
"ignorePatterns": [ | ||
"!**/*" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"*.ts", | ||
"*.tsx", | ||
"*.js", | ||
"*.jsx" | ||
], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": [ | ||
"*.ts", | ||
"*.tsx" | ||
], | ||
"rules": { | ||
"@typescript-eslint/no-explicit-any": "warn", | ||
"@typescript-eslint/no-empty-interface": "warn" | ||
} | ||
}, | ||
{ | ||
"files": [ | ||
"*.js", | ||
"*.jsx" | ||
], | ||
"rules": {} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* eslint-disable */ | ||
/* prettier-ignore */ | ||
// @ts-nocheck | ||
// Generated by unplugin-vue-components | ||
// Read more: https://github.com/vuejs/core/pull/3399 | ||
export {} | ||
|
||
declare module 'vue' { | ||
export interface GlobalComponents { | ||
VApp: typeof import('vuetify/lib')['VApp'] | ||
VCard: typeof import('vuetify/lib')['VCard'] | ||
VContainer: typeof import('vuetify/lib')['VContainer'] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>MiranumConfigEditorWebview</title> | ||
<base href="/" /> | ||
|
||
<meta content="width=device-width, initial-scale=1" name="viewport" /> | ||
<link href="/favicon.ico" rel="icon" type="image/x-icon" /> | ||
<link href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet"> | ||
<link href="/src/styles.css" rel="stylesheet" /> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script src="/src/main.ts" type="module"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module.exports = { | ||
displayName: "miranum-config-editor-webview", | ||
preset: "../../jest.preset.js", | ||
transform: { | ||
"^.+.vue$": "@vue/vue2-jest", | ||
".+.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": | ||
"jest-transform-stub", | ||
"^.+.tsx?$": [ | ||
"ts-jest", | ||
{ | ||
tsconfig: "apps/miranum-config-editor-webview/tsconfig.spec.json", | ||
}, | ||
], | ||
}, | ||
moduleFileExtensions: ["ts", "tsx", "vue", "js", "json"], | ||
coverageDirectory: "../../coverage/apps/miranum-config-editor-webview", | ||
snapshotSerializers: ["jest-serializer-vue"], | ||
globals: { | ||
"vue-jest": { | ||
tsConfig: "apps/miranum-config-editor-webview/tsconfig.spec.json", | ||
}, | ||
}, | ||
}; |
Oops, something went wrong.