@baic/yolk-cli 2.1.0-alpha.132 → 2.1.0-alpha.133
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/compiled/commander/package.json +1 -1
- package/compiled/glob/index.d.ts +102 -0
- package/compiled/glob/index.js +2222 -0
- package/compiled/glob/package.json +1 -0
- package/compiled/minimatch/index.d.ts +312 -0
- package/compiled/minimatch/index.js +1292 -0
- package/compiled/minimatch/package.json +1 -0
- package/compiled/mkdirp/index.d.ts +114 -0
- package/compiled/mkdirp/index.js +348 -0
- package/compiled/mkdirp/package.json +1 -0
- package/compiled/mustache/package.json +1 -1
- package/compiled/prettier/index.js +3 -3
- package/compiled/prettier/package.json +1 -1
- package/compiled/rimraf/index.d.ts +48 -0
- package/compiled/rimraf/index.js +449 -0
- package/compiled/rimraf/package.json +1 -0
- package/compiled/staged-git-files/package.json +1 -1
- package/es/yolk.js +1 -1
- package/lib/yolk.js +1 -1
- package/package.json +12 -10
- package/templates/miniprogram/project.config.json.tpl +1 -1
- package/templates/umi-mobile/src/pages/demo/index.tsx +3 -3
- package/templates/umi-mobile-h5+app/src/pages/demo/index.tsx +3 -3
- package/templates/umi-mobile-native/android/app/build.gradle +4 -19
- package/templates/umi-mobile-native/android/app/libs/Bluetooth-release.aar +0 -0
- package/templates/umi-mobile-native/android/gradle.properties +1 -1
- package/templates/umi-mobile-native/src/common/bluetooth.ts +6 -6
- package/templates/umi-mobile-native/src/common/bridge.ts +6 -6
- package/templates/umi-mobile-native/src/pages/demo/index.tsx +3 -3
- package/templates/umi-web/src/pages/demo/index.tsx +3 -3
- package/templates/umi-web-screen/src/components/resize-container/index.tsx +5 -5
- package/es/.lintstagedrc.js +0 -27
- package/es/index.d.ts +0 -3
- package/es/util.d.ts +0 -18
- package/es/util.js +0 -1
- package/es/yolk.d.ts +0 -2
- package/lib/.lintstagedrc.js +0 -27
- package/lib/index.d.ts +0 -3
- package/lib/util.d.ts +0 -18
- package/lib/util.js +0 -1
- package/lib/yolk.d.ts +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"commander","version":"6.2.1","author":"TJ Holowaychuk <tj@vision-media.ca>","license":"MIT","_lastModified":"2023-
|
|
1
|
+
{"name":"commander","version":"6.2.1","author":"TJ Holowaychuk <tj@vision-media.ca>","license":"MIT","_lastModified":"2023-04-19T01:06:39.681Z"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
|
|
3
|
+
import events = require('events');
|
|
4
|
+
import fs = require('fs');
|
|
5
|
+
import minimatch = require('minimatch');
|
|
6
|
+
|
|
7
|
+
export declare type ___promisify__ = G.___promisify__;
|
|
8
|
+
|
|
9
|
+
declare function G(pattern: string, cb: (err: Error | null, matches: string[]) => void): G.IGlob;
|
|
10
|
+
|
|
11
|
+
declare function G(pattern: string, options: G.IOptions, cb: (err: Error | null, matches: string[]) => void): G.IGlob;
|
|
12
|
+
|
|
13
|
+
declare namespace G {
|
|
14
|
+
function __promisify__(pattern: string, options?: IOptions): Promise<string[]>;
|
|
15
|
+
|
|
16
|
+
function sync(pattern: string, options?: IOptions): string[];
|
|
17
|
+
|
|
18
|
+
function hasMagic(pattern: string, options?: IOptions): boolean;
|
|
19
|
+
|
|
20
|
+
let glob: typeof G;
|
|
21
|
+
let Glob: IGlobStatic;
|
|
22
|
+
let GlobSync: IGlobSyncStatic;
|
|
23
|
+
|
|
24
|
+
interface IOptions extends minimatch.IOptions {
|
|
25
|
+
cwd?: string | undefined;
|
|
26
|
+
root?: string | undefined;
|
|
27
|
+
dot?: boolean | undefined;
|
|
28
|
+
nomount?: boolean | undefined;
|
|
29
|
+
mark?: boolean | undefined;
|
|
30
|
+
nosort?: boolean | undefined;
|
|
31
|
+
stat?: boolean | undefined;
|
|
32
|
+
silent?: boolean | undefined;
|
|
33
|
+
strict?: boolean | undefined;
|
|
34
|
+
cache?: { [path: string]: boolean | 'DIR' | 'FILE' | ReadonlyArray<string> } | undefined;
|
|
35
|
+
statCache?: { [path: string]: false | { isDirectory(): boolean} | undefined } | undefined;
|
|
36
|
+
symlinks?: { [path: string]: boolean | undefined } | undefined;
|
|
37
|
+
realpathCache?: { [path: string]: string } | undefined;
|
|
38
|
+
sync?: boolean | undefined;
|
|
39
|
+
nounique?: boolean | undefined;
|
|
40
|
+
nonull?: boolean | undefined;
|
|
41
|
+
debug?: boolean | undefined;
|
|
42
|
+
nobrace?: boolean | undefined;
|
|
43
|
+
noglobstar?: boolean | undefined;
|
|
44
|
+
noext?: boolean | undefined;
|
|
45
|
+
nocase?: boolean | undefined;
|
|
46
|
+
matchBase?: any;
|
|
47
|
+
nodir?: boolean | undefined;
|
|
48
|
+
ignore?: string | ReadonlyArray<string> | undefined;
|
|
49
|
+
follow?: boolean | undefined;
|
|
50
|
+
realpath?: boolean | undefined;
|
|
51
|
+
nonegate?: boolean | undefined;
|
|
52
|
+
nocomment?: boolean | undefined;
|
|
53
|
+
absolute?: boolean | undefined;
|
|
54
|
+
allowWindowsEscape?: boolean | undefined;
|
|
55
|
+
fs?: typeof fs;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface IGlobStatic extends events.EventEmitter {
|
|
59
|
+
new (pattern: string, cb?: (err: Error | null, matches: string[]) => void): IGlob;
|
|
60
|
+
new (pattern: string, options: IOptions, cb?: (err: Error | null, matches: string[]) => void): IGlob;
|
|
61
|
+
prototype: IGlob;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
interface IGlobSyncStatic {
|
|
65
|
+
new (pattern: string, options?: IOptions): IGlobBase;
|
|
66
|
+
prototype: IGlobBase;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
interface IGlobBase {
|
|
70
|
+
minimatch: minimatch.IMinimatch;
|
|
71
|
+
options: IOptions;
|
|
72
|
+
aborted: boolean;
|
|
73
|
+
cache: { [path: string]: boolean | 'DIR' | 'FILE' | ReadonlyArray<string> };
|
|
74
|
+
statCache: { [path: string]: false | { isDirectory(): boolean; } | undefined };
|
|
75
|
+
symlinks: { [path: string]: boolean | undefined };
|
|
76
|
+
realpathCache: { [path: string]: string };
|
|
77
|
+
found: string[];
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
interface IGlob extends IGlobBase, events.EventEmitter {
|
|
81
|
+
pause(): void;
|
|
82
|
+
resume(): void;
|
|
83
|
+
abort(): void;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export default G;
|
|
87
|
+
|
|
88
|
+
export declare type hasMagic = G.hasMagic;
|
|
89
|
+
|
|
90
|
+
export declare type IGlob = G.IGlob;
|
|
91
|
+
|
|
92
|
+
export declare type IGlobBase = G.IGlobBase;
|
|
93
|
+
|
|
94
|
+
export declare type IGlobStatic = G.IGlobStatic;
|
|
95
|
+
|
|
96
|
+
export declare type IGlobSyncStatic = G.IGlobSyncStatic;
|
|
97
|
+
|
|
98
|
+
export declare type IOptions = G.IOptions;
|
|
99
|
+
|
|
100
|
+
export declare type sync = G.sync;
|
|
101
|
+
|
|
102
|
+
export { }
|