@mimik/configuration 4.4.9 → 4.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/.eslintrc +2 -2
  2. package/package.json +22 -25
  3. package/Gulpfile.js +0 -33
package/.eslintrc CHANGED
@@ -12,6 +12,7 @@
12
12
  "extends": "airbnb",
13
13
  "rules": {
14
14
  "import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
15
+ "import/no-unresolved": ["error", { "amd": true, "commonjs": true, "caseSensitiveStrict": true }],
15
16
  "brace-style": [1, "stroustrup", {"allowSingleLine": true}],
16
17
  "no-confusing-arrow": [0], // arrow isnt confusing
17
18
  "max-len": [1, 180, { "ignoreComments": true }],
@@ -22,12 +23,11 @@
22
23
  "@mimik/document-env/validate-document-env": 2,
23
24
  "@mimik/dependencies/case-sensitive": 2,
24
25
  "@mimik/dependencies/no-cycles": 2,
25
- "@mimik/dependencies/no-unresolved": 2,
26
26
  "@mimik/dependencies/require-json-ext": 2
27
27
  },
28
28
  "settings":{
29
29
  "react": {
30
- "version": "latest"
30
+ "version": "detect"
31
31
  }
32
32
  },
33
33
  "globals": {
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@mimik/configuration",
3
- "version": "4.4.9",
3
+ "version": "4.4.11",
4
4
  "description": "Common configuration for mimik services",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "lint": "gulp lint",
8
- "docs": "gulp docs",
9
- "test": "exit 0",
10
- "prepublishOnly": "gulp docs; gulp lint; npm run test",
11
- "commit-ready": "gulp docs; gulp lint; npm run test",
7
+ "lint": "eslint --ignore-path .gitignore .",
8
+ "docs": "jsdoc2md index.js > README.md",
9
+ "test": "echo \"Error: no test specified\" && exit 0",
10
+ "test-ci": "echo \"Error: no test specified\" && exit 0",
11
+ "prepublishOnly": "npm run docs && npm run lint && npm run test-ci",
12
+ "commit-ready": "npm run docs && npm run lint && npm run test-ci",
12
13
  "prepare": "husky install"
13
14
  },
14
15
  "husky": {
@@ -23,33 +24,29 @@
23
24
  "config"
24
25
  ],
25
26
  "author": "mimik technology inc <support@mimik.com> (https://developer.mimik.com/)",
26
- "license": "Apache-2.0",
27
+ "license": "MIT",
27
28
  "repository": {
28
29
  "type": "git",
29
30
  "url": "https://bitbucket.org/mimiktech/configuration"
30
31
  },
31
32
  "dependencies": {
32
- "@mimik/request-helper": "^1.7.3",
33
- "@mimik/sumologic-winston-logger": "^1.6.6",
34
- "@mimik/user-filters": "1.3.3",
35
- "ip": "1.1.5",
33
+ "@mimik/request-helper": "^1.7.7",
34
+ "@mimik/sumologic-winston-logger": "^1.6.11",
35
+ "@mimik/user-filters": "1.3.4",
36
+ "ip": "2.0.0",
36
37
  "lodash": "4.17.21",
37
- "uuid": "8.3.2"
38
+ "uuid": "9.0.0"
38
39
  },
39
40
  "devDependencies": {
40
- "@mimik/eslint-plugin-dependencies": "^2.4.1",
41
- "@mimik/eslint-plugin-document-env": "^1.0.1",
42
- "eslint": "8.13.0",
43
- "eslint-config-airbnb": "18.2.1",
41
+ "@mimik/eslint-plugin-dependencies": "^2.4.4",
42
+ "@mimik/eslint-plugin-document-env": "^1.0.4",
43
+ "eslint": "8.28.0",
44
+ "eslint-config-airbnb": "19.0.4",
44
45
  "eslint-plugin-import": "2.26.0",
45
- "eslint-plugin-jsx-a11y": "6.5.1",
46
- "eslint-plugin-react": "7.29.4",
47
- "eslint-plugin-react-hooks": "4.4.0",
48
- "fancy-log": "2.0.0",
49
- "gulp": "4.0.2",
50
- "gulp-eslint": "6.0.0",
51
- "gulp-git": "2.10.1",
52
- "husky": "7.0.4",
53
- "jsdoc-to-markdown": "7.1.1"
46
+ "eslint-plugin-jsx-a11y": "6.6.1",
47
+ "eslint-plugin-react": "7.31.11",
48
+ "eslint-plugin-react-hooks": "4.6.0",
49
+ "husky": "8.0.2",
50
+ "jsdoc-to-markdown": "8.0.0"
54
51
  }
55
52
  }
package/Gulpfile.js DELETED
@@ -1,33 +0,0 @@
1
- /* eslint-disable import/no-extraneous-dependencies */
2
- const fs = require('fs');
3
- const log = require('fancy-log');
4
- const gulp = require('gulp');
5
- const eslint = require('gulp-eslint');
6
- const git = require('gulp-git');
7
- const jsdoc2md = require('jsdoc-to-markdown');
8
-
9
- const files = [
10
- 'index.js',
11
- 'Gulpfile.js',
12
- 'test/**.js',
13
- 'lib/**.js',
14
- ];
15
-
16
- const createDocs = (done) => {
17
- jsdoc2md.render({ files: 'index.js' })
18
- .then((output) => fs.writeFileSync('README.md', output))
19
- .catch((err) => log.error('docs creation failed:', err.message))
20
- .finally(() => done());
21
- };
22
-
23
- const lint = () => gulp.src(files)
24
- .pipe(eslint({}))
25
- .pipe(eslint.format());
26
-
27
- const add = () => gulp.src('README.md')
28
- .pipe(git.add({ quiet: true }));
29
-
30
- const docs = gulp.series(createDocs, add);
31
-
32
- gulp.task('docs', docs);
33
- gulp.task('lint', lint);