@vfourny/node-toolkit 1.1.2 → 1.1.4
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globals from 'globals';
|
|
2
2
|
import typescriptEslint from 'typescript-eslint';
|
|
3
|
-
import { baseConfig, commonIgnores, configFilesOverride, prettierConfig, typescriptConfigs, } from './base';
|
|
3
|
+
import { baseConfig, commonIgnores, configFilesOverride, prettierConfig, typescriptConfigs, } from './base.js';
|
|
4
4
|
/**
|
|
5
5
|
* Node.js-specific configuration with Node.js globals
|
|
6
6
|
* Exported for reuse in other configs (Vue, Nuxt, etc.)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import typescriptEslint from 'typescript-eslint';
|
|
2
|
-
import { baseConfig, commonIgnores, configFilesOverride, prettierConfig, typescriptConfigs, } from './base';
|
|
3
|
-
import { nodeGlobalsConfig } from './node';
|
|
4
|
-
import { vueFilesConfig } from './vue';
|
|
2
|
+
import { baseConfig, commonIgnores, configFilesOverride, prettierConfig, typescriptConfigs, } from './base.js';
|
|
3
|
+
import { nodeGlobalsConfig } from './node.js';
|
|
4
|
+
import { vueFilesConfig } from './vue.js';
|
|
5
5
|
/**
|
|
6
6
|
* Nuxt-specific globals for auto-imports
|
|
7
7
|
* These are commonly auto-imported by Nuxt and should not trigger no-undef errors
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import eslintPluginVue from 'eslint-plugin-vue';
|
|
2
2
|
import globals from 'globals';
|
|
3
3
|
import typescriptEslint from 'typescript-eslint';
|
|
4
|
-
import { baseConfig, commonIgnores, configFilesOverride, prettierConfig, typescriptConfigs, } from './base';
|
|
5
|
-
import { nodeGlobalsConfig } from './node';
|
|
4
|
+
import { baseConfig, commonIgnores, configFilesOverride, prettierConfig, typescriptConfigs, } from './base.js';
|
|
5
|
+
import { nodeGlobalsConfig } from './node.js';
|
|
6
6
|
/**
|
|
7
7
|
* Vue-specific configuration
|
|
8
8
|
* Uses ConfigWithExtends to support the 'extends' property for Vue's recommended rules
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vfourny/node-toolkit",
|
|
3
|
-
"
|
|
3
|
+
"author": "Valentin Fourny - @VFOURNY",
|
|
4
|
+
"version": "1.1.4",
|
|
4
5
|
"description": "Toolkit for Node.js projects",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "dist/libs/index.js",
|
|
@@ -24,10 +25,6 @@
|
|
|
24
25
|
],
|
|
25
26
|
"exports": {
|
|
26
27
|
"./eslint": {
|
|
27
|
-
"types": "./dist/configs/eslint/index.d.ts",
|
|
28
|
-
"default": "./dist/configs/eslint/index.js"
|
|
29
|
-
},
|
|
30
|
-
"./eslint/base": {
|
|
31
28
|
"types": "./dist/configs/eslint/base.d.ts",
|
|
32
29
|
"default": "./dist/configs/eslint/base.js"
|
|
33
30
|
},
|
|
@@ -75,7 +72,6 @@
|
|
|
75
72
|
"linting",
|
|
76
73
|
"typescript"
|
|
77
74
|
],
|
|
78
|
-
"author": "Valentin Fourny",
|
|
79
75
|
"license": "ISC",
|
|
80
76
|
"dependencies": {
|
|
81
77
|
"@commitlint/config-angular": "^20.2.0",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ESLint configurations for different project types
|
|
3
|
-
* @packageDocumentation
|
|
4
|
-
*/
|
|
5
|
-
export * from './base';
|
|
6
|
-
export { default as nodeConfig } from './node';
|
|
7
|
-
export { default as nuxtConfig } from './nuxt';
|
|
8
|
-
export { default as vueConfig } from './vue';
|
|
9
|
-
export { default } from './node';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ESLint configurations for different project types
|
|
3
|
-
* @packageDocumentation
|
|
4
|
-
*/
|
|
5
|
-
// Export base configuration components for advanced usage
|
|
6
|
-
export * from './base';
|
|
7
|
-
// Export pre-configured setups for different project types
|
|
8
|
-
export { default as nodeConfig } from './node';
|
|
9
|
-
export { default as nuxtConfig } from './nuxt';
|
|
10
|
-
export { default as vueConfig } from './vue';
|
|
11
|
-
// Default export is the Node.js config (most common use case)
|
|
12
|
-
export { default } from './node';
|