Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Jun 7, 2022
2 parents f861e3f + a4f4c65 commit cc95ee3
Show file tree
Hide file tree
Showing 19 changed files with 103 additions and 103 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Slickgrid-Universal has **100%** Unit Test Coverage, we are talking about +15,00
## Installation
**NOTE:** the installation instructions below are **only** required if you want to contribute to this project, if on the other hand you just want to do a quick demo and use Slickgrid-Universal then take a look at [webpack-demo-vanilla-bundle](https://github.com/ghiscoding/slickgrid-universal/tree/master/examples/webpack-demo-vanilla-bundle). There is no need to clone and install the entire library, you can just create an empty project with the content of [webpack-demo-vanilla-bundle](https://github.com/ghiscoding/slickgrid-universal/tree/master/examples/webpack-demo-vanilla-bundle) (perhaps clone it the lib and copy only that folder to an empty project would be the easiest to get started).

To get started and do development with this monorepo, you will need to clone the repo and then follow the steps below. You must be at the root of your project to run the following commands.
To get started and do development with this monorepo, you will need to clone the repo and then follow the steps below. You must be at the root of your project to run the following commands. This project uses `pnpm`, you can install it via `npm i -g pnpm` or follow their [installation](https://pnpm.io/installation)

1. Install pnpm workspace with [pnpm](https://pnpm.io/installation) or run it with `npx`
```bash
Expand Down
20 changes: 10 additions & 10 deletions examples/webpack-demo-vanilla-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@
"dependencies": {
"@faker-js/faker": "^7.1.0",
"@fnando/sparkline": "^0.3.10",
"@slickgrid-universal/common": "workspace:^",
"@slickgrid-universal/composite-editor-component": "workspace:^",
"@slickgrid-universal/custom-tooltip-plugin": "workspace:^",
"@slickgrid-universal/excel-export": "workspace:^",
"@slickgrid-universal/odata": "workspace:^",
"@slickgrid-universal/graphql": "workspace:^",
"@slickgrid-universal/rxjs-observable": "workspace:^",
"@slickgrid-universal/text-export": "workspace:^",
"@slickgrid-universal/vanilla-bundle": "workspace:^",
"@slickgrid-universal/vanilla-force-bundle": "workspace:^",
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/composite-editor-component": "workspace:*",
"@slickgrid-universal/custom-tooltip-plugin": "workspace:*",
"@slickgrid-universal/excel-export": "workspace:*",
"@slickgrid-universal/odata": "workspace:*",
"@slickgrid-universal/graphql": "workspace:*",
"@slickgrid-universal/rxjs-observable": "workspace:*",
"@slickgrid-universal/text-export": "workspace:*",
"@slickgrid-universal/vanilla-bundle": "workspace:*",
"@slickgrid-universal/vanilla-force-bundle": "workspace:*",
"bulma": "^0.9.4",
"dompurify": "^2.3.8",
"jquery": "^3.5.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -945,11 +945,11 @@ export class Example12 {
// viewColumnLayout: 2, // responsive layout, choose from 'auto', 1, 2, or 3 (defaults to 'auto')
showFormResetButton: true,

// you can validate each row item dataContext before apply Mass Update/Selection changes via this validation callback (returning false would skip the change)
// you can validate each row item dataContext before applying a Mass Update/Selection changes via this validation callback (returning false would skip the change)
// validateMassUpdateChange: (fieldName, dataContext, formValues) => {
// const levelComplex = this.complexityLevelList.find(level => level.label === 'Complex');
// if (fieldName === 'duration' && (dataContext.complexity === levelComplex?.value || formValues.complexity === levelComplex?.value) && formValues.duration < 5) {
// // not good, do not apply the change because when it's "Complex", we assume the user has to be choose at least 5 days of work (duration)
// // doesn't pass condition, do not apply the change because when it's "Complex", we assume that the user has to choose at least 5 days of work (duration)
// return false;
// }
// return true;
Expand Down
4 changes: 2 additions & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/event-pub-sub": "workspace:^",
"@slickgrid-universal/utils": "workspace:^",
"@slickgrid-universal/event-pub-sub": "workspace:*",
"@slickgrid-universal/utils": "workspace:*",
"dequal": "^2.0.2",
"dompurify": "^2.3.8",
"flatpickr": "^4.6.13",
Expand Down
4 changes: 2 additions & 2 deletions packages/composite-editor-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:^",
"@slickgrid-universal/utils": "workspace:^"
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/utils": "workspace:*"
},
"devDependencies": {
"cross-env": "^7.0.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/custom-footer-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/binding": "workspace:^",
"@slickgrid-universal/common": "workspace:^"
"@slickgrid-universal/binding": "workspace:*",
"@slickgrid-universal/common": "workspace:*"
},
"devDependencies": {
"@slickgrid-universal/event-pub-sub": "workspace:^",
"@slickgrid-universal/event-pub-sub": "workspace:*",
"cross-env": "^7.0.3",
"npm-run-all2": "^5.0.2"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/custom-tooltip-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:^",
"@slickgrid-universal/common": "workspace:*",
"dompurify": "^2.3.8"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/empty-warning-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:^"
"@slickgrid-universal/common": "workspace:*"
},
"devDependencies": {
"cross-env": "^7.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/event-pub-sub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/utils": "workspace:^"
"@slickgrid-universal/utils": "workspace:*"
},
"devDependencies": {
"cross-env": "^7.0.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/excel-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:^",
"@slickgrid-universal/utils": "workspace:^",
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/utils": "workspace:*",
"excel-builder-webpacker": "^2.1.7",
"moment-mini": "^2.24.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:^"
"@slickgrid-universal/common": "workspace:*"
},
"devDependencies": {
"@types/moment": "^2.13.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/odata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:^",
"@slickgrid-universal/utils": "workspace:^"
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/utils": "workspace:*"
},
"devDependencies": {
"cross-env": "^7.0.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/pagination-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/binding": "workspace:^",
"@slickgrid-universal/common": "workspace:^"
"@slickgrid-universal/binding": "workspace:*",
"@slickgrid-universal/common": "workspace:*"
},
"devDependencies": {
"@slickgrid-universal/event-pub-sub": "workspace:^",
"@slickgrid-universal/event-pub-sub": "workspace:*",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"npm-run-all2": "^5.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/row-detail-view-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:^"
"@slickgrid-universal/common": "workspace:*"
},
"devDependencies": {
"cross-env": "^7.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/rxjs-observable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:^",
"@slickgrid-universal/common": "workspace:*",
"rxjs": "^7.5.5"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/text-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:^",
"@slickgrid-universal/utils": "workspace:^",
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/utils": "workspace:*",
"text-encoding-utf-8": "^1.0.2"
},
"devDependencies": {
Expand Down
14 changes: 7 additions & 7 deletions packages/vanilla-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/binding": "workspace:^",
"@slickgrid-universal/common": "workspace:^",
"@slickgrid-universal/custom-footer-component": "workspace:^",
"@slickgrid-universal/empty-warning-component": "workspace:^",
"@slickgrid-universal/event-pub-sub": "workspace:^",
"@slickgrid-universal/pagination-component": "workspace:^",
"@slickgrid-universal/utils": "workspace:^",
"@slickgrid-universal/binding": "workspace:*",
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/custom-footer-component": "workspace:*",
"@slickgrid-universal/empty-warning-component": "workspace:*",
"@slickgrid-universal/event-pub-sub": "workspace:*",
"@slickgrid-universal/pagination-component": "workspace:*",
"@slickgrid-universal/utils": "workspace:*",
"dequal": "^2.0.2",
"flatpickr": "^4.6.13",
"jquery": "^3.5.1",
Expand Down
22 changes: 11 additions & 11 deletions packages/vanilla-force-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/binding": "workspace:^",
"@slickgrid-universal/common": "workspace:^",
"@slickgrid-universal/composite-editor-component": "workspace:^",
"@slickgrid-universal/custom-footer-component": "workspace:^",
"@slickgrid-universal/custom-tooltip-plugin": "workspace:^",
"@slickgrid-universal/empty-warning-component": "workspace:^",
"@slickgrid-universal/event-pub-sub": "workspace:^",
"@slickgrid-universal/pagination-component": "workspace:^",
"@slickgrid-universal/text-export": "workspace:^",
"@slickgrid-universal/utils": "workspace:^",
"@slickgrid-universal/vanilla-bundle": "workspace:^",
"@slickgrid-universal/binding": "workspace:*",
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/composite-editor-component": "workspace:*",
"@slickgrid-universal/custom-footer-component": "workspace:*",
"@slickgrid-universal/custom-tooltip-plugin": "workspace:*",
"@slickgrid-universal/empty-warning-component": "workspace:*",
"@slickgrid-universal/event-pub-sub": "workspace:*",
"@slickgrid-universal/pagination-component": "workspace:*",
"@slickgrid-universal/text-export": "workspace:*",
"@slickgrid-universal/utils": "workspace:*",
"@slickgrid-universal/vanilla-bundle": "workspace:*",
"whatwg-fetch": "^3.6.2"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit cc95ee3

Please sign in to comment.