@cx-cli/utils
Advanced tools
| import { defineConfig } from "father"; | ||
| export default defineConfig({ | ||
| cjs: {}, | ||
| }); |
| { | ||
| "0 debug pnpm:scope": { | ||
| "selected": 1, | ||
| "workspacePrefix": "/Users/10034198/git/mine/node-pkg/ci_cd" | ||
| }, | ||
| "1 error pnpm": { | ||
| "code": "ELIFECYCLE", | ||
| "errno": "ENOENT", | ||
| "syscall": "spawn", | ||
| "file": "sh", | ||
| "pkgid": "@cx-cli/utils@1.0.9", | ||
| "stage": "build", | ||
| "script": "father build", | ||
| "pkgname": "@cx-cli/utils", | ||
| "err": { | ||
| "name": "pnpm", | ||
| "message": "@cx-cli/utils@1.0.9 build: `father build`\nspawn ENOENT", | ||
| "code": "ELIFECYCLE", | ||
| "stack": "pnpm: @cx-cli/utils@1.0.9 build: `father build`\nspawn ENOENT\n at ChildProcess.<anonymous> (/Users/10034198/.cache/node/corepack/pnpm/7.3.0/dist/pnpm.cjs:94974:22)\n at ChildProcess.emit (node:events:513:28)\n at maybeClose (node:internal/child_process:1100:16)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)" | ||
| } | ||
| }, | ||
| "2 warn pnpm:global": " Local package.json exists, but node_modules missing, did you mean to install?" | ||
| } |
| .green-bg { | ||
| background: green; | ||
| } |
| .red-bg { | ||
| background: #f00; | ||
| } |
| var __defProp = Object.defineProperty; | ||
| var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
| var __getOwnPropNames = Object.getOwnPropertyNames; | ||
| var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
| var __export = (target, all) => { | ||
| for (var name in all) | ||
| __defProp(target, name, { get: all[name], enumerable: true }); | ||
| }; | ||
| var __copyProps = (to, from, except, desc) => { | ||
| if (from && typeof from === "object" || typeof from === "function") { | ||
| for (let key of __getOwnPropNames(from)) | ||
| if (!__hasOwnProp.call(to, key) && key !== except) | ||
| __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
| } | ||
| return to; | ||
| }; | ||
| var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
| // src/index.js | ||
| var src_exports = {}; | ||
| __export(src_exports, { | ||
| utils: () => utils | ||
| }); | ||
| module.exports = __toCommonJS(src_exports); | ||
| function utils() { | ||
| console.log("utils 2.0"); | ||
| } | ||
| // Annotate the CommonJS export names for ESM import in node: | ||
| 0 && (module.exports = { | ||
| utils | ||
| }); |
| .green-bg { | ||
| background: green; | ||
| } |
| .red-bg { | ||
| background: #f00; | ||
| } |
+10
| export function utils() { | ||
| console.log("utils 2.0"); | ||
| } | ||
| // const sleep = (ms) => new Promise((resolve, reject) => setTimeout(resolve, ms)); | ||
| // export async function myUtils() { | ||
| // await sleep(1000); | ||
| // return Math.random().toString(36).slice(2, 8); | ||
| // } |
+6
-16
| { | ||
| "name": "@cx-cli/utils", | ||
| "version": "1.0.9", | ||
| "version": "2.0.0", | ||
| "description": "> TODO: description", | ||
@@ -8,15 +8,8 @@ "author": "OF3674 <597219320@qq.com>", | ||
| "license": "ISC", | ||
| "main": "lib/utils.js", | ||
| "directories": { | ||
| "lib": "lib", | ||
| "test": "__tests__" | ||
| }, | ||
| "files": [ | ||
| "lib" | ||
| ], | ||
| "main": "dist/cjs/index.js", | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "peerDependencies": { | ||
| "@cx-cli/core": "^2.0.0" | ||
| "devDependencies": { | ||
| "father": "4.2.3" | ||
| }, | ||
@@ -28,8 +21,5 @@ "repository": { | ||
| "scripts": { | ||
| "build": "father build", | ||
| "test": "echo \"Error: run tests from root\" && exit 1" | ||
| }, | ||
| "bugs": { | ||
| "url": "https://github.com/nanianlisao/ci_cd/issues" | ||
| }, | ||
| "gitHead": "a6bf905027e46f5412342c1d1b839644770adddf" | ||
| } | ||
| } |
| .green-bg { | ||
| background: green; | ||
| } |
| .red-bg { | ||
| background: #f00; | ||
| } |
-10
| export function utils() { | ||
| console.log("utils"); | ||
| } | ||
| const sleep = (ms) => new Promise((resolve, reject) => setTimeout(resolve, ms)); | ||
| export async function myUtils() { | ||
| await sleep(1000); | ||
| return Math.random().toString(36).slice(2, 8); | ||
| } |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
3178
172.09%0
-100%10
100%48
336.36%1
Infinity%