@karmaniverous/get-dotenv 6.0.0-1 → 6.1.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.
Files changed (62) hide show
  1. package/README.md +91 -379
  2. package/dist/cli.d.ts +569 -0
  3. package/dist/cli.mjs +18877 -0
  4. package/dist/cliHost.d.ts +528 -184
  5. package/dist/cliHost.mjs +1977 -1428
  6. package/dist/config.d.ts +191 -14
  7. package/dist/config.mjs +266 -81
  8. package/dist/env-overlay.d.ts +223 -16
  9. package/dist/env-overlay.mjs +185 -4
  10. package/dist/getdotenv.cli.mjs +18025 -3196
  11. package/dist/index.d.ts +623 -256
  12. package/dist/index.mjs +18045 -3206
  13. package/dist/plugins-aws.d.ts +221 -91
  14. package/dist/plugins-aws.mjs +2411 -369
  15. package/dist/plugins-batch.d.ts +300 -103
  16. package/dist/plugins-batch.mjs +2560 -484
  17. package/dist/plugins-cmd.d.ts +229 -106
  18. package/dist/plugins-cmd.mjs +2518 -790
  19. package/dist/plugins-init.d.ts +221 -95
  20. package/dist/plugins-init.mjs +2170 -105
  21. package/dist/plugins.d.ts +246 -125
  22. package/dist/plugins.mjs +17941 -1968
  23. package/dist/templates/cli/index.ts +25 -0
  24. package/{templates/cli/ts → dist/templates/cli}/plugins/hello.ts +13 -9
  25. package/dist/templates/config/js/getdotenv.config.js +20 -0
  26. package/dist/templates/config/json/local/getdotenv.config.local.json +7 -0
  27. package/dist/templates/config/json/public/getdotenv.config.json +9 -0
  28. package/dist/templates/config/public/getdotenv.config.json +8 -0
  29. package/dist/templates/config/ts/getdotenv.config.ts +28 -0
  30. package/dist/templates/config/yaml/local/getdotenv.config.local.yaml +7 -0
  31. package/dist/templates/config/yaml/public/getdotenv.config.yaml +7 -0
  32. package/dist/templates/getdotenv.config.js +20 -0
  33. package/dist/templates/getdotenv.config.json +9 -0
  34. package/dist/templates/getdotenv.config.local.json +7 -0
  35. package/dist/templates/getdotenv.config.local.yaml +7 -0
  36. package/dist/templates/getdotenv.config.ts +28 -0
  37. package/dist/templates/getdotenv.config.yaml +7 -0
  38. package/dist/templates/hello.ts +42 -0
  39. package/dist/templates/index.ts +25 -0
  40. package/dist/templates/js/getdotenv.config.js +20 -0
  41. package/dist/templates/json/local/getdotenv.config.local.json +7 -0
  42. package/dist/templates/json/public/getdotenv.config.json +9 -0
  43. package/dist/templates/local/getdotenv.config.local.json +7 -0
  44. package/dist/templates/local/getdotenv.config.local.yaml +7 -0
  45. package/dist/templates/plugins/hello.ts +42 -0
  46. package/dist/templates/public/getdotenv.config.json +9 -0
  47. package/dist/templates/public/getdotenv.config.yaml +7 -0
  48. package/dist/templates/ts/getdotenv.config.ts +28 -0
  49. package/dist/templates/yaml/local/getdotenv.config.local.yaml +7 -0
  50. package/dist/templates/yaml/public/getdotenv.config.yaml +7 -0
  51. package/getdotenv.config.json +1 -19
  52. package/package.json +42 -39
  53. package/templates/cli/index.ts +25 -0
  54. package/templates/cli/plugins/hello.ts +42 -0
  55. package/templates/config/js/getdotenv.config.js +8 -3
  56. package/templates/config/json/public/getdotenv.config.json +0 -3
  57. package/templates/config/public/getdotenv.config.json +0 -5
  58. package/templates/config/ts/getdotenv.config.ts +8 -3
  59. package/templates/config/yaml/public/getdotenv.config.yaml +0 -3
  60. package/dist/plugins-demo.d.ts +0 -204
  61. package/dist/plugins-demo.mjs +0 -496
  62. package/templates/cli/ts/index.ts +0 -9
@@ -0,0 +1,25 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { createCli } from '@karmaniverous/get-dotenv/cli';
4
+ import {
5
+ awsPlugin,
6
+ awsWhoamiPlugin,
7
+ batchPlugin,
8
+ cmdPlugin,
9
+ initPlugin,
10
+ } from '@karmaniverous/get-dotenv/plugins';
11
+
12
+ import { helloPlugin } from './plugins/hello';
13
+
14
+ await createCli({
15
+ alias: 'mycli',
16
+ compose: (program) =>
17
+ program
18
+ .use(
19
+ cmdPlugin({ asDefault: true, optionAlias: '-c, --cmd <command...>' }),
20
+ )
21
+ .use(batchPlugin())
22
+ .use(awsPlugin().use(awsWhoamiPlugin()))
23
+ .use(initPlugin())
24
+ .use(helloPlugin()),
25
+ })();
@@ -1,4 +1,7 @@
1
- import { definePlugin } from '@karmaniverous/get-dotenv/cliHost';
1
+ import {
2
+ definePlugin,
3
+ getRootCommand,
4
+ } from '@karmaniverous/get-dotenv/cliHost';
2
5
  import { z } from 'zod';
3
6
 
4
7
  const HelloConfigSchema = z.object({
@@ -8,28 +11,29 @@ const HelloConfigSchema = z.object({
8
11
 
9
12
  export const helloPlugin = () => {
10
13
  const plugin = definePlugin({
11
- id: 'hello',
14
+ ns: 'hello',
12
15
  configSchema: HelloConfigSchema,
13
16
  setup(cli) {
14
17
  cli
15
- .ns('hello')
16
18
  .description('Say hello with current dotenv context')
17
19
  .addOption(
18
20
  plugin.createPluginDynamicOption(
19
21
  cli,
20
22
  '--loud',
21
- (_bag, cfg) =>
22
- `print greeting in ALL CAPS${cfg.loud ? ' (default)' : ''}`,
23
+ (_bag, pluginCfg) =>
24
+ `print greeting in ALL CAPS${pluginCfg.loud ? ' (default)' : ''}`,
23
25
  ),
24
26
  )
25
27
  .action(() => {
26
28
  const ctx = cli.getCtx();
27
- const name = '__CLI_NAME__';
29
+ // Derive CLI name from the true root command using a typed helper.
30
+ const rootName = getRootCommand(cli).name();
31
+
28
32
  const cfg = plugin.readConfig(cli);
29
- const keys = Object.keys(ctx?.dotenv ?? {});
33
+ const keys = Object.keys(ctx.dotenv);
30
34
  const label = cfg.loud
31
- ? `[${name}] DOTENV KEYS (${String(keys.length)}):`
32
- : `[${name}] dotenv keys (${String(keys.length)}):`;
35
+ ? `[${rootName}] DOTENV KEYS (${String(keys.length)}):`
36
+ : `[${rootName}] dotenv keys (${String(keys.length)}):`;
33
37
  console.log(label, keys.join(', '));
34
38
  });
35
39
  },
@@ -0,0 +1,20 @@
1
+ export default {
2
+ // Help-time root defaults (example):
3
+ // rootOptionDefaults: {
4
+ // redact: true,
5
+ // // redactPatterns: ['API_KEY', 'SECRET'],
6
+ // },
7
+ // Help-time visibility (example): hide selected root flags in -h
8
+ // rootOptionVisibility: { capture: false },
9
+
10
+ vars: { APP_SETTING: 'app_value' },
11
+ envVars: { dev: { ENV_SETTING: 'dev_value' } },
12
+ dynamic: {
13
+ GREETING: ({ APP_SETTING = '' }) => `Hello ${APP_SETTING}`,
14
+ // Example: env-aware dynamic value. The second argument receives the
15
+ // selected environment (if any); tailor behavior per environment.
16
+ // For example, with env='dev' this yields "for-dev"; when env is not
17
+ // provided, this returns an empty string.
18
+ ENV_TAG: (_vars, env) => (env ? `for-${env}` : ''),
19
+ },
20
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "vars": { "APP_SECRET": "secret_value" },
3
+ "envVars": {
4
+ "dev": { "ENV_SECRET": "dev_secret" },
5
+ "test": { "ENV_SECRET": "test_secret" }
6
+ }
7
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "vars": {
3
+ "APP_SETTING": "app_value"
4
+ },
5
+ "envVars": {
6
+ "dev": { "ENV_SETTING": "dev_value" },
7
+ "test": { "ENV_SETTING": "test_value" }
8
+ }
9
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "vars": {
3
+ "APP_NAME": "my-app"
4
+ },
5
+ "envVars": {
6
+ "dev": { "DEV_ONLY": "1" }
7
+ }
8
+ }
@@ -0,0 +1,28 @@
1
+ import { defineGetDotenvConfig } from '@karmaniverous/get-dotenv';
2
+
3
+ type Vars = {
4
+ APP_SETTING?: string;
5
+ ENV_SETTING?: string;
6
+ };
7
+
8
+ export default defineGetDotenvConfig<Vars>({
9
+ // Help-time root defaults (example):
10
+ // rootOptionDefaults: {
11
+ // redact: true,
12
+ // // redactPatterns: ['API_KEY', 'SECRET'],
13
+ // },
14
+ // Help-time visibility (example): hide selected root flags in -h
15
+ // rootOptionVisibility: { capture: false },
16
+
17
+ vars: { APP_SETTING: 'app_value' },
18
+ envVars: { dev: { ENV_SETTING: 'dev_value' } },
19
+ dynamic: {
20
+ GREETING: ({ APP_SETTING = '' }) => `${APP_SETTING}-ts`,
21
+ // Example: env-aware dynamic value. The second argument receives the
22
+ // selected environment (if any); tailor behavior per environment.
23
+ // For example, with env='dev' this yields "for-dev"; when env is not
24
+ // provided, this returns an empty string.
25
+ ENV_TAG: (_vars: Record<string, string | undefined>, env?: string) =>
26
+ env ? `for-${env}` : '',
27
+ },
28
+ });
@@ -0,0 +1,7 @@
1
+ vars:
2
+ APP_SECRET: "secret_value"
3
+ envVars:
4
+ dev:
5
+ ENV_SECRET: "dev_secret"
6
+ test:
7
+ ENV_SECRET: "test_secret"
@@ -0,0 +1,7 @@
1
+ vars:
2
+ APP_SETTING: "app_value"
3
+ envVars:
4
+ dev:
5
+ ENV_SETTING: "dev_value"
6
+ test:
7
+ ENV_SETTING: "test_value"
@@ -0,0 +1,20 @@
1
+ export default {
2
+ // Help-time root defaults (example):
3
+ // rootOptionDefaults: {
4
+ // redact: true,
5
+ // // redactPatterns: ['API_KEY', 'SECRET'],
6
+ // },
7
+ // Help-time visibility (example): hide selected root flags in -h
8
+ // rootOptionVisibility: { capture: false },
9
+
10
+ vars: { APP_SETTING: 'app_value' },
11
+ envVars: { dev: { ENV_SETTING: 'dev_value' } },
12
+ dynamic: {
13
+ GREETING: ({ APP_SETTING = '' }) => `Hello ${APP_SETTING}`,
14
+ // Example: env-aware dynamic value. The second argument receives the
15
+ // selected environment (if any); tailor behavior per environment.
16
+ // For example, with env='dev' this yields "for-dev"; when env is not
17
+ // provided, this returns an empty string.
18
+ ENV_TAG: (_vars, env) => (env ? `for-${env}` : ''),
19
+ },
20
+ };
@@ -0,0 +1,9 @@
1
+ {
2
+ "vars": {
3
+ "APP_SETTING": "app_value"
4
+ },
5
+ "envVars": {
6
+ "dev": { "ENV_SETTING": "dev_value" },
7
+ "test": { "ENV_SETTING": "test_value" }
8
+ }
9
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "vars": { "APP_SECRET": "secret_value" },
3
+ "envVars": {
4
+ "dev": { "ENV_SECRET": "dev_secret" },
5
+ "test": { "ENV_SECRET": "test_secret" }
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ vars:
2
+ APP_SECRET: "secret_value"
3
+ envVars:
4
+ dev:
5
+ ENV_SECRET: "dev_secret"
6
+ test:
7
+ ENV_SECRET: "test_secret"
@@ -0,0 +1,28 @@
1
+ import { defineGetDotenvConfig } from '@karmaniverous/get-dotenv';
2
+
3
+ type Vars = {
4
+ APP_SETTING?: string;
5
+ ENV_SETTING?: string;
6
+ };
7
+
8
+ export default defineGetDotenvConfig<Vars>({
9
+ // Help-time root defaults (example):
10
+ // rootOptionDefaults: {
11
+ // redact: true,
12
+ // // redactPatterns: ['API_KEY', 'SECRET'],
13
+ // },
14
+ // Help-time visibility (example): hide selected root flags in -h
15
+ // rootOptionVisibility: { capture: false },
16
+
17
+ vars: { APP_SETTING: 'app_value' },
18
+ envVars: { dev: { ENV_SETTING: 'dev_value' } },
19
+ dynamic: {
20
+ GREETING: ({ APP_SETTING = '' }) => `${APP_SETTING}-ts`,
21
+ // Example: env-aware dynamic value. The second argument receives the
22
+ // selected environment (if any); tailor behavior per environment.
23
+ // For example, with env='dev' this yields "for-dev"; when env is not
24
+ // provided, this returns an empty string.
25
+ ENV_TAG: (_vars: Record<string, string | undefined>, env?: string) =>
26
+ env ? `for-${env}` : '',
27
+ },
28
+ });
@@ -0,0 +1,7 @@
1
+ vars:
2
+ APP_SETTING: "app_value"
3
+ envVars:
4
+ dev:
5
+ ENV_SETTING: "dev_value"
6
+ test:
7
+ ENV_SETTING: "test_value"
@@ -0,0 +1,42 @@
1
+ import {
2
+ definePlugin,
3
+ getRootCommand,
4
+ } from '@karmaniverous/get-dotenv/cliHost';
5
+ import { z } from 'zod';
6
+
7
+ const HelloConfigSchema = z.object({
8
+ loud: z.boolean().optional().default(false),
9
+ color: z.string().optional(),
10
+ });
11
+
12
+ export const helloPlugin = () => {
13
+ const plugin = definePlugin({
14
+ ns: 'hello',
15
+ configSchema: HelloConfigSchema,
16
+ setup(cli) {
17
+ cli
18
+ .description('Say hello with current dotenv context')
19
+ .addOption(
20
+ plugin.createPluginDynamicOption(
21
+ cli,
22
+ '--loud',
23
+ (_bag, pluginCfg) =>
24
+ `print greeting in ALL CAPS${pluginCfg.loud ? ' (default)' : ''}`,
25
+ ),
26
+ )
27
+ .action(() => {
28
+ const ctx = cli.getCtx();
29
+ // Derive CLI name from the true root command using a typed helper.
30
+ const rootName = getRootCommand(cli).name();
31
+
32
+ const cfg = plugin.readConfig(cli);
33
+ const keys = Object.keys(ctx.dotenv);
34
+ const label = cfg.loud
35
+ ? `[${rootName}] DOTENV KEYS (${String(keys.length)}):`
36
+ : `[${rootName}] dotenv keys (${String(keys.length)}):`;
37
+ console.log(label, keys.join(', '));
38
+ });
39
+ },
40
+ });
41
+ return plugin;
42
+ };
@@ -0,0 +1,25 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { createCli } from '@karmaniverous/get-dotenv/cli';
4
+ import {
5
+ awsPlugin,
6
+ awsWhoamiPlugin,
7
+ batchPlugin,
8
+ cmdPlugin,
9
+ initPlugin,
10
+ } from '@karmaniverous/get-dotenv/plugins';
11
+
12
+ import { helloPlugin } from './plugins/hello';
13
+
14
+ await createCli({
15
+ alias: 'mycli',
16
+ compose: (program) =>
17
+ program
18
+ .use(
19
+ cmdPlugin({ asDefault: true, optionAlias: '-c, --cmd <command...>' }),
20
+ )
21
+ .use(batchPlugin())
22
+ .use(awsPlugin().use(awsWhoamiPlugin()))
23
+ .use(initPlugin())
24
+ .use(helloPlugin()),
25
+ })();
@@ -0,0 +1,20 @@
1
+ export default {
2
+ // Help-time root defaults (example):
3
+ // rootOptionDefaults: {
4
+ // redact: true,
5
+ // // redactPatterns: ['API_KEY', 'SECRET'],
6
+ // },
7
+ // Help-time visibility (example): hide selected root flags in -h
8
+ // rootOptionVisibility: { capture: false },
9
+
10
+ vars: { APP_SETTING: 'app_value' },
11
+ envVars: { dev: { ENV_SETTING: 'dev_value' } },
12
+ dynamic: {
13
+ GREETING: ({ APP_SETTING = '' }) => `Hello ${APP_SETTING}`,
14
+ // Example: env-aware dynamic value. The second argument receives the
15
+ // selected environment (if any); tailor behavior per environment.
16
+ // For example, with env='dev' this yields "for-dev"; when env is not
17
+ // provided, this returns an empty string.
18
+ ENV_TAG: (_vars, env) => (env ? `for-${env}` : ''),
19
+ },
20
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "vars": { "APP_SECRET": "secret_value" },
3
+ "envVars": {
4
+ "dev": { "ENV_SECRET": "dev_secret" },
5
+ "test": { "ENV_SECRET": "test_secret" }
6
+ }
7
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "vars": {
3
+ "APP_SETTING": "app_value"
4
+ },
5
+ "envVars": {
6
+ "dev": { "ENV_SETTING": "dev_value" },
7
+ "test": { "ENV_SETTING": "test_value" }
8
+ }
9
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "vars": { "APP_SECRET": "secret_value" },
3
+ "envVars": {
4
+ "dev": { "ENV_SECRET": "dev_secret" },
5
+ "test": { "ENV_SECRET": "test_secret" }
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ vars:
2
+ APP_SECRET: "secret_value"
3
+ envVars:
4
+ dev:
5
+ ENV_SECRET: "dev_secret"
6
+ test:
7
+ ENV_SECRET: "test_secret"
@@ -0,0 +1,42 @@
1
+ import {
2
+ definePlugin,
3
+ getRootCommand,
4
+ } from '@karmaniverous/get-dotenv/cliHost';
5
+ import { z } from 'zod';
6
+
7
+ const HelloConfigSchema = z.object({
8
+ loud: z.boolean().optional().default(false),
9
+ color: z.string().optional(),
10
+ });
11
+
12
+ export const helloPlugin = () => {
13
+ const plugin = definePlugin({
14
+ ns: 'hello',
15
+ configSchema: HelloConfigSchema,
16
+ setup(cli) {
17
+ cli
18
+ .description('Say hello with current dotenv context')
19
+ .addOption(
20
+ plugin.createPluginDynamicOption(
21
+ cli,
22
+ '--loud',
23
+ (_bag, pluginCfg) =>
24
+ `print greeting in ALL CAPS${pluginCfg.loud ? ' (default)' : ''}`,
25
+ ),
26
+ )
27
+ .action(() => {
28
+ const ctx = cli.getCtx();
29
+ // Derive CLI name from the true root command using a typed helper.
30
+ const rootName = getRootCommand(cli).name();
31
+
32
+ const cfg = plugin.readConfig(cli);
33
+ const keys = Object.keys(ctx.dotenv);
34
+ const label = cfg.loud
35
+ ? `[${rootName}] DOTENV KEYS (${String(keys.length)}):`
36
+ : `[${rootName}] dotenv keys (${String(keys.length)}):`;
37
+ console.log(label, keys.join(', '));
38
+ });
39
+ },
40
+ });
41
+ return plugin;
42
+ };
@@ -0,0 +1,9 @@
1
+ {
2
+ "vars": {
3
+ "APP_SETTING": "app_value"
4
+ },
5
+ "envVars": {
6
+ "dev": { "ENV_SETTING": "dev_value" },
7
+ "test": { "ENV_SETTING": "test_value" }
8
+ }
9
+ }
@@ -0,0 +1,7 @@
1
+ vars:
2
+ APP_SETTING: "app_value"
3
+ envVars:
4
+ dev:
5
+ ENV_SETTING: "dev_value"
6
+ test:
7
+ ENV_SETTING: "test_value"
@@ -0,0 +1,28 @@
1
+ import { defineGetDotenvConfig } from '@karmaniverous/get-dotenv';
2
+
3
+ type Vars = {
4
+ APP_SETTING?: string;
5
+ ENV_SETTING?: string;
6
+ };
7
+
8
+ export default defineGetDotenvConfig<Vars>({
9
+ // Help-time root defaults (example):
10
+ // rootOptionDefaults: {
11
+ // redact: true,
12
+ // // redactPatterns: ['API_KEY', 'SECRET'],
13
+ // },
14
+ // Help-time visibility (example): hide selected root flags in -h
15
+ // rootOptionVisibility: { capture: false },
16
+
17
+ vars: { APP_SETTING: 'app_value' },
18
+ envVars: { dev: { ENV_SETTING: 'dev_value' } },
19
+ dynamic: {
20
+ GREETING: ({ APP_SETTING = '' }) => `${APP_SETTING}-ts`,
21
+ // Example: env-aware dynamic value. The second argument receives the
22
+ // selected environment (if any); tailor behavior per environment.
23
+ // For example, with env='dev' this yields "for-dev"; when env is not
24
+ // provided, this returns an empty string.
25
+ ENV_TAG: (_vars: Record<string, string | undefined>, env?: string) =>
26
+ env ? `for-${env}` : '',
27
+ },
28
+ });
@@ -0,0 +1,7 @@
1
+ vars:
2
+ APP_SECRET: "secret_value"
3
+ envVars:
4
+ dev:
5
+ ENV_SECRET: "dev_secret"
6
+ test:
7
+ ENV_SECRET: "test_secret"
@@ -0,0 +1,7 @@
1
+ vars:
2
+ APP_SETTING: "app_value"
3
+ envVars:
4
+ dev:
5
+ ENV_SETTING: "dev_value"
6
+ test:
7
+ ENV_SETTING: "test_value"
@@ -1,19 +1 @@
1
- {
2
- "//": "Packaged root defaults for get-dotenv (lowest precedence).",
3
- "dotenvToken": ".env",
4
- "privateToken": "local",
5
- "paths": "./",
6
- "loadProcess": true,
7
- "shell": true,
8
- "scripts": {
9
- "git-status": {
10
- "cmd": "git branch --show-current && git status -s -u",
11
- "shell": true
12
- }
13
- },
14
- "excludeDynamic": false,
15
- "excludeEnv": false,
16
- "excludeGlobal": false,
17
- "excludePrivate": false,
18
- "excludePublic": false
19
- }
1
+ {}
package/package.json CHANGED
@@ -13,58 +13,61 @@
13
13
  "url": "https://github.com/karmaniverous/get-dotenv/issues"
14
14
  },
15
15
  "dependencies": {
16
- "commander": "^14.0.1",
16
+ "@commander-js/extra-typings": "^14.0.0",
17
+ "commander": "^14.0.2",
17
18
  "dotenv": "^17.2.3",
18
- "execa": "^9.6.0",
19
+ "execa": "^9.6.1",
19
20
  "fs-extra": "^11.3.2",
20
- "globby": "^15",
21
+ "globby": "^16",
21
22
  "nanoid": "^5.1.6",
22
23
  "package-directory": "^8.1.0",
23
- "yaml": "^2.8.1",
24
- "zod": "^4.1.12"
24
+ "yaml": "^2.8.2",
25
+ "zod": "^4.1.13"
25
26
  },
26
27
  "description": "Process dotenv files in an arbitrary location & optionally populate environment variables.",
27
28
  "devDependencies": {
28
- "@dotenvx/dotenvx": "^1.51.0",
29
- "@eslint/js": "^9.38.0",
30
- "@rollup/plugin-alias": "^5.1.1",
31
- "@rollup/plugin-commonjs": "^28.0.8",
29
+ "@aws-sdk/client-sts": "^3.948.0",
30
+ "@dotenvx/dotenvx": "^1.51.2",
31
+ "@eslint/js": "^9.39.2",
32
+ "@rollup/plugin-alias": "^6.0.0",
33
+ "@rollup/plugin-commonjs": "^29.0.0",
32
34
  "@rollup/plugin-json": "^6.1.0",
33
35
  "@rollup/plugin-node-resolve": "^16.0.3",
34
- "@rollup/plugin-typescript": "^12.1.4",
36
+ "@rollup/plugin-typescript": "^12.3.0",
35
37
  "@types/fs-extra": "^11.0.4",
36
- "@types/node": "^24",
37
- "@vitest/coverage-v8": "^3.2.4",
38
- "@vitest/eslint-plugin": "^1.3.23",
38
+ "@types/node": "^25",
39
+ "@vitest/coverage-v8": "^4.0.15",
40
+ "@vitest/eslint-plugin": "^1.5.2",
39
41
  "auto-changelog": "^2.5.0",
40
42
  "cross-env": "^10.1.0",
41
- "esbuild": "^0.25.11",
42
- "eslint": "^9.38.0",
43
+ "esbuild": "^0.27.1",
44
+ "eslint": "^9.39.2",
43
45
  "eslint-config-prettier": "^10.1.8",
44
46
  "eslint-plugin-jsonc": "^2.21.0",
45
47
  "eslint-plugin-prettier": "^5.5.4",
46
48
  "eslint-plugin-simple-import-sort": "^12.1.1",
47
- "eslint-plugin-tsdoc": "^0.4.0",
49
+ "eslint-plugin-tsdoc": "^0.5.0",
48
50
  "fs-extra": "^11.3.2",
49
- "globals": "^16.4.0",
50
- "jsonc-eslint-parser": "^2.4.1",
51
- "knip": "^5.66.1",
52
- "lefthook": "^2.0.0",
53
- "npm-packlist": "^10.0.2",
54
- "prettier": "^3.6.2",
55
- "release-it": "^19.0.5",
56
- "rimraf": "^6.0.1",
57
- "rollup": "^4.52.5",
58
- "rollup-plugin-dts": "^6.2.3",
51
+ "globals": "^16.5.0",
52
+ "jsonc-eslint-parser": "^2.4.2",
53
+ "knip": "^5.73.4",
54
+ "lefthook": "^2.0.11",
55
+ "npm-packlist": "^10.0.3",
56
+ "prettier": "^3.7.4",
57
+ "release-it": "^19.1.0",
58
+ "rimraf": "^6.1.2",
59
+ "rollup": "^4.53.3",
60
+ "rollup-plugin-copy": "^3.5.0",
61
+ "rollup-plugin-dts": "^6.3.0",
59
62
  "tslib": "^2.8.1",
60
- "tsx": "^4.20.6",
61
- "typedoc": "^0.28.14",
63
+ "tsx": "^4.21.0",
64
+ "typedoc": "^0.28.15",
62
65
  "typedoc-plugin-mdn-links": "^5.0.10",
63
66
  "typedoc-plugin-replace-text": "^4.2.0",
64
67
  "typescript": "^5.9.3",
65
- "typescript-eslint": "^8.46.1",
68
+ "typescript-eslint": "^8.49.0",
66
69
  "vite-tsconfig-paths": "^5.1.4",
67
- "vitest": "^3.2.4"
70
+ "vitest": "^4.0.15"
68
71
  },
69
72
  "engines": {
70
73
  "node": ">=20"
@@ -76,6 +79,12 @@
76
79
  "default": "./dist/index.mjs"
77
80
  }
78
81
  },
82
+ "./cli": {
83
+ "import": {
84
+ "types": "./dist/cli.d.ts",
85
+ "default": "./dist/cli.mjs"
86
+ }
87
+ },
79
88
  "./cliHost": {
80
89
  "import": {
81
90
  "types": "./dist/cliHost.d.ts",
@@ -112,12 +121,6 @@
112
121
  "default": "./dist/plugins-cmd.mjs"
113
122
  }
114
123
  },
115
- "./plugins/demo": {
116
- "import": {
117
- "types": "./dist/plugins-demo.d.ts",
118
- "default": "./dist/plugins-demo.mjs"
119
- }
120
- },
121
124
  "./config": {
122
125
  "import": {
123
126
  "types": "./dist/config.d.ts",
@@ -189,7 +192,8 @@
189
192
  ]
190
193
  },
191
194
  "npm": {
192
- "publish": true
195
+ "publish": false,
196
+ "skipChecks": true
193
197
  }
194
198
  },
195
199
  "repository": {
@@ -208,7 +212,6 @@
208
212
  "lint:fix": "eslint --fix . eslint.config.ts",
209
213
  "release": "dotenvx run -f .env.local -- release-it",
210
214
  "release:pre": "dotenvx run -f .env.local -- release-it --no-git.requireBranch --github.prerelease --preRelease",
211
- "stan:docs": "typedoc --emit none",
212
215
  "test": "vitest run",
213
216
  "typecheck": "tsc -p tsconfig.json --noEmit",
214
217
  "verify:types": "node tools/verify-types.js",
@@ -219,5 +222,5 @@
219
222
  },
220
223
  "type": "module",
221
224
  "types": "dist/index.d.ts",
222
- "version": "6.0.0-1"
225
+ "version": "6.1.0"
223
226
  }