@uni-plus/create 0.0.2
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/CHANGELOG.md +7 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -0
- package/package.json +17 -0
- package/src/index.ts +6 -0
- package/tsconfig.json +15 -0
package/CHANGELOG.md
ADDED
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
8
|
+
});
|
9
|
+
};
|
10
|
+
function create() {
|
11
|
+
return __awaiter(this, void 0, void 0, function* () {
|
12
|
+
console.log('create 命令执行中...');
|
13
|
+
});
|
14
|
+
}
|
15
|
+
export default create;
|
16
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;AAAA,SAAe,MAAM;;QACnB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAA;IAChC,CAAC;CAAA;AAED,eAAe,MAAM,CAAC"}
|
package/package.json
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"name": "@uni-plus/create",
|
3
|
+
"version": "0.0.2",
|
4
|
+
"description": "",
|
5
|
+
"type": "module",
|
6
|
+
"main": "dist/index.js",
|
7
|
+
"types": "dist/index.d.ts",
|
8
|
+
"publishConfig": {
|
9
|
+
"access": "public"
|
10
|
+
},
|
11
|
+
"keywords": [],
|
12
|
+
"author": "",
|
13
|
+
"license": "ISC",
|
14
|
+
"scripts": {
|
15
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
16
|
+
}
|
17
|
+
}
|
package/src/index.ts
ADDED
package/tsconfig.json
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
"outDir": "dist",
|
4
|
+
"types": [ "node" ],
|
5
|
+
"target": "es2016",
|
6
|
+
"module": "NodeNext",
|
7
|
+
"moduleResolution": "NodeNext",
|
8
|
+
"declaration": true,
|
9
|
+
"esModuleInterop": true,
|
10
|
+
"forceConsistentCasingInFileNames": true,
|
11
|
+
"strict": true,
|
12
|
+
"skipLibCheck": true,
|
13
|
+
"sourceMap": true
|
14
|
+
}
|
15
|
+
}
|