@sap-ux/project-access 1.32.15 → 1.32.16

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.
@@ -113,7 +113,6 @@ function findBy(options) {
113
113
  resolve(searchResult);
114
114
  }
115
115
  else {
116
- // eslint-disable-next-line prefer-promise-reject-errors
117
116
  reject(fatalErrors);
118
117
  }
119
118
  });
@@ -396,7 +396,7 @@ async function filterLibraries(pathMap, memFs) {
396
396
  try {
397
397
  pathMap.files[manifestPath] ??= await (0, file_1.readJSON)(manifestPath, memFs);
398
398
  const manifest = pathMap.files[manifestPath];
399
- if (manifest['sap.app'] && manifest['sap.app'].type === 'library') {
399
+ if (manifest['sap.app']?.type === 'library') {
400
400
  const packageJsonPath = await (0, file_1.findFileUp)(constants_1.FileName.Package, (0, node_path_1.dirname)(manifestPath), memFs);
401
401
  const projectRoot = packageJsonPath ? (0, node_path_1.dirname)(packageJsonPath) : null;
402
402
  if (projectRoot && (await (0, file_1.fileExists)((0, node_path_1.join)(projectRoot, constants_1.FileName.Ui5Yaml), memFs))) {
@@ -424,7 +424,7 @@ async function filterComponents(pathMap, memFs) {
424
424
  try {
425
425
  pathMap.files[manifestPath] ??= await (0, file_1.readJSON)(manifestPath, memFs);
426
426
  const manifest = pathMap.files[manifestPath];
427
- if (manifest['sap.app'] && manifest['sap.app'].type === 'component') {
427
+ if (manifest['sap.app']?.type === 'component') {
428
428
  const packageJsonPath = await (0, file_1.findFileUp)(constants_1.FileName.Package, (0, node_path_1.dirname)(manifestPath), memFs);
429
429
  const projectRoot = packageJsonPath ? (0, node_path_1.dirname)(packageJsonPath) : null;
430
430
  if (projectRoot) {
@@ -1,24 +1,24 @@
1
1
  /**
2
2
  Matches a [`class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).
3
-
3
+
4
4
  @category Class
5
- */
5
+ */
6
6
  export type Class<T, Arguments extends unknown[] = any[]> = Constructor<T, Arguments> & {
7
7
  prototype: T;
8
8
  };
9
9
  /**
10
10
  Matches a [`class` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).
11
-
11
+
12
12
  @category Class
13
- */
13
+ */
14
14
  export type Constructor<T, Arguments extends unknown[] = any[]> = new (...arguments_: Arguments) => T;
15
15
  /**
16
16
  Matches a JSON object.
17
-
17
+
18
18
  This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from. Don't use this as a direct return type as the user would have to double-cast it: `jsonObject as unknown as CustomResponse`. Instead, you could extend your CustomResponse type from it to ensure your type only uses JSON-compatible types: `interface CustomResponse extends JsonObject { … }`.
19
-
19
+
20
20
  @category JSON
21
- */
21
+ */
22
22
  export type JsonObject = {
23
23
  [Key in string]: JsonValue;
24
24
  } & {
@@ -26,22 +26,21 @@ export type JsonObject = {
26
26
  };
27
27
  /**
28
28
  Matches a JSON array.
29
-
29
+
30
30
  @category JSON
31
- */
31
+ */
32
32
  export type JsonArray = JsonValue[];
33
33
  /**
34
34
  Matches any valid JSON primitive value.
35
-
35
+
36
36
  @category JSON
37
- */
37
+ */
38
38
  export type JsonPrimitive = string | number | boolean | null;
39
39
  /**
40
40
  Matches any valid JSON value.
41
-
41
+
42
42
  @see `Jsonify` if you need to transform a type to one that is assignable to `JsonValue`.
43
-
44
43
  @category JSON
45
- */
44
+ */
46
45
  export type JsonValue = JsonPrimitive | JsonObject | JsonArray;
47
46
  //# sourceMappingURL=basic.d.ts.map
@@ -1,32 +1,31 @@
1
1
  import type { Primitive } from './primitive';
2
2
  /**
3
3
  Allows creating a union type by combining primitive types and literal types without sacrificing auto-completion in IDEs for the literal type part of the union.
4
-
4
+
5
5
  Currently, when a union type of a primitive type is combined with literal types, TypeScript loses all information about the combined literals. Thus, when such type is used in an IDE with autocompletion, no suggestions are made for the declared literals.
6
-
6
+
7
7
  This type is a workaround for [Microsoft/TypeScript#29729](https://github.com/Microsoft/TypeScript/issues/29729). It will be removed as soon as it's not needed anymore.
8
-
8
+
9
9
  @example
10
10
  ```
11
11
  import type {LiteralUnion} from 'type-fest';
12
-
12
+
13
13
  // Before
14
-
14
+
15
15
  type Pet = 'dog' | 'cat' | string;
16
-
16
+
17
17
  const pet: Pet = '';
18
18
  // Start typing in your TypeScript-enabled IDE.
19
19
  // You **will not** get auto-completion for `dog` and `cat` literals.
20
-
20
+
21
21
  // After
22
-
22
+
23
23
  type Pet2 = LiteralUnion<'dog' | 'cat', string>;
24
-
24
+
25
25
  const pet: Pet2 = '';
26
26
  // You **will** get auto-completion for `dog` and `cat` literals.
27
27
  ```
28
-
29
28
  @category Type
30
- */
29
+ */
31
30
  export type LiteralUnion<LiteralType, BaseType extends Primitive> = LiteralType | (BaseType & Record<never, never>);
32
31
  //# sourceMappingURL=literal-union.d.ts.map
@@ -3,7 +3,7 @@ import type { JsonObject, JsonValue } from './basic';
3
3
  declare namespace PackageJson {
4
4
  /**
5
5
  A person who has been involved in creating or maintaining the package.
6
- */
6
+ */
7
7
  type Person = string | {
8
8
  name: string;
9
9
  url?: string;
@@ -12,174 +12,174 @@ declare namespace PackageJson {
12
12
  type BugsLocation = string | {
13
13
  /**
14
14
  The URL to the package's issue tracker.
15
- */
15
+ */
16
16
  url?: string;
17
17
  /**
18
18
  The email address to which issues should be reported.
19
- */
19
+ */
20
20
  email?: string;
21
21
  };
22
22
  type DirectoryLocations = {
23
23
  [directoryType: string]: JsonValue | undefined;
24
24
  /**
25
25
  Location for executable scripts. Sugar to generate entries in the `bin` property by walking the folder.
26
- */
26
+ */
27
27
  bin?: string;
28
28
  /**
29
29
  Location for Markdown files.
30
- */
30
+ */
31
31
  doc?: string;
32
32
  /**
33
33
  Location for example scripts.
34
- */
34
+ */
35
35
  example?: string;
36
36
  /**
37
37
  Location for the bulk of the library.
38
- */
38
+ */
39
39
  lib?: string;
40
40
  /**
41
41
  Location for man pages. Sugar to generate a `man` array by walking the folder.
42
- */
42
+ */
43
43
  man?: string;
44
44
  /**
45
45
  Location for test files.
46
- */
46
+ */
47
47
  test?: string;
48
48
  };
49
49
  type Scripts = {
50
50
  /**
51
51
  Run **before** the package is published (Also run on local `npm install` without any arguments).
52
- */
52
+ */
53
53
  prepublish?: string;
54
54
  /**
55
55
  Run both **before** the package is packed and published, and on local `npm install` without any arguments. This is run **after** `prepublish`, but **before** `prepublishOnly`.
56
- */
56
+ */
57
57
  prepare?: string;
58
58
  /**
59
59
  Run **before** the package is prepared and packed, **only** on `npm publish`.
60
- */
60
+ */
61
61
  prepublishOnly?: string;
62
62
  /**
63
63
  Run **before** a tarball is packed (on `npm pack`, `npm publish`, and when installing git dependencies).
64
- */
64
+ */
65
65
  prepack?: string;
66
66
  /**
67
67
  Run **after** the tarball has been generated and moved to its final destination.
68
- */
68
+ */
69
69
  postpack?: string;
70
70
  /**
71
71
  Run **after** the package is published.
72
- */
72
+ */
73
73
  publish?: string;
74
74
  /**
75
75
  Run **after** the package is published.
76
- */
76
+ */
77
77
  postpublish?: string;
78
78
  /**
79
79
  Run **before** the package is installed.
80
- */
80
+ */
81
81
  preinstall?: string;
82
82
  /**
83
83
  Run **after** the package is installed.
84
- */
84
+ */
85
85
  install?: string;
86
86
  /**
87
87
  Run **after** the package is installed and after `install`.
88
- */
88
+ */
89
89
  postinstall?: string;
90
90
  /**
91
91
  Run **before** the package is uninstalled and before `uninstall`.
92
- */
92
+ */
93
93
  preuninstall?: string;
94
94
  /**
95
95
  Run **before** the package is uninstalled.
96
- */
96
+ */
97
97
  uninstall?: string;
98
98
  /**
99
99
  Run **after** the package is uninstalled.
100
- */
100
+ */
101
101
  postuninstall?: string;
102
102
  /**
103
103
  Run **before** bump the package version and before `version`.
104
- */
104
+ */
105
105
  preversion?: string;
106
106
  /**
107
107
  Run **before** bump the package version.
108
- */
108
+ */
109
109
  version?: string;
110
110
  /**
111
111
  Run **after** bump the package version.
112
- */
112
+ */
113
113
  postversion?: string;
114
114
  /**
115
115
  Run with the `npm test` command, before `test`.
116
- */
116
+ */
117
117
  pretest?: string;
118
118
  /**
119
119
  Run with the `npm test` command.
120
- */
120
+ */
121
121
  test?: string;
122
122
  /**
123
123
  Run with the `npm test` command, after `test`.
124
- */
124
+ */
125
125
  posttest?: string;
126
126
  /**
127
127
  Run with the `npm stop` command, before `stop`.
128
- */
128
+ */
129
129
  prestop?: string;
130
130
  /**
131
131
  Run with the `npm stop` command.
132
- */
132
+ */
133
133
  stop?: string;
134
134
  /**
135
135
  Run with the `npm stop` command, after `stop`.
136
- */
136
+ */
137
137
  poststop?: string;
138
138
  /**
139
139
  Run with the `npm start` command, before `start`.
140
- */
140
+ */
141
141
  prestart?: string;
142
142
  /**
143
143
  Run with the `npm start` command.
144
- */
144
+ */
145
145
  start?: string;
146
146
  /**
147
147
  Run with the `npm start` command, after `start`.
148
- */
148
+ */
149
149
  poststart?: string;
150
150
  /**
151
151
  Run with the `npm restart` command, before `restart`. Note: `npm restart` will run the `stop` and `start` scripts if no `restart` script is provided.
152
- */
152
+ */
153
153
  prerestart?: string;
154
154
  /**
155
155
  Run with the `npm restart` command. Note: `npm restart` will run the `stop` and `start` scripts if no `restart` script is provided.
156
- */
156
+ */
157
157
  restart?: string;
158
158
  /**
159
159
  Run with the `npm restart` command, after `restart`. Note: `npm restart` will run the `stop` and `start` scripts if no `restart` script is provided.
160
- */
160
+ */
161
161
  postrestart?: string;
162
162
  } & Partial<Record<string, string>>;
163
163
  /**
164
164
  Dependencies of the package. The version range is a string which has one or more space-separated descriptors. Dependencies can also be identified with a tarball or Git URL.
165
- */
165
+ */
166
166
  type Dependency = Partial<Record<string, string>>;
167
167
  /**
168
168
  Conditions which provide a way to resolve a package entry point based on the environment.
169
- */
169
+ */
170
170
  type ExportCondition = LiteralUnion<'import' | 'require' | 'node' | 'node-addons' | 'deno' | 'browser' | 'electron' | 'react-native' | 'default', string>;
171
171
  type ExportConditions = {
172
172
  [condition in ExportCondition]: Exports;
173
173
  };
174
174
  /**
175
175
  Entry points of a module, optionally with conditions and subpath exports.
176
- */
176
+ */
177
177
  type Exports = null | string | Array<string | ExportConditions> | ExportConditions | {
178
178
  [path: string]: Exports;
179
179
  };
180
180
  /**
181
181
  Import map entries of a module, optionally with conditions.
182
- */
182
+ */
183
183
  type Imports = {
184
184
  [key: string]: string | {
185
185
  [key in ExportCondition]: Exports;
@@ -188,11 +188,11 @@ declare namespace PackageJson {
188
188
  interface NonStandardEntryPoints {
189
189
  /**
190
190
  An ECMAScript module ID that is the primary entry point to the program.
191
- */
191
+ */
192
192
  module?: string;
193
193
  /**
194
194
  A module ID with untranspiled code that is the primary entry point to the program.
195
- */
195
+ */
196
196
  esnext?: string | {
197
197
  [moduleName: string]: string | undefined;
198
198
  main?: string;
@@ -200,115 +200,115 @@ declare namespace PackageJson {
200
200
  };
201
201
  /**
202
202
  A hint to JavaScript bundlers or component tools when packaging modules for client side use.
203
- */
203
+ */
204
204
  browser?: string | Partial<Record<string, string | false>>;
205
205
  /**
206
206
  Denote which files in your project are "pure" and therefore safe for Webpack to prune if unused.
207
-
207
+
208
208
  [Read more.](https://webpack.js.org/guides/tree-shaking/)
209
- */
209
+ */
210
210
  sideEffects?: boolean | string[];
211
211
  }
212
212
  type TypeScriptConfiguration = {
213
213
  /**
214
214
  Location of the bundled TypeScript declaration file.
215
- */
215
+ */
216
216
  types?: string;
217
217
  /**
218
218
  Version selection map of TypeScript.
219
- */
219
+ */
220
220
  typesVersions?: Partial<Record<string, Partial<Record<string, string[]>>>>;
221
221
  /**
222
222
  Location of the bundled TypeScript declaration file. Alias of `types`.
223
- */
223
+ */
224
224
  typings?: string;
225
225
  };
226
226
  /**
227
227
  An alternative configuration for Yarn workspaces.
228
- */
228
+ */
229
229
  type WorkspaceConfig = {
230
230
  /**
231
231
  An array of workspace pattern strings which contain the workspace packages.
232
- */
232
+ */
233
233
  packages?: WorkspacePattern[];
234
234
  /**
235
235
  Designed to solve the problem of packages which break when their `node_modules` are moved to the root workspace directory - a process known as hoisting. For these packages, both within your workspace, and also some that have been installed via `node_modules`, it is important to have a mechanism for preventing the default Yarn workspace behavior. By adding workspace pattern strings here, Yarn will resume non-workspace behavior for any package which matches the defined patterns.
236
-
236
+
237
237
  [Read more](https://classic.yarnpkg.com/blog/2018/02/15/nohoist/)
238
- */
238
+ */
239
239
  nohoist?: WorkspacePattern[];
240
240
  };
241
241
  /**
242
242
  A workspace pattern points to a directory or group of directories which contain packages that should be included in the workspace installation process.
243
-
243
+
244
244
  The patterns are handled with [minimatch](https://github.com/isaacs/minimatch).
245
-
245
+
246
246
  @example
247
247
  `docs` → Include the docs directory and install its dependencies.
248
248
  `packages/*` → Include all nested directories within the packages directory, like `packages/cli` and `packages/core`.
249
- */
249
+ */
250
250
  type WorkspacePattern = string;
251
251
  type YarnConfiguration = {
252
252
  /**
253
253
  Used to configure [Yarn workspaces](https://classic.yarnpkg.com/docs/workspaces/).
254
-
254
+
255
255
  Workspaces allow you to manage multiple packages within the same repository in such a way that you only need to run `yarn install` once to install all of them in a single pass.
256
-
256
+
257
257
  Please note that the top-level `private` property of `package.json` **must** be set to `true` in order to use workspaces.
258
- */
258
+ */
259
259
  workspaces?: WorkspacePattern[] | WorkspaceConfig;
260
260
  /**
261
261
  If your package only allows one version of a given dependency, and you’d like to enforce the same behavior as `yarn install --flat` on the command-line, set this to `true`.
262
-
262
+
263
263
  Note that if your `package.json` contains `"flat": true` and other packages depend on yours (e.g. you are building a library rather than an app), those other packages will also need `"flat": true` in their `package.json` or be installed with `yarn install --flat` on the command-line.
264
- */
264
+ */
265
265
  flat?: boolean;
266
266
  /**
267
267
  Selective version resolutions. Allows the definition of custom package versions inside dependencies without manual edits in the `yarn.lock` file.
268
- */
268
+ */
269
269
  resolutions?: Dependency;
270
270
  };
271
271
  type JSPMConfiguration = {
272
272
  /**
273
273
  JSPM configuration.
274
- */
274
+ */
275
275
  jspm?: PackageJson;
276
276
  };
277
277
  /**
278
278
  Type for [npm's `package.json` file](https://docs.npmjs.com/creating-a-package-json-file). Containing standard npm properties.
279
- */
279
+ */
280
280
  interface PackageJsonStandard {
281
281
  /**
282
282
  The name of the package.
283
- */
283
+ */
284
284
  name?: string;
285
285
  /**
286
286
  Package version, parseable by [`node-semver`](https://github.com/npm/node-semver).
287
- */
287
+ */
288
288
  version?: string;
289
289
  /**
290
290
  Package description, listed in `npm search`.
291
- */
291
+ */
292
292
  description?: string;
293
293
  /**
294
294
  Keywords associated with package, listed in `npm search`.
295
- */
295
+ */
296
296
  keywords?: string[];
297
297
  /**
298
298
  The URL to the package's homepage.
299
- */
299
+ */
300
300
  homepage?: LiteralUnion<'.', string>;
301
301
  /**
302
302
  The URL to the package's issue tracker and/or the email address to which issues should be reported.
303
- */
303
+ */
304
304
  bugs?: BugsLocation;
305
305
  /**
306
306
  The license for the package.
307
- */
307
+ */
308
308
  license?: string;
309
309
  /**
310
310
  The licenses for the package.
311
- */
311
+ */
312
312
  licenses?: Array<{
313
313
  type?: string;
314
314
  url?: string;
@@ -316,195 +316,195 @@ declare namespace PackageJson {
316
316
  author?: Person;
317
317
  /**
318
318
  A list of people who contributed to the package.
319
- */
319
+ */
320
320
  contributors?: Person[];
321
321
  /**
322
322
  A list of people who maintain the package.
323
- */
323
+ */
324
324
  maintainers?: Person[];
325
325
  /**
326
326
  The files included in the package.
327
- */
327
+ */
328
328
  files?: string[];
329
329
  /**
330
330
  Resolution algorithm for importing ".js" files from the package's scope.
331
-
331
+
332
332
  [Read more.](https://nodejs.org/api/esm.html#esm_package_json_type_field)
333
- */
333
+ */
334
334
  type?: 'module' | 'commonjs';
335
335
  /**
336
336
  The module ID that is the primary entry point to the program.
337
- */
337
+ */
338
338
  main?: string;
339
339
  /**
340
340
  Subpath exports to define entry points of the package.
341
-
341
+
342
342
  [Read more.](https://nodejs.org/api/packages.html#subpath-exports)
343
- */
343
+ */
344
344
  exports?: Exports;
345
345
  /**
346
346
  Subpath imports to define internal package import maps that only apply to import specifiers from within the package itself.
347
-
347
+
348
348
  [Read more.](https://nodejs.org/api/packages.html#subpath-imports)
349
- */
349
+ */
350
350
  imports?: Imports;
351
351
  /**
352
352
  The executable files that should be installed into the `PATH`.
353
- */
353
+ */
354
354
  bin?: string | Partial<Record<string, string>>;
355
355
  /**
356
356
  Filenames to put in place for the `man` program to find.
357
- */
357
+ */
358
358
  man?: string | string[];
359
359
  /**
360
360
  Indicates the structure of the package.
361
- */
361
+ */
362
362
  directories?: DirectoryLocations;
363
363
  /**
364
364
  Location for the code repository.
365
- */
365
+ */
366
366
  repository?: string | {
367
367
  type: string;
368
368
  url: string;
369
369
  /**
370
370
  Relative path to package.json if it is placed in non-root directory (for example if it is part of a monorepo).
371
-
371
+
372
372
  [Read more.](https://github.com/npm/rfcs/blob/latest/implemented/0010-monorepo-subdirectory-declaration.md)
373
- */
373
+ */
374
374
  directory?: string;
375
375
  };
376
376
  /**
377
377
  Script commands that are run at various times in the lifecycle of the package. The key is the lifecycle event, and the value is the command to run at that point.
378
- */
378
+ */
379
379
  scripts?: Scripts;
380
380
  /**
381
381
  Is used to set configuration parameters used in package scripts that persist across upgrades.
382
- */
382
+ */
383
383
  config?: JsonObject;
384
384
  /**
385
385
  The dependencies of the package.
386
- */
386
+ */
387
387
  dependencies?: Dependency;
388
388
  /**
389
389
  Additional tooling dependencies that are not required for the package to work. Usually test, build, or documentation tooling.
390
- */
390
+ */
391
391
  devDependencies?: Dependency;
392
392
  /**
393
393
  Dependencies that are skipped if they fail to install.
394
- */
394
+ */
395
395
  optionalDependencies?: Dependency;
396
396
  /**
397
397
  Dependencies that will usually be required by the package user directly or via another dependency.
398
- */
398
+ */
399
399
  peerDependencies?: Dependency;
400
400
  /**
401
401
  Indicate peer dependencies that are optional.
402
- */
402
+ */
403
403
  peerDependenciesMeta?: Partial<Record<string, {
404
404
  optional: true;
405
405
  }>>;
406
406
  /**
407
407
  Package names that are bundled when the package is published.
408
- */
408
+ */
409
409
  bundledDependencies?: string[];
410
410
  /**
411
411
  Alias of `bundledDependencies`.
412
- */
412
+ */
413
413
  bundleDependencies?: string[];
414
414
  /**
415
415
  Engines that this package runs on.
416
- */
416
+ */
417
417
  engines?: {
418
418
  [EngineName in 'npm' | 'node' | string]?: string;
419
419
  };
420
420
  /**
421
421
  @deprecated
422
- */
422
+ */
423
423
  engineStrict?: boolean;
424
424
  /**
425
425
  Operating systems the module runs on.
426
- */
426
+ */
427
427
  os?: Array<LiteralUnion<'aix' | 'darwin' | 'freebsd' | 'linux' | 'openbsd' | 'sunos' | 'win32' | '!aix' | '!darwin' | '!freebsd' | '!linux' | '!openbsd' | '!sunos' | '!win32', string>>;
428
428
  /**
429
429
  CPU architectures the module runs on.
430
- */
430
+ */
431
431
  cpu?: Array<LiteralUnion<'arm' | 'arm64' | 'ia32' | 'mips' | 'mipsel' | 'ppc' | 'ppc64' | 's390' | 's390x' | 'x32' | 'x64' | '!arm' | '!arm64' | '!ia32' | '!mips' | '!mipsel' | '!ppc' | '!ppc64' | '!s390' | '!s390x' | '!x32' | '!x64', string>>;
432
432
  /**
433
433
  If set to `true`, a warning will be shown if package is installed locally. Useful if the package is primarily a command-line application that should be installed globally.
434
-
434
+
435
435
  @deprecated
436
- */
436
+ */
437
437
  preferGlobal?: boolean;
438
438
  /**
439
439
  If set to `true`, then npm will refuse to publish it.
440
- */
440
+ */
441
441
  private?: boolean;
442
442
  /**
443
443
  A set of config values that will be used at publish-time. It's especially handy to set the tag, registry or access, to ensure that a given package is not tagged with 'latest', published to the global public registry or that a scoped module is private by default.
444
- */
444
+ */
445
445
  publishConfig?: PublishConfig;
446
446
  /**
447
447
  Describes and notifies consumers of a package's monetary support information.
448
-
448
+
449
449
  [Read more.](https://github.com/npm/rfcs/blob/latest/accepted/0017-add-funding-support.md)
450
- */
450
+ */
451
451
  funding?: string | {
452
452
  /**
453
453
  The type of funding.
454
- */
454
+ */
455
455
  type?: LiteralUnion<'github' | 'opencollective' | 'patreon' | 'individual' | 'foundation' | 'corporation', string>;
456
456
  /**
457
457
  The URL to the funding page.
458
- */
458
+ */
459
459
  url: string;
460
460
  };
461
461
  }
462
462
  /**
463
463
  Type for [`package.json` file used by the Node.js runtime](https://nodejs.org/api/packages.html#nodejs-packagejson-field-definitions).
464
- */
464
+ */
465
465
  type NodeJsStandard = {
466
466
  /**
467
467
  Defines which package manager is expected to be used when working on the current project. It can set to any of the [supported package managers](https://nodejs.org/api/corepack.html#supported-package-managers), and will ensure that your teams use the exact same package manager versions without having to install anything else than Node.js.
468
-
468
+
469
469
  __This field is currently experimental and needs to be opted-in; check the [Corepack](https://nodejs.org/api/corepack.html) page for details about the procedure.__
470
-
470
+
471
471
  @example
472
472
  ```json
473
473
  {
474
474
  "packageManager": "<package manager name>@<version>"
475
475
  }
476
476
  ```
477
- */
477
+ */
478
478
  packageManager?: string;
479
479
  };
480
480
  type PublishConfig = {
481
481
  /**
482
482
  Additional, less common properties from the [npm docs on `publishConfig`](https://docs.npmjs.com/cli/v7/configuring-npm/package-json#publishconfig).
483
- */
483
+ */
484
484
  [additionalProperties: string]: JsonValue | undefined;
485
485
  /**
486
486
  When publishing scoped packages, the access level defaults to restricted. If you want your scoped package to be publicly viewable (and installable) set `--access=public`. The only valid values for access are public and restricted. Unscoped packages always have an access level of public.
487
- */
487
+ */
488
488
  access?: 'public' | 'restricted';
489
489
  /**
490
490
  The base URL of the npm registry.
491
-
491
+
492
492
  Default: `'https://registry.npmjs.org/'`
493
- */
493
+ */
494
494
  registry?: string;
495
495
  /**
496
496
  The tag to publish the package under.
497
-
497
+
498
498
  Default: `'latest'`
499
- */
499
+ */
500
500
  tag?: string;
501
501
  };
502
502
  }
503
503
  /**
504
504
  Type for [npm's `package.json` file](https://docs.npmjs.com/creating-a-package-json-file). Also includes types for fields used by other popular projects, like TypeScript and Yarn.
505
-
505
+
506
506
  @category File
507
- */
507
+ */
508
508
  export type PackageJson = JsonObject & PackageJson.NodeJsStandard & PackageJson.PackageJsonStandard & PackageJson.NonStandardEntryPoints & PackageJson.TypeScriptConfiguration & PackageJson.YarnConfiguration & PackageJson.JSPMConfiguration;
509
509
  export {};
510
510
  //# sourceMappingURL=package-json.d.ts.map
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
3
-
3
+
4
4
  @category Type
5
- */
5
+ */
6
6
  export type Primitive = null | undefined | string | number | boolean | symbol | bigint;
7
7
  //# sourceMappingURL=primitive.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/project-access",
3
- "version": "1.32.15",
3
+ "version": "1.32.16",
4
4
  "description": "Library to access SAP Fiori tools projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,8 +29,8 @@
29
29
  "mem-fs": "2.1.0",
30
30
  "mem-fs-editor": "9.4.0",
31
31
  "semver": "7.5.4",
32
- "@sap-ux/i18n": "0.3.5",
33
- "@sap-ux/ui5-config": "0.29.10"
32
+ "@sap-ux/i18n": "0.3.6",
33
+ "@sap-ux/ui5-config": "0.29.11"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/mem-fs": "1.1.2",
@@ -38,14 +38,14 @@
38
38
  "@types/semver": "7.5.2",
39
39
  "@ui5/manifest": "1.81.0",
40
40
  "vscode-uri": "3.0.7",
41
- "@sap-ux/logger": "0.7.1"
41
+ "@sap-ux/logger": "0.7.2"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "tsc --build",
45
45
  "clean": "rimraf --glob dist coverage *.tsbuildinfo",
46
46
  "format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
47
- "lint": "eslint . --ext .ts",
48
- "lint:fix": "eslint . --ext .ts --fix",
47
+ "lint": "eslint",
48
+ "lint:fix": "eslint --fix",
49
49
  "test": "jest --ci --forceExit --detectOpenHandles --colors",
50
50
  "watch": "tsc --watch"
51
51
  }