aberlaas 1.24.6 → 1.25.1

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.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  # aberlaas
7
7
 
8
- <div class="lead">Scaffold your JavaScript projects with a consistent config for tests, lint, release and CI.</div>
8
+ <div class="lead">Scaffold your JavaScript projects with consistent config for tests, lint, release and CI.</div>
9
9
 
10
10
  `aberlaas` is a wrapper around Jest, ESLint, Prettier, etc and their plugins so
11
11
  you only install one package in your `devDependencies` instead of dozens.
@@ -55,31 +55,8 @@ The following table lists all the scripts added:
55
55
  | `yarn run test` | Run tests using Jest |
56
56
  | `yarn run test:watch` | Run tests using Jest in watch mode |
57
57
  | `yarn run ci` | Run testing and linting in CI |
58
- | `yarn run lint` | Lint all supported file types |
59
- | `yarn run lint:fix` | Attempt to fix linting issues on all supported file types |
60
58
  | `yarn run release` | Release the module on npm |
61
59
 
62
- ## Linting
63
-
64
- `aberlaas lint` will lint all supported files. Each file type can be linted
65
- independently with the corresponding argument (`aberlaas lint --json` will lint
66
- JSON files for example).
67
-
68
- You can have Aberlaas trying to autofix linting issues by adding the `--fix`
69
- argument to your command.
70
-
71
- The following table show the file types supported and the corresponding command
72
- and linter used.
73
-
74
- | Command | File type | Linter used | Fixer used | Config files |
75
- | ----------------------------------- | ---------------------- | ----------------------------------------------- | ------------------------- | ----------------------------------- |
76
- | `aberlaas lint` | All supported | N/A | N/A | See individual file type |
77
- | `aberlaas lint --js` | JavaScript | ESLint | Prettier (through ESLint) | `.eslintrc.js` or `--config.js` |
78
- | `aberlaas lint --css` | CSS | Stylelint | Prettier | `.stylelintrc.js` or `--config.css` |
79
- | `aberlaas lint --json` | JSON | jsonlint | Prettier |   |
80
- | `aberlaas lint --yml` (or `--yaml`) | YAML | yaml-lint | Prettier |   |
81
- | `aberlaas lint --circleci` | `.circleci/config.yml` | yaml-lint, `circleci` (if available in `$PATH`) | Prettier |   |
82
-
83
60
  ## Testing (with Jest)
84
61
 
85
62
  `aberlaas test` to run all the Jest tests in `./lib`. You can alter the behavior
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aberlaas",
3
3
  "description": "Scaffold your JavaScript projects with tests, lint and release scripts",
4
- "version": "1.24.6",
4
+ "version": "1.25.1",
5
5
  "repository": "pixelastic/aberlaas",
6
6
  "homepage": "https://projects.pixelastic.com/aberlaas/",
7
7
  "author": "Tim Carry (@pixelastic)",
@@ -28,33 +28,33 @@
28
28
  "aberlas": "bin/aberlaas"
29
29
  },
30
30
  "dependencies": {
31
- "@octokit/rest": "18.6.7",
32
- "ci-info": "3.2.0",
31
+ "@octokit/rest": "18.12.0",
32
+ "ci-info": "3.3.2",
33
33
  "dedent": "0.7.0",
34
- "eslint": "7.31.0",
35
- "eslint-config-prettier": "8.3.0",
36
- "eslint-plugin-jest": "24.3.6",
37
- "eslint-plugin-jsdoc": "36.0.6",
34
+ "eslint": "7.32.0",
35
+ "eslint-config-prettier": "8.5.0",
36
+ "eslint-plugin-jest": "24.7.0",
37
+ "eslint-plugin-jsdoc": "36.1.1",
38
38
  "eslint-plugin-node": "11.1.0",
39
- "eslint-plugin-prettier": "3.4.0",
39
+ "eslint-plugin-prettier": "3.4.1",
40
40
  "find-up": "5.0.0",
41
41
  "firost": "2.16.2",
42
42
  "front-matter": "4.0.2",
43
- "golgoth": "2.0.0",
43
+ "golgoth": "2.1.0",
44
44
  "husky": "4.3.8",
45
- "jest": "27.0.6",
46
- "jest-environment-node": "27.0.6",
45
+ "jest": "27.5.1",
46
+ "jest-environment-node": "27.5.1",
47
47
  "jest-expect-message": "1.0.2",
48
48
  "jest-extended": "0.11.5",
49
- "lint-staged": "11.0.1",
50
- "minimist": "1.2.5",
51
- "np": "7.5.0",
49
+ "lint-staged": "11.2.6",
50
+ "minimist": "1.2.6",
51
+ "np": "7.6.2",
52
52
  "parse-github-repo-url": "1.4.1",
53
- "prettier": "2.3.2",
53
+ "prettier": "2.7.1",
54
54
  "std-mocks": "1.0.1",
55
- "strip-ansi": "6.0.0",
55
+ "strip-ansi": "6.0.1",
56
56
  "stylelint": "13.13.1",
57
- "yaml-lint": "1.2.4"
57
+ "yaml-lint": "1.7.0"
58
58
  },
59
59
  "engines": {
60
60
  "node": ">=14.17.0"
@@ -69,5 +69,5 @@
69
69
  "test": "../scripts/lib/test",
70
70
  "test:watch": "../scripts/lib/test-watch"
71
71
  },
72
- "gitHead": "d24b996827a48d0feced7895b26674d5a668c368"
72
+ "gitHead": "31d60975b7b4547899e810d9c4ef4566775eda61"
73
73
  }
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- extends: ['./node_modules/aberlaas/lib/configs/eslint.js'],
2
+ extends: ['./node_modules/aberlaas/configs/eslint.js'],
3
3
  };
@@ -1,4 +1,4 @@
1
- const config = require('aberlaas/lib/configs/husky.js');
1
+ const config = require('aberlaas/configs/husky.js');
2
2
  module.exports = {
3
3
  ...config,
4
4
  };
@@ -1,4 +1,4 @@
1
- const config = require('aberlaas/lib/configs/lintstaged.js');
1
+ const config = require('aberlaas/configs/lintstaged.js');
2
2
  module.exports = {
3
3
  ...config,
4
4
  };
@@ -1,4 +1,4 @@
1
- const config = require('aberlaas/lib/configs/prettier.js');
1
+ const config = require('aberlaas/configs/prettier.js');
2
2
  module.exports = {
3
3
  ...config,
4
4
  };
@@ -1,4 +1,4 @@
1
- const config = require('aberlaas/lib/configs/stylelint.js');
1
+ const config = require('aberlaas/configs/stylelint.js');
2
2
  module.exports = {
3
3
  ...config,
4
4
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- presets: ['aberlaas/lib/configs/babel.js'],
2
+ presets: ['aberlaas/configs/babel.js'],
3
3
  };
@@ -1,4 +1,4 @@
1
- const config = require('aberlaas/lib/configs/jest.js');
1
+ const config = require('aberlaas/configs/jest.js');
2
2
  module.exports = {
3
3
  ...config,
4
4
  };