mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
added: wrapper to packages, update: code quality, update: changed verbosity lib to @nodecorejs
This commit is contained in:
parent
362284690b
commit
a39a70e4cb
13
.gitignore
vendored
13
.gitignore
vendored
@ -10,9 +10,16 @@
|
|||||||
/out
|
/out
|
||||||
|
|
||||||
# umi
|
# umi
|
||||||
/src/.umi
|
/packages/**/src/.umi
|
||||||
/src/.umi-production
|
/packages/**/src/.umi-production
|
||||||
/src/.umi-test
|
/packages/**/src/.umi-test
|
||||||
|
/packages/**/.env.local
|
||||||
|
|
||||||
|
/packages/*/src/.umi
|
||||||
|
/packages/*/src/.umi-production
|
||||||
|
/packages/*/src/.umi-test
|
||||||
|
/packages/*/.env.local
|
||||||
|
|
||||||
/.env.local
|
/.env.local
|
||||||
|
|
||||||
/packages/*/node_modules
|
/packages/*/node_modules
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"version": "0.12.8",
|
||||||
"devRuntime": {
|
"devRuntime": {
|
||||||
"headPackage": "ragestudio"
|
"headPackage": "ragestudio"
|
||||||
},
|
},
|
||||||
|
14158
package-lock.json
generated
14158
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "0.12.8",
|
|
||||||
"author": "RageStudio",
|
"author": "RageStudio",
|
||||||
"license": "LGPL-2.1",
|
"license": "LGPL-2.1",
|
||||||
"types": "index.d.ts",
|
"types": "index.d.ts",
|
||||||
@ -16,23 +15,18 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bootstrap": "node ./scripts/bootstrap.js",
|
"postinstall": "cd ./packages/comty && npm i",
|
||||||
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
|
"start": "cd ./packages/comty && npm start",
|
||||||
"release": "node ./scripts/release.js",
|
|
||||||
"start": "cd ./packages/comty && umi dev",
|
|
||||||
"debug": "cd ./packages/comty && node --inspect-brk ./node_modules/.bin/umi dev",
|
|
||||||
"build": "cd ./packages/comty && umi build",
|
|
||||||
"update:deps": "yarn upgrade-interactive --latest"
|
"update:deps": "yarn upgrade-interactive --latest"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
||||||
"@nodecorejs/dot-runtime": "^0.4.3",
|
|
||||||
"@nodecorejs/libs": "^0.4.4",
|
|
||||||
"@ragestudio/nodecore-utils": "^0.1.19",
|
|
||||||
"@types/node": "^12.12.59",
|
"@types/node": "^12.12.59",
|
||||||
"concurrently": "^3.5.1",
|
"concurrently": "^3.5.1",
|
||||||
"cross-env": "^6.0.0",
|
"cross-env": "^6.0.0",
|
||||||
"jest": "^26.5.3",
|
|
||||||
"jsdoc": "^3.6.5"
|
"jsdoc": "^3.6.5"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@ragestudio/nodecorejs": "^0.14.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
BIN
packages/.DS_Store
vendored
Normal file
BIN
packages/.DS_Store
vendored
Normal file
Binary file not shown.
@ -11,7 +11,7 @@ const {
|
|||||||
BrowserView,
|
BrowserView,
|
||||||
systemPreferences,
|
systemPreferences,
|
||||||
Notification,
|
Notification,
|
||||||
globalShortcut
|
globalhortcut
|
||||||
} = require('electron')
|
} = require('electron')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
// const { spawn, exec } = require('child_process')
|
// const { spawn, exec } = require('child_process')
|
||||||
@ -107,11 +107,11 @@ function createWindow() {
|
|||||||
|
|
||||||
if (is.dev()) {
|
if (is.dev()) {
|
||||||
app.commandLine.appendSwitch('remote-debugging-port', '9222')
|
app.commandLine.appendSwitch('remote-debugging-port', '9222')
|
||||||
globalShortcut.register('CommandOrControl+R', () => {
|
globalhortcut.register('CommandOrControl+R', () => {
|
||||||
mainWindow.reload()
|
mainWindow.reload()
|
||||||
})
|
})
|
||||||
|
|
||||||
globalShortcut.register('F5', () => {
|
globalhortcut.register('F5', () => {
|
||||||
mainWindow.reload()
|
mainWindow.reload()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
16
packages/comty/.gitignore
vendored
Normal file
16
packages/comty/.gitignore
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# dependencies
|
||||||
|
/node_modules
|
||||||
|
/npm-debug.log*
|
||||||
|
/yarn-error.log
|
||||||
|
/yarn.lock
|
||||||
|
|
||||||
|
# production
|
||||||
|
/build
|
||||||
|
/dist
|
||||||
|
/out
|
||||||
|
|
||||||
|
# umi
|
||||||
|
src/.umi
|
||||||
|
src/.umi-production
|
||||||
|
src/.umi-test
|
||||||
|
.env.local
|
@ -1,5 +1,5 @@
|
|||||||
import config from './config/index.js'
|
import config from './config/index.js'
|
||||||
import { defineConfig, chainWebpack } from 'umi'
|
import { defineConfig } from 'umi'
|
||||||
import { resolve } from 'path'
|
import { resolve } from 'path'
|
||||||
|
|
||||||
let configs = {
|
let configs = {
|
||||||
@ -25,7 +25,7 @@ let configs = {
|
|||||||
antd: resolve(__dirname, './node_modules/antd'),
|
antd: resolve(__dirname, './node_modules/antd'),
|
||||||
api: resolve(__dirname, './node_modules/@ragestudio/nodecore-api-lib/src'),
|
api: resolve(__dirname, './node_modules/@ragestudio/nodecore-api-lib/src'),
|
||||||
plugins: resolve(__dirname, './plugins'),
|
plugins: resolve(__dirname, './plugins'),
|
||||||
globals: resolve(__dirname, './globals'),
|
schemas: resolve(__dirname, './schemas'),
|
||||||
debuggers: resolve(__dirname, './src/debuggers'),
|
debuggers: resolve(__dirname, './src/debuggers'),
|
||||||
core: resolve(__dirname, './src/core'),
|
core: resolve(__dirname, './src/core'),
|
||||||
theme: resolve(__dirname, './src/theme'),
|
theme: resolve(__dirname, './src/theme'),
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
verbose: false,
|
|
||||||
modulePaths: [
|
|
||||||
'<rootDir>',
|
|
||||||
],
|
|
||||||
transform: {
|
|
||||||
'^.+\\.tsx?$': 'ts-jest',
|
|
||||||
},
|
|
||||||
}
|
|
74905
packages/comty/package-lock.json
generated
74905
packages/comty/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,17 +5,19 @@
|
|||||||
"author": "RageStudio",
|
"author": "RageStudio",
|
||||||
"license": "LGPL-2.1",
|
"license": "LGPL-2.1",
|
||||||
"types": "index.d.ts",
|
"types": "index.d.ts",
|
||||||
|
"scripts": {
|
||||||
|
"start": "umi dev",
|
||||||
|
"build": "umi build",
|
||||||
|
"update:deps": "yarn upgrade-interactive --latest"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@icons-pack/react-simple-icons": "^3.8.0",
|
"@icons-pack/react-simple-icons": "^3.8.0",
|
||||||
"@lingui/react": "^2.9.2",
|
"@lingui/react": "^2.9.2",
|
||||||
"@nodecorejs/dot-runtime": "^0.3.1",
|
|
||||||
"@ragestudio/nodecore-api-lib": "^0.2.6",
|
"@ragestudio/nodecore-api-lib": "^0.2.6",
|
||||||
"@ragestudio/nodecore-utils": "^0.1.19",
|
|
||||||
"@types/jest": "^26.0.15",
|
"@types/jest": "^26.0.15",
|
||||||
"@types/lodash": "^4.14.165",
|
"@types/lodash": "^4.14.165",
|
||||||
"antd": "^4.8.2",
|
"antd": "^4.8.2",
|
||||||
"axios": "^0.21.0",
|
"axios": "^0.21.0",
|
||||||
"babel-core": "^6.26.3",
|
|
||||||
"chart.js": "^2.9.4",
|
"chart.js": "^2.9.4",
|
||||||
"classnames": "^2.2.6",
|
"classnames": "^2.2.6",
|
||||||
"colors": "^1.4.0",
|
"colors": "^1.4.0",
|
||||||
@ -34,7 +36,6 @@
|
|||||||
"moment": "^2.28.0",
|
"moment": "^2.28.0",
|
||||||
"path-to-regexp": "^6.1.0",
|
"path-to-regexp": "^6.1.0",
|
||||||
"platform": "^1.3.6",
|
"platform": "^1.3.6",
|
||||||
"react": "^16.14.0",
|
|
||||||
"react-animations": "^1.0.0",
|
"react-animations": "^1.0.0",
|
||||||
"react-color": "^2.19.3",
|
"react-color": "^2.19.3",
|
||||||
"react-dazzle": "^1.4.0",
|
"react-dazzle": "^1.4.0",
|
||||||
@ -58,19 +59,13 @@
|
|||||||
"timeago.js": "^4.0.2"
|
"timeago.js": "^4.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
||||||
"@lingui/babel-preset-react": "^2.9.2",
|
"@lingui/babel-preset-react": "^2.9.2",
|
||||||
"@lingui/cli": "^2.9.2",
|
"@lingui/cli": "^2.9.2",
|
||||||
"@lingui/loader": "^2.9.2",
|
"@lingui/loader": "^2.9.2",
|
||||||
"@types/node": "^12.12.59",
|
"@types/node": "^12.12.59",
|
||||||
"@umijs/preset-react": "^1.6.11",
|
"@umijs/preset-react": "^1.6.11",
|
||||||
"babel-plugin-dev-expression": "^0.2.1",
|
|
||||||
"babel-plugin-module-resolver": "^4.0.0",
|
|
||||||
"concurrently": "^3.5.1",
|
"concurrently": "^3.5.1",
|
||||||
"cross-env": "^6.0.0",
|
"cross-env": "^6.0.0",
|
||||||
"jest": "^26.5.3",
|
|
||||||
"jsdoc": "^3.6.5",
|
|
||||||
"typescript": "^3.9.7",
|
|
||||||
"umi": "^3.2.24"
|
"umi": "^3.2.24"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user