From 7c0ed733b1de0228b0249cc3abf16da1ff4a429c Mon Sep 17 00:00:00 2001 From: Eduardo Canche Vazquez Date: Fri, 4 Oct 2024 16:26:42 -0600 Subject: [PATCH] docs(demo-input-controls|demo-scheduler|jv-input-controls|jv-scheduler|jv-tools|jv-ui-components): fix package.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. update “license” field from mit to bsd-3-clause 2. remove “author” because it supposed to list individual and not a company. 3. update "description" field 4. add "keywords" field 5. update bugs.url field --- package.json | 15 +++++++------- packages/demo-input-controls/package.json | 4 ++-- packages/demo-scheduler/package.json | 4 ++-- packages/jv-input-controls/package.json | 18 +++++++++++++---- packages/jv-scheduler/package.json | 20 +++++++++++++++---- packages/jv-tools/package.json | 17 ++++++++++++++-- packages/jv-ui-components/package.json | 4 ++-- .../scripts/copy-styles-context.js | 10 ++++++++-- utils/list-dependencies.js | 6 ++++++ 9 files changed, 72 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 15f105e4..3211b3f1 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "js-visualize-plugins", + "name": "js-visualize-components", "version": "0.1.0", "private": true, - "description": "Plugins for Visualize.JS", + "description": "Jaspersoft Visualize Components", "workspaces": { "packages": [ "packages/jv-ui-components", @@ -27,18 +27,17 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/Jaspersoft/js-visualize-plugins.git" + "url": "git+https://github.com/Jaspersoft/js-visualize-components.git" }, "keywords": [ - "plugin", + "Jaspersoft", "visualize.js" ], - "author": "Jaspersoft", - "license": "MIT", + "license": "BSD-3-Clause", "bugs": { - "url": "https://github.com/Jaspersoft/js-visualize-plugins/issues" + "url": "https://github.com/Jaspersoft/js-visualize-components/issues" }, - "homepage": "https://github.com/Jaspersoft/js-visualize-plugins#readme", + "homepage": "https://github.com/Jaspersoft/js-visualize-components#readme", "lint-staged": { "**/*": "prettier --write --ignore-unknown" }, diff --git a/packages/demo-input-controls/package.json b/packages/demo-input-controls/package.json index cf095b94..782d7df3 100644 --- a/packages/demo-input-controls/package.json +++ b/packages/demo-input-controls/package.json @@ -1,10 +1,10 @@ { "name": "demo-input-controls", - "description": "Demo application", + "description": "Demo application for input controls of Jaspersoft Visualize Components", "private": true, "version": "0.1.0", "type": "module", - "license": "MIT", + "license": "BSD-3-Clause", "scripts": { "audit:all": "yarn audit", "audit:runtime": "yarn audit --groups dependencies", diff --git a/packages/demo-scheduler/package.json b/packages/demo-scheduler/package.json index 99919fec..d5457938 100644 --- a/packages/demo-scheduler/package.json +++ b/packages/demo-scheduler/package.json @@ -1,10 +1,10 @@ { "name": "demo-scheduler", - "description": "Demo application", + "description": "Demo application for scheduler of Jaspersoft Visualize Components", "private": true, "version": "0.1.0", "type": "module", - "license": "MIT", + "license": "BSD-3-Clause", "scripts": { "audit:all": "yarn audit", "audit:runtime": "yarn audit --groups dependencies", diff --git a/packages/jv-input-controls/package.json b/packages/jv-input-controls/package.json index c3164fda..95fd25cb 100644 --- a/packages/jv-input-controls/package.json +++ b/packages/jv-input-controls/package.json @@ -1,7 +1,7 @@ { "name": "@jaspersoft/jv-input-controls", "version": "0.1.0", - "description": "Component for rendering input controls for a report or adhoc view using visualize.js", + "description": "Component for rendering input controls for a report or ad hoc view using visualize.js", "private": true, "type": "module", "main": "dist/index.umd.js", @@ -20,13 +20,23 @@ "serve": "vite preview", "clean": "rm -rf ./dist" }, + "keywords": [ + "jaspersoft", + "jasperreports server", + "visualize.js", + "embed", + "input controls", + "filters", + "react", + "typescript", + "javascript" + ], "repository": { "type": "git", - "url": "git+https://github.com/Jaspersoft/js-visualize-plugins.git", + "url": "git+https://github.com/Jaspersoft/js-visualize-components.git", "directory": "packages/jv-input-controls" }, - "author": "Cloud Software Group", - "license": "MIT", + "license": "BSD-3-Clause", "devDependencies": { "@babel/core": "^7.24.6", "@babel/preset-env": "^7.24.6", diff --git a/packages/jv-scheduler/package.json b/packages/jv-scheduler/package.json index a060f085..2f380334 100644 --- a/packages/jv-scheduler/package.json +++ b/packages/jv-scheduler/package.json @@ -1,7 +1,7 @@ { "name": "@jaspersoft/jv-scheduler", "version": "0.1.0", - "description": "Component for rendering input controls for a report or adhoc view using visualize.js", + "description": "Component for rendering the scheduler of Jaspersoft Visualize Components", "type": "module", "main": "dist/index.umd.js", "module": "dist/index.es.js", @@ -16,13 +16,25 @@ "build": "vite build", "clean": "rm -rf ./dist" }, + "keywords": [ + "jaspersoft", + "jasperreports server", + "visualize.js", + "embed", + "scheduler", + "report scheduler", + "dashboard scheduler", + "job", + "react", + "typescript", + "javascript" + ], "repository": { "type": "git", - "url": "git+https://github.com/Jaspersoft/js-visualize-plugins.git", + "url": "git+https://github.com/Jaspersoft/js-visualize-components.git", "directory": "packages/jv-scheduler" }, - "author": "Cloud Software Group", - "license": "MIT", + "license": "BSD-3-Clause", "devDependencies": { "@babel/preset-env": "^7.16.4", "@babel/preset-react": "^7.16.0", diff --git a/packages/jv-tools/package.json b/packages/jv-tools/package.json index 3c1a745c..d81d4c32 100644 --- a/packages/jv-tools/package.json +++ b/packages/jv-tools/package.json @@ -10,7 +10,7 @@ "files": [ "dist" ], - "license": "MIT", + "license": "BSD-3-Clause", "scripts": { "audit:all": "yarn audit", "audit:runtime": "yarn audit --groups dependencies", @@ -21,9 +21,22 @@ "clean": "rm -rf dist", "test": "jest" }, + "keywords": [ + "jaspersoft", + "jasperreports server", + "visualize.js", + "embed", + "npm", + "loader", + "tools", + "utilities", + "react", + "typescript", + "javascript" + ], "repository": { "type": "git", - "url": "git+https://github.com/Jaspersoft/js-visualize-plugins.git", + "url": "git+https://github.com/Jaspersoft/js-visualize-components.git", "directory": "packages/jv-tools" }, "devDependencies": { diff --git a/packages/jv-ui-components/package.json b/packages/jv-ui-components/package.json index 213f0c10..313b9e03 100644 --- a/packages/jv-ui-components/package.json +++ b/packages/jv-ui-components/package.json @@ -2,7 +2,7 @@ "name": "@jaspersoft/jv-ui-components", "version": "0.1.0", "private": true, - "license": "MIT", + "license": "BSD-3-Clause", "type": "module", "main": "dist/material-ui/index.umd.js", "module": "dist/material-ui/index.es.js", @@ -29,7 +29,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/Jaspersoft/js-visualize-plugins.git", + "url": "git+https://github.com/Jaspersoft/js-visualize-components.git", "directory": "packages/jv-ui-components" }, "dependencies": { diff --git a/packages/jv-ui-components/scripts/copy-styles-context.js b/packages/jv-ui-components/scripts/copy-styles-context.js index 8a8aebfc..19c4dcc3 100644 --- a/packages/jv-ui-components/scripts/copy-styles-context.js +++ b/packages/jv-ui-components/scripts/copy-styles-context.js @@ -1,3 +1,9 @@ +/* + * Copyright © 2024. Cloud Software Group, Inc. + * This file is subject to the license terms contained + * in the license file that is distributed with this file. + */ + // create a script that copies a folder to another location import fs from "fs"; import path from "path"; @@ -20,8 +26,8 @@ const copyFolder = (source, target) => { }; // These are the following paths to use: -// src = js-visualize-plugins/packages/jv-ui-components/styles -// target = js-visualize-plugins/packages/jv-ui-components/dist/styles +// src = js-visualize-components/packages/jv-ui-components/styles +// target = js-visualize-components/packages/jv-ui-components/dist/styles copyFolder( path.resolve(process.cwd(), "styles"), path.resolve(process.cwd(), "dist/styles"), diff --git a/utils/list-dependencies.js b/utils/list-dependencies.js index 81430188..9a1aa1d0 100644 --- a/utils/list-dependencies.js +++ b/utils/list-dependencies.js @@ -1,3 +1,9 @@ +/* + * Copyright © 2024. Cloud Software Group, Inc. + * This file is subject to the license terms contained + * in the license file that is distributed with this file. + */ + const fs = require("fs"); const path = require("path"); const glob = require("glob");