Skip to content

Commit

Permalink
docs(demo-input-controls|demo-scheduler|jv-input-controls|jv-schedule…
Browse files Browse the repository at this point in the history
…r|jv-tools|jv-ui-components): fix package.json

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
  • Loading branch information
ecanchev-jaspersoft committed Oct 4, 2024
1 parent 5a917c9 commit 7c0ed73
Show file tree
Hide file tree
Showing 9 changed files with 72 additions and 26 deletions.
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/demo-input-controls/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/demo-scheduler/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
18 changes: 14 additions & 4 deletions packages/jv-input-controls/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
20 changes: 16 additions & 4 deletions packages/jv-scheduler/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
17 changes: 15 additions & 2 deletions packages/jv-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"files": [
"dist"
],
"license": "MIT",
"license": "BSD-3-Clause",
"scripts": {
"audit:all": "yarn audit",
"audit:runtime": "yarn audit --groups dependencies",
Expand All @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions packages/jv-ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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": {
Expand Down
10 changes: 8 additions & 2 deletions packages/jv-ui-components/scripts/copy-styles-context.js
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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"),
Expand Down
6 changes: 6 additions & 0 deletions utils/list-dependencies.js
Original file line number Diff line number Diff line change
@@ -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");
Expand Down

0 comments on commit 7c0ed73

Please sign in to comment.