feat: noice

This commit is contained in:
cha0s 2020-12-05 22:55:36 -06:00
parent 27c892288c
commit f84f62cc6a
11 changed files with 21 additions and 9 deletions

View File

@ -7,6 +7,7 @@
"scripts": { "scripts": {
"build": "NODE_PATH=./node_modules webpack --mode production", "build": "NODE_PATH=./node_modules webpack --mode production",
"dev": "NODE_PATH=./node_modules webpack --mode development", "dev": "NODE_PATH=./node_modules webpack --mode development",
"forcepub": "npm unpublish --force $(node -e 'process.stdout.write(require(`./package.json`).name)') && npm publish",
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .", "lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
"test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js", "test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js",
"watch": "NODE_PATH=./node_modules webpack --watch --mode development" "watch": "NODE_PATH=./node_modules webpack --watch --mode development"

View File

@ -3,7 +3,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"build": "lerna run build", "build": "lerna run build",
"forcedev": "lerna exec --concurrency=1 yarn && lerna run dev && lerna exec 'npm unpublish $LERNA_PACKAGE_NAME --force && npm publish'", "forcedev": "lerna run dev && lerna run forcepub",
"lint": "lerna run lint", "lint": "lerna run lint",
"test": "lerna run test", "test": "lerna run test",
"watch": "lerna run watch --parallel" "watch": "lerna run watch --parallel"

View File

@ -7,6 +7,7 @@
"scripts": { "scripts": {
"build": "NODE_PATH=./node_modules webpack --mode production", "build": "NODE_PATH=./node_modules webpack --mode production",
"dev": "NODE_PATH=./node_modules webpack --mode development", "dev": "NODE_PATH=./node_modules webpack --mode development",
"forcepub": "npm unpublish --force $(node -e 'process.stdout.write(require(`./package.json`).name)') && npm publish",
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .", "lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
"test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js", "test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js",
"watch": "NODE_PATH=./node_modules webpack --watch --mode development" "watch": "NODE_PATH=./node_modules webpack --watch --mode development"

View File

@ -7,6 +7,7 @@
"scripts": { "scripts": {
"build": "NODE_PATH=./node_modules webpack --mode production", "build": "NODE_PATH=./node_modules webpack --mode production",
"dev": "NODE_PATH=./node_modules webpack --mode development", "dev": "NODE_PATH=./node_modules webpack --mode development",
"forcepub": "npm unpublish --force $(node -e 'process.stdout.write(require(`./package.json`).name)') && npm publish",
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .", "lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
"test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js", "test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js",
"watch": "NODE_PATH=./node_modules webpack --watch --mode development" "watch": "NODE_PATH=./node_modules webpack --watch --mode development"

View File

@ -7,6 +7,7 @@
"scripts": { "scripts": {
"build": "NODE_PATH=./node_modules webpack --mode production", "build": "NODE_PATH=./node_modules webpack --mode production",
"dev": "NODE_PATH=./node_modules webpack --mode development", "dev": "NODE_PATH=./node_modules webpack --mode development",
"forcepub": "npm unpublish --force $(node -e 'process.stdout.write(require(`./package.json`).name)') && npm publish",
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .", "lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
"test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js", "test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js",
"watch": "NODE_PATH=./node_modules webpack --watch --mode development" "watch": "NODE_PATH=./node_modules webpack --watch --mode development"

View File

@ -7,6 +7,7 @@
"scripts": { "scripts": {
"build": "NODE_PATH=./node_modules webpack --mode production", "build": "NODE_PATH=./node_modules webpack --mode production",
"dev": "NODE_PATH=./node_modules webpack --mode development", "dev": "NODE_PATH=./node_modules webpack --mode development",
"forcepub": "npm unpublish --force $(node -e 'process.stdout.write(require(`./package.json`).name)') && npm publish",
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .", "lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
"test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js", "test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js",
"watch": "NODE_PATH=./node_modules webpack --watch --mode development" "watch": "NODE_PATH=./node_modules webpack --watch --mode development"

View File

@ -7,6 +7,7 @@
"scripts": { "scripts": {
"build": "NODE_PATH=./node_modules webpack --mode production", "build": "NODE_PATH=./node_modules webpack --mode production",
"dev": "NODE_PATH=./node_modules webpack --mode development", "dev": "NODE_PATH=./node_modules webpack --mode development",
"forcepub": "npm unpublish --force $(node -e 'process.stdout.write(require(`./package.json`).name)') && npm publish",
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .", "lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
"test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js", "test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js",
"watch": "NODE_PATH=./node_modules webpack --watch --mode development" "watch": "NODE_PATH=./node_modules webpack --watch --mode development"

View File

@ -7,6 +7,7 @@
"scripts": { "scripts": {
"build": "NODE_PATH=./node_modules webpack --mode production", "build": "NODE_PATH=./node_modules webpack --mode production",
"dev": "NODE_PATH=./node_modules webpack --mode development", "dev": "NODE_PATH=./node_modules webpack --mode development",
"forcepub": "npm unpublish --force $(node -e 'process.stdout.write(require(`./package.json`).name)') && npm publish",
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .", "lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
"test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js", "test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js",
"watch": "NODE_PATH=./node_modules webpack --watch --mode development" "watch": "NODE_PATH=./node_modules webpack --watch --mode development"

View File

@ -7,6 +7,7 @@
"scripts": { "scripts": {
"build": "NODE_PATH=./node_modules webpack --mode production", "build": "NODE_PATH=./node_modules webpack --mode production",
"dev": "NODE_PATH=./node_modules webpack --mode development", "dev": "NODE_PATH=./node_modules webpack --mode development",
"forcepub": "npm unpublish --force $(node -e 'process.stdout.write(require(`./package.json`).name)') && npm publish",
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .", "lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
"test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js", "test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js",
"watch": "NODE_PATH=./node_modules webpack --watch --mode development" "watch": "NODE_PATH=./node_modules webpack --watch --mode development"

View File

@ -7,6 +7,7 @@
"scripts": { "scripts": {
"build": "NODE_PATH=./node_modules webpack --mode production", "build": "NODE_PATH=./node_modules webpack --mode production",
"dev": "NODE_PATH=./node_modules webpack --mode development", "dev": "NODE_PATH=./node_modules webpack --mode development",
"forcepub": "npm unpublish --force $(node -e 'process.stdout.write(require(`./package.json`).name)') && npm publish",
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .", "lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
"test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js", "test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js",
"watch": "NODE_PATH=./node_modules webpack --watch --mode development" "watch": "NODE_PATH=./node_modules webpack --watch --mode development"

View File

@ -4,22 +4,25 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "webpack --mode production", "build": "webpack --mode production",
"forcebuild": "rm yarn.lock && yarn && yarn run build",
"forcelatus": "pkgs=$(find node_modules/@latus -maxdepth 1 -mindepth 1 -printf '@latus/%f '); yarn remove $pkgs; yarn add $pkgs && yarn run build",
"forcerun": "yarn run forcelatus && yarn run devrun",
"devrun": "DEBUG=* HTTP_HOST=0.0.0.0 HTTP_PORT=32340 NODE_ENV=development node build/index.js",
"lint": "eslint --cache --format codeframe --ext mjs,jsx,js src", "lint": "eslint --cache --format codeframe --ext mjs,jsx,js src",
"repl": "rlwrap -C qmp socat STDIO UNIX:$(ls /tmp/latus-*.sock | tail -n 1)", "repl": "rlwrap -C qmp socat STDIO UNIX:$(ls /tmp/latus-*.sock | tail -n 1)",
"test": "NODE_PRESERVE_SYMLINKS=1 mocha --watch src", "test": "NODE_PRESERVE_SYMLINKS=1 mocha --watch src",
"watch": "NODE_PRESERVE_SYMLINKS=1 webpack --watch --mode development" "watch": "NODE_PRESERVE_SYMLINKS=1 webpack --watch --mode development"
}, },
"dependencies": { "dependencies": {
"@latus/core": "1.0.0", "@latus/core": "^1.0.0",
"@latus/db": "1.0.0", "@latus/db": "^1.0.0",
"@latus/http": "1.0.0", "@latus/http": "^1.0.0",
"@latus/react": "1.0.0", "@latus/react": "^1.0.0",
"@latus/redis": "1.0.0", "@latus/redis": "^1.0.0",
"@latus/repl": "1.0.0", "@latus/repl": "^1.0.0",
"@latus/socket": "1.0.0", "@latus/socket": "^1.0.0",
"@latus/user": "^1.0.0", "@latus/user": "^1.0.0",
"dotenv": "8.2.0", "dotenv": "8.2.0",
"react": "17.0.1",
"react-hot-loader": "4.13.0" "react-hot-loader": "4.13.0"
}, },
"devDependencies": { "devDependencies": {