@arcgis/components-build-utils 5.0.0-next.65 → 5.0.0-next.67

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.
@@ -7,10 +7,10 @@ export interface Issue {
7
7
  };
8
8
  }
9
9
  declare class Devtopia {
10
- readonly owner: string;
11
- readonly name: string;
12
10
  private issuesPerPage;
13
11
  constructor(owner: string, name: string);
12
+ readonly owner: string;
13
+ readonly name: string;
14
14
  /**
15
15
  * Requests to github graphql server
16
16
  */
@@ -7,10 +7,10 @@ export interface Issue {
7
7
  };
8
8
  }
9
9
  declare class Devtopia {
10
- readonly owner: string;
11
- readonly name: string;
12
10
  private issuesPerPage;
13
11
  constructor(owner: string, name: string);
12
+ readonly owner: string;
13
+ readonly name: string;
14
14
  /**
15
15
  * Requests to github graphql server
16
16
  */
@@ -1,4 +1,4 @@
1
- import { Issue } from './devtopia';
1
+ import { Issue } from './devtopia.ts';
2
2
  export type IssueWithZenhub = {
3
3
  gitHubId: string;
4
4
  zenhubId: string;
@@ -33,14 +33,14 @@ export type IssueWithZenhub = {
33
33
  * Reference: https://qawebgis.esri.com/webgis/components/devops/troubleshoot/troubleshoot#certificate-verification-failure
34
34
  */
35
35
  declare class Zentopia {
36
- readonly repoId: number;
37
- readonly workspaceId: string;
38
- readonly token?: string | undefined;
39
36
  private _issueIdCache;
40
37
  private _pipelinesCache?;
41
38
  private _sprintsCache?;
42
39
  private _releasesCache?;
43
- constructor(repoId: number, workspaceId: string, token?: string | undefined);
40
+ constructor(repoId: number, workspaceId: string, token?: string);
41
+ readonly repoId: number;
42
+ readonly workspaceId: string;
43
+ readonly token?: string;
44
44
  /**
45
45
  * Requests to graphql server
46
46
  */
@@ -1,4 +1,4 @@
1
- import { Issue } from './devtopia';
1
+ import { Issue } from './devtopia.ts';
2
2
  export type IssueWithZenhub = {
3
3
  gitHubId: string;
4
4
  zenhubId: string;
@@ -33,14 +33,14 @@ export type IssueWithZenhub = {
33
33
  * Reference: https://qawebgis.esri.com/webgis/components/devops/troubleshoot/troubleshoot#certificate-verification-failure
34
34
  */
35
35
  declare class Zentopia {
36
- readonly repoId: number;
37
- readonly workspaceId: string;
38
- readonly token?: string | undefined;
39
36
  private _issueIdCache;
40
37
  private _pipelinesCache?;
41
38
  private _sprintsCache?;
42
39
  private _releasesCache?;
43
- constructor(repoId: number, workspaceId: string, token?: string | undefined);
40
+ constructor(repoId: number, workspaceId: string, token?: string);
41
+ readonly repoId: number;
42
+ readonly workspaceId: string;
43
+ readonly token?: string;
44
44
  /**
45
45
  * Requests to graphql server
46
46
  */
@@ -1,5 +1,5 @@
1
1
  import { Command } from '@commander-js/extra-typings';
2
- import { PackageWalkerItem } from './utils';
2
+ import { PackageWalkerItem } from './utils.ts';
3
3
  export declare const registerCommand: (command: Command) => undefined;
4
4
  export declare function scanDist({ blocklistedNames }: {
5
5
  blocklistedNames?: string[];
@@ -1,5 +1,5 @@
1
1
  import { Command } from '@commander-js/extra-typings';
2
- import { PackageWalkerItem } from './utils';
2
+ import { PackageWalkerItem } from './utils.ts';
3
3
  export declare const registerCommand: (command: Command) => undefined;
4
4
  export declare function scanDist({ blocklistedNames }: {
5
5
  blocklistedNames?: string[];
@@ -1,5 +1,5 @@
1
1
  import { ExecSyncOptionsWithStringEncoding } from 'node:child_process';
2
- import { MiniPackageJson } from '../packageJson';
2
+ import { MiniPackageJson } from '../packageJson.ts';
3
3
  /**
4
4
  * Sets the exit code to 1 and prints the error message to stderr.
5
5
  * This is used to indicate an error condition in the script.
@@ -1,5 +1,5 @@
1
1
  import { ExecSyncOptionsWithStringEncoding } from 'node:child_process';
2
- import { MiniPackageJson } from '../packageJson';
2
+ import { MiniPackageJson } from '../packageJson.ts';
3
3
  /**
4
4
  * Sets the exit code to 1 and prints the error message to stderr.
5
5
  * This is used to indicate an error condition in the script.
package/dist/index.cjs CHANGED
@@ -215,7 +215,7 @@ function vitePresetPlugin({
215
215
  build: {
216
216
  // REFACTOR: get this from tsconfig
217
217
  // It's a best practice to let the final bundler down-level as needed.
218
- target: target ?? "es2022"
218
+ target: target ?? "es2024"
219
219
  },
220
220
  define: env.mode === "test" ? {
221
221
  "process.env.ESRI_INTERNAL": true
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- export { existsAsync, sh, createFileIfNotExists, findPath, asyncFindPath } from './file';
2
- export { gitIgnoreFileToGlobs, gitIgnoreToGlob } from './glob';
3
- export { isPosix, toPosixPathSeparators, normalizePath, toSystemPathSeparators, getCwd, path } from './path';
4
- export { type MiniPackageJson, retrievePackageJson, asyncRetrievePackageJson, fetchPackageLocation, detectPackageManager, } from './packageJson';
5
- export { vitePresetPlugin, type DependencyManagementOptions, externalizeDependencies } from './vite';
1
+ export { existsAsync, sh, createFileIfNotExists, findPath, asyncFindPath } from './file.ts';
2
+ export { gitIgnoreFileToGlobs, gitIgnoreToGlob } from './glob.ts';
3
+ export { isPosix, toPosixPathSeparators, normalizePath, toSystemPathSeparators, getCwd, path } from './path.ts';
4
+ export { type MiniPackageJson, retrievePackageJson, asyncRetrievePackageJson, fetchPackageLocation, detectPackageManager, } from './packageJson.ts';
5
+ export { vitePresetPlugin, type DependencyManagementOptions, externalizeDependencies } from './vite.ts';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { existsAsync, sh, createFileIfNotExists, findPath, asyncFindPath } from './file';
2
- export { gitIgnoreFileToGlobs, gitIgnoreToGlob } from './glob';
3
- export { isPosix, toPosixPathSeparators, normalizePath, toSystemPathSeparators, getCwd, path } from './path';
4
- export { type MiniPackageJson, retrievePackageJson, asyncRetrievePackageJson, fetchPackageLocation, detectPackageManager, } from './packageJson';
5
- export { vitePresetPlugin, type DependencyManagementOptions, externalizeDependencies } from './vite';
1
+ export { existsAsync, sh, createFileIfNotExists, findPath, asyncFindPath } from './file.ts';
2
+ export { gitIgnoreFileToGlobs, gitIgnoreToGlob } from './glob.ts';
3
+ export { isPosix, toPosixPathSeparators, normalizePath, toSystemPathSeparators, getCwd, path } from './path.ts';
4
+ export { type MiniPackageJson, retrievePackageJson, asyncRetrievePackageJson, fetchPackageLocation, detectPackageManager, } from './packageJson.ts';
5
+ export { vitePresetPlugin, type DependencyManagementOptions, externalizeDependencies } from './vite.ts';
package/dist/index.js CHANGED
@@ -191,7 +191,7 @@ function vitePresetPlugin({
191
191
  build: {
192
192
  // REFACTOR: get this from tsconfig
193
193
  // It's a best practice to let the final bundler down-level as needed.
194
- target: target ?? "es2022"
194
+ target: target ?? "es2024"
195
195
  },
196
196
  define: env.mode === "test" ? {
197
197
  "process.env.ESRI_INTERNAL": true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/components-build-utils",
3
- "version": "5.0.0-next.65",
3
+ "version": "5.0.0-next.67",
4
4
  "description": "Collection of common internal build-time patterns and utilities for ArcGIS Maps SDK for JavaScript components.",
5
5
  "homepage": "https://developers.arcgis.com/javascript/latest/",
6
6
  "type": "module",