@arcgis/components-build-utils 5.2.0-next.95 → 5.2.0-next.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +63 -0
- package/dist/index.js +50 -0
- package/package.json +2 -2
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { findPath as findPathAliased, asyncFindPath as asyncFindPathAliased } from "@arcgis/node-toolkit/file";
|
|
2
|
+
import { sh as shAliased, sp as spAliased, asyncSh as asyncShAliased } from "@arcgis/node-toolkit/shell";
|
|
3
|
+
import { gitIgnoreFileToGlobs as gitIgnoreFileToGlobsAliased } from "@arcgis/node-toolkit/glob";
|
|
4
|
+
import { retrievePackageJson as retrievePackageJsonAliased, asyncRetrievePackageJson as asyncRetrievePackageJsonAliased, fetchPackageLocation as fetchPackageLocationAliased } from "@arcgis/node-toolkit/packageJson";
|
|
5
|
+
import { detectPackageManager as detectPackageManagerAliased } from "@arcgis/node-toolkit/workspace";
|
|
6
|
+
import type { PackageJson as PackageJsonAliased } from "@arcgis/node-toolkit/packageJson";
|
|
7
|
+
import { vitePresetPlugin as vitePresetPluginAliased } from "@arcgis/node-toolkit/vite/presetPlugin";
|
|
8
|
+
import type { DependencyManagementOptions as DependencyManagementOptionsAliased } from "@arcgis/node-toolkit/vite/externalizeDependenciesPlugin";
|
|
9
|
+
import { externalizeDependencies as externalizeDependenciesAliased } from "@arcgis/node-toolkit/vite/externalizeDependenciesPlugin";
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated import { existsAsync } from "@arcgis/node-toolkit/file"; instead
|
|
12
|
+
*/
|
|
13
|
+
export declare const existsAsync: (file: string) => Promise<boolean>;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated import { sh } from "@arcgis/node-toolkit/shell";
|
|
16
|
+
* use runCommandSync or collectOutputSync instead when shell syntax is not required.
|
|
17
|
+
*/
|
|
18
|
+
export declare const sh: typeof shAliased;
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated import { sp } from "@arcgis/node-toolkit/shell";
|
|
21
|
+
* use runCommandSync or collectOutputSync instead based on whether stdout is needed.
|
|
22
|
+
*/
|
|
23
|
+
export declare const sp: typeof spAliased;
|
|
24
|
+
/** @deprecated import { asyncSh } from "@arcgis/node-toolkit/shell"; use runCommand or collectOutput when shell syntax is not required. */
|
|
25
|
+
export declare const asyncSh: typeof asyncShAliased;
|
|
26
|
+
/** @deprecated import { findPath } from "@arcgis/node-toolkit/file"; instead */
|
|
27
|
+
export declare const findPath: typeof findPathAliased;
|
|
28
|
+
/** @deprecated import { asyncFindPath } from "@arcgis/node-toolkit/file"; instead */
|
|
29
|
+
export declare const asyncFindPath: typeof asyncFindPathAliased;
|
|
30
|
+
/** @deprecated import { gitIgnoreFileToGlobs } from "@arcgis/node-toolkit/glob"; instead */
|
|
31
|
+
export declare const gitIgnoreFileToGlobs: typeof gitIgnoreFileToGlobsAliased;
|
|
32
|
+
/** @deprecated import { gitIgnoreToGlob } from "@arcgis/node-toolkit/glob"; instead */
|
|
33
|
+
export declare const gitIgnoreToGlob: (pattern: string) => string;
|
|
34
|
+
/** @deprecated import { isPosix } from "@arcgis/node-toolkit/path"; instead */
|
|
35
|
+
export declare const isPosix: boolean;
|
|
36
|
+
/** @deprecated import { toPosixPathSeparators } from "@arcgis/node-toolkit/path"; instead */
|
|
37
|
+
export declare const toPosixPathSeparators: (relativePath: string) => string;
|
|
38
|
+
/** @deprecated import { normalizePath } from "@arcgis/node-toolkit/path"; instead */
|
|
39
|
+
export declare const normalizePath: (relativePath: string) => string;
|
|
40
|
+
/** @deprecated import { toSystemPathSeparators } from "@arcgis/node-toolkit/path"; instead */
|
|
41
|
+
export declare const toSystemPathSeparators: (relativePath: string) => string;
|
|
42
|
+
/** @deprecated import { getCwd } from "@arcgis/node-toolkit/path"; instead */
|
|
43
|
+
export declare const getCwd: () => string;
|
|
44
|
+
/** @deprecated import { path } from "@arcgis/node-toolkit/path"; instead */
|
|
45
|
+
export declare const path: import("path").PlatformPath & {
|
|
46
|
+
sep: "/";
|
|
47
|
+
};
|
|
48
|
+
/** @deprecated import type { PackageJson } from "@arcgis/node-toolkit/packageJson"; instead */
|
|
49
|
+
export type PackageJson = PackageJsonAliased;
|
|
50
|
+
/** @deprecated import { retrievePackageJson } from "@arcgis/node-toolkit/packageJson"; instead */
|
|
51
|
+
export declare const retrievePackageJson: typeof retrievePackageJsonAliased;
|
|
52
|
+
/** @deprecated import { asyncRetrievePackageJson } from "@arcgis/node-toolkit/packageJson"; instead */
|
|
53
|
+
export declare const asyncRetrievePackageJson: typeof asyncRetrievePackageJsonAliased;
|
|
54
|
+
/** @deprecated import { fetchPackageLocation } from "@arcgis/node-toolkit/packageJson"; instead */
|
|
55
|
+
export declare const fetchPackageLocation: typeof fetchPackageLocationAliased;
|
|
56
|
+
/** @deprecated import { detectPackageManager } from "@arcgis/node-toolkit/workspace"; instead */
|
|
57
|
+
export declare const detectPackageManager: typeof detectPackageManagerAliased;
|
|
58
|
+
/** @deprecated import type { DependencyManagementOptions } from "@arcgis/node-toolkit/vite/externalizeDependenciesPlugin"; instead */
|
|
59
|
+
export type DependencyManagementOptions = DependencyManagementOptionsAliased;
|
|
60
|
+
/** @deprecated import { vitePresetPlugin } from "@arcgis/node-toolkit/vite/presetPlugin"; instead */
|
|
61
|
+
export declare const vitePresetPlugin: typeof vitePresetPluginAliased;
|
|
62
|
+
/** @deprecated import { externalizeDependencies } from "@arcgis/node-toolkit/vite/externalizeDependenciesPlugin"; instead */
|
|
63
|
+
export declare const externalizeDependencies: typeof externalizeDependenciesAliased;
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { asyncFindPath as asyncFindPath$1, existsAsync as existsAsync$1, findPath as findPath$1 } from "@arcgis/node-toolkit/file";
|
|
2
|
+
import { asyncSh as asyncSh$1, sh as sh$1, sp as sp$1 } from "@arcgis/node-toolkit/shell";
|
|
3
|
+
import { gitIgnoreFileToGlobs as gitIgnoreFileToGlobs$1, gitIgnoreToGlob as gitIgnoreToGlob$1 } from "@arcgis/node-toolkit/glob";
|
|
4
|
+
import { getCwd as getCwd$1, isPosix as isPosix$1, normalizePath as normalizePath$1, path as path$1, toPosixPathSeparators as toPosixPathSeparators$1, toSystemPathSeparators as toSystemPathSeparators$1 } from "@arcgis/node-toolkit/path";
|
|
5
|
+
import { asyncRetrievePackageJson as asyncRetrievePackageJson$1, fetchPackageLocation as fetchPackageLocation$1, retrievePackageJson as retrievePackageJson$1 } from "@arcgis/node-toolkit/packageJson";
|
|
6
|
+
import { detectPackageManager as detectPackageManager$1 } from "@arcgis/node-toolkit/workspace";
|
|
7
|
+
import { vitePresetPlugin as vitePresetPlugin$1 } from "@arcgis/node-toolkit/vite/presetPlugin";
|
|
8
|
+
import { externalizeDependencies as externalizeDependencies$1 } from "@arcgis/node-toolkit/vite/externalizeDependenciesPlugin";
|
|
9
|
+
const existsAsync = existsAsync$1;
|
|
10
|
+
const sh = sh$1;
|
|
11
|
+
const sp = sp$1;
|
|
12
|
+
const asyncSh = asyncSh$1;
|
|
13
|
+
const findPath = findPath$1;
|
|
14
|
+
const asyncFindPath = asyncFindPath$1;
|
|
15
|
+
const gitIgnoreFileToGlobs = gitIgnoreFileToGlobs$1;
|
|
16
|
+
const gitIgnoreToGlob = gitIgnoreToGlob$1;
|
|
17
|
+
const isPosix = isPosix$1;
|
|
18
|
+
const toPosixPathSeparators = toPosixPathSeparators$1;
|
|
19
|
+
const normalizePath = normalizePath$1;
|
|
20
|
+
const toSystemPathSeparators = toSystemPathSeparators$1;
|
|
21
|
+
const getCwd = getCwd$1;
|
|
22
|
+
const path = path$1;
|
|
23
|
+
const retrievePackageJson = retrievePackageJson$1;
|
|
24
|
+
const asyncRetrievePackageJson = asyncRetrievePackageJson$1;
|
|
25
|
+
const fetchPackageLocation = fetchPackageLocation$1;
|
|
26
|
+
const detectPackageManager = detectPackageManager$1;
|
|
27
|
+
const vitePresetPlugin = vitePresetPlugin$1;
|
|
28
|
+
const externalizeDependencies = externalizeDependencies$1;
|
|
29
|
+
export {
|
|
30
|
+
asyncFindPath,
|
|
31
|
+
asyncRetrievePackageJson,
|
|
32
|
+
asyncSh,
|
|
33
|
+
detectPackageManager,
|
|
34
|
+
existsAsync,
|
|
35
|
+
externalizeDependencies,
|
|
36
|
+
fetchPackageLocation,
|
|
37
|
+
findPath,
|
|
38
|
+
getCwd,
|
|
39
|
+
gitIgnoreFileToGlobs,
|
|
40
|
+
gitIgnoreToGlob,
|
|
41
|
+
isPosix,
|
|
42
|
+
normalizePath,
|
|
43
|
+
path,
|
|
44
|
+
retrievePackageJson,
|
|
45
|
+
sh,
|
|
46
|
+
sp,
|
|
47
|
+
toPosixPathSeparators,
|
|
48
|
+
toSystemPathSeparators,
|
|
49
|
+
vitePresetPlugin
|
|
50
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/components-build-utils",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.97",
|
|
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",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@arcgis/node-toolkit": "5.2.0-next.
|
|
19
|
+
"@arcgis/node-toolkit": "5.2.0-next.97",
|
|
20
20
|
"@types/node": "~24.11.2",
|
|
21
21
|
"tslib": "^2.8.1",
|
|
22
22
|
"vite": "^7.3.2"
|