added: wrapper to packages, update: code quality, update: changed verbosity lib to @nodecorejs

This commit is contained in:
srgooglo 2021-01-05 07:57:55 +01:00
parent 362284690b
commit a39a70e4cb
552 changed files with 3851 additions and 88453 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

13
.gitignore vendored
View File

@ -10,9 +10,16 @@
/out
# umi
/src/.umi
/src/.umi-production
/src/.umi-test
/packages/**/src/.umi
/packages/**/src/.umi-production
/packages/**/src/.umi-test
/packages/**/.env.local
/packages/*/src/.umi
/packages/*/src/.umi-production
/packages/*/src/.umi-test
/packages/*/.env.local
/.env.local
/packages/*/node_modules

View File

@ -1,4 +1,5 @@
{
"version": "0.12.8",
"devRuntime": {
"headPackage": "ragestudio"
},

14150
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,4 @@
{
"version": "0.12.8",
"author": "RageStudio",
"license": "LGPL-2.1",
"types": "index.d.ts",
@ -16,23 +15,18 @@
]
},
"scripts": {
"bootstrap": "node ./scripts/bootstrap.js",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"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",
"postinstall": "cd ./packages/comty && npm i",
"start": "cd ./packages/comty && npm start",
"update:deps": "yarn upgrade-interactive --latest"
},
"devDependencies": {
"@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",
"concurrently": "^3.5.1",
"cross-env": "^6.0.0",
"jest": "^26.5.3",
"jsdoc": "^3.6.5"
},
"dependencies": {
"@ragestudio/nodecorejs": "^0.14.7"
}
}

BIN
packages/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -11,7 +11,7 @@ const {
BrowserView,
systemPreferences,
Notification,
globalShortcut
globalhortcut
} = require('electron')
const path = require('path')
// const { spawn, exec } = require('child_process')
@ -107,11 +107,11 @@ function createWindow() {
if (is.dev()) {
app.commandLine.appendSwitch('remote-debugging-port', '9222')
globalShortcut.register('CommandOrControl+R', () => {
globalhortcut.register('CommandOrControl+R', () => {
mainWindow.reload()
})
globalShortcut.register('F5', () => {
globalhortcut.register('F5', () => {
mainWindow.reload()
})
}

16
packages/comty/.gitignore vendored Normal file
View 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

View File

@ -1,5 +1,5 @@
import config from './config/index.js'
import { defineConfig, chainWebpack } from 'umi'
import { defineConfig } from 'umi'
import { resolve } from 'path'
let configs = {
@ -25,7 +25,7 @@ let configs = {
antd: resolve(__dirname, './node_modules/antd'),
api: resolve(__dirname, './node_modules/@ragestudio/nodecore-api-lib/src'),
plugins: resolve(__dirname, './plugins'),
globals: resolve(__dirname, './globals'),
schemas: resolve(__dirname, './schemas'),
debuggers: resolve(__dirname, './src/debuggers'),
core: resolve(__dirname, './src/core'),
theme: resolve(__dirname, './src/theme'),

View File

@ -1,9 +0,0 @@
module.exports = {
verbose: false,
modulePaths: [
'<rootDir>',
],
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
}

File diff suppressed because it is too large Load Diff

View File

@ -5,17 +5,19 @@
"author": "RageStudio",
"license": "LGPL-2.1",
"types": "index.d.ts",
"scripts": {
"start": "umi dev",
"build": "umi build",
"update:deps": "yarn upgrade-interactive --latest"
},
"dependencies": {
"@icons-pack/react-simple-icons": "^3.8.0",
"@lingui/react": "^2.9.2",
"@nodecorejs/dot-runtime": "^0.3.1",
"@ragestudio/nodecore-api-lib": "^0.2.6",
"@ragestudio/nodecore-utils": "^0.1.19",
"@types/jest": "^26.0.15",
"@types/lodash": "^4.14.165",
"antd": "^4.8.2",
"axios": "^0.21.0",
"babel-core": "^6.26.3",
"chart.js": "^2.9.4",
"classnames": "^2.2.6",
"colors": "^1.4.0",
@ -34,7 +36,6 @@
"moment": "^2.28.0",
"path-to-regexp": "^6.1.0",
"platform": "^1.3.6",
"react": "^16.14.0",
"react-animations": "^1.0.0",
"react-color": "^2.19.3",
"react-dazzle": "^1.4.0",
@ -58,19 +59,13 @@
"timeago.js": "^4.0.2"
},
"devDependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@lingui/babel-preset-react": "^2.9.2",
"@lingui/cli": "^2.9.2",
"@lingui/loader": "^2.9.2",
"@types/node": "^12.12.59",
"@umijs/preset-react": "^1.6.11",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-module-resolver": "^4.0.0",
"concurrently": "^3.5.1",
"cross-env": "^6.0.0",
"jest": "^26.5.3",
"jsdoc": "^3.6.5",
"typescript": "^3.9.7",
"umi": "^3.2.24"
}
}

Some files were not shown because too many files have changed in this diff Show More