@sprucelabs/spruce-cli 18.3.1 → 18.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.
Files changed (66) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js +2 -14
  3. package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js.map +1 -1
  4. package/build/__tests__/behavioral/permissions/PermissionStore.test.js.map +1 -1
  5. package/build/__tests__/behavioral/permissions/SyncingPermissions.test.d.ts +1 -0
  6. package/build/__tests__/behavioral/permissions/SyncingPermissions.test.js +53 -18
  7. package/build/__tests__/behavioral/permissions/SyncingPermissions.test.js.map +1 -1
  8. package/build/__tests__/behavioral/views/WatchingSkillViews.test.js +1 -1
  9. package/build/__tests__/behavioral/views/WatchingSkillViews.test.js.map +1 -1
  10. package/build/__tests__/support/EventFaker.d.ts +1 -1
  11. package/build/__tests__/support/EventFaker.js.map +1 -1
  12. package/build/features/eventContract/EventContractFeature.js +1 -4
  13. package/build/features/eventContract/EventContractFeature.js.map +1 -1
  14. package/build/features/eventContract/actions/PullAction.d.ts +1 -0
  15. package/build/features/eventContract/actions/PullAction.js +49 -8
  16. package/build/features/eventContract/actions/PullAction.js.map +1 -1
  17. package/build/features/permission/PermissionFeature.js +19 -9
  18. package/build/features/permission/PermissionFeature.js.map +1 -1
  19. package/build/features/permission/actions/SyncAction.d.ts +22 -3
  20. package/build/features/permission/actions/SyncAction.js +58 -16
  21. package/build/features/permission/actions/SyncAction.js.map +1 -1
  22. package/build/features/permission/stores/PermissionStore.d.ts +6 -2
  23. package/build/features/permission/stores/PermissionStore.js +25 -21
  24. package/build/features/permission/stores/PermissionStore.js.map +1 -1
  25. package/build/features/view/actions/WatchAction.js +1 -1
  26. package/build/features/view/actions/WatchAction.js.map +1 -1
  27. package/node_modules/@typescript-eslint/parser/README.md +6 -300
  28. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
  29. package/node_modules/@typescript-eslint/parser/dist/parser.js +15 -17
  30. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
  31. package/node_modules/@typescript-eslint/parser/package.json +5 -5
  32. package/node_modules/@typescript-eslint/scope-manager/README.md +5 -117
  33. package/node_modules/@typescript-eslint/scope-manager/package.json +5 -5
  34. package/node_modules/@typescript-eslint/types/README.md +6 -11
  35. package/node_modules/@typescript-eslint/types/package.json +2 -2
  36. package/node_modules/@typescript-eslint/typescript-estree/README.md +6 -379
  37. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/{createWatchProgram.d.ts → getWatchProgramsForProjects.d.ts} +3 -4
  38. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/index.d.ts +1 -1
  39. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +3 -3
  40. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -1
  41. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/{createWatchProgram.d.ts → getWatchProgramsForProjects.d.ts} +3 -4
  42. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map +1 -0
  43. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/{createWatchProgram.js → getWatchProgramsForProjects.js} +4 -5
  44. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +1 -0
  45. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +1 -1
  46. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -1
  47. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +2 -2
  48. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -1
  49. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +2 -2
  50. package/node_modules/@typescript-eslint/typescript-estree/package.json +5 -5
  51. package/node_modules/@typescript-eslint/visitor-keys/README.md +6 -9
  52. package/node_modules/@typescript-eslint/visitor-keys/package.json +3 -3
  53. package/package.json +3 -3
  54. package/src/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.ts +0 -5
  55. package/src/__tests__/behavioral/permissions/PermissionStore.test.ts +1 -1
  56. package/src/__tests__/behavioral/permissions/SyncingPermissions.test.ts +21 -3
  57. package/src/__tests__/behavioral/views/WatchingSkillViews.test.ts +1 -1
  58. package/src/__tests__/support/EventFaker.ts +1 -2
  59. package/src/features/eventContract/EventContractFeature.ts +1 -6
  60. package/src/features/eventContract/actions/PullAction.ts +21 -3
  61. package/src/features/permission/PermissionFeature.ts +2 -7
  62. package/src/features/permission/actions/SyncAction.ts +42 -5
  63. package/src/features/permission/stores/PermissionStore.ts +25 -11
  64. package/src/features/view/actions/WatchAction.ts +1 -1
  65. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts.map +0 -1
  66. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +0 -1
@@ -1,383 +1,10 @@
1
- <h1 align="center">TypeScript ESTree</h1>
1
+ # `@typescript-eslint/typescript-estree`
2
2
 
3
- <p align="center">A parser that converts TypeScript source code into an <a href="https://github.com/estree/estree">ESTree</a>-compatible form</p>
4
-
5
- <p align="center">
6
- <img src="https://github.com/typescript-eslint/typescript-eslint/workflows/CI/badge.svg" alt="CI" />
7
- <a href="https://www.npmjs.com/package/@typescript-eslint/typescript-estree"><img src="https://img.shields.io/npm/v/@typescript-eslint/typescript-estree.svg?style=flat-square" alt="NPM Version" /></a>
8
- <a href="https://www.npmjs.com/package/@typescript-eslint/typescript-estree"><img src="https://img.shields.io/npm/dm/@typescript-eslint/typescript-estree.svg?style=flat-square" alt="NPM Downloads" /></a>
9
- </p>
10
-
11
- ## Getting Started
12
-
13
- **[You can find our Getting Started docs here](https://typescript-eslint.io/docs)**
14
-
15
- ## About
16
-
17
- This parser is somewhat generic and robust, and could be used to power any use-case which requires taking TypeScript source code and producing an ESTree-compatible AST.
18
-
19
- In fact, it is already used within these hyper-popular open-source projects to power their TypeScript support:
20
-
21
- - [ESLint](https://eslint.org), the pluggable linting utility for JavaScript and JSX
22
- - [Prettier](https://prettier.io), an opinionated code formatter
23
-
24
- ## Installation
25
-
26
- ```sh
27
- yarn add -D @typescript-eslint/typescript-estree
28
- ```
29
-
30
- ## API
31
-
32
- ### Parsing
33
-
34
- #### `parse(code, options)`
35
-
36
- Parses the given string of code with the options provided and returns an ESTree-compatible AST.
37
-
38
- ```ts
39
- interface ParseOptions {
40
- /**
41
- * create a top-level comments array containing all comments
42
- */
43
- comment?: boolean;
44
-
45
- /**
46
- * An array of modules to turn explicit debugging on for.
47
- * - 'typescript-eslint' is the same as setting the env var `DEBUG=typescript-eslint:*`
48
- * - 'eslint' is the same as setting the env var `DEBUG=eslint:*`
49
- * - 'typescript' is the same as setting `extendedDiagnostics: true` in your tsconfig compilerOptions
50
- *
51
- * For convenience, also supports a boolean:
52
- * - true === ['typescript-eslint']
53
- * - false === []
54
- */
55
- debugLevel?: boolean | ('typescript-eslint' | 'eslint' | 'typescript')[];
56
-
57
- /**
58
- * Cause the parser to error if it encounters an unknown AST node type (useful for testing).
59
- * This case only usually occurs when TypeScript releases new features.
60
- */
61
- errorOnUnknownASTType?: boolean;
62
-
63
- /**
64
- * Absolute (or relative to `cwd`) path to the file being parsed.
65
- */
66
- filePath?: string;
67
-
68
- /**
69
- * Enable parsing of JSX.
70
- * For more details, see https://www.typescriptlang.org/docs/handbook/jsx.html
71
- *
72
- * NOTE: this setting does not effect known file types (.js, .cjs, .mjs, .jsx, .ts, .mts, .cts, .tsx, .json) because the
73
- * TypeScript compiler has its own internal handling for known file extensions.
74
- *
75
- * For the exact behavior, see https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/parser#parseroptionsecmafeaturesjsx
76
- */
77
- jsx?: boolean;
78
-
79
- /**
80
- * Controls whether the `loc` information to each node.
81
- * The `loc` property is an object which contains the exact line/column the node starts/ends on.
82
- * This is similar to the `range` property, except it is line/column relative.
83
- */
84
- loc?: boolean;
85
-
86
- /*
87
- * Allows overriding of function used for logging.
88
- * When value is `false`, no logging will occur.
89
- * When value is not provided, `console.log()` will be used.
90
- */
91
- loggerFn?: Function | false;
92
-
93
- /**
94
- * Controls whether the `range` property is included on AST nodes.
95
- * The `range` property is a [number, number] which indicates the start/end index of the node in the file contents.
96
- * This is similar to the `loc` property, except this is the absolute index.
97
- */
98
- range?: boolean;
99
-
100
- /**
101
- * Set to true to create a top-level array containing all tokens from the file.
102
- */
103
- tokens?: boolean;
104
- }
105
-
106
- const PARSE_DEFAULT_OPTIONS: ParseOptions = {
107
- comment: false,
108
- errorOnUnknownASTType: false,
109
- filePath: 'estree.ts', // or 'estree.tsx', if you pass jsx: true
110
- jsx: false,
111
- loc: false,
112
- loggerFn: undefined,
113
- range: false,
114
- tokens: false,
115
- };
116
-
117
- declare function parse(
118
- code: string,
119
- options: ParseOptions = PARSE_DEFAULT_OPTIONS,
120
- ): TSESTree.Program;
121
- ```
122
-
123
- Example usage:
124
-
125
- ```js
126
- import { parse } from '@typescript-eslint/typescript-estree';
127
-
128
- const code = `const hello: string = 'world';`;
129
- const ast = parse(code, {
130
- loc: true,
131
- range: true,
132
- });
133
- ```
134
-
135
- #### `parseAndGenerateServices(code, options)`
136
-
137
- Parses the given string of code with the options provided and returns an ESTree-compatible AST. Accepts additional options which can be used to generate type information along with the AST.
138
-
139
- ```ts
140
- interface ParseAndGenerateServicesOptions extends ParseOptions {
141
- /**
142
- * Causes the parser to error if the TypeScript compiler returns any unexpected syntax/semantic errors.
143
- */
144
- errorOnTypeScriptSyntacticAndSemanticIssues?: boolean;
145
-
146
- /**
147
- * ***EXPERIMENTAL FLAG*** - Use this at your own risk.
148
- *
149
- * Causes TS to use the source files for referenced projects instead of the compiled .d.ts files.
150
- * This feature is not yet optimized, and is likely to cause OOMs for medium to large projects.
151
- *
152
- * This flag REQUIRES at least TS v3.9, otherwise it does nothing.
153
- *
154
- * See: https://github.com/typescript-eslint/typescript-eslint/issues/2094
155
- */
156
- EXPERIMENTAL_useSourceOfProjectReferenceRedirect?: boolean;
157
-
158
- /**
159
- * When `project` is provided, this controls the non-standard file extensions which will be parsed.
160
- * It accepts an array of file extensions, each preceded by a `.`.
161
- */
162
- extraFileExtensions?: string[];
163
-
164
- /**
165
- * Absolute (or relative to `tsconfigRootDir`) path to the file being parsed.
166
- * When `project` is provided, this is required, as it is used to fetch the file from the TypeScript compiler's cache.
167
- */
168
- filePath?: string;
169
-
170
- /**
171
- * Allows the user to control whether or not two-way AST node maps are preserved
172
- * during the AST conversion process.
173
- *
174
- * By default: the AST node maps are NOT preserved, unless `project` has been specified,
175
- * in which case the maps are made available on the returned `parserServices`.
176
- *
177
- * NOTE: If `preserveNodeMaps` is explicitly set by the user, it will be respected,
178
- * regardless of whether or not `project` is in use.
179
- */
180
- preserveNodeMaps?: boolean;
181
-
182
- /**
183
- * Absolute (or relative to `tsconfigRootDir`) paths to the tsconfig(s).
184
- * If this is provided, type information will be returned.
185
- */
186
- project?: string | string[];
187
-
188
- /**
189
- * If you provide a glob (or globs) to the project option, you can use this option to ignore certain folders from
190
- * being matched by the globs.
191
- * This accepts an array of globs to ignore.
192
- *
193
- * By default, this is set to ["/node_modules/"]
194
- */
195
- projectFolderIgnoreList?: string[];
196
-
197
- /**
198
- * The absolute path to the root directory for all provided `project`s.
199
- */
200
- tsconfigRootDir?: string;
201
-
202
- /**
203
- * An array of one or more instances of TypeScript Program objects to be used for type information.
204
- * This overrides any program or programs that would have been computed from the `project` option.
205
- * All linted files must be part of the provided program(s).
206
- */
207
- programs?: Program[];
208
-
209
- /**
210
- ***************************************************************************************
211
- * IT IS RECOMMENDED THAT YOU DO NOT USE THIS OPTION, AS IT CAUSES PERFORMANCE ISSUES. *
212
- ***************************************************************************************
213
- *
214
- * When passed with `project`, this allows the parser to create a catch-all, default program.
215
- * This means that if the parser encounters a file not included in any of the provided `project`s,
216
- * it will not error, but will instead parse the file and its dependencies in a new program.
217
- */
218
- createDefaultProgram?: boolean;
219
-
220
- /**
221
- * ESLint (and therefore typescript-eslint) is used in both "single run"/one-time contexts,
222
- * such as an ESLint CLI invocation, and long-running sessions (such as continuous feedback
223
- * on a file in an IDE).
224
- *
225
- * When typescript-eslint handles TypeScript Program management behind the scenes, this distinction
226
- * is important because there is significant overhead to managing the so called Watch Programs
227
- * needed for the long-running use-case.
228
- *
229
- * When allowAutomaticSingleRunInference is enabled, we will use common heuristics to infer
230
- * whether or not ESLint is being used as part of a single run.
231
- */
232
- allowAutomaticSingleRunInference?: boolean;
233
-
234
- /**
235
- * Path to a file exporting a custom ModuleResolver.
236
- */
237
- moduleResolver?: string;
238
- }
239
-
240
- interface ParserServices {
241
- program: ts.Program;
242
- esTreeNodeToTSNodeMap: WeakMap<TSESTree.Node, ts.Node | ts.Token>;
243
- tsNodeToESTreeNodeMap: WeakMap<ts.Node | ts.Token, TSESTree.Node>;
244
- hasFullTypeInformation: boolean;
245
- }
246
-
247
- interface ParseAndGenerateServicesResult<T extends TSESTreeOptions> {
248
- ast: TSESTree.Program;
249
- services: ParserServices;
250
- }
251
-
252
- const PARSE_AND_GENERATE_SERVICES_DEFAULT_OPTIONS: ParseOptions = {
253
- ...PARSE_DEFAULT_OPTIONS,
254
- errorOnTypeScriptSyntacticAndSemanticIssues: false,
255
- extraFileExtensions: [],
256
- preserveNodeMaps: false, // or true, if you do not set this, but pass `project`
257
- project: undefined,
258
- projectFolderIgnoreList: ['/node_modules/'],
259
- tsconfigRootDir: process.cwd(),
260
- };
261
-
262
- declare function parseAndGenerateServices(
263
- code: string,
264
- options: ParseOptions = PARSE_DEFAULT_OPTIONS,
265
- ): ParseAndGenerateServicesResult;
266
- ```
267
-
268
- Example usage:
269
-
270
- ```js
271
- import { parseAndGenerateServices } from '@typescript-eslint/typescript-estree';
272
-
273
- const code = `const hello: string = 'world';`;
274
- const { ast, services } = parseAndGenerateServices(code, {
275
- filePath: '/some/path/to/file/foo.ts',
276
- loc: true,
277
- project: './tsconfig.json',
278
- range: true,
279
- });
280
- ```
281
-
282
- #### `parseWithNodeMaps(code, options)`
283
-
284
- Parses the given string of code with the options provided and returns both the ESTree-compatible AST as well as the node maps.
285
- This allows you to work with both ASTs without the overhead of types that may come with `parseAndGenerateServices`.
286
-
287
- ```ts
288
- interface ParseWithNodeMapsResult<T extends TSESTreeOptions> {
289
- ast: TSESTree.Program;
290
- esTreeNodeToTSNodeMap: ParserServices['esTreeNodeToTSNodeMap'];
291
- tsNodeToESTreeNodeMap: ParserServices['tsNodeToESTreeNodeMap'];
292
- }
293
-
294
- declare function parseWithNodeMaps(
295
- code: string,
296
- options: ParseOptions = PARSE_DEFAULT_OPTIONS,
297
- ): ParseWithNodeMapsResult;
298
- ```
299
-
300
- Example usage:
301
-
302
- ```js
303
- import { parseWithNodeMaps } from '@typescript-eslint/typescript-estree';
304
-
305
- const code = `const hello: string = 'world';`;
306
- const { ast, esTreeNodeToTSNodeMap, tsNodeToESTreeNodeMap } = parseWithNodeMaps(
307
- code,
308
- {
309
- loc: true,
310
- range: true,
311
- },
312
- );
313
- ```
314
-
315
- ### `TSESTree`, `AST_NODE_TYPES` and `AST_TOKEN_TYPES`
316
-
317
- Types for the AST produced by the parse functions.
318
-
319
- - `TSESTree` is a namespace which contains object types representing all of the AST Nodes produced by the parser.
320
- - `AST_NODE_TYPES` is an enum which provides the values for every single AST node's `type` property.
321
- - `AST_TOKEN_TYPES` is an enum which provides the values for every single AST token's `type` property.
322
-
323
- ### Utilities
324
-
325
- #### `createProgram(configFile, projectDirectory)`
326
-
327
- This serves as a utility method for users of the `ParseOptions.programs` feature to create a TypeScript program instance from a config file.
328
-
329
- ```ts
330
- declare function createProgram(
331
- configFile: string,
332
- projectDirectory: string = process.cwd(),
333
- ): import('typescript').Program;
334
- ```
335
-
336
- Example usage:
337
-
338
- ```js
339
- const tsESTree = require('@typescript-eslint/typescript-estree');
340
-
341
- const program = tsESTree.createProgram('tsconfig.json');
342
- const code = `const hello: string = 'world';`;
343
- const { ast, services } = parseAndGenerateServices(code, {
344
- filePath: '/some/path/to/file/foo.ts',
345
- loc: true,
346
- program,
347
- range: true,
348
- });
349
- ```
350
-
351
- ## Supported TypeScript Version
352
-
353
- See the [Supported TypeScript Version](../../README.md#supported-typescript-version) section in the project root.
354
-
355
- If you use a non-supported version of TypeScript, the parser will log a warning to the console.
356
-
357
- **Please ensure that you are using a supported version before submitting any issues/bug reports.**
358
-
359
- ## Reporting Issues
360
-
361
- Please check the current list of open and known issues and ensure the issue has not been reported before. When creating a new issue provide as much information about your environment as possible. This includes:
362
-
363
- - TypeScript version
364
- - The `typescript-estree` version
365
-
366
- ## AST Alignment Tests
367
-
368
- A couple of years after work on this parser began, the TypeScript Team at Microsoft began [officially supporting TypeScript parsing via Babel](https://blogs.msdn.microsoft.com/typescript/2018/08/27/typescript-and-babel-7/).
369
-
370
- I work closely with the TypeScript Team and we are gradually aligning the AST of this project with the one produced by Babel's parser. To that end, I have created a full test harness to compare the ASTs of the two projects which runs on every PR, please see [the code](https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/typescript-estree/tests/ast-alignment) for more details.
371
-
372
- ## Debugging
373
-
374
- If you encounter a bug with the parser that you want to investigate, you can turn on the debug logging via setting the environment variable: `DEBUG=typescript-eslint:*`.
375
- I.e. in this repo you can run: `DEBUG=typescript-eslint:* yarn lint`.
376
-
377
- ## License
378
-
379
- TypeScript ESTree inherits from the the original TypeScript ESLint Parser license, as the majority of the work began there. It is licensed under a permissive BSD 2-clause license.
3
+ [![NPM Version](https://img.shields.io/npm/v/@typescript-eslint/typescript-estree.svg?style=flat-square)](https://www.npmjs.com/package/@typescript-eslint/utils)
4
+ [![NPM Downloads](https://img.shields.io/npm/dm/@typescript-eslint/typescript-estree.svg?style=flat-square)](https://www.npmjs.com/package/@typescript-eslint/utils)
380
5
 
381
6
  ## Contributing
382
7
 
383
- [See the contributing guide here](../../CONTRIBUTING.md)
8
+ 👉 See **https://typescript-eslint.io/architecture/typescript-estree** for documentation on this package.
9
+
10
+ > See https://typescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code.
@@ -10,7 +10,6 @@ declare function clearWatchCaches(): void;
10
10
  * @param parseSettings Internal settings for parsing the file
11
11
  * @returns The programs corresponding to the supplied tsconfig paths
12
12
  */
13
- declare function getProgramsForProjects(parseSettings: ParseSettings): ts.Program[];
14
- declare function createWatchProgram(tsconfigPath: string, parseSettings: ParseSettings): ts.WatchOfConfigFile<ts.BuilderProgram>;
15
- export { clearWatchCaches, createWatchProgram, getProgramsForProjects };
16
- //# sourceMappingURL=createWatchProgram.d.ts.map
13
+ declare function getWatchProgramsForProjects(parseSettings: ParseSettings): ts.Program[];
14
+ export { clearWatchCaches, getWatchProgramsForProjects };
15
+ //# sourceMappingURL=getWatchProgramsForProjects.d.ts.map
@@ -2,7 +2,7 @@ export { AST, parse, parseAndGenerateServices, parseWithNodeMaps, ParseAndGenera
2
2
  export { ParserServices, TSESTreeOptions } from './parser-options';
3
3
  export { simpleTraverse } from './simple-traverse';
4
4
  export * from './ts-estree';
5
- export { clearWatchCaches as clearCaches } from './create-program/createWatchProgram';
5
+ export { clearWatchCaches as clearCaches } from './create-program/getWatchProgramsForProjects';
6
6
  export { createProgramFromConfigFile as createProgram } from './create-program/useProvidedPrograms';
7
7
  export * from './create-program/getScriptKind';
8
8
  export { typescriptVersionIsAtLeast } from './version-check';
@@ -31,7 +31,7 @@ const debug_1 = __importDefault(require("debug"));
31
31
  const path_1 = __importDefault(require("path"));
32
32
  const ts = __importStar(require("typescript"));
33
33
  const node_utils_1 = require("../node-utils");
34
- const createWatchProgram_1 = require("./createWatchProgram");
34
+ const getWatchProgramsForProjects_1 = require("./getWatchProgramsForProjects");
35
35
  const shared_1 = require("./shared");
36
36
  const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createProjectProgram');
37
37
  const DEFAULT_EXTRA_FILE_EXTENSIONS = [
@@ -50,7 +50,7 @@ const DEFAULT_EXTRA_FILE_EXTENSIONS = [
50
50
  */
51
51
  function createProjectProgram(parseSettings) {
52
52
  log('Creating project program for: %s', parseSettings.filePath);
53
- const programsForProjects = (0, createWatchProgram_1.getProgramsForProjects)(parseSettings);
53
+ const programsForProjects = (0, getWatchProgramsForProjects_1.getWatchProgramsForProjects)(parseSettings);
54
54
  const astAndProgram = (0, node_utils_1.firstDefined)(programsForProjects, currentProgram => (0, shared_1.getAstFromProgram)(currentProgram, parseSettings));
55
55
  // The file was either matched within the tsconfig, or we allow creating a default program
56
56
  if (astAndProgram || parseSettings.createDefaultProgram) {
@@ -99,7 +99,7 @@ function createProjectProgram(parseSettings) {
99
99
  const [describedInclusions, describedSpecifiers] = parseSettings.projects.length === 1
100
100
  ? ['that TSConfig does not', 'that TSConfig']
101
101
  : ['none of those TSConfigs', 'one of those TSConfigs'];
102
- errorLines.push(`However, ${describedInclusions} include this file. Either:`, `- Change ESLint's list of included files to not include this file`, `- Change ${describedSpecifiers} to include this file`, `- Create a new TSConfig that includes this file and include it in your parserOptions.project`, `See the TypeScript ESLint docs for more info: https://typescript-eslint.io/docs/linting/troubleshooting##i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file`);
102
+ errorLines.push(`However, ${describedInclusions} include this file. Either:`, `- Change ESLint's list of included files to not include this file`, `- Change ${describedSpecifiers} to include this file`, `- Create a new TSConfig that includes this file and include it in your parserOptions.project`, `See the TypeScript ESLint docs for more info: https://typescript-eslint.io/linting/troubleshooting##i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file`);
103
103
  }
104
104
  throw new Error(errorLines.join('\n'));
105
105
  }
@@ -1 +1 @@
1
- {"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,gDAAwB;AACxB,+CAAiC;AA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AC;gBACF,iBAAiB,GAAG,IAAI,CAAC;aAC1B;SACF;aAAM;YACL,UAAU,CAAC,IAAI,CACb,GAAG,cAAc,wEAAwE,CAC1F,CAAC;YACF,iBAAiB,GAAG,IAAI,CAAC;SAC1B;KACF;IAED,IAAI,CAAC,iBAAiB,EAAE;QACtB,MAAM,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,GAC9C,aAAa,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC;YACjC,CAAC,CAAC,CAAC,wBAAwB,EAAE,eAAe,CAAC;YAC7C,CAAC,CAAC,CAAC,yBAAyB,EAAE,wBAAwB,CAAC,CAAC;QAC5D,UAAU,CAAC,IAAI,CACb,YAAY,mBAAmB,6BAA6B,EAC5D,mEAAmE,EACnE,YAAY,mBAAmB,uBAAuB,EACtD,8FAA8F,EAC9F,0OAA0O,CAC3O,CAAC;KACH;IAED,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAEQ,oDAAoB"}
1
+ {"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,gDAAwB;AACxB,+CAAiC;AAEjC,8CAA6C;AAE7C,+EAA4E;AAE5E,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,0DAA0D,CAAC,CAAC;AAE9E,MAAM,6BAA6B,GAAG;IACpC,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GA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AAI,CACb,YAAY,mBAAmB,6BAA6B,EAC5D,mEAAmE,EACnE,YAAY,mBAAmB,uBAAuB,EACtD,8FAA8F,EAC9F,qOAAqO,CACtO,CAAC;KACH;IAED,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAEQ,oDAAoB"}
@@ -10,7 +10,6 @@ declare function clearWatchCaches(): void;
10
10
  * @param parseSettings Internal settings for parsing the file
11
11
  * @returns The programs corresponding to the supplied tsconfig paths
12
12
  */
13
- declare function getProgramsForProjects(parseSettings: ParseSettings): ts.Program[];
14
- declare function createWatchProgram(tsconfigPath: string, parseSettings: ParseSettings): ts.WatchOfConfigFile<ts.BuilderProgram>;
15
- export { clearWatchCaches, createWatchProgram, getProgramsForProjects };
16
- //# sourceMappingURL=createWatchProgram.d.ts.map
13
+ declare function getWatchProgramsForProjects(parseSettings: ParseSettings): ts.Program[];
14
+ export { clearWatchCaches, getWatchProgramsForProjects };
15
+ //# sourceMappingURL=getWatchProgramsForProjects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA6CtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AA0ED;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CAuHd;AAmSD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,CAAC"}
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.getProgramsForProjects = exports.createWatchProgram = exports.clearWatchCaches = void 0;
29
+ exports.getWatchProgramsForProjects = exports.clearWatchCaches = void 0;
30
30
  const debug_1 = __importDefault(require("debug"));
31
31
  const fs_1 = __importDefault(require("fs"));
32
32
  const semver_1 = __importDefault(require("semver"));
@@ -123,7 +123,7 @@ function updateCachedFileList(tsconfigPath, program, parseSettings) {
123
123
  * @param parseSettings Internal settings for parsing the file
124
124
  * @returns The programs corresponding to the supplied tsconfig paths
125
125
  */
126
- function getProgramsForProjects(parseSettings) {
126
+ function getWatchProgramsForProjects(parseSettings) {
127
127
  const filePath = (0, shared_1.getCanonicalFileName)(parseSettings.filePath);
128
128
  const results = [];
129
129
  // preserve reference to code and file being linted
@@ -207,7 +207,7 @@ function getProgramsForProjects(parseSettings) {
207
207
  }
208
208
  return results;
209
209
  }
210
- exports.getProgramsForProjects = getProgramsForProjects;
210
+ exports.getWatchProgramsForProjects = getWatchProgramsForProjects;
211
211
  const isRunningNoTimeoutFix = semver_1.default.satisfies(ts.version, '>=3.9.0-beta', {
212
212
  includePrerelease: true,
213
213
  });
@@ -308,7 +308,6 @@ function createWatchProgram(tsconfigPath, parseSettings) {
308
308
  }
309
309
  return watch;
310
310
  }
311
- exports.createWatchProgram = createWatchProgram;
312
311
  function hasTSConfigChanged(tsconfigPath) {
313
312
  const stat = fs_1.default.statSync(tsconfigPath);
314
313
  const lastModifiedAt = stat.mtimeMs;
@@ -419,4 +418,4 @@ function maybeInvalidateProgram(existingWatch, filePath, tsconfigPath) {
419
418
  log('File was still not found in program after deletion check, assuming it is not part of this program. %s', filePath);
420
419
  return null;
421
420
  }
422
- //# sourceMappingURL=createWatchProgram.js.map
421
+ //# sourceMappingURL=getWatchProgramsForProjects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDA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;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE;QACd,OAAO,cAAc,CAAC;KACvB;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -2,7 +2,7 @@ export { AST, parse, parseAndGenerateServices, parseWithNodeMaps, ParseAndGenera
2
2
  export { ParserServices, TSESTreeOptions } from './parser-options';
3
3
  export { simpleTraverse } from './simple-traverse';
4
4
  export * from './ts-estree';
5
- export { clearWatchCaches as clearCaches } from './create-program/createWatchProgram';
5
+ export { clearWatchCaches as clearCaches } from './create-program/getWatchProgramsForProjects';
6
6
  export { createProgramFromConfigFile as createProgram } from './create-program/useProvidedPrograms';
7
7
  export * from './create-program/getScriptKind';
8
8
  export { typescriptVersionIsAtLeast } from './version-check';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,GAAG,EACH,KAAK,EACL,wBAAwB,EACxB,iBAAiB,EACjB,8BAA8B,EAC9B,uBAAuB,EACvB,iBAAiB,GAClB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,gBAAgB,IAAI,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,EAAE,2BAA2B,IAAI,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACpG,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAC7D,cAAc,gBAAgB,CAAC;AAG/B,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAI9D,eAAO,MAAM,OAAO,EAAE,MAA2C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,GAAG,EACH,KAAK,EACL,wBAAwB,EACxB,iBAAiB,EACjB,8BAA8B,EAC9B,uBAAuB,EACvB,iBAAiB,GAClB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,gBAAgB,IAAI,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,EAAE,2BAA2B,IAAI,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACpG,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAC7D,cAAc,gBAAgB,CAAC;AAG/B,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAI9D,eAAO,MAAM,OAAO,EAAE,MAA2C,CAAC"}
@@ -23,8 +23,8 @@ Object.defineProperty(exports, "clearProgramCache", { enumerable: true, get: fun
23
23
  var simple_traverse_1 = require("./simple-traverse");
24
24
  Object.defineProperty(exports, "simpleTraverse", { enumerable: true, get: function () { return simple_traverse_1.simpleTraverse; } });
25
25
  __exportStar(require("./ts-estree"), exports);
26
- var createWatchProgram_1 = require("./create-program/createWatchProgram");
27
- Object.defineProperty(exports, "clearCaches", { enumerable: true, get: function () { return createWatchProgram_1.clearWatchCaches; } });
26
+ var getWatchProgramsForProjects_1 = require("./create-program/getWatchProgramsForProjects");
27
+ Object.defineProperty(exports, "clearCaches", { enumerable: true, get: function () { return getWatchProgramsForProjects_1.clearWatchCaches; } });
28
28
  var useProvidedPrograms_1 = require("./create-program/useProvidedPrograms");
29
29
  Object.defineProperty(exports, "createProgram", { enumerable: true, get: function () { return useProvidedPrograms_1.createProgramFromConfigFile; } });
30
30
  __exportStar(require("./create-program/getScriptKind"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mCAQkB;AANhB,+FAAA,KAAK,OAAA;AACL,kHAAA,wBAAwB,OAAA;AACxB,2GAAA,iBAAiB,OAAA;AAGjB,2GAAA,iBAAiB,OAAA;AAGnB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,8CAA4B;AAC5B,0EAAsF;AAA7E,iHAAA,gBAAgB,OAAe;AACxC,4EAAoG;AAA3F,oHAAA,2BAA2B,OAAiB;AACrD,iEAA+C;AAC/C,iDAA6D;AAApD,2HAAA,0BAA0B,OAAA;AACnC,iDAA+B;AAE/B,iCAAiC;AACjC,gEAA8D;AAArD,2GAAA,WAAW,OAAA;AAEpB,sHAAsH;AACtH,+GAA+G;AAClG,QAAA,OAAO,GAAW,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mCAQkB;AANhB,+FAAA,KAAK,OAAA;AACL,kHAAA,wBAAwB,OAAA;AACxB,2GAAA,iBAAiB,OAAA;AAGjB,2GAAA,iBAAiB,OAAA;AAGnB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,8CAA4B;AAC5B,4FAA+F;AAAtF,0HAAA,gBAAgB,OAAe;AACxC,4EAAoG;AAA3F,oHAAA,2BAA2B,OAAiB;AACrD,iEAA+C;AAC/C,iDAA6D;AAApD,2HAAA,0BAA0B,OAAA;AACnC,iDAA+B;AAE/B,iCAAiC;AACjC,gEAA8D;AAArD,2GAAA,WAAW,OAAA;AAEpB,sHAAsH;AACtH,+GAA+G;AAClG,QAAA,OAAO,GAAW,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC"}
@@ -30,8 +30,8 @@ exports.warnAboutTSVersion = void 0;
30
30
  const semver_1 = __importDefault(require("semver"));
31
31
  const ts = __importStar(require("typescript"));
32
32
  /**
33
- * This needs to be kept in sync with the top-level README.md in the
34
- * typescript-eslint monorepo
33
+ * This needs to be kept in sync with /docs/maintenance/VERSIONING.md
34
+ * in the typescript-eslint monorepo
35
35
  */
36
36
  const SUPPORTED_TYPESCRIPT_VERSIONS = '>=3.3.1 <5.0.0';
37
37
  /*
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/typescript-estree",
3
- "version": "5.45.0",
3
+ "version": "5.45.1",
4
4
  "description": "A parser that converts TypeScript source code into an ESTree compatible form",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -42,8 +42,8 @@
42
42
  "typecheck": "tsc -p tsconfig.json --noEmit"
43
43
  },
44
44
  "dependencies": {
45
- "@typescript-eslint/types": "5.45.0",
46
- "@typescript-eslint/visitor-keys": "5.45.0",
45
+ "@typescript-eslint/types": "5.45.1",
46
+ "@typescript-eslint/visitor-keys": "5.45.1",
47
47
  "debug": "^4.3.4",
48
48
  "globby": "^11.1.0",
49
49
  "is-glob": "^4.0.3",
@@ -59,7 +59,7 @@
59
59
  "@types/is-glob": "*",
60
60
  "@types/semver": "*",
61
61
  "@types/tmp": "*",
62
- "@typescript-eslint/shared-fixtures": "5.45.0",
62
+ "@typescript-eslint/shared-fixtures": "5.45.1",
63
63
  "glob": "*",
64
64
  "jest-specific-snapshot": "*",
65
65
  "make-dir": "*",
@@ -82,5 +82,5 @@
82
82
  ]
83
83
  }
84
84
  },
85
- "gitHead": "267da4e416f7de6892336db8a2360d7af702b73c"
85
+ "gitHead": "2d0a88314dc6c4ea2c786135735fd83517945acd"
86
86
  }
@@ -1,13 +1,10 @@
1
- <h1 align="center">TypeScript-ESTree Visitor Keys</h1>
1
+ # `@typescript-eslint/visitor-keys`
2
2
 
3
- <p align="center">Visitor keys used to help traverse the TypeScript-ESTree AST</p>
3
+ > Visitor keys used to help traverse the TypeScript-ESTree AST.
4
4
 
5
- <p align="center">
6
- <img src="https://github.com/typescript-eslint/typescript-eslint/workflows/CI/badge.svg" alt="CI" />
7
- <a href="https://www.npmjs.com/package/@typescript-eslint/visitor-keys"><img src="https://img.shields.io/npm/v/@typescript-eslint/visitor-keys.svg?style=flat-square" alt="NPM Version" /></a>
8
- <a href="https://www.npmjs.com/package/@typescript-eslint/visitor-keys"><img src="https://img.shields.io/npm/dm/@typescript-eslint/visitor-keys.svg?style=flat-square" alt="NPM Downloads" /></a>
9
- </p>
5
+ ## ✋ Internal Package
10
6
 
11
- ## Contributing
7
+ This is an _internal package_ to the [typescript-eslint monorepo](https://github.com/typescript-eslint/typescript-eslint).
8
+ You likely don't want to use it directly.
12
9
 
13
- [See the contributing guide here](../../CONTRIBUTING.md)
10
+ 👉 See **https://typescript-eslint.io** for docs on typescript-eslint.