Merge remote-tracking branch 'french/bugfix/clean-dependencies-and-webpack-conf' into develop

This commit is contained in:
Paulo Gustavo Veiga 2023-06-28 21:15:50 -07:00
commit 9888d7542b
8 changed files with 27 additions and 32 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "wisemapping-front-end", "name": "wisemapping-front-end",
"version": "0.4.0", "version": "0.0.0",
"private": true, "private": true,
"homepage": "http://localhost:8080/react", "homepage": "http://localhost:8080/react",
"license": "https://wisemapping.atlassian.net/wiki/spaces/WS/pages/524357/WiseMapping+Public+License+Version+1.0+WPL", "license": "https://wisemapping.atlassian.net/wiki/spaces/WS/pages/524357/WiseMapping+Public+License+Version+1.0+WPL",
@ -15,7 +15,6 @@
"packages/*" "packages/*"
], ],
"scripts": { "scripts": {
"bootstrap": "lerna run bootstrap",
"build": "lerna run build", "build": "lerna run build",
"clean": "lerna clean && rm -rf node_modules", "clean": "lerna clean && rm -rf node_modules",
"lint": "lerna run lint --stream", "lint": "lerna run lint --stream",

View File

@ -1,12 +1,14 @@
{ {
"name": "@wisemapping/editor", "name": "@wisemapping/editor",
"version": "0.6.0", "version": "0.6.1",
"repository": "http://www.wisemapping.com", "repository": "http://www.wisemapping.com",
"license": "MIT", "license": "MIT",
"author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>", "author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>",
"main": "dist/editor.bundle.js", "main": "dist/editor.bundle.js",
"files": [
"dist"
],
"scripts": { "scripts": {
"bootstrap": "yalc publish;yalc add @wisemapping/mindplot",
"build": "webpack --config webpack.prod.js", "build": "webpack --config webpack.prod.js",
"cy:open": "cypress open", "cy:open": "cypress open",
"cy:run": "cypress run", "cy:run": "cypress run",
@ -19,7 +21,7 @@
"test:unit": "jest ./test/unit/* --detectOpenHandles" "test:unit": "jest ./test/unit/* --detectOpenHandles"
}, },
"dependencies": { "dependencies": {
"@wisemapping/mindplot": "^5.1.0", "@wisemapping/mindplot": "^5.1.1",
"emoji-picker-react": "^4.4.7", "emoji-picker-react": "^4.4.7",
"react-color": "^2.19.3", "react-color": "^2.19.3",
"react-loader-spinner": "^5.3.4" "react-loader-spinner": "^5.3.4"
@ -33,6 +35,7 @@
"cypress-image-snapshot": "^4.0.1", "cypress-image-snapshot": "^4.0.1",
"jest-transform-stub": "^2.0.0", "jest-transform-stub": "^2.0.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0",
"start-server-and-test": "^2.0.0" "start-server-and-test": "^2.0.0"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@wisemapping/mindplot", "name": "@wisemapping/mindplot",
"version": "5.1.0", "version": "5.1.1",
"description": "WiseMapping - Mindplot Canvas Library", "description": "WiseMapping - Mindplot Canvas Library",
"homepage": "http://www.wisemapping.org/", "homepage": "http://www.wisemapping.org/",
"repository": { "repository": {
@ -15,7 +15,8 @@
"files": [ "files": [
"src", "src",
"assets", "assets",
"dist" "dist",
"libraries"
], ],
"scripts": { "scripts": {
"build": "webpack --config webpack.prod.js", "build": "webpack --config webpack.prod.js",
@ -32,7 +33,7 @@
"dependencies": { "dependencies": {
"@types/jquery": "^3.5.11", "@types/jquery": "^3.5.11",
"@wisemapping/core-js": "^0.6.0", "@wisemapping/core-js": "^0.6.0",
"@wisemapping/web2d": "^0.6.0", "@wisemapping/web2d": "^0.6.1",
"emoji-picker-react": "^4.4.3", "emoji-picker-react": "^4.4.3",
"jquery": "3.6.0", "jquery": "3.6.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",

View File

@ -1,11 +1,13 @@
const { merge } = require('webpack-merge'); const { merge } = require('webpack-merge');
const common = require('./webpack.common'); const common = require('./webpack.common');
const pkg = require('./package.json');
const prodConfig = { const prodConfig = {
optimization: { optimization: {
usedExports: true, usedExports: true,
minimize: true, minimize: true,
}, },
externals: [...Object.keys(pkg.dependencies)],
}; };
module.exports = merge(common, prodConfig); module.exports = merge(common, prodConfig);

View File

@ -1,6 +1,6 @@
{ {
"name": "@wisemapping/web2d", "name": "@wisemapping/web2d",
"version": "0.6.0", "version": "0.6.1",
"description": "WiseMapping - Web2D Render Library", "description": "WiseMapping - Web2D Render Library",
"homepage": "http://www.wisemapping.org/", "homepage": "http://www.wisemapping.org/",
"repository": { "repository": {
@ -23,10 +23,6 @@
"test": "yarn test:integration", "test": "yarn test:integration",
"test:integration": "start-server-and-test storybook http-get://localhost:6006 cy:run" "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": { "devDependencies": {
"@mdx-js/react": "^1.6.22", "@mdx-js/react": "^1.6.22",
"@storybook/addon-actions": "^6.5.15", "@storybook/addon-actions": "^6.5.15",
@ -43,7 +39,7 @@
"start-server-and-test": "^1.15.2" "start-server-and-test": "^1.15.2"
}, },
"peerDependencies": { "peerDependencies": {
"@wisemapping/core-js": "*", "@wisemapping/core-js": "^0.6.0",
"jquery": "^3.6.0" "jquery": "^3.6.0"
}, },
"publishConfig": { "publishConfig": {

View File

@ -1,10 +1,12 @@
const { merge } = require('webpack-merge'); const { merge } = require('webpack-merge');
const common = require('./webpack.common'); const common = require('./webpack.common');
const pkg = require('./package.json');
/** @type {import('webpack').Configuration} */ /** @type {import('webpack').Configuration} */
const prodConfig = { const prodConfig = {
mode: 'production', mode: 'production',
devtool: 'source-map', devtool: 'source-map',
externals: [...Object.keys(pkg.peerDependencies)],
}; };
module.exports = merge(common, prodConfig); module.exports = merge(common, prodConfig);

View File

@ -1,6 +1,6 @@
{ {
"name": "@wisemapping/webapp", "name": "@wisemapping/webapp",
"version": "5.1.0", "version": "5.1.1",
"repository": "http://www.wisemapping.com", "repository": "http://www.wisemapping.com",
"license": "MIT", "license": "MIT",
"author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>", "author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>",
@ -28,7 +28,7 @@
"@mui/lab": "^5.0.0-alpha.129", "@mui/lab": "^5.0.0-alpha.129",
"@mui/material": "^5.12.3", "@mui/material": "^5.12.3",
"@reduxjs/toolkit": "^1.5.0", "@reduxjs/toolkit": "^1.5.0",
"@wisemapping/editor": "^0.6.0", "@wisemapping/editor": "^0.6.1",
"axios": "^0.27.2", "axios": "^0.27.2",
"dayjs": "^1.10.7", "dayjs": "^1.10.7",
"react": "^18.2.0", "react": "^18.2.0",

View File

@ -5940,14 +5940,14 @@ __metadata:
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@wisemapping/editor@^0.6.0, @wisemapping/editor@workspace:packages/editor": "@wisemapping/editor@^0.6.1, @wisemapping/editor@workspace:packages/editor":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@wisemapping/editor@workspace:packages/editor" resolution: "@wisemapping/editor@workspace:packages/editor"
dependencies: dependencies:
"@formatjs/cli": ^6.0.4 "@formatjs/cli": ^6.0.4
"@testing-library/react": ^13.4.0 "@testing-library/react": ^13.4.0
"@types/cypress-image-snapshot": ^3.1.6 "@types/cypress-image-snapshot": ^3.1.6
"@wisemapping/mindplot": ^5.1.0 "@wisemapping/mindplot": ^5.1.1
babel-polyfill: ^6.26.0 babel-polyfill: ^6.26.0
cypress: ^12.3.0 cypress: ^12.3.0
cypress-image-snapshot: ^4.0.1 cypress-image-snapshot: ^4.0.1
@ -5955,6 +5955,7 @@ __metadata:
jest-transform-stub: ^2.0.0 jest-transform-stub: ^2.0.0
react: ^18.2.0 react: ^18.2.0
react-color: ^2.19.3 react-color: ^2.19.3
react-dom: ^18.2.0
react-loader-spinner: ^5.3.4 react-loader-spinner: ^5.3.4
start-server-and-test: ^2.0.0 start-server-and-test: ^2.0.0
peerDependencies: peerDependencies:
@ -5969,7 +5970,7 @@ __metadata:
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@wisemapping/mindplot@^5.1.0, @wisemapping/mindplot@workspace:packages/mindplot": "@wisemapping/mindplot@^5.1.1, @wisemapping/mindplot@workspace:packages/mindplot":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@wisemapping/mindplot@workspace:packages/mindplot" resolution: "@wisemapping/mindplot@workspace:packages/mindplot"
dependencies: dependencies:
@ -5986,7 +5987,7 @@ __metadata:
"@storybook/testing-library": ^0.0.13 "@storybook/testing-library": ^0.0.13
"@types/jquery": ^3.5.11 "@types/jquery": ^3.5.11
"@wisemapping/core-js": ^0.6.0 "@wisemapping/core-js": ^0.6.0
"@wisemapping/web2d": ^0.6.0 "@wisemapping/web2d": ^0.6.1
babel-loader: ^8.3.0 babel-loader: ^8.3.0
blob-polyfill: ^6.0.20211015 blob-polyfill: ^6.0.20211015
cypress: ^12.3.0 cypress: ^12.3.0
@ -6001,7 +6002,7 @@ __metadata:
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@wisemapping/web2d@^0.6.0, @wisemapping/web2d@workspace:packages/web2d": "@wisemapping/web2d@^0.6.1, @wisemapping/web2d@workspace:packages/web2d":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@wisemapping/web2d@workspace:packages/web2d" resolution: "@wisemapping/web2d@workspace:packages/web2d"
dependencies: dependencies:
@ -6015,13 +6016,11 @@ __metadata:
"@storybook/html": ^6.5.15 "@storybook/html": ^6.5.15
"@storybook/manager-webpack5": ^6.5.15 "@storybook/manager-webpack5": ^6.5.15
"@storybook/testing-library": ^0.0.13 "@storybook/testing-library": ^0.0.13
"@wisemapping/core-js": ^0.6.0
cypress: 12.3.0 cypress: 12.3.0
cypress-image-snapshot: ^4.0.1 cypress-image-snapshot: ^4.0.1
jquery: ^3.6.0
start-server-and-test: ^1.15.2 start-server-and-test: ^1.15.2
peerDependencies: peerDependencies:
"@wisemapping/core-js": "*" "@wisemapping/core-js": ^0.6.0
jquery: ^3.6.0 jquery: ^3.6.0
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -6040,7 +6039,7 @@ __metadata:
"@testing-library/cypress": ^8.0.3 "@testing-library/cypress": ^8.0.3
"@types/testing-library__cypress": ^5.0.8 "@types/testing-library__cypress": ^5.0.8
"@welldone-software/why-did-you-render": ^7.0.1 "@welldone-software/why-did-you-render": ^7.0.1
"@wisemapping/editor": ^0.6.0 "@wisemapping/editor": ^0.6.1
axios: ^0.27.2 axios: ^0.27.2
cypress: ^12.3.0 cypress: ^12.3.0
cypress-image-snapshot: ^4.0.1 cypress-image-snapshot: ^4.0.1
@ -14407,13 +14406,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"jquery@npm:^3.6.0":
version: 3.6.3
resolution: "jquery@npm:3.6.3"
checksum: 0fd366bdcaa0c84a7a8751ce20f8192290141913978b5059574426d9b01f4365daa675f95aab3eec94fd794d27b08d32078a2236bef404b8ba78073009988ce6
languageName: node
linkType: hard
"js-sdsl@npm:^4.1.4": "js-sdsl@npm:^4.1.4":
version: 4.3.0 version: 4.3.0
resolution: "js-sdsl@npm:4.3.0" resolution: "js-sdsl@npm:4.3.0"