Merged in feature/update-deps-and-lerna-7 (pull request #68)

feat(lerna): manage repo with lerna 7 and update dependencies

* feat(lerna): manage repo with lerna 7 and update dependencies

* Publish

 - @wisemapping/core-js@0.6.0
 - @wisemapping/editor@0.6.0
 - @wisemapping/mindplot@5.1.0
 - @wisemapping/web2d@0.6.0
 - @wisemapping/webapp@5.1.0


Approved-by: Paulo Veiga
Approved-by: Paulo Veiga
This commit is contained in:
Clément CREUSAT 2023-06-29 01:25:52 +00:00 committed by Paulo Veiga
parent 32b57e3f3f
commit 341081562f
8 changed files with 2202 additions and 2762 deletions

View File

@ -1,9 +1,7 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "independent",
"packages": [
"packages/*"
],
"version": "1.0.0",
"npmClient": "yarn",
"useWorkspaces": true,
"useNx": false
]
}

View File

@ -1,17 +1,58 @@
{
"name": "wisemapping-front-end",
"version": "0.4.0",
"private": true,
"homepage": "http://localhost:8080/react",
"license": "https://wisemapping.atlassian.net/wiki/spaces/WS/pages/524357/WiseMapping+Public+License+Version+1.0+WPL",
"author": {
"name": "Paulo Veiga",
"login.email": "pveiga@wisemapping.com"
},
"contributors": [
"Ezequiel Bergamaschi"
],
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "lerna run bootstrap",
"build": "lerna run build",
"clean": "lerna clean && rm -rf node_modules",
"lint": "lerna run lint --stream",
"playground": "lerna run playground --stream",
"prepare": "husky install",
"test": "lerna run test --stream",
"test:unit": "lerna run test:unit --stream",
"test:integration": "lerna run test:integration --stream",
"prepare": "husky install"
"test:unit": "lerna run test:unit --stream"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn test"
}
},
"lint-staged": {
"**/*.{ts,tsx}": [
"prettier --write"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"rules": {
"implicit-arrow-linebreak": "off"
}
},
"private": true,
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.14.7",
@ -19,7 +60,7 @@
"@babel/register": "^7.16.0",
"@formatjs/cli": "^6.0.4",
"@types/jest": "^29.0.5",
"@typescript-eslint/eslint-plugin": "^5.48.0 ",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"babel-loader": "^9.1.2",
"copy-webpack-plugin": "^10.2.4",
@ -39,7 +80,7 @@
"jest-diff": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-webpack": "^0.5.1",
"lerna": "^3.16.4",
"lerna": "^7.1.0",
"lint-staged": "^10.5.4",
"prettier": "^2.7.1",
"start-server-and-test": "^1.14.0",
@ -53,48 +94,7 @@
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1"
},
"workspaces": [
"packages/*"
],
"author": {
"name": "Paulo Veiga",
"login.email": "pveiga@wisemapping.com"
},
"contributors": [
"Ezequiel Bergamaschi"
],
"engines": {
"node": "16.*"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"homepage": "http://localhost:8080/react",
"license": "https://wisemapping.atlassian.net/wiki/spaces/WS/pages/524357/WiseMapping+Public+License+Version+1.0+WPL",
"version": "0.4.0",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn test"
}
},
"lint-staged": {
"**/*.{ts,tsx}": [
"prettier --write"
]
},
"eslintConfig": {
"rules": {
"implicit-arrow-linebreak": "off"
}
"node": ">=16.0.0"
}
}

View File

@ -1,23 +1,22 @@
{
"name": "@wisemapping/core-js",
"version": "0.5.20",
"version": "0.6.0",
"description": "WiseMapping - Core Common Libraries",
"homepage": "http://www.wisemapping.org/",
"repository": {
"type": "git",
"url": "git@bitbucket.org:wisemapping/wisemapping-frontend.git"
},
"license": "MIT",
"main": "src/index.ts",
"files": [
"src"
],
"publishConfig": {
"registry": "https://registry.npmjs.com"
},
"repository": {
"type": "git",
"url": "git@bitbucket.org:wisemapping/wisemapping-frontend.git"
},
"scripts": {
"build": "webpack --config webpack.prod.js",
"dev": "webpack --mode development --config webpack.dev.js",
"bootstrap": "yalc publish"
"dev": "webpack --mode development --config webpack.dev.js"
},
"publishConfig": {
"registry": "https://registry.npmjs.com"
}
}

View File

@ -1,23 +1,29 @@
{
"name": "@wisemapping/editor",
"version": "0.5.20",
"version": "0.6.0",
"repository": "http://www.wisemapping.com",
"license": "MIT",
"author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>",
"main": "dist/editor.bundle.js",
"scripts": {
"bootstrap": "yalc publish;yalc add @wisemapping/mindplot",
"build": "webpack --config webpack.prod.js",
"playground": "webpack serve --config webpack.playground.js",
"cy:run": "cypress run",
"cy:open": "cypress open",
"lint": "eslint src --ext js,ts,tsx",
"test:integration": "start-server-and-test 'yarn playground' http-get://localhost:8081 'yarn cy:run'",
"test": "yarn test:unit && yarn test:integration",
"test:unit": "jest ./test/unit/* --detectOpenHandles",
"cy:run": "cypress run",
"i18n:compile": "bash -c 'for lang in {'es','en','fr','de','zh','ru'};do formatjs compile lang/${lang}.json --ast --out-file src/compiled-lang/${lang}.json;done'",
"i18n:extract": "formatjs extract 'src/**/*.ts*' --ignore 'src/@types/**/*' --out-file lang/en.json",
"i18n:compile": "bash -c 'for lang in {'es','en','fr','de','zh','ru'};do formatjs compile lang/${lang}.json --ast --out-file src/compiled-lang/${lang}.json;done'"
"lint": "eslint src --ext js,ts,tsx",
"playground": "webpack serve --config webpack.playground.js",
"test": "yarn test:unit && yarn test:integration",
"test:integration": "start-server-and-test 'yarn playground' http-get://localhost:8081 'yarn cy:run'",
"test:unit": "jest ./test/unit/* --detectOpenHandles"
},
"dependencies": {
"@wisemapping/mindplot": "^5.1.0",
"emoji-picker-react": "^4.4.7",
"react-color": "^2.19.3",
"react-loader-spinner": "^5.3.4"
},
"repository": "http://www.wisemapping.com",
"author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>",
"license": "MIT",
"devDependencies": {
"@formatjs/cli": "^6.0.4",
"@testing-library/react": "^13.4.0",
@ -29,12 +35,6 @@
"react": "^18.2.0",
"start-server-and-test": "^2.0.0"
},
"dependencies": {
"@wisemapping/mindplot": "^5.0.20",
"emoji-picker-react": "^4.4.7",
"react-color": "^2.19.3",
"react-loader-spinner": "^5.3.4"
},
"peerDependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",

View File

@ -1,42 +1,38 @@
{
"name": "@wisemapping/mindplot",
"version": "5.0.22",
"version": "5.1.0",
"description": "WiseMapping - Mindplot Canvas Library",
"homepage": "http://www.wisemapping.org/",
"repository": {
"type": "git",
"url": "git@bitbucket.org:wisemapping/wisemapping-frontend.git"
},
"main": "src/index.ts",
"directories": {
"lib": "src",
"test": "__tests__"
},
"main": "src/index.ts",
"files": [
"src",
"assets",
"dist"
],
"publishConfig": {
"registry": "https://registry.npmjs.com"
},
"repository": {
"type": "git",
"url": "git@bitbucket.org:wisemapping/wisemapping-frontend.git"
},
"scripts": {
"bootstrap": "yalc publish;yalc add @wisemapping/core-js;yalc add @wisemapping/web2d",
"build": "webpack --config webpack.prod.js",
"build-storybook": "build-storybook",
"cy:open": "cypress open",
"cy:run": "cypress run",
"dev": "webpack serve --config webpack.dev.js",
"lint": "eslint src --ext js,ts",
"cy:run": "cypress run",
"cy:open": "cypress open",
"test:unit": "jest ./test/unit/export/*.ts ./test/unit/import/*.ts --verbose --silent --detectOpenHandles",
"test:integration": "start-server-and-test storybook http-get://localhost:6006 cy:run",
"test": "yarn test:unit && yarn test:integration",
"storybook": "start-storybook -p 6006 --no-open",
"build-storybook": "build-storybook"
"test": "yarn test:unit && yarn test:integration",
"test:integration": "start-server-and-test storybook http-get://localhost:6006 cy:run",
"test:unit": "jest ./test/unit/export/*.ts ./test/unit/import/*.ts --verbose --silent --detectOpenHandles"
},
"dependencies": {
"@types/jquery": "^3.5.11",
"@wisemapping/core-js": "^0.5.20",
"@wisemapping/web2d": "^0.5.20",
"@wisemapping/core-js": "^0.6.0",
"@wisemapping/web2d": "^0.6.0",
"emoji-picker-react": "^4.4.3",
"jquery": "3.6.0",
"lodash": "^4.17.21",
@ -61,5 +57,8 @@
"jest": "^29.4.1",
"mocha": "^9.1.3",
"start-server-and-test": "^1.15.3"
},
"publishConfig": {
"registry": "https://registry.npmjs.com"
}
}

View File

@ -1,31 +1,31 @@
{
"name": "@wisemapping/web2d",
"version": "0.5.20",
"version": "0.6.0",
"description": "WiseMapping - Web2D Render Library",
"homepage": "http://www.wisemapping.org/",
"repository": {
"type": "git",
"url": "git@bitbucket.org:wisemapping/wisemapping-frontend.git"
},
"license": "MIT",
"main": "src/index.ts",
"files": [
"src"
],
"publishConfig": {
"registry": "https://registry.npmjs.com"
},
"repository": {
"type": "git",
"url": "git@bitbucket.org:wisemapping/wisemapping-frontend.git"
},
"scripts": {
"bootstrap": "yalc publish;yalc add @wisemapping/core-js",
"dev": "webpack --config webpack.dev.js",
"build": "webpack --config webpack.prod.js",
"lint": "eslint src",
"cy:run": "cypress run",
"build-storybook": "build-storybook",
"cy:open": "cypress open",
"test:integration": "start-server-and-test storybook http-get://localhost:6006 cy:run",
"test": "yarn test:integration",
"cy:run": "cypress run",
"dev": "webpack --config webpack.dev.js",
"lint": "eslint src",
"storybook": "start-storybook -p 6006 --no-open",
"build-storybook": "build-storybook"
"test": "yarn test:integration",
"test:integration": "start-server-and-test storybook http-get://localhost:6006 cy:run"
},
"dependencies": {
"@wisemapping/core-js": "^0.6.0",
"jquery": "^3.6.0"
},
"devDependencies": {
"@mdx-js/react": "^1.6.22",
@ -42,12 +42,11 @@
"cypress-image-snapshot": "^4.0.1",
"start-server-and-test": "^1.15.2"
},
"dependencies": {
"@wisemapping/core-js": "^0.5.20",
"peerDependencies": {
"@wisemapping/core-js": "*",
"jquery": "^3.6.0"
},
"peerDependencies": {
"@wisemapping/core-js": "^0.4.0",
"jquery": "^3.6.0"
"publishConfig": {
"registry": "https://registry.npmjs.com"
}
}

View File

@ -1,37 +1,25 @@
{
"name": "@wisemapping/webapp",
"version": "5.0.21",
"version": "5.1.0",
"repository": "http://www.wisemapping.com",
"license": "MIT",
"author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>",
"main": "app.jsx",
"scripts": {
"bootstrap": "yalc publish;yalc add @wisemapping/editor",
"start": "webpack serve --config webpack.dev.js ",
"build": "webpack --config webpack.prod.js",
"dev": "webpack --config webpack.dev.js",
"lint": "eslint src --ext js,ts,tsx",
"cy:run": "cypress run",
"cy:open": "cypress open",
"test:integration": "start-server-and-test start http-get://localhost:3000 cy:run",
"i18n:extract": "formatjs extract 'src/**/*.ts*' --ignore 'src/@types/**/*' --out-file lang/en.json",
"i18n:compile": "bash -c 'for lang in {'es','en','fr','de','zh','ru'};do formatjs compile lang/${lang}.json --ast --out-file src/compiled-lang/${lang}.json;done'",
"test": "yarn test:integration"
},
"files": [
"src",
"dist"
],
"publishConfig": {
"registry": "https://registry.npmjs.com"
},
"repository": "http://www.wisemapping.com",
"author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>",
"license": "MIT",
"devDependencies": {
"@formatjs/cli": "^6.0.4",
"@testing-library/cypress": "^8.0.3",
"@types/testing-library__cypress": "^5.0.8",
"@welldone-software/why-did-you-render": "^7.0.1",
"cypress": "^12.3.0",
"cypress-image-snapshot": "^4.0.1"
"scripts": {
"build": "webpack --config webpack.prod.js",
"cy:open": "cypress open",
"cy:run": "cypress run",
"dev": "webpack --config webpack.dev.js",
"i18n:compile": "bash -c 'for lang in {'es','en','fr','de','zh','ru'};do formatjs compile lang/${lang}.json --ast --out-file src/compiled-lang/${lang}.json;done'",
"i18n:extract": "formatjs extract 'src/**/*.ts*' --ignore 'src/@types/**/*' --out-file lang/en.json",
"lint": "eslint src --ext js,ts,tsx",
"start": "webpack serve --config webpack.dev.js ",
"test": "yarn test:integration",
"test:integration": "start-server-and-test start http-get://localhost:3000 cy:run"
},
"dependencies": {
"@emotion/react": "^11.10.4",
@ -40,7 +28,7 @@
"@mui/lab": "^5.0.0-alpha.129",
"@mui/material": "^5.12.3",
"@reduxjs/toolkit": "^1.5.0",
"@wisemapping/editor": "^0.5.20",
"@wisemapping/editor": "^0.6.0",
"axios": "^0.27.2",
"dayjs": "^1.10.7",
"react": "^18.2.0",
@ -52,5 +40,16 @@
"react-redux": "^7.2.2",
"react-router-dom": "^6.4.3",
"styled-components": "^5.3.6"
},
"devDependencies": {
"@formatjs/cli": "^6.0.4",
"@testing-library/cypress": "^8.0.3",
"@types/testing-library__cypress": "^5.0.8",
"@welldone-software/why-did-you-render": "^7.0.1",
"cypress": "^12.3.0",
"cypress-image-snapshot": "^4.0.1"
},
"publishConfig": {
"registry": "https://registry.npmjs.com"
}
}

4580
yarn.lock

File diff suppressed because it is too large Load Diff