knip 6.22.0 → 6.23.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/ConfigurationChief.d.ts +6 -0
- package/dist/binaries/resolvers/index.d.ts +2 -0
- package/dist/binaries/resolvers/index.js +3 -0
- package/dist/binaries/resolvers/nub.d.ts +2 -0
- package/dist/binaries/resolvers/nub.js +46 -0
- package/dist/compilers/index.d.ts +10 -0
- package/dist/constants.js +2 -0
- package/dist/plugins/astro-markdoc/index.d.ts +3 -0
- package/dist/plugins/astro-markdoc/index.js +34 -0
- package/dist/plugins/astro-markdoc/types.d.ts +12 -0
- package/dist/plugins/astro-markdoc/types.js +1 -0
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/index.js +2 -0
- package/dist/plugins/node/index.js +1 -1
- package/dist/plugins/starlight/index.js +14 -1
- package/dist/plugins/vite/index.js +1 -1
- package/dist/plugins/vitest/index.js +3 -3
- package/dist/schema/configuration.d.ts +15 -0
- package/dist/schema/plugins.d.ts +5 -0
- package/dist/schema/plugins.js +1 -0
- package/dist/types/PluginNames.d.ts +2 -2
- package/dist/types/PluginNames.js +1 -0
- package/dist/util/create-options.d.ts +10 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/schema.json +4 -0
|
@@ -72,6 +72,11 @@ export declare class ConfigurationChief {
|
|
|
72
72
|
entry?: string | string[] | undefined;
|
|
73
73
|
project?: string | string[] | undefined;
|
|
74
74
|
} | undefined;
|
|
75
|
+
'astro-markdoc'?: string | boolean | string[] | {
|
|
76
|
+
config?: string | string[] | undefined;
|
|
77
|
+
entry?: string | string[] | undefined;
|
|
78
|
+
project?: string | string[] | undefined;
|
|
79
|
+
} | undefined;
|
|
75
80
|
'astro-og-canvas'?: string | boolean | string[] | {
|
|
76
81
|
config?: string | string[] | undefined;
|
|
77
82
|
entry?: string | string[] | undefined;
|
|
@@ -867,6 +872,7 @@ export declare class ConfigurationChief {
|
|
|
867
872
|
angular?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
868
873
|
astro?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
869
874
|
"astro-db"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
875
|
+
"astro-markdoc"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
870
876
|
"astro-og-canvas"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
871
877
|
ava?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
872
878
|
babel?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
bun: import("../../types/config.ts").BinaryResolver;
|
|
3
3
|
bunx: import("../../types/config.ts").BinaryResolver;
|
|
4
|
+
nub: import("../../types/config.ts").BinaryResolver;
|
|
5
|
+
nubx: import("../../types/config.ts").BinaryResolver;
|
|
4
6
|
find: import("../../types/config.ts").BinaryResolver;
|
|
5
7
|
npm: import("../../types/config.ts").BinaryResolver;
|
|
6
8
|
npx: import("../../types/config.ts").BinaryResolver;
|
|
@@ -3,12 +3,15 @@ import * as bunx from './bunx.js';
|
|
|
3
3
|
import * as find from './find.js';
|
|
4
4
|
import * as npm from './npm.js';
|
|
5
5
|
import * as npx from './npx.js';
|
|
6
|
+
import * as nub from './nub.js';
|
|
6
7
|
import * as pnpm from './pnpm.js';
|
|
7
8
|
import * as pnpx from './pnpx.js';
|
|
8
9
|
import * as yarn from './yarn.js';
|
|
9
10
|
export default {
|
|
10
11
|
bun: bun.resolve,
|
|
11
12
|
bunx: bunx.resolve,
|
|
13
|
+
nub: nub.resolve,
|
|
14
|
+
nubx: bunx.resolve,
|
|
12
15
|
find: find.resolve,
|
|
13
16
|
npm: npm.resolve,
|
|
14
17
|
npx: npx.resolve,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import parseArgs from '../../util/parse-args.js';
|
|
2
|
+
import { toBinary, toEntry } from '../../util/input.js';
|
|
3
|
+
import { isAbsolute, join } from '../../util/path.js';
|
|
4
|
+
import { _resolveSync } from '../../util/resolve.js';
|
|
5
|
+
import { resolveX } from './bunx.js';
|
|
6
|
+
const runtimes = new Set(['x', 'dlx', 'exec']);
|
|
7
|
+
const runners = new Set(['run', 'watch']);
|
|
8
|
+
const commands = new Set([
|
|
9
|
+
'add',
|
|
10
|
+
'approve-builds',
|
|
11
|
+
'audit',
|
|
12
|
+
'ci',
|
|
13
|
+
'create',
|
|
14
|
+
'init',
|
|
15
|
+
'install',
|
|
16
|
+
'link',
|
|
17
|
+
'node',
|
|
18
|
+
'outdated',
|
|
19
|
+
'pm',
|
|
20
|
+
'publish',
|
|
21
|
+
'remove',
|
|
22
|
+
'unlink',
|
|
23
|
+
'update',
|
|
24
|
+
'why',
|
|
25
|
+
]);
|
|
26
|
+
export const resolve = (_binary, args, options) => {
|
|
27
|
+
const binary = toBinary(_binary);
|
|
28
|
+
const { manifest, cwd, fromArgs } = options;
|
|
29
|
+
const parsed = parseArgs(args, { string: ['filter'], boolean: ['recursive'], alias: { recursive: 'r' } });
|
|
30
|
+
const [command, script] = parsed._;
|
|
31
|
+
if (runtimes.has(command)) {
|
|
32
|
+
const rest = args.filter(arg => arg !== command);
|
|
33
|
+
return [binary, ...resolveX(rest, options)];
|
|
34
|
+
}
|
|
35
|
+
if (parsed.recursive || parsed.filter)
|
|
36
|
+
return [binary];
|
|
37
|
+
if (runners.has(command)) {
|
|
38
|
+
if (!script || manifest.scriptNames.has(script))
|
|
39
|
+
return [binary];
|
|
40
|
+
const resolved = _resolveSync(isAbsolute(script) ? script : join(cwd, script), cwd);
|
|
41
|
+
return resolved ? [binary, toEntry(resolved)] : [binary];
|
|
42
|
+
}
|
|
43
|
+
if (command && (commands.has(command) || manifest.scriptNames.has(command)))
|
|
44
|
+
return [binary];
|
|
45
|
+
return [binary, ...fromArgs(['node', ...args])];
|
|
46
|
+
};
|
|
@@ -18,6 +18,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
18
18
|
entry?: string | string[] | undefined;
|
|
19
19
|
project?: string | string[] | undefined;
|
|
20
20
|
} | undefined;
|
|
21
|
+
'astro-markdoc'?: string | boolean | string[] | {
|
|
22
|
+
config?: string | string[] | undefined;
|
|
23
|
+
entry?: string | string[] | undefined;
|
|
24
|
+
project?: string | string[] | undefined;
|
|
25
|
+
} | undefined;
|
|
21
26
|
'astro-og-canvas'?: string | boolean | string[] | {
|
|
22
27
|
config?: string | string[] | undefined;
|
|
23
28
|
entry?: string | string[] | undefined;
|
|
@@ -820,6 +825,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
820
825
|
entry?: string | string[] | undefined;
|
|
821
826
|
project?: string | string[] | undefined;
|
|
822
827
|
} | undefined;
|
|
828
|
+
'astro-markdoc'?: string | boolean | string[] | {
|
|
829
|
+
config?: string | string[] | undefined;
|
|
830
|
+
entry?: string | string[] | undefined;
|
|
831
|
+
project?: string | string[] | undefined;
|
|
832
|
+
} | undefined;
|
|
823
833
|
'astro-og-canvas'?: string | boolean | string[] | {
|
|
824
834
|
config?: string | string[] | undefined;
|
|
825
835
|
entry?: string | string[] | undefined;
|
package/dist/constants.js
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { toProductionEntry } from '../../util/input.js';
|
|
2
|
+
import { hasDependency } from '../../util/plugin.js';
|
|
3
|
+
const title = 'Astro Markdoc';
|
|
4
|
+
const enablers = ['@astrojs/markdoc'];
|
|
5
|
+
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
6
|
+
const config = ['markdoc.config.{js,ts,mjs,mts}'];
|
|
7
|
+
const extractSpecifiers = (renderField) => {
|
|
8
|
+
if (typeof renderField === 'string') {
|
|
9
|
+
return [renderField.split('#')[0]];
|
|
10
|
+
}
|
|
11
|
+
if (renderField && typeof renderField === 'object') {
|
|
12
|
+
for (const key of ['Component', 'file', 'path']) {
|
|
13
|
+
if (typeof renderField[key] === 'string') {
|
|
14
|
+
return [renderField[key].split('#')[0]];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return [];
|
|
19
|
+
};
|
|
20
|
+
const resolveConfig = async (localConfig) => {
|
|
21
|
+
if (!localConfig)
|
|
22
|
+
return [];
|
|
23
|
+
const entries = [...Object.values(localConfig.nodes ?? {}), ...Object.values(localConfig.tags ?? {})];
|
|
24
|
+
const specifiers = entries.flatMap(item => item && typeof item === 'object' && 'render' in item ? extractSpecifiers(item.render) : []);
|
|
25
|
+
return specifiers.map(id => toProductionEntry(id));
|
|
26
|
+
};
|
|
27
|
+
const plugin = {
|
|
28
|
+
title,
|
|
29
|
+
enablers,
|
|
30
|
+
isEnabled,
|
|
31
|
+
config,
|
|
32
|
+
resolveConfig,
|
|
33
|
+
};
|
|
34
|
+
export default plugin;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type MarkdocRenderSpecifier = string | {
|
|
2
|
+
[key: string]: unknown;
|
|
3
|
+
};
|
|
4
|
+
type MarkdocRenderableNode = {
|
|
5
|
+
render?: MarkdocRenderSpecifier;
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
};
|
|
8
|
+
export type MarkdocConfig = {
|
|
9
|
+
nodes?: Record<string, MarkdocRenderableNode>;
|
|
10
|
+
tags?: Record<string, MarkdocRenderableNode>;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/plugins/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export declare const Plugins: {
|
|
|
2
2
|
angular: import("../types/config.ts").Plugin;
|
|
3
3
|
astro: import("../types/config.ts").Plugin;
|
|
4
4
|
'astro-db': import("../types/config.ts").Plugin;
|
|
5
|
+
'astro-markdoc': import("../types/config.ts").Plugin;
|
|
5
6
|
'astro-og-canvas': import("../types/config.ts").Plugin;
|
|
6
7
|
ava: import("../types/config.ts").Plugin;
|
|
7
8
|
babel: import("../types/config.ts").Plugin;
|
package/dist/plugins/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as angular } from './angular/index.js';
|
|
2
2
|
import { default as astro } from './astro/index.js';
|
|
3
3
|
import { default as astroDb } from './astro-db/index.js';
|
|
4
|
+
import { default as astroMarkdoc } from './astro-markdoc/index.js';
|
|
4
5
|
import { default as astroOgCanvas } from './astro-og-canvas/index.js';
|
|
5
6
|
import { default as ava } from './ava/index.js';
|
|
6
7
|
import { default as babel } from './babel/index.js';
|
|
@@ -158,6 +159,7 @@ export const Plugins = {
|
|
|
158
159
|
angular,
|
|
159
160
|
astro,
|
|
160
161
|
'astro-db': astroDb,
|
|
162
|
+
'astro-markdoc': astroMarkdoc,
|
|
161
163
|
'astro-og-canvas': astroOgCanvas,
|
|
162
164
|
ava,
|
|
163
165
|
babel,
|
|
@@ -7,7 +7,7 @@ const patterns = [
|
|
|
7
7
|
'**/test.{cjs,mjs,js,cts,mts,ts}',
|
|
8
8
|
'**/test/**/*.{cjs,mjs,js,cts,mts,ts}',
|
|
9
9
|
];
|
|
10
|
-
const hasNodeTest = (scripts) => scripts && Object.values(scripts).some(script => /(?<=^|\s)node\s(.*)--test/.test(script));
|
|
10
|
+
const hasNodeTest = (scripts) => scripts && Object.values(scripts).some(script => /(?<=^|\s)(node|nub)\s(.*)--test/.test(script));
|
|
11
11
|
const entry = ['server.js'];
|
|
12
12
|
const resolve = options => {
|
|
13
13
|
const entries = entry.map(id => toProductionEntry(id));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { findCallArg, getDefaultImportName, getImportMap, getPropertyValues } from '../../typescript/ast-helpers.js';
|
|
1
2
|
import { toProductionEntry } from '../../util/input.js';
|
|
2
3
|
import { hasDependency } from '../../util/plugin.js';
|
|
3
4
|
import { config } from '../astro/index.js';
|
|
@@ -7,7 +8,19 @@ const enablers = ['@astrojs/starlight'];
|
|
|
7
8
|
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
8
9
|
const resolveFromAST = program => {
|
|
9
10
|
const componentPaths = getComponentPathsFromSourceFile(program);
|
|
10
|
-
|
|
11
|
+
const inputs = Array.from(componentPaths).map(id => toProductionEntry(id));
|
|
12
|
+
const importMap = getImportMap(program);
|
|
13
|
+
const starlightImportName = getDefaultImportName(importMap, '@astrojs/starlight');
|
|
14
|
+
if (starlightImportName) {
|
|
15
|
+
const starlightConfig = findCallArg(program, starlightImportName);
|
|
16
|
+
if (starlightConfig) {
|
|
17
|
+
const customCssPaths = getPropertyValues(starlightConfig, 'customCss');
|
|
18
|
+
for (const id of customCssPaths) {
|
|
19
|
+
inputs.push(toProductionEntry(id));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return inputs;
|
|
11
24
|
};
|
|
12
25
|
const plugin = {
|
|
13
26
|
title,
|
|
@@ -3,7 +3,7 @@ import { resolveConfig } from '../vitest/index.js';
|
|
|
3
3
|
import { getBabelInputs, getIndexHtmlEntries } from './helpers.js';
|
|
4
4
|
import { createImportMetaGlobVisitor } from './visitors/importMetaGlob.js';
|
|
5
5
|
const title = 'Vite';
|
|
6
|
-
const enablers = ['vite', 'vitest'];
|
|
6
|
+
const enablers = ['vite', 'vitest', 'vite-plus'];
|
|
7
7
|
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
8
8
|
export const config = ['vite.config.{js,mjs,ts,cjs,mts,cts}'];
|
|
9
9
|
const resolveFromAST = program => getBabelInputs(program);
|
|
@@ -7,7 +7,7 @@ import { hasDependency } from '../../util/plugin.js';
|
|
|
7
7
|
import { getIndexHtmlEntries } from '../vite/helpers.js';
|
|
8
8
|
import { getAliasInputs, getEnvSpecifier, getExternalReporters } from './helpers.js';
|
|
9
9
|
const title = 'Vitest';
|
|
10
|
-
const enablers = ['vitest'];
|
|
10
|
+
const enablers = ['vitest', 'vite-plus'];
|
|
11
11
|
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
12
12
|
const config = ['vitest.config.{js,mjs,ts,cjs,mts,cts}', 'vitest.{workspace,projects}.{js,mjs,ts,cjs,mts,cts,json}'];
|
|
13
13
|
const mocks = ['**/__mocks__/**/*.?(c|m)[jt]s?(x)'];
|
|
@@ -143,11 +143,11 @@ export const resolveConfig = async (localConfig, options) => {
|
|
|
143
143
|
if (cfg.resolve?.alias)
|
|
144
144
|
addAliases(cfg.resolve.alias);
|
|
145
145
|
for (const dependency of cfg.resolve?.dedupe ?? [])
|
|
146
|
-
inputs.add(toDependency(dependency));
|
|
146
|
+
inputs.add(toDependency(dependency, { optional: true }));
|
|
147
147
|
for (const dependency of cfg.optimizeDeps?.include ?? []) {
|
|
148
148
|
const packageName = getOptimizeDepsIncludePackageName(dependency);
|
|
149
149
|
if (packageName)
|
|
150
|
-
inputs.add(toDependency(packageName));
|
|
150
|
+
inputs.add(toDependency(packageName, { optional: true }));
|
|
151
151
|
}
|
|
152
152
|
if (cfg.resolve?.extensions) {
|
|
153
153
|
const customExtensions = cfg.resolve.extensions.filter(ext => ext.startsWith('.') && !DEFAULT_EXTENSIONS.has(ext));
|
|
@@ -16,6 +16,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
|
|
|
16
16
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
17
17
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
18
18
|
}, z.core.$strip>]>>;
|
|
19
|
+
'astro-markdoc': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
20
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
21
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
22
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
23
|
+
}, z.core.$strip>]>>;
|
|
19
24
|
'astro-og-canvas': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
20
25
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
21
26
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -812,6 +817,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
812
817
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
813
818
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
814
819
|
}, z.core.$strip>]>>;
|
|
820
|
+
'astro-markdoc': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
821
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
822
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
823
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
824
|
+
}, z.core.$strip>]>>;
|
|
815
825
|
'astro-og-canvas': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
816
826
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
817
827
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -1622,6 +1632,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
1622
1632
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1623
1633
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1624
1634
|
}, z.core.$strip>]>>;
|
|
1635
|
+
'astro-markdoc': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1636
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1637
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1638
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1639
|
+
}, z.core.$strip>]>>;
|
|
1625
1640
|
'astro-og-canvas': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1626
1641
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1627
1642
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
package/dist/schema/plugins.d.ts
CHANGED
|
@@ -21,6 +21,11 @@ export declare const pluginsSchema: z.ZodMiniObject<{
|
|
|
21
21
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
22
22
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
23
23
|
}, z.core.$strip>]>;
|
|
24
|
+
'astro-markdoc': z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
25
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
26
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
27
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
28
|
+
}, z.core.$strip>]>;
|
|
24
29
|
'astro-og-canvas': z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
25
30
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
26
31
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
package/dist/schema/plugins.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type PluginName = 'angular' | 'astro' | 'astro-db' | 'astro-og-canvas' | 'ava' | 'babel' | 'biome' | 'bumpp' | 'bun' | 'c8' | 'capacitor' | 'catalyst' | 'changelogen' | 'changelogithub' | 'changesets' | 'commitizen' | 'commitlint' | 'convex' | 'create-typescript-app' | 'cspell' | 'cucumber' | 'cypress' | 'danger' | 'dependency-cruiser' | 'docusaurus' | 'dotenv' | 'drizzle' | 'eleventy' | 'eslint' | 'execa' | 'expo' | 'expressive-code' | 'fast' | 'gatsby' | 'github-action' | 'github-actions' | 'glob' | 'graphql-codegen' | 'hardhat' | 'husky' | 'i18next-parser' | 'jest' | 'karma' | 'knex' | 'ladle' | 'lefthook' | 'lint-staged' | 'linthtml' | 'lit' | 'lockfile-lint' | 'lost-pixel' | 'lunaria' | 'markdownlint' | 'mdx' | 'mdxlint' | 'metro' | 'mocha' | 'moonrepo' | 'msw' | 'nano-spawn' | 'nano-staged' | 'nest' | 'netlify' | 'next' | 'next-intl' | 'next-mdx' | 'nitro' | 'node' | 'node-modules-inspector' | 'nodemon' | 'npm-package-json-lint' | 'nuxt' | 'nx' | 'nyc' | 'oclif' | 'openapi-ts' | 'orval' | 'oxfmt' | 'oxlint' | 'panda-css' | 'parcel' | 'payload' | 'pino' | 'playwright' | 'playwright-ct' | 'playwright-test' | 'plop' | 'pm2' | 'pnpm' | 'postcss' | 'preconstruct' | 'prettier' | 'prisma' | 'qwik' | 'raycast' | 'react-cosmos' | 'react-email' | 'react-native' | 'react-router' | 'relay' | 'release-it' | 'remark' | 'remix' | 'rolldown' | 'rollup' | 'rsbuild' | 'rslib' | 'rspack' | 'rstest' | 'sanity' | 'semantic-release' | 'sentry' | 'serverless-framework' | 'simple-git-hooks' | 'size-limit' | 'sst' | 'starlight' | 'stencil' | 'storybook' | 'stryker' | 'stylelint' | 'svelte' | 'sveltejs-package' | 'sveltekit' | 'svgo' | 'svgr' | 'swc' | 'syncpack' | 'tailwind' | 'tanstack-router' | 'taskfile' | 'travis' | 'ts-node' | 'tsdown' | 'tsup' | 'tsx' | 'typedoc' | 'typescript' | 'unbuild' | 'unocss' | 'vercel' | 'vercel-og' | 'vike' | 'vite' | 'vitepress' | 'vitest' | 'vue' | 'webdriver-io' | 'webpack' | 'wireit' | 'wrangler' | 'wxt' | 'xo' | 'yarn' | 'yorkie' | 'zx';
|
|
2
|
-
export declare const pluginNames: readonly ['angular', 'astro', 'astro-db', 'astro-og-canvas', 'ava', 'babel', 'biome', 'bumpp', 'bun', 'c8', 'capacitor', 'catalyst', 'changelogen', 'changelogithub', 'changesets', 'commitizen', 'commitlint', 'convex', 'create-typescript-app', 'cspell', 'cucumber', 'cypress', 'danger', 'dependency-cruiser', 'docusaurus', 'dotenv', 'drizzle', 'eleventy', 'eslint', 'execa', 'expo', 'expressive-code', 'fast', 'gatsby', 'github-action', 'github-actions', 'glob', 'graphql-codegen', 'hardhat', 'husky', 'i18next-parser', 'jest', 'karma', 'knex', 'ladle', 'lefthook', 'lint-staged', 'linthtml', 'lit', 'lockfile-lint', 'lost-pixel', 'lunaria', 'markdownlint', 'mdx', 'mdxlint', 'metro', 'mocha', 'moonrepo', 'msw', 'nano-spawn', 'nano-staged', 'nest', 'netlify', 'next', 'next-intl', 'next-mdx', 'nitro', 'node', 'node-modules-inspector', 'nodemon', 'npm-package-json-lint', 'nuxt', 'nx', 'nyc', 'oclif', 'openapi-ts', 'orval', 'oxfmt', 'oxlint', 'panda-css', 'parcel', 'payload', 'pino', 'playwright', 'playwright-ct', 'playwright-test', 'plop', 'pm2', 'pnpm', 'postcss', 'preconstruct', 'prettier', 'prisma', 'qwik', 'raycast', 'react-cosmos', 'react-email', 'react-native', 'react-router', 'relay', 'release-it', 'remark', 'remix', 'rolldown', 'rollup', 'rsbuild', 'rslib', 'rspack', 'rstest', 'sanity', 'semantic-release', 'sentry', 'serverless-framework', 'simple-git-hooks', 'size-limit', 'sst', 'starlight', 'stencil', 'storybook', 'stryker', 'stylelint', 'svelte', 'sveltejs-package', 'sveltekit', 'svgo', 'svgr', 'swc', 'syncpack', 'tailwind', 'tanstack-router', 'taskfile', 'travis', 'ts-node', 'tsdown', 'tsup', 'tsx', 'typedoc', 'typescript', 'unbuild', 'unocss', 'vercel', 'vercel-og', 'vike', 'vite', 'vitepress', 'vitest', 'vue', 'webdriver-io', 'webpack', 'wireit', 'wrangler', 'wxt', 'xo', 'yarn', 'yorkie', 'zx'];
|
|
1
|
+
export type PluginName = 'angular' | 'astro' | 'astro-db' | 'astro-markdoc' | 'astro-og-canvas' | 'ava' | 'babel' | 'biome' | 'bumpp' | 'bun' | 'c8' | 'capacitor' | 'catalyst' | 'changelogen' | 'changelogithub' | 'changesets' | 'commitizen' | 'commitlint' | 'convex' | 'create-typescript-app' | 'cspell' | 'cucumber' | 'cypress' | 'danger' | 'dependency-cruiser' | 'docusaurus' | 'dotenv' | 'drizzle' | 'eleventy' | 'eslint' | 'execa' | 'expo' | 'expressive-code' | 'fast' | 'gatsby' | 'github-action' | 'github-actions' | 'glob' | 'graphql-codegen' | 'hardhat' | 'husky' | 'i18next-parser' | 'jest' | 'karma' | 'knex' | 'ladle' | 'lefthook' | 'lint-staged' | 'linthtml' | 'lit' | 'lockfile-lint' | 'lost-pixel' | 'lunaria' | 'markdownlint' | 'mdx' | 'mdxlint' | 'metro' | 'mocha' | 'moonrepo' | 'msw' | 'nano-spawn' | 'nano-staged' | 'nest' | 'netlify' | 'next' | 'next-intl' | 'next-mdx' | 'nitro' | 'node' | 'node-modules-inspector' | 'nodemon' | 'npm-package-json-lint' | 'nuxt' | 'nx' | 'nyc' | 'oclif' | 'openapi-ts' | 'orval' | 'oxfmt' | 'oxlint' | 'panda-css' | 'parcel' | 'payload' | 'pino' | 'playwright' | 'playwright-ct' | 'playwright-test' | 'plop' | 'pm2' | 'pnpm' | 'postcss' | 'preconstruct' | 'prettier' | 'prisma' | 'qwik' | 'raycast' | 'react-cosmos' | 'react-email' | 'react-native' | 'react-router' | 'relay' | 'release-it' | 'remark' | 'remix' | 'rolldown' | 'rollup' | 'rsbuild' | 'rslib' | 'rspack' | 'rstest' | 'sanity' | 'semantic-release' | 'sentry' | 'serverless-framework' | 'simple-git-hooks' | 'size-limit' | 'sst' | 'starlight' | 'stencil' | 'storybook' | 'stryker' | 'stylelint' | 'svelte' | 'sveltejs-package' | 'sveltekit' | 'svgo' | 'svgr' | 'swc' | 'syncpack' | 'tailwind' | 'tanstack-router' | 'taskfile' | 'travis' | 'ts-node' | 'tsdown' | 'tsup' | 'tsx' | 'typedoc' | 'typescript' | 'unbuild' | 'unocss' | 'vercel' | 'vercel-og' | 'vike' | 'vite' | 'vitepress' | 'vitest' | 'vue' | 'webdriver-io' | 'webpack' | 'wireit' | 'wrangler' | 'wxt' | 'xo' | 'yarn' | 'yorkie' | 'zx';
|
|
2
|
+
export declare const pluginNames: readonly ['angular', 'astro', 'astro-db', 'astro-markdoc', 'astro-og-canvas', 'ava', 'babel', 'biome', 'bumpp', 'bun', 'c8', 'capacitor', 'catalyst', 'changelogen', 'changelogithub', 'changesets', 'commitizen', 'commitlint', 'convex', 'create-typescript-app', 'cspell', 'cucumber', 'cypress', 'danger', 'dependency-cruiser', 'docusaurus', 'dotenv', 'drizzle', 'eleventy', 'eslint', 'execa', 'expo', 'expressive-code', 'fast', 'gatsby', 'github-action', 'github-actions', 'glob', 'graphql-codegen', 'hardhat', 'husky', 'i18next-parser', 'jest', 'karma', 'knex', 'ladle', 'lefthook', 'lint-staged', 'linthtml', 'lit', 'lockfile-lint', 'lost-pixel', 'lunaria', 'markdownlint', 'mdx', 'mdxlint', 'metro', 'mocha', 'moonrepo', 'msw', 'nano-spawn', 'nano-staged', 'nest', 'netlify', 'next', 'next-intl', 'next-mdx', 'nitro', 'node', 'node-modules-inspector', 'nodemon', 'npm-package-json-lint', 'nuxt', 'nx', 'nyc', 'oclif', 'openapi-ts', 'orval', 'oxfmt', 'oxlint', 'panda-css', 'parcel', 'payload', 'pino', 'playwright', 'playwright-ct', 'playwright-test', 'plop', 'pm2', 'pnpm', 'postcss', 'preconstruct', 'prettier', 'prisma', 'qwik', 'raycast', 'react-cosmos', 'react-email', 'react-native', 'react-router', 'relay', 'release-it', 'remark', 'remix', 'rolldown', 'rollup', 'rsbuild', 'rslib', 'rspack', 'rstest', 'sanity', 'semantic-release', 'sentry', 'serverless-framework', 'simple-git-hooks', 'size-limit', 'sst', 'starlight', 'stencil', 'storybook', 'stryker', 'stylelint', 'svelte', 'sveltejs-package', 'sveltekit', 'svgo', 'svgr', 'swc', 'syncpack', 'tailwind', 'tanstack-router', 'taskfile', 'travis', 'ts-node', 'tsdown', 'tsup', 'tsx', 'typedoc', 'typescript', 'unbuild', 'unocss', 'vercel', 'vercel-og', 'vike', 'vite', 'vitepress', 'vitest', 'vue', 'webdriver-io', 'webpack', 'wireit', 'wrangler', 'wxt', 'xo', 'yarn', 'yorkie', 'zx'];
|
|
@@ -58,6 +58,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
58
58
|
entry?: string | string[] | undefined;
|
|
59
59
|
project?: string | string[] | undefined;
|
|
60
60
|
} | undefined;
|
|
61
|
+
'astro-markdoc'?: string | boolean | string[] | {
|
|
62
|
+
config?: string | string[] | undefined;
|
|
63
|
+
entry?: string | string[] | undefined;
|
|
64
|
+
project?: string | string[] | undefined;
|
|
65
|
+
} | undefined;
|
|
61
66
|
'astro-og-canvas'?: string | boolean | string[] | {
|
|
62
67
|
config?: string | string[] | undefined;
|
|
63
68
|
entry?: string | string[] | undefined;
|
|
@@ -862,6 +867,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
862
867
|
entry?: string | string[] | undefined;
|
|
863
868
|
project?: string | string[] | undefined;
|
|
864
869
|
} | undefined;
|
|
870
|
+
'astro-markdoc'?: string | boolean | string[] | {
|
|
871
|
+
config?: string | string[] | undefined;
|
|
872
|
+
entry?: string | string[] | undefined;
|
|
873
|
+
project?: string | string[] | undefined;
|
|
874
|
+
} | undefined;
|
|
865
875
|
'astro-og-canvas'?: string | boolean | string[] | {
|
|
866
876
|
config?: string | string[] | undefined;
|
|
867
877
|
entry?: string | string[] | undefined;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "6.
|
|
1
|
+
export declare const version = "6.23.0";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '6.
|
|
1
|
+
export const version = '6.23.0';
|
package/package.json
CHANGED
package/schema.json
CHANGED
|
@@ -379,6 +379,10 @@
|
|
|
379
379
|
"title": "astro-db plugin configuration (https://knip.dev/reference/plugins/astro-db)",
|
|
380
380
|
"$ref": "#/definitions/plugin"
|
|
381
381
|
},
|
|
382
|
+
"astro-markdoc": {
|
|
383
|
+
"title": "astro-markdoc plugin configuration (https://knip.dev/reference/plugins/astro-markdoc)",
|
|
384
|
+
"$ref": "#/definitions/plugin"
|
|
385
|
+
},
|
|
382
386
|
"ava": {
|
|
383
387
|
"title": "ava plugin configuration (https://knip.dev/reference/plugins/ava)",
|
|
384
388
|
"$ref": "#/definitions/plugin"
|