@davidsneighbour/babel-config 2024.1.2 → 2024.2.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.
Files changed (3) hide show
  1. package/README.md +19 -19
  2. package/index.js +1 -1
  3. package/package.json +5 -4
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Create `.babelrc.js` with the following content:
4
4
 
5
5
  ```js
6
- module.exports = {
6
+ export default = {
7
7
  presets: ["module:@davidsneighbour/babel-config"],
8
8
  };
9
9
  ```
@@ -29,7 +29,7 @@ We could also create a `babel` property inside of `package.json`:
29
29
  To override settings of the preset use the `overrides` parameter:
30
30
 
31
31
  ```js
32
- module.exports = {
32
+ export default {
33
33
  presets: ["module:@davidsneighbour/babel-config"],
34
34
  overrides: [
35
35
  {
@@ -41,20 +41,20 @@ module.exports = {
41
41
 
42
42
  [More information about Babel configuration](https://babeljs.io/docs/en/options).
43
43
 
44
- # All configurations
45
-
46
- - [Babel](/packages/babel-config)
47
- - [Bootstrap](/packages/bootstrap-config)
48
- - [Browserslist](/packages/browserslist-config)
49
- - [Commitlint](/packages/commitlint-config)
50
- - [CssNano](/packages/cssnano-config)
51
- - [Cypress](/packages/cypress-config)
52
- - [ESLint](/packages/eslint-config)
53
- - [Markdownlint](/packages/markdownlint-config)
54
- - [PostCSS](/packages/postcss-config)
55
- - [Prettier](/packages/prettier-config)
56
- - [Remark Lint](/packages/remark-config)
57
- - [Standard Version](/packages/standard-version-config)
58
- - [Stylelint](/packages/stylelint-config)
59
- - [Tools](/packages/tools)
60
- - [Webpack](/packages/webpack-config)
44
+ ## All configurations
45
+
46
+ | Configurations | | |
47
+ | --- | --- | --- |
48
+ | **Build Tools** | | |
49
+ | [Babel](packages/babel-config) | [Webpack](packages/webpack-config) | |
50
+ | **Testing** | | |
51
+ | [Cypress](packages/cypress-config) | [HTML Validate](packages/htmlvalidate-config/) | |
52
+ | **Linters and Formatters** | | |
53
+ | [Browserslist](packages/browserslist-config) | [ESLint](packages/eslint-config) | [PostCSS](packages/postcss-config) |
54
+ | [Prettier](packages/prettier-config) | [Stylelint](packages/stylelint-config) | |
55
+ | **Project Management** | | |
56
+ | [Commitlint](packages/commitlint-config) | [Release](packages/release-config) | |
57
+ | **Markdown and Writing** | | |
58
+ | [Markdownlint](packages/markdownlint-config) | [Remark Lint](packages/remark-config) | |
59
+ | **Other Tools** | | |
60
+ | [Bootstrap](packages/bootstrap-config) | [Tools](packages/tools) | |
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- module.exports = (/** @type {{ cache: (arg0: boolean) => void; }} */ api) => {
1
+ export default (/** @type {{ cache: (arg0: boolean) => void; }} */ api) => {
2
2
  api.cache(true);
3
3
 
4
4
  const presets = ["@babel/preset-env"];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@davidsneighbour/babel-config",
3
3
  "description": "Babel configuration for use in @davidsneighbour projects.",
4
- "version": "2024.1.2",
4
+ "version": "2024.2.1",
5
5
  "license": "MIT",
6
6
  "repository": "davidsneighbour/configurations",
7
7
  "author": "Patrick Kollitsch <patrick@davids-neighbour.com> (https://davids-neighbour.com)",
@@ -23,8 +23,9 @@
23
23
  },
24
24
  "main": "index.js",
25
25
  "engines": {
26
- "node": ">=20.9.0",
27
- "npm": ">=10.1.0"
26
+ "node": ">=20.12.0",
27
+ "npm": ">=10.5.0"
28
28
  },
29
- "gitHead": "ae949fa5972d2dae69398f60c2fc25be0d97e8d3"
29
+ "gitHead": "7865692c3fc19780e205b3e699d6a8e153f2869a",
30
+ "type": "module"
30
31
  }