@form8ion/eslint-config-extender 12.0.0-beta.4 → 12.0.0-beta.6

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 +14 -8
  2. package/example.js +12 -8
  3. package/package.json +14 -14
package/README.md CHANGED
@@ -57,6 +57,15 @@ const {scaffold, extendEslintConfig} = await import('@form8ion/eslint-config-ext
57
57
 
58
58
  #### Execute
59
59
 
60
+ ```javascript
61
+ const logger = {
62
+ info: () => undefined,
63
+ success: () => undefined,
64
+ warn: () => undefined,
65
+ error: () => undefined
66
+ };
67
+ ```
68
+
60
69
  ##### Scaffolder Plugin
61
70
 
62
71
  ```javascript
@@ -102,7 +111,9 @@ const {scaffold, extendEslintConfig} = await import('@form8ion/eslint-config-ext
102
111
  decisions,
103
112
  configs: {},
104
113
  plugins: {unitTestFrameworks: {}}
105
- })
114
+ }, {logger}),
115
+ lift: options => javascriptPlugin.lift(options, {logger}),
116
+ test: options => javascriptPlugin.test(options, {logger})
106
117
  }),
107
118
  {
108
119
  prompt: ({id}) => {
@@ -123,7 +134,7 @@ const {scaffold, extendEslintConfig} = await import('@form8ion/eslint-config-ext
123
134
  return {
124
135
  [PROJECT_NAME]: 'eslint-config-foo',
125
136
  [DESCRIPTION]: 'a description of the project',
126
- [VISIBILITY]: 'Public',
137
+ [VISIBILITY]: 'OSS',
127
138
  [LICENSE]: 'MIT',
128
139
  [COPYRIGHT_HOLDER]: 'John Smith',
129
140
  [COPYRIGHT_YEAR]: '2022'
@@ -137,12 +148,7 @@ const {scaffold, extendEslintConfig} = await import('@form8ion/eslint-config-ext
137
148
  throw new Error(`Unknown prompt: ${id}`);
138
149
  }
139
150
  },
140
- logger: {
141
- info: () => undefined,
142
- success: () => undefined,
143
- warn: () => undefined,
144
- error: () => undefined
145
- }
151
+ logger
146
152
  }
147
153
  );
148
154
  })();
package/example.js CHANGED
@@ -30,6 +30,13 @@ stubbedFs({node_modules: stubbedNodeModules});
30
30
 
31
31
  // #### Execute
32
32
 
33
+ const logger = {
34
+ info: () => undefined,
35
+ success: () => undefined,
36
+ warn: () => undefined,
37
+ error: () => undefined
38
+ };
39
+
33
40
  // ##### Scaffolder Plugin
34
41
 
35
42
  (async () => {
@@ -72,7 +79,9 @@ stubbedFs({node_modules: stubbedNodeModules});
72
79
  decisions,
73
80
  configs: {},
74
81
  plugins: {unitTestFrameworks: {}}
75
- })
82
+ }, {logger}),
83
+ lift: options => javascriptPlugin.lift(options, {logger}),
84
+ test: options => javascriptPlugin.test(options, {logger})
76
85
  }),
77
86
  {
78
87
  prompt: ({id}) => {
@@ -93,7 +102,7 @@ stubbedFs({node_modules: stubbedNodeModules});
93
102
  return {
94
103
  [PROJECT_NAME]: 'eslint-config-foo',
95
104
  [DESCRIPTION]: 'a description of the project',
96
- [VISIBILITY]: 'Public',
105
+ [VISIBILITY]: 'OSS',
97
106
  [LICENSE]: 'MIT',
98
107
  [COPYRIGHT_HOLDER]: 'John Smith',
99
108
  [COPYRIGHT_YEAR]: '2022'
@@ -107,12 +116,7 @@ stubbedFs({node_modules: stubbedNodeModules});
107
116
  throw new Error(`Unknown prompt: ${id}`);
108
117
  }
109
118
  },
110
- logger: {
111
- info: () => undefined,
112
- success: () => undefined,
113
- warn: () => undefined,
114
- error: () => undefined
115
- }
119
+ logger
116
120
  }
117
121
  );
118
122
  })();
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@form8ion/eslint-config-extender",
3
3
  "description": "shareable ESLint config scaffolder for extending another config",
4
4
  "license": "MIT",
5
- "version": "12.0.0-beta.4",
5
+ "version": "12.0.0-beta.6",
6
6
  "type": "module",
7
7
  "engines": {
8
8
  "node": "^22.21.0 || >=24.12"
@@ -54,24 +54,24 @@
54
54
  "access": "public",
55
55
  "provenance": true
56
56
  },
57
- "packageManager": "npm@11.13.0+sha512.7119a16a0843580d65160977520e3f5710c974f04afd4fad36d9eb97d917ba716a856c35c78c4be6dc64367eeaccfb957ef5ce997ca31e9330b2e936ba2b1b92",
57
+ "packageManager": "npm@11.15.0+sha512.fa4d2d93b9519e93143e70bb913b94ff2ad5fe69c5a0f84943be557cbb59e9fc1bcce55768fb1313f225f4f9f50c78b8f366f2332aa41effd7b10efa98d8d72f",
58
58
  "dependencies": {
59
59
  "@form8ion/config-file": "^1.1.2",
60
- "@form8ion/core": "^4.7.1",
61
- "@form8ion/javascript": "^15.0.0",
60
+ "@form8ion/core": "^5.0.0-beta.10",
61
+ "@form8ion/javascript": "^16.0.0-beta.1",
62
62
  "@form8ion/javascript-core": "^12.0.0",
63
- "@form8ion/project": "^22.0.0-beta.15",
63
+ "@form8ion/project": "^22.0.0-beta.19",
64
64
  "deepmerge": "^4.2.2"
65
65
  },
66
66
  "devDependencies": {
67
- "@cucumber/cucumber": "12.8.2",
68
- "@form8ion/commitlint-config": "2.0.13",
67
+ "@cucumber/cucumber": "12.9.0",
68
+ "@form8ion/commitlint-config": "2.0.15",
69
69
  "@form8ion/eslint-config": "7.1.0-beta.1",
70
70
  "@form8ion/eslint-config-cucumber": "1.4.1",
71
71
  "@form8ion/eslint-config-vitest": "1.1.0",
72
72
  "@form8ion/remark-lint-preset": "6.0.7",
73
73
  "@travi/any": "3.3.0",
74
- "@vitest/coverage-v8": "4.1.5",
74
+ "@vitest/coverage-v8": "4.1.7",
75
75
  "ban-sensitive-files": "1.10.11",
76
76
  "chai": "6.2.2",
77
77
  "cz-conventional-changelog": "3.3.0",
@@ -80,20 +80,20 @@
80
80
  "husky": "9.1.7",
81
81
  "js-yaml": "4.1.1",
82
82
  "lockfile-lint": "5.0.0",
83
- "ls-engines": "0.9.4",
83
+ "ls-engines": "0.10.0",
84
84
  "mock-fs": "5.5.0",
85
- "nock": "14.0.14",
86
- "npm-run-all2": "8.0.4",
87
- "publint": "0.3.18",
85
+ "nock": "14.0.15",
86
+ "npm-run-all2": "9.0.1",
87
+ "publint": "0.3.21",
88
88
  "remark-cli": "12.0.1",
89
89
  "remark-toc": "9.0.0",
90
90
  "remark-usage": "11.0.1",
91
91
  "rimraf": "6.1.3",
92
- "rollup": "4.60.2",
92
+ "rollup": "4.60.4",
93
93
  "rollup-plugin-auto-external": "2.0.0",
94
94
  "simple-git": "3.36.0",
95
95
  "testdouble": "3.20.2",
96
- "vitest": "4.1.5",
96
+ "vitest": "4.1.7",
97
97
  "vitest-when": "0.10.0"
98
98
  }
99
99
  }