@alextheman/eslint-plugin 5.3.0 → 5.4.0

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/dist/index.cjs CHANGED
@@ -3759,26 +3759,28 @@ var prettierConfig_default = prettierConfig;
3759
3759
 
3760
3760
  //#endregion
3761
3761
  //#region src/configs/external/typeDocConfig.ts
3762
- const typeDocConfig = {
3763
- disableSources: true,
3764
- entryPoints: ["./src/index.ts"],
3765
- excludeNotDocumented: true,
3766
- includeVersion: true,
3767
- outputs: [{
3768
- name: "html",
3769
- options: { navigation: {
3770
- excludeReferences: false,
3771
- includeCategories: true,
3772
- includeFolders: true,
3773
- includeGroups: true
3774
- } },
3775
- path: "docs/features/html"
3776
- }, {
3777
- name: "markdown",
3778
- path: "docs/features/markdown"
3779
- }],
3780
- plugin: ["typedoc-plugin-markdown", "typedoc-rhineai-theme"]
3781
- };
3762
+ function typeDocConfig(entryPoints = ["./src/index.ts"]) {
3763
+ return {
3764
+ disableSources: true,
3765
+ entryPoints,
3766
+ excludeNotDocumented: true,
3767
+ includeVersion: true,
3768
+ outputs: [{
3769
+ name: "html",
3770
+ options: { navigation: {
3771
+ excludeReferences: false,
3772
+ includeCategories: true,
3773
+ includeFolders: true,
3774
+ includeGroups: true
3775
+ } },
3776
+ path: "docs/features/html"
3777
+ }, {
3778
+ name: "markdown",
3779
+ path: "docs/features/markdown"
3780
+ }],
3781
+ plugin: ["typedoc-plugin-markdown", "typedoc-rhineai-theme"]
3782
+ };
3783
+ }
3782
3784
  var typeDocConfig_default = typeDocConfig;
3783
3785
 
3784
3786
  //#endregion
@@ -4819,7 +4821,7 @@ var rules_default = {
4819
4821
  //#endregion
4820
4822
  //#region package.json
4821
4823
  var name = "@alextheman/eslint-plugin";
4822
- var version = "5.3.0";
4824
+ var version = "5.4.0";
4823
4825
 
4824
4826
  //#endregion
4825
4827
  //#region src/alexPlugin.ts
package/dist/index.d.cts CHANGED
@@ -63,7 +63,7 @@ declare const alexPlugin: AlexPlugin;
63
63
  declare const prettierConfig: Config;
64
64
  //#endregion
65
65
  //#region src/configs/external/typeDocConfig.d.ts
66
- declare const typeDocConfig: TypeDocOptions & PluginOptions;
66
+ declare function typeDocConfig(entryPoints?: string[]): TypeDocOptions & PluginOptions;
67
67
  //#endregion
68
68
  //#region src/configs/external/vitestConfig.d.ts
69
69
  declare function vitestConfig(environment?: VitestEnvironment): vite0.UserConfig;
package/dist/index.d.ts CHANGED
@@ -63,7 +63,7 @@ declare const alexPlugin: AlexPlugin;
63
63
  declare const prettierConfig: Config;
64
64
  //#endregion
65
65
  //#region src/configs/external/typeDocConfig.d.ts
66
- declare const typeDocConfig: TypeDocOptions & PluginOptions;
66
+ declare function typeDocConfig(entryPoints?: string[]): TypeDocOptions & PluginOptions;
67
67
  //#endregion
68
68
  //#region src/configs/external/vitestConfig.d.ts
69
69
  declare function vitestConfig(environment?: VitestEnvironment): vite0.UserConfig;
package/dist/index.js CHANGED
@@ -3743,26 +3743,28 @@ var prettierConfig_default = prettierConfig$1;
3743
3743
 
3744
3744
  //#endregion
3745
3745
  //#region src/configs/external/typeDocConfig.ts
3746
- const typeDocConfig = {
3747
- disableSources: true,
3748
- entryPoints: ["./src/index.ts"],
3749
- excludeNotDocumented: true,
3750
- includeVersion: true,
3751
- outputs: [{
3752
- name: "html",
3753
- options: { navigation: {
3754
- excludeReferences: false,
3755
- includeCategories: true,
3756
- includeFolders: true,
3757
- includeGroups: true
3758
- } },
3759
- path: "docs/features/html"
3760
- }, {
3761
- name: "markdown",
3762
- path: "docs/features/markdown"
3763
- }],
3764
- plugin: ["typedoc-plugin-markdown", "typedoc-rhineai-theme"]
3765
- };
3746
+ function typeDocConfig(entryPoints = ["./src/index.ts"]) {
3747
+ return {
3748
+ disableSources: true,
3749
+ entryPoints,
3750
+ excludeNotDocumented: true,
3751
+ includeVersion: true,
3752
+ outputs: [{
3753
+ name: "html",
3754
+ options: { navigation: {
3755
+ excludeReferences: false,
3756
+ includeCategories: true,
3757
+ includeFolders: true,
3758
+ includeGroups: true
3759
+ } },
3760
+ path: "docs/features/html"
3761
+ }, {
3762
+ name: "markdown",
3763
+ path: "docs/features/markdown"
3764
+ }],
3765
+ plugin: ["typedoc-plugin-markdown", "typedoc-rhineai-theme"]
3766
+ };
3767
+ }
3766
3768
  var typeDocConfig_default = typeDocConfig;
3767
3769
 
3768
3770
  //#endregion
@@ -4803,7 +4805,7 @@ var rules_default = {
4803
4805
  //#endregion
4804
4806
  //#region package.json
4805
4807
  var name = "@alextheman/eslint-plugin";
4806
- var version = "5.3.0";
4808
+ var version = "5.4.0";
4807
4809
 
4808
4810
  //#endregion
4809
4811
  //#region src/alexPlugin.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/eslint-plugin",
3
- "version": "5.3.0",
3
+ "version": "5.4.0",
4
4
  "description": "A package to provide custom ESLint rules and configs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -96,6 +96,7 @@
96
96
  },
97
97
  "scripts": {
98
98
  "build": "tsdown",
99
+ "create-feature-docs": "typedoc",
99
100
  "create-local-package": "pnpm run build && rm -f alextheman-eslint-plugin-*.tgz && pnpm pack",
100
101
  "create-release-note-major": "git pull origin main && alex-c-line create-release-note major",
101
102
  "create-release-note-minor": "git pull origin main && alex-c-line create-release-note minor",