From aa2d96929532d2e91cec4685293888490a10c442 Mon Sep 17 00:00:00 2001 From: Florian Bouillon Date: Fri, 26 Jun 2020 15:39:47 +0200 Subject: [PATCH] Updated --- .editorconfig | 5 ++++- lerna.json | 8 ++++++-- package.json | 9 ++++++++- packages/logger/package.json | 6 +++--- 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/.editorconfig b/.editorconfig index 84900a5..5e78bbf 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,4 +5,7 @@ indent_style = tab indent_size = 4 charset = utf-8 trim_trailing_whitespace = true -insert_final_newline = true \ No newline at end of file +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/lerna.json b/lerna.json index 4072658..2eeecb7 100644 --- a/lerna.json +++ b/lerna.json @@ -5,7 +5,11 @@ "npmClient": "yarn", "useWorkspaces": true, "version": "independent", - "publishConfig": { - "access": "public" + "command": { + "publish": { + "npmClient": "npm", + "allowBranch": ["master"], + "registry": "https://registry.npmjs.org/" + } } } diff --git a/package.json b/package.json index 9c34b36..930d9f6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,14 @@ { "name": "components", "private": true, - "workspaces": ["packages/*"], + "workspaces": { + "packages": [ + "packages/*" + ], + "nohoist": [ + "**/@types/**" + ] + }, "license": "MIT", "dependencies": { "lerna": "^3.22.1" diff --git a/packages/logger/package.json b/packages/logger/package.json index 6e16cb4..caedede 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,15 +1,14 @@ { - "name": "@aviortheking/logger", + "name": "@dzeio/logger", "version": "1.0.1", "description": "My Personnal Logger", "repository": { "type": "git", - "url": "https://github.com/Aviortheking/components.git", + "url": "https://github.com/dzeiocom/libs.git", "directory": "packages/Logger" }, "author": "Aviortheking", "license": "MIT", - "private": false, "main": "./dist/Logger.js", "browser": "./dist/browser.js", "types": "./dist/Logger.d.ts", @@ -26,6 +25,7 @@ "webpack-cli": "^3.3.12" }, "scripts": { + "prepublishOnly": "yarn build", "build": "webpack --mode=\"production\" && tsc" } }