@isense-development/test-npm 2.0.1 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/README.md +17 -38
  2. package/index.js +8 -1
  3. package/package.json +28 -25
package/README.md CHANGED
@@ -1,4 +1,19 @@
1
- # How to use npm
1
+ # How to configure npm packages
2
+
3
+ ## Version Compatibility
4
+
5
+ | Quasar | @isense-development/test-npm |
6
+ |:-----------------------------|:--------------------------------------|
7
+ | ![Quasar v2.x][quasar_2_x] | ![@isense-development/test-npm v2.x][@isense-development/test-npm_2_x] |
8
+
9
+ [quasar_2_x]: https://img.shields.io/badge/version-2.x-blue
10
+ [@isense-development/test-npm_2_x]: https://img.shields.io/badge/version-2.x-blue
11
+
12
+ ## Dependencies
13
+
14
+ ![Axios v0.24.0][axios_0_24_0]
15
+
16
+ [axios_0_24_0]: https://img.shields.io/badge/axios-0.24.0-green
2
17
 
3
18
  ## How update packages?
4
19
 
@@ -21,43 +36,7 @@ the latest updates and avoid breaking changes.
21
36
 
22
37
  [How to copy directory with npm script copyfiles npm](https://www.cloudhadoop.com/npm-script-copyfiles/)
23
38
 
24
- ## Version Compatibility
25
39
 
26
- | Laravel | LogViewer |
27
- |:-----------------------------|:--------------------------------------|
28
- | ![Laravel v8.x][laravel_8_x] | ![LogViewer v8.x][log_viewer_8_x] |
29
- | ![Laravel v7.x][laravel_7_x] | ![LogViewer v7.x][log_viewer_7_x] |
30
- | ![Laravel v6.x][laravel_6_x] | ![LogViewer v5.x][log_viewer_5_x] |
31
- | ![Laravel v5.8][laravel_5_8] | ![LogViewer v4.7.x][log_viewer_4_7_x] |
32
- | ![Laravel v5.7][laravel_5_7] | ![LogViewer v4.6.x][log_viewer_4_6_x] |
33
- | ![Laravel v5.6][laravel_5_6] | ![LogViewer v4.5.x][log_viewer_4_5_x] |
34
- | ![Laravel v5.5][laravel_5_5] | ![LogViewer v4.4.x][log_viewer_4_4_x] |
35
- | ![Laravel v5.4][laravel_5_4] | ![LogViewer v4.3.x][log_viewer_4_3_x] |
36
- | ![Laravel v5.3][laravel_5_3] | ![LogViewer v4.2.x][log_viewer_4_2_x] |
37
- | ![Laravel v5.2][laravel_5_2] | ![LogViewer v4.2.x][log_viewer_4_2_x] |
38
- | ![Laravel v5.1][laravel_5_1] | ![LogViewer v4.2.x][log_viewer_4_2_x] |
39
- | ![Laravel v5.0][laravel_5_0] | ![LogViewer v4.2.x][log_viewer_4_2_x] |
40
-
41
- [laravel_8_x]: https://img.shields.io/badge/version-8.x-blue.svg?style=flat-square "Laravel v8.x"
42
- [laravel_7_x]: https://img.shields.io/badge/version-7.x-blue.svg?style=flat-square "Laravel v7.x"
43
- [laravel_6_x]: https://img.shields.io/badge/version-6.x-blue.svg?style=flat-square "Laravel v6.x"
44
- [laravel_5_8]: https://img.shields.io/badge/version-5.8-blue.svg?style=flat-square "Laravel v5.8"
45
- [laravel_5_7]: https://img.shields.io/badge/version-5.7-blue.svg?style=flat-square "Laravel v5.7"
46
- [laravel_5_6]: https://img.shields.io/badge/version-5.6-blue.svg?style=flat-square "Laravel v5.6"
47
- [laravel_5_5]: https://img.shields.io/badge/version-5.5-blue.svg?style=flat-square "Laravel v5.5"
48
- [laravel_5_4]: https://img.shields.io/badge/version-5.4-blue.svg?style=flat-square "Laravel v5.4"
49
- [laravel_5_3]: https://img.shields.io/badge/version-5.3-blue.svg?style=flat-square "Laravel v5.3"
50
- [laravel_5_2]: https://img.shields.io/badge/version-5.2-blue.svg?style=flat-square "Laravel v5.2"
51
- [laravel_5_1]: https://img.shields.io/badge/version-5.1-blue.svg?style=flat-square "Laravel v5.1"
52
- [laravel_5_0]: https://img.shields.io/badge/version-5.0-blue.svg?style=flat-square "Laravel v5.0"
53
- [log_viewer_8_x]: https://img.shields.io/badge/version-8.x-blue.svg?style=flat-square "LogViewer v8.x"
54
- [log_viewer_7_x]: https://img.shields.io/badge/version-7.x-blue.svg?style=flat-square "LogViewer v7.x"
55
- [log_viewer_5_x]: https://img.shields.io/badge/version-5.x-blue.svg?style=flat-square "LogViewer v5.x"
56
- [log_viewer_4_7_x]: https://img.shields.io/badge/version-4.7.x-blue.svg?style=flat-square "LogViewer v4.7.x"
57
- [log_viewer_4_6_x]: https://img.shields.io/badge/version-4.6.x-blue.svg?style=flat-square "LogViewer v4.6.x"
58
- [log_viewer_4_5_x]: https://img.shields.io/badge/version-4.5.x-blue.svg?style=flat-square "LogViewer v4.5.x"
59
- [log_viewer_4_4_x]: https://img.shields.io/badge/version-4.4.x-blue.svg?style=flat-square "LogViewer v4.4.x"
60
- [log_viewer_4_3_x]: https://img.shields.io/badge/version-4.3.x-blue.svg?style=flat-square "LogViewer v4.3.x"
61
- [log_viewer_4_2_x]: https://img.shields.io/badge/version-4.2.x-blue.svg?style=flat-square "LogViewer v4.2.x"
40
+
62
41
 
63
42
 
package/index.js CHANGED
@@ -1,7 +1,14 @@
1
- var fs = require('fs');
1
+ let fs = require('fs')
2
+ const chalk = require('chalk')
3
+ let execSync = require('child_process').execSync
4
+ var copyfiles = require('copyfiles');
2
5
 
3
6
  var dir = './tmp';
4
7
  if (!fs.existsSync(dir)) {
8
+ console.log(chalk.yellow('creating `tmp` directory'))
5
9
  fs.mkdirSync(dir);
10
+ }else{
11
+ console.log(chalk.yellow('directory `tmp` already exists'))
12
+
6
13
  }
7
14
 
package/package.json CHANGED
@@ -1,27 +1,30 @@
1
1
  {
2
- "name": "@isense-development/test-npm",
3
- "version": "2.0.1",
4
- "description": "test npm",
5
- "main": "index.js",
6
- "scripts": {
7
- "start": "node index.js",
8
- "patch-release": "npm version patch && npm publish --access=public",
9
- "minor-release": "npm version minor && npm publish --access=public",
10
- "major-release": "npm version major && npm publish --access=public",
11
- "patch-release-git": "npm version patch && npm publish --access=public && git push --follow-tags"
12
- },
13
- "dependencies": {
14
- "axios": "^0.24.0"
15
- },
16
- "devDependencies": {
17
- "@progress/kendo-datasource-vue-wrapper": "^2021.3.1109",
18
- "@progress/kendo-dropdowns-vue-wrapper": "^2021.3.1109",
19
- "@progress/kendo-grid-vue-wrapper": "^2021.3.1109",
20
- "@progress/kendo-licensing": "^1.2.1",
21
- "@progress/kendo-theme-material": "^4.43.0",
22
- "@progress/kendo-ui": "^2021.3.1109",
23
- "jszip": "^3.5.0"
24
- },
25
- "author": "Jan Hemelaers",
26
- "license": "ISC"
2
+ "name": "@isense-development/test-npm",
3
+ "version": "2.0.5",
4
+ "description": "test npm",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "install": "node index.js",
8
+ "preinstall": "node index.js",
9
+ "postinstall": "node index.js",
10
+ "start": "node index.js",
11
+ "patch-release": "npm version patch && npm publish --access=public",
12
+ "minor-release": "npm version minor && npm publish --access=public",
13
+ "major-release": "npm version major && npm publish --access=public",
14
+ "patch-release-git": "npm version patch && npm publish --access=public && git push --follow-tags"
15
+ },
16
+ "dependencies": {
17
+ "axios": "^0.24.0"
18
+ },
19
+ "devDependencies": {
20
+ "@progress/kendo-datasource-vue-wrapper": "^2021.3.1109",
21
+ "@progress/kendo-dropdowns-vue-wrapper": "^2021.3.1109",
22
+ "@progress/kendo-grid-vue-wrapper": "^2021.3.1109",
23
+ "@progress/kendo-licensing": "^1.2.1",
24
+ "@progress/kendo-theme-material": "^4.43.0",
25
+ "@progress/kendo-ui": "^2021.3.1109",
26
+ "jszip": "^3.5.0"
27
+ },
28
+ "author": "Jan Hemelaers",
29
+ "license": "ISC"
27
30
  }