view-ignored 0.3.2 → 0.4.1

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 (57) hide show
  1. package/LICENSE.txt +21 -21
  2. package/README.md +95 -95
  3. package/bin/viewig +1 -1
  4. package/out/{src/browser → browser}/binds/index.d.ts +0 -19
  5. package/out/{src/browser → browser}/binds/index.js +2 -9
  6. package/out/browser/binds/plugins/git.d.ts +3 -0
  7. package/out/{src/browser → browser}/binds/plugins/git.js +7 -7
  8. package/out/browser/binds/plugins/npm.d.ts +3 -0
  9. package/out/{src/browser → browser}/binds/plugins/npm.js +8 -8
  10. package/out/browser/binds/plugins/vsce.d.ts +3 -0
  11. package/out/{src/browser → browser}/binds/plugins/vsce.js +5 -5
  12. package/out/browser/binds/plugins/yarn.d.ts +3 -0
  13. package/out/{src/browser → browser}/binds/plugins/yarn.js +3 -4
  14. package/out/{src/browser → browser}/binds/scanner.d.ts +0 -12
  15. package/out/{src/browser → browser}/binds/scanner.js +1 -7
  16. package/out/{src/browser → browser}/binds/targets.d.ts +2 -13
  17. package/out/{src/browser → browser}/binds/targets.js +2 -7
  18. package/out/{src/browser → browser}/errors.d.ts +0 -15
  19. package/out/{src/browser → browser}/errors.js +0 -15
  20. package/out/{src/browser → browser}/filtering.d.ts +0 -3
  21. package/out/{src/browser → browser}/filtering.js +0 -2
  22. package/out/{src/browser → browser}/fs/directory.d.ts +3 -56
  23. package/out/{src/browser → browser}/fs/directory.js +3 -6
  24. package/out/{src/browser → browser}/fs/file-info.d.ts +0 -5
  25. package/out/{src/browser → browser}/fs/file-info.js +13 -10
  26. package/out/{src/browser → browser}/fs/file.d.ts +0 -3
  27. package/out/{src/browser → browser}/fs/file.js +0 -3
  28. package/out/{src/browser → browser}/fs/source-info.d.ts +0 -1
  29. package/out/{src/browser → browser}/fs/source-info.js +0 -1
  30. package/out/{src/browser → browser}/lib.d.ts +1 -12
  31. package/out/{src/browser → browser}/lib.js +2 -5
  32. package/out/{src/browser → browser}/sorting.d.ts +0 -10
  33. package/out/{src/browser → browser}/sorting.js +0 -8
  34. package/out/{src/browser → browser}/styling.d.ts +0 -14
  35. package/out/{src/browser → browser}/styling.js +0 -7
  36. package/out/{src/cli.d.ts → cli.d.ts} +0 -47
  37. package/out/{src/cli.js → cli.js} +13 -45
  38. package/out/{src/config.d.ts → config.d.ts} +0 -57
  39. package/out/{src/config.js → config.js} +23 -50
  40. package/out/{src/errors.d.ts → errors.d.ts} +0 -1
  41. package/out/{src/styling.d.ts → styling.d.ts} +0 -6
  42. package/out/{src/styling.js → styling.js} +0 -6
  43. package/package.json +39 -47
  44. package/out/package.json +0 -122
  45. package/out/src/browser/binds/plugins/git.d.ts +0 -22
  46. package/out/src/browser/binds/plugins/npm.d.ts +0 -38
  47. package/out/src/browser/binds/plugins/vsce.d.ts +0 -25
  48. package/out/src/browser/binds/plugins/yarn.d.ts +0 -11
  49. /package/out/{src/browser → browser}/fs/index.d.ts +0 -0
  50. /package/out/{src/browser → browser}/fs/index.js +0 -0
  51. /package/out/{src/browser → browser}/index.d.ts +0 -0
  52. /package/out/{src/browser → browser}/index.js +0 -0
  53. /package/out/{src/errors.js → errors.js} +0 -0
  54. /package/out/{src/index.d.ts → index.d.ts} +0 -0
  55. /package/out/{src/index.js → index.js} +0 -0
  56. /package/out/{src/lib.d.ts → lib.d.ts} +0 -0
  57. /package/out/{src/lib.js → lib.js} +0 -0
@@ -8,29 +8,36 @@ import { sortNameList } from './browser/sorting.js';
8
8
  import { filterNameList } from './browser/filtering.js';
9
9
  /**
10
10
  * The full config file name - `".view-ignored"`.
11
- * @public
12
11
  */
13
12
  export const configFileName = '.view-ignored';
14
13
  /**
15
14
  * The user's home directory + the config file name.
16
15
  * @see {@link os.homedir}
17
- * @private
16
+ * @internal
18
17
  */
19
18
  const configFilePath = path.join(os.homedir(), configFileName);
20
19
  /**
21
20
  * Command-line configuration property list.
22
- * @public
23
- */
24
- export const configKeyList = ['posix', 'noColor', 'target', 'filter', 'sort', 'style', 'decor', 'depth', 'showSources', 'plugins', 'parsable', 'concurrency'];
25
- /**
26
- * @public
27
21
  */
22
+ export const configKeyList = [
23
+ 'posix',
24
+ 'noColor',
25
+ 'target',
26
+ 'filter',
27
+ 'sort',
28
+ 'style',
29
+ 'decor',
30
+ 'depth',
31
+ 'showSources',
32
+ 'plugins',
33
+ 'parsable',
34
+ 'concurrency',
35
+ ];
28
36
  export function isShowSources(value) {
29
37
  return typeof value === 'boolean';
30
38
  }
31
39
  /**
32
40
  * Command-line default config values.
33
- * @public
34
41
  */
35
42
  export const configDefault = {
36
43
  parsable: false,
@@ -46,9 +53,6 @@ export const configDefault = {
46
53
  showSources: false,
47
54
  concurrency: 8,
48
55
  };
49
- /**
50
- * @public
51
- */
52
56
  export const configValueArray = (type) => {
53
57
  const validator = value => {
54
58
  if (Array.isArray(value)) {
@@ -67,9 +71,6 @@ export const configValueArray = (type) => {
67
71
  validator.typeName = `${type?.typeName ?? 'any'}[]`;
68
72
  return validator;
69
73
  };
70
- /**
71
- * @public
72
- */
73
74
  export const configValueLiteral = (choices) => {
74
75
  const validator = value => {
75
76
  if (choices.includes(value)) {
@@ -80,21 +81,9 @@ export const configValueLiteral = (choices) => {
80
81
  validator.typeName = choices.map(choice => format('%o', choice)).join('|');
81
82
  return validator;
82
83
  };
83
- /**
84
- * @public
85
- */
86
84
  export const switchTrueValues = ['true', 'on', 'yes', 'y', 'enable', 'enabled', '1'];
87
- /**
88
- * @public
89
- */
90
85
  export const switchFalseValues = ['false', 'off', 'no', 'n', 'disable', 'disabled', '0'];
91
- /**
92
- * @public
93
- */
94
- export const booleanValues = switchTrueValues.concat(switchFalseValues);
95
- /**
96
- * @public
97
- */
86
+ export const booleanValues = [...switchTrueValues, ...switchFalseValues];
98
87
  export const configValueSwitch = () => {
99
88
  const validator = value => {
100
89
  if (booleanValues.includes(value)) {
@@ -105,9 +94,6 @@ export const configValueSwitch = () => {
105
94
  validator.typeName = 'switch';
106
95
  return validator;
107
96
  };
108
- /**
109
- * @public
110
- */
111
97
  export const configValueBoolean = () => {
112
98
  const validator = value => {
113
99
  if (typeof value === 'boolean') {
@@ -118,9 +104,6 @@ export const configValueBoolean = () => {
118
104
  validator.typeName = 'boolean';
119
105
  return validator;
120
106
  };
121
- /**
122
- * @public
123
- */
124
107
  export const configValueObject = () => {
125
108
  const validator = value => {
126
109
  if (value?.constructor === Object) {
@@ -131,9 +114,6 @@ export const configValueObject = () => {
131
114
  validator.typeName = 'object';
132
115
  return validator;
133
116
  };
134
- /**
135
- * @public
136
- */
137
117
  export const configValueString = () => {
138
118
  const validator = value => {
139
119
  if (typeof value === 'string') {
@@ -144,9 +124,6 @@ export const configValueString = () => {
144
124
  validator.typeName = 'string';
145
125
  return validator;
146
126
  };
147
- /**
148
- * @public
149
- */
150
127
  export const configValueNumber = () => {
151
128
  const validator = value => {
152
129
  if (typeof value === 'number') {
@@ -157,9 +134,6 @@ export const configValueNumber = () => {
157
134
  validator.typeName = 'number';
158
135
  return validator;
159
136
  };
160
- /**
161
- * @public
162
- */
163
137
  export const configValueInteger = () => {
164
138
  const validator = value => {
165
139
  if (typeof value === 'number' && (Number.isSafeInteger(value) || Math.abs(value) === Infinity)) {
@@ -172,7 +146,6 @@ export const configValueInteger = () => {
172
146
  };
173
147
  /**
174
148
  * File-specific actions container.
175
- * @public
176
149
  */
177
150
  export class ConfigManager {
178
151
  path;
@@ -242,7 +215,7 @@ export class ConfigManager {
242
215
  if (this.configValidation.has(key)) {
243
216
  return;
244
217
  }
245
- return `Unknown config key '${key}'. Choices: ${Array.from(this.configValidation.keys()).join(', ')}`;
218
+ return `Unknown config key '${key}'. Choices: ${[...this.configValidation.keys()].join(', ')}`;
246
219
  }
247
220
  checkValue(key, value) {
248
221
  const validate = this.configValidation.get(key);
@@ -310,18 +283,18 @@ export class ConfigManager {
310
283
  unset(key) {
311
284
  if (key === undefined) {
312
285
  for (const key of Object.keys(this.data)) {
313
- delete this.data[key]; // eslint-disable-line @typescript-eslint/no-dynamic-delete
286
+ delete this.data[key];
314
287
  }
315
288
  return this;
316
289
  }
317
- delete this.data[key]; // eslint-disable-line @typescript-eslint/no-dynamic-delete
290
+ delete this.data[key];
318
291
  return this;
319
292
  }
320
293
  /**
321
294
  * @returns An array of properties which defined in the configuration file.
322
295
  */
323
296
  keyList(real = true) {
324
- const keys = real ? Array.from(this.configValidation.keys()) : Object.keys(this.data);
297
+ const keys = real ? [...this.configValidation.keys()] : Object.keys(this.data);
325
298
  return keys;
326
299
  }
327
300
  get(key, options) {
@@ -353,19 +326,19 @@ export class ConfigManager {
353
326
  return `${key}\n${value}`;
354
327
  }).join('\n');
355
328
  }
356
- // eslint-disable-next-line unicorn/no-array-reduce
357
329
  const keyMaxLength = keys.reduce((maxLength, key) => Math.max(maxLength, key.length), 0);
358
330
  return keys.map((key) => {
359
331
  const value = format('%o', this.get(key, options));
360
332
  const type = this.getType(key);
361
333
  const pad = keyMaxLength - key.length;
362
- const line = types ? format(`${' '.repeat(pad)}%s ${highlight('=', chalk)} %s${highlight(':', chalk)} %s`, (chalk ? chalk.hex('#FFBC42')(key) : key), chalk ? highlight(value, chalk) : value, (chalk ? chalk.dim(highlight(type, chalk)) : type)) : format(`${' '.repeat(pad)}%s ${highlight('=', chalk)} %s`, (chalk ? chalk.hex('#FFBC42')(key) : key), chalk ? highlight(value, chalk) : value);
334
+ const line = types
335
+ ? format(`${' '.repeat(pad)}%s ${highlight('=', chalk)} %s${highlight(':', chalk)} %s`, (chalk ? chalk.hex('#FFBC42')(key) : key), chalk ? highlight(value, chalk) : value, (chalk ? chalk.dim(highlight(type, chalk)) : type))
336
+ : format(`${' '.repeat(pad)}%s ${highlight('=', chalk)} %s`, (chalk ? chalk.hex('#FFBC42')(key) : key), chalk ? highlight(value, chalk) : value);
363
337
  return line;
364
338
  }).join('\n');
365
339
  }
366
340
  }
367
341
  /**
368
342
  * File-specific actions container. Contains get, set, unset, save, load and other configuration actions.
369
- * @public
370
343
  */
371
344
  export const configManager = new ConfigManager(configFilePath);
@@ -2,6 +2,5 @@ import { type ConfigKey } from './config.js';
2
2
  export * from './browser/errors.js';
3
3
  /**
4
4
  * For each property of the configuration we have an error message.
5
- * @public
6
5
  */
7
6
  export type ConfigCheckMap = Map<string | ConfigKey, string>;
@@ -1,10 +1,4 @@
1
1
  import { type ChalkInstance } from 'chalk';
2
2
  export * from './browser/styling.js';
3
- /**
4
- * @public
5
- */
6
3
  export declare function highlight(text: string, chalk?: ChalkInstance): string;
7
- /**
8
- * @public
9
- */
10
4
  export declare function stringTime(time: number, chalk: ChalkInstance): string;
@@ -1,8 +1,5 @@
1
1
  import ansiRegex from 'ansi-regex';
2
2
  export * from './browser/styling.js';
3
- /**
4
- * @public
5
- */
6
3
  export function highlight(text, chalk) {
7
4
  if (chalk === undefined) {
8
5
  return text;
@@ -42,9 +39,6 @@ export function highlight(text, chalk) {
42
39
  });
43
40
  return colored;
44
41
  }
45
- /**
46
- * @public
47
- */
48
42
  export function stringTime(time, chalk) {
49
43
  if (time < 1000) {
50
44
  return `${highlight(String(time), chalk)} milliseconds`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "view-ignored",
3
- "version": "0.3.2",
3
+ "version": "0.4.1",
4
4
  "description": "Retrieve list of files ignored/included by Git, NPM, Yarn and VSC Extension.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,24 +8,24 @@
8
8
  "view-ignored": "./bin/viewig"
9
9
  },
10
10
  "scripts": {
11
- "prerelease": "pnpm lint && pnpm build:pub && pnpm test",
12
- "test": "pnpm mocha ./out/test/**/*.test.js",
13
- "build": "pnpm shx rm -rf out && pnpm tsc",
14
- "build:pub": "pnpm shx rm -rf out && pnpm tsc --sourceMap false",
15
- "build:watch": "pnpm shx rm -rf out && pnpm tsc --watch",
16
- "lint": "pnpm xo",
17
- "lint:fix": "pnpm xo --fix",
18
- "release:major": "pnpm release-it --increment=major",
19
- "release:minor": "pnpm release-it --increment=minor",
20
- "release:patch": "pnpm release-it --increment=patch"
11
+ "prerelease": "bun run lint && bun run build:pub && bun run test",
12
+ "test": "bun run node --test out/**/*.test.js",
13
+ "build": "bun run build:clean && bun run tsc -p src",
14
+ "build:pub": "bun run build:clean && bun run tsc -p src --sourceMap false && rm **/*.test.d.ts",
15
+ "build:watch": "bun run build:clean && bun run tsc -p src --watch",
16
+ "build:clean": "rm -rf out",
17
+ "lint": "bun run eslint .",
18
+ "release:major": "bun run release-it --increment=major",
19
+ "release:minor": "bun run release-it --increment=minor",
20
+ "release:patch": "bun run release-it --increment=patch"
21
21
  },
22
22
  "author": "Mopsgamer",
23
23
  "license": "ISC",
24
24
  "main": "./out/src/index.js",
25
25
  "files": [
26
26
  "/bin",
27
- "/out/src",
28
- "/out/package.json"
27
+ "/out",
28
+ "!**/*.test.js"
29
29
  ],
30
30
  "repository": {
31
31
  "type": "git",
@@ -36,8 +36,14 @@
36
36
  },
37
37
  "homepage": "https://github.com/Mopsgamer/view-ignored",
38
38
  "exports": {
39
- ".": "./out/src/index.js",
40
- "./browser": "./out/src/browser/index.js"
39
+ ".": {
40
+ "default": "./out/index.js",
41
+ "types": "./out/index.d.ts"
42
+ },
43
+ "./browser": {
44
+ "default": "./out/browser/index.js",
45
+ "types": "./out/browser/index.d.ts"
46
+ }
41
47
  },
42
48
  "release-it": {
43
49
  "hooks": {
@@ -57,53 +63,39 @@
57
63
  "publish": true
58
64
  }
59
65
  },
60
- "xo": {
61
- "ignores": "/out/",
62
- "rules": {
63
- "@typescript-eslint/promise-function-async": "off",
64
- "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
65
- "@typescript-eslint/no-unused-vars": "error",
66
- "n/no-unpublished-bin": "off",
67
- "linebreak-style": [
68
- "error",
69
- "unix"
70
- ]
71
- }
72
- },
73
66
  "publishConfig": {
74
67
  "access": "public"
75
68
  },
76
69
  "directories": {
77
- "lib": "out/src"
70
+ "lib": "out"
78
71
  },
79
72
  "dependencies": {
80
73
  "@humanwhocodes/gitignore-to-minimatch": "^1.0.2",
81
- "@m234/nerd-fonts": "^0.1.3",
74
+ "@m234/nerd-fonts": "^0.3.0",
82
75
  "ansi-regex": "^6.1.0",
83
76
  "boxen": "^8.0.1",
84
- "chalk": "^5.3.0",
85
- "commander": "^12.1.0",
77
+ "chalk": "^5.4.1",
78
+ "commander": "^14.0.0",
86
79
  "jsonify-paths": "^1.1.0",
87
- "listr2": "^8.2.5",
80
+ "listr2": "^8.3.3",
88
81
  "load-plugin": "^6.0.3",
89
- "minimatch": "^10.0.1",
90
- "p-limit": "^6.1.0",
82
+ "minimatch": "^10.0.3",
83
+ "p-limit": "^6.2.0",
91
84
  "treeify": "^1.1.0",
92
- "tslib": "^2.7.0",
93
- "yaml": "^2.5.1"
85
+ "tslib": "^2.8.1",
86
+ "yaml": "^2.8.0"
94
87
  },
95
88
  "devDependencies": {
96
- "@release-it/keep-a-changelog": "^5.0.0",
97
- "@types/mocha": "^10.0.9",
98
- "@types/node": "^20.16.11",
89
+ "@eslint/js": "^9.30.1",
90
+ "@release-it/keep-a-changelog": "^7.0.0",
91
+ "@types/node": "^24.0.10",
99
92
  "@types/treeify": "^1.0.3",
100
- "fs-fixture": "^2.4.0",
101
- "globals": "^15.11.0",
102
- "mocha": "^10.7.3",
103
- "release-it": "^17.8.2",
104
- "shx": "^0.3.4",
105
- "typescript": "^5.6.3",
106
- "xo": "^0.59.3"
93
+ "eslint": "^9.30.1",
94
+ "fs-fixture": "^2.8.1",
95
+ "globals": "^16.3.0",
96
+ "release-it": "^19.0.3",
97
+ "typescript": "^5.8.3",
98
+ "typescript-eslint": "^8.35.1"
107
99
  },
108
100
  "keywords": [
109
101
  "tree",
package/out/package.json DELETED
@@ -1,122 +0,0 @@
1
- {
2
- "name": "view-ignored",
3
- "version": "0.3.1",
4
- "description": "Retrieve list of files ignored/included by Git, NPM, Yarn and VSC Extension.",
5
- "type": "module",
6
- "bin": {
7
- "viewig": "./bin/viewig",
8
- "view-ignored": "./bin/viewig"
9
- },
10
- "scripts": {
11
- "prerelease": "pnpm lint && pnpm build:pub && pnpm test",
12
- "test": "pnpm mocha ./out/test/**/*.test.js",
13
- "build": "pnpm shx rm -rf out && pnpm tsc",
14
- "build:pub": "pnpm shx rm -rf out && pnpm tsc --sourceMap false",
15
- "build:watch": "pnpm shx rm -rf out && pnpm tsc --watch",
16
- "lint": "pnpm xo",
17
- "lint:fix": "pnpm xo --fix",
18
- "release:major": "pnpm release-it --increment=major",
19
- "release:minor": "pnpm release-it --increment=minor",
20
- "release:patch": "pnpm release-it --increment=patch"
21
- },
22
- "author": "Mopsgamer",
23
- "license": "ISC",
24
- "main": "./out/src/index.js",
25
- "files": [
26
- "/bin",
27
- "/out/src",
28
- "/out/package.json"
29
- ],
30
- "repository": {
31
- "type": "git",
32
- "url": "https://github.com/Mopsgamer/view-ignored.git"
33
- },
34
- "bugs": {
35
- "url": "https://github.com/Mopsgamer/view-ignored/issues"
36
- },
37
- "homepage": "https://github.com/Mopsgamer/view-ignored",
38
- "exports": {
39
- ".": "./out/src/index.js",
40
- "./browser": "./out/src/browser/index.js"
41
- },
42
- "release-it": {
43
- "hooks": {
44
- "before:init": "pnpm prerelease"
45
- },
46
- "plugins": {
47
- "@release-it/keep-a-changelog": {
48
- "filename": "CHANGELOG.md"
49
- }
50
- },
51
- "github": {
52
- "release": true,
53
- "draft": false,
54
- "releaseName": "${version}"
55
- },
56
- "npm": {
57
- "publish": true
58
- }
59
- },
60
- "xo": {
61
- "ignores": "/out/",
62
- "rules": {
63
- "@typescript-eslint/promise-function-async": "off",
64
- "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
65
- "@typescript-eslint/no-unused-vars": "error",
66
- "n/no-unpublished-bin": "off",
67
- "linebreak-style": [
68
- "error",
69
- "unix"
70
- ]
71
- }
72
- },
73
- "publishConfig": {
74
- "access": "public"
75
- },
76
- "directories": {
77
- "lib": "out/src"
78
- },
79
- "dependencies": {
80
- "@humanwhocodes/gitignore-to-minimatch": "^1.0.2",
81
- "@m234/nerd-fonts": "^0.1.3",
82
- "ansi-regex": "^6.1.0",
83
- "boxen": "^8.0.1",
84
- "chalk": "^5.3.0",
85
- "commander": "^12.1.0",
86
- "jsonify-paths": "^1.1.0",
87
- "listr2": "^8.2.5",
88
- "load-plugin": "^6.0.3",
89
- "minimatch": "^10.0.1",
90
- "p-limit": "^6.1.0",
91
- "treeify": "^1.1.0",
92
- "tslib": "^2.7.0",
93
- "yaml": "^2.5.1"
94
- },
95
- "devDependencies": {
96
- "@release-it/keep-a-changelog": "^5.0.0",
97
- "@types/mocha": "^10.0.9",
98
- "@types/node": "^20.16.11",
99
- "@types/treeify": "^1.0.3",
100
- "fs-fixture": "^2.4.0",
101
- "globals": "^15.11.0",
102
- "mocha": "^10.7.3",
103
- "release-it": "^17.8.2",
104
- "shx": "^0.3.4",
105
- "typescript": "^5.6.3",
106
- "xo": "^0.59.3"
107
- },
108
- "keywords": [
109
- "tree",
110
- "ls-tree",
111
- "ignore",
112
- "gitignore",
113
- "npmignore",
114
- "vscodeignore",
115
- "cli",
116
- "fs",
117
- "file-system",
118
- "output",
119
- "project",
120
- "migration"
121
- ]
122
- }
@@ -1,22 +0,0 @@
1
- import { type Plugins, type Methodology, File, SourceInfo, type Scanner } from '../../index.js';
2
- /**
3
- * @private
4
- */
5
- export declare const matcherExclude: string[];
6
- /**
7
- * For the source file parent directory we are getting all the cache recursively for all files.
8
- * @param map The output.
9
- * @param scanner The scanner.
10
- * @param sourceFile This file will be converted to a {@link SourceInfo}.
11
- * @private
12
- */
13
- export declare function useSourceFile(map: Map<File, SourceInfo>, sourceFile: File, scanner: Scanner & {
14
- pattern: string | string[];
15
- }): Map<File, SourceInfo>;
16
- /**
17
- * @param base The name for gitignore-like file.
18
- * @private
19
- */
20
- export declare const methodologyGitignoreLike: (base: string) => Methodology;
21
- declare const git: Plugins.PluginExport;
22
- export default git;
@@ -1,38 +0,0 @@
1
- import { type Plugins, type Methodology, type File, Directory, type SourceInfo } from '../../index.js';
2
- import { type PatternScanner } from '../scanner.js';
3
- /**
4
- * @private
5
- */
6
- export declare const matcherExclude: string[];
7
- /**
8
- * @private
9
- */
10
- export declare const matcherInclude: string[];
11
- /**
12
- * @private
13
- */
14
- export type ValidManifestNpm = {
15
- name: string;
16
- version: string;
17
- files?: string[];
18
- };
19
- /**
20
- * @private
21
- */
22
- export declare function isValidManifest(value: unknown): value is ValidManifestNpm;
23
- /**
24
- * @private
25
- */
26
- export declare function useChildren(tree: Directory, map: Map<File, SourceInfo>, getMap: (child: Directory) => Map<File, SourceInfo>): Map<File, SourceInfo>;
27
- /**
28
- * @private
29
- */
30
- export declare const sourceSearch: (priority: string[], scanner: PatternScanner) => Methodology;
31
- /**
32
- * @param priority The list of file names from highest to lowest priority.
33
- * @param scanner The pattern scanner.
34
- * @private
35
- */
36
- export declare const methodologyManifestNpmLike: (priority: string[], scanner: PatternScanner) => Methodology;
37
- declare const npm: Plugins.PluginExport;
38
- export default npm;
@@ -1,25 +0,0 @@
1
- import { type Plugins, type Methodology } from '../../index.js';
2
- /**
3
- * @private
4
- */
5
- export declare const matcherExclude: string[];
6
- /**
7
- * @private
8
- */
9
- export type ValidManifestVsce = {
10
- name: string;
11
- version: string;
12
- engines: {
13
- vscode: string;
14
- };
15
- };
16
- /**
17
- * @private
18
- */
19
- export declare function isValidManifest(value: unknown): value is ValidManifestVsce;
20
- /**
21
- * @private
22
- */
23
- export declare const methodologyManifestVsce: Methodology;
24
- declare const vsce: Plugins.PluginExport;
25
- export default vsce;
@@ -1,11 +0,0 @@
1
- import { type Plugins } from '../../index.js';
2
- /**
3
- * @private
4
- */
5
- export declare const matcherExclude: string[];
6
- /**
7
- * @private
8
- */
9
- export declare const matcherInclude: string[];
10
- declare const yarn: Plugins.PluginExport;
11
- export default yarn;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes