aircitytype 1.0.29 → 1.1.1

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.
@@ -680,10 +680,9 @@ interface Marker {
680
680
  show(ids: string[] | string, fn?: () => void): void;
681
681
  hide(ids: string[] | string, fn?: () => void): void;
682
682
  hideAllPopupWindow(): void;
683
- showPopupWindow(id:string|string[]):void;
684
683
  setCoordinate(
685
684
  id: string,
686
- newVal: number[],
685
+ newVal: [number, number, number],
687
686
  fn?: () => void
688
687
  ): void;
689
688
  }
@@ -0,0 +1,43 @@
1
+ {
2
+ "_args": [
3
+ [
4
+ "aircitytype@1.0.27",
5
+ "E:\\projects\\srdnqd6.0"
6
+ ]
7
+ ],
8
+ "_from": "aircitytype@1.0.27",
9
+ "_id": "aircitytype@1.0.27",
10
+ "_inBundle": false,
11
+ "_integrity": "sha512-xSu2UsPN/cn0MlbdsI0X6VdKLBvnHS9T5bzMun58c/CpB4iviuJzP7gCxB7VGMesc71UBcst/SiB1InPEEP2PQ==",
12
+ "_location": "/aircitytype",
13
+ "_phantomChildren": {},
14
+ "_requested": {
15
+ "type": "version",
16
+ "registry": true,
17
+ "raw": "aircitytype@1.0.27",
18
+ "name": "aircitytype",
19
+ "escapedName": "aircitytype",
20
+ "rawSpec": "1.0.27",
21
+ "saveSpec": null,
22
+ "fetchSpec": "1.0.27"
23
+ },
24
+ "_requiredBy": [
25
+ "/"
26
+ ],
27
+ "_resolved": "https://registry.npmmirror.com/aircitytype/-/aircitytype-1.0.27.tgz",
28
+ "_spec": "1.0.27",
29
+ "_where": "E:\\projects\\srdnqd6.0",
30
+ "author": "",
31
+ "description": "",
32
+ "keywords": [],
33
+ "license": "ISC",
34
+ "main": "index.js",
35
+ "name": "aircitytype",
36
+ "scripts": {
37
+ "test": "echo \"Error: no test specified\" && exit 1"
38
+ },
39
+ "bin": {
40
+ "your-script": "./main.js"
41
+ },
42
+ "version": "1.1.1"
43
+ }
package/main.js ADDED
@@ -0,0 +1,31 @@
1
+ #!/usr/bin/env node
2
+ console.log("start install!");
3
+
4
+ const fs = require("fs");
5
+ const fse = require("fs-extra");
6
+
7
+ const source = "./node_modules/aircitytype/aircitytype";
8
+ const target = "./node_modules/@types/aircitytype";
9
+
10
+ fs.access(source, fs.constants.F_OK, (err) => {
11
+ if (err) {
12
+ console.log("源文件不存在,无需处理");
13
+ } else {
14
+ fs.access(target, fs.constants.F_OK, (err) => {
15
+ console.log("目标文件不存在,开始拷贝");
16
+ if (err) {
17
+ try {
18
+ fse.moveSync(source, target);
19
+ console.log("COPY OK");
20
+ } catch (err) {
21
+ console.log(err);
22
+ }
23
+ } else {
24
+ console.log("目标文件存在,更新");
25
+ fse.rmdir(target);
26
+ fse.moveSync(source, target);
27
+ fse.rmdir(source);
28
+ }
29
+ });
30
+ }
31
+ });
package/package.json CHANGED
@@ -1,40 +1,43 @@
1
- {
2
- "_args": [
3
- [
4
- "aircitytype@1.0.26",
5
- "E:\\projects\\srdnqd6.0"
6
- ]
7
- ],
8
- "_from": "aircitytype@1.0.26",
9
- "_id": "aircitytype@1.0.26",
10
- "_inBundle": false,
11
- "_integrity": "sha512-xSu2UsPN/cn0MlbdsI0X6VdKLBvnHS9T5bzMun58c/CpB4iviuJzP7gCxB7VGMesc71UBcst/SiB1InPEEP2PQ==",
12
- "_location": "/aircitytype",
13
- "_phantomChildren": {},
14
- "_requested": {
15
- "type": "version",
16
- "registry": true,
17
- "raw": "aircitytype@1.0.26",
18
- "name": "aircitytype",
19
- "escapedName": "aircitytype",
20
- "rawSpec": "1.0.26",
21
- "saveSpec": null,
22
- "fetchSpec": "1.0.26"
23
- },
24
- "_requiredBy": [
25
- "/"
26
- ],
27
- "_resolved": "https://registry.npmmirror.com/aircitytype/-/aircitytype-1.0.26.tgz",
28
- "_spec": "1.0.26",
29
- "_where": "E:\\projects\\srdnqd6.0",
30
- "author": "",
31
- "description": "",
32
- "keywords": [],
33
- "license": "ISC",
34
- "main": "index.js",
35
- "name": "aircitytype",
36
- "scripts": {
37
- "test": "echo \"Error: no test specified\" && exit 1"
38
- },
39
- "version": "1.0.29"
40
- }
1
+ {
2
+ "_args": [
3
+ [
4
+ "aircitytype@1.0.27",
5
+ "E:\\projects\\srdnqd6.0"
6
+ ]
7
+ ],
8
+ "_from": "aircitytype@1.0.27",
9
+ "_id": "aircitytype@1.0.27",
10
+ "_inBundle": false,
11
+ "_integrity": "sha512-xSu2UsPN/cn0MlbdsI0X6VdKLBvnHS9T5bzMun58c/CpB4iviuJzP7gCxB7VGMesc71UBcst/SiB1InPEEP2PQ==",
12
+ "_location": "/aircitytype",
13
+ "_phantomChildren": {},
14
+ "_requested": {
15
+ "type": "version",
16
+ "registry": true,
17
+ "raw": "aircitytype@1.0.27",
18
+ "name": "aircitytype",
19
+ "escapedName": "aircitytype",
20
+ "rawSpec": "1.0.27",
21
+ "saveSpec": null,
22
+ "fetchSpec": "1.0.27"
23
+ },
24
+ "_requiredBy": [
25
+ "/"
26
+ ],
27
+ "_resolved": "https://registry.npmmirror.com/aircitytype/-/aircitytype-1.0.27.tgz",
28
+ "_spec": "1.0.27",
29
+ "_where": "E:\\projects\\srdnqd6.0",
30
+ "author": "",
31
+ "description": "",
32
+ "keywords": [],
33
+ "license": "ISC",
34
+ "main": "index.js",
35
+ "name": "aircitytype",
36
+ "scripts": {
37
+ "test": "echo \"Error: no test specified\" && exit 1"
38
+ },
39
+ "bin": {
40
+ "installdts": "./main.js"
41
+ },
42
+ "version": "1.1.1"
43
+ }