{"_id":"@bale-react-components/pipeline","_rev":"5-4b260d9d4a3acf4f0f6fe0afe664c27a","name":"@bale-react-components/pipeline","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@bale-react-components/pipeline","version":"1.0.0","author":{"name":"poohlaha"},"description":"pipeline stage and view","keywords":["pipeline","stage","react"],"repository":{"type":"git","url":"git+https://github.com/poohlaha/pipeline.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"scripts":{"publish":"npm publish"},"dependencies":{"react":"^18.2.0","react-dom":"^18.2.0","typescript":"^4.3.2","@types/react":"^18.0.12","@types/react-dom":"^18.0.5","sortablejs":"^1.15.2"},"_id":"@bale-react-components/pipeline@1.0.0","gitHead":"4622b2d4dc6b160e02aaa2ff85bf76d2fdc0587e","bugs":{"url":"https://github.com/poohlaha/pipeline/issues"},"homepage":"https://github.com/poohlaha/pipeline#readme","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-npzktnl6lvtISP2j3g1nh8JY6aZWx3wcpOBHRIUjh9Uo+VFKHqlQkPdZfaOs9KW3PaL8QotgLmWvKg8J95OFGQ==","shasum":"15ef79c3b2321f369e5aa44a700f37825ec3200d","tarball":"https://registry.npmjs.org/@bale-react-components/pipeline/-/pipeline-1.0.0.tgz","fileCount":10,"unpackedSize":28950,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2wHhqg515Z768IUGfEVr5ESRnXUEVSzmHH30zSzj6lQIhALz9ozvjNORr/tIxZo0S3T9KM7Qm8fdKz7955MHCXUko"}]},"_npmUser":{"name":"ztyjr88","email":"ztyjr88@163.com"},"directories":{},"maintainers":[{"name":"ztyjr88","email":"ztyjr88@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pipeline_1.0.0_1711507222053_0.7156559826360895"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bale-react-components/pipeline","version":"1.0.1","author":{"name":"poohlaha"},"description":"pipeline stage and view","keywords":["pipeline","stage","react"],"repository":{"type":"git","url":"git+https://github.com/poohlaha/pipeline.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"scripts":{"preinstall":"npx only-allow pnpm","build:js":"swc src/**/*.tsx -d src","build:css":"lessc src/lib/css/index.less src/lib/css/index.css","format":"npx prettier --write .","publish":"npm run build:js && npm run build:css && npm publish","test":"ava"},"dependencies":{},"devDependencies":{"@babel/core":"^7.19.3","@babel/eslint-parser":"^7.12.16","@babel/preset-env":"^7.14.4","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@commitlint/cli":"^12.1.4","eslint":"^7.32.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","husky":"^4.2.3","lint-staged":"^13.0.3","prettier":"^2.7.1","@types/node":"^18.14.6","@types/es6-promise":"^3.3.0","@typescript-eslint/parser":"^5.54.1","@swc/cli":"^0.1.62","@swc/core":"^1.3.38","@swc/helpers":"^0.4.14","ava":"^5.2.0"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"**/*.{vue,jsx,js,tsx,ts,json,css,md}":["prettier --write"],"**/*.{vue,jsx,js,tsx,ts}":["eslint --fix"]},"_id":"@bale-react-components/pipeline@1.0.1","gitHead":"6e0f23c24f9f9182eebc15eda67638bd76ecc7ac","bugs":{"url":"https://github.com/poohlaha/pipeline/issues"},"homepage":"https://github.com/poohlaha/pipeline#readme","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-wFRTi9Y4V08NtyuqLBEjY89YzFSttDwNNLyGXji9F+EVi8AV7O+KBK/br9JT/h0/QnM+i1+UOsTjVCSBECa5OA==","shasum":"23a64546746d9a6cb697c54845de326501705fc8","tarball":"https://registry.npmjs.org/@bale-react-components/pipeline/-/pipeline-1.0.1.tgz","fileCount":14,"unpackedSize":48122,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICUpFtXNd8uw4G//QqNeqLv+q7XhhIIOTnVvLB0END9VAiEAuiZ6SWjxsevmzcXVyJNn5gID2F7EkgUPMAReGly7x7U="}]},"_npmUser":{"name":"ztyjr88","email":"ztyjr88@163.com"},"directories":{},"maintainers":[{"name":"ztyjr88","email":"ztyjr88@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pipeline_1.0.1_1711517251109_0.7924486045648058"},"_hasShrinkwrap":false},"1.0.2":{"name":"@bale-react-components/pipeline","version":"1.0.2","author":{"name":"poohlaha"},"description":"pipeline stage and view","keywords":["pipeline","stage","react"],"repository":{"type":"git","url":"git+https://github.com/poohlaha/pipeline.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"scripts":{"preinstall":"npx only-allow pnpm","build:js":"swc src -d src","build:css":"lessc src/lib/css/index.less src/lib/css/index.css","format":"npx prettier --write .","build":"npm run build:js && npm run build:css","publish":"npm publish","test":"ava"},"dependencies":{},"devDependencies":{"@babel/core":"^7.19.3","@babel/eslint-parser":"^7.12.16","@babel/preset-env":"^7.14.4","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@commitlint/cli":"^12.1.4","eslint":"^7.32.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","husky":"^4.2.3","lint-staged":"^13.0.3","prettier":"^2.7.1","@types/node":"^18.14.6","@types/es6-promise":"^3.3.0","@typescript-eslint/parser":"^5.54.1","@swc/cli":"^0.1.62","@swc/core":"^1.3.38","@swc/helpers":"^0.4.14","ava":"^5.2.0"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"**/*.{vue,jsx,js,tsx,ts,json,css,md}":["prettier --write"],"**/*.{vue,jsx,js,tsx,ts}":["eslint --fix"]},"_id":"@bale-react-components/pipeline@1.0.2","gitHead":"6e0f23c24f9f9182eebc15eda67638bd76ecc7ac","bugs":{"url":"https://github.com/poohlaha/pipeline/issues"},"homepage":"https://github.com/poohlaha/pipeline#readme","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-eHT++/0jtWnH3ASgzz4nmNsrw/5OrOQOpaFhhqVW3aYodU8rAHFoFnURxbhxAuqzTSvckvVYIbRLLfD3+chURA==","shasum":"977cf5f10ec31c35776deba98f3b951b04f9d595","tarball":"https://registry.npmjs.org/@bale-react-components/pipeline/-/pipeline-1.0.2.tgz","fileCount":21,"unpackedSize":72033,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZo/eTMH0Ro+P0vD2SDBD+SGpgINdulZONEtuSw/WeagIgAhvzKjc/cHm69TEE8LFkTuD0o2bNP04QeuYGu8277Pw="}]},"_npmUser":{"name":"ztyjr88","email":"ztyjr88@163.com"},"directories":{},"maintainers":[{"name":"ztyjr88","email":"ztyjr88@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pipeline_1.0.2_1711517463343_0.535493859678698"},"_hasShrinkwrap":false},"1.0.3":{"name":"@bale-react-components/pipeline","version":"1.0.3","author":{"name":"poohlaha"},"description":"pipeline stage and view","keywords":["pipeline","stage","react"],"repository":{"type":"git","url":"git+https://github.com/poohlaha/pipeline.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"scripts":{"preinstall":"npx only-allow pnpm","build:js":"swc src -d src","build:css":"lessc src/lib/css/index.less src/lib/css/index.css","format":"npx prettier --write .","build":"npm run build:js && npm run build:css","publish":"npm publish","test":"ava"},"dependencies":{},"devDependencies":{"@babel/core":"^7.19.3","@babel/eslint-parser":"^7.12.16","@babel/preset-env":"^7.14.4","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@commitlint/cli":"^12.1.4","eslint":"^7.32.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","husky":"^4.2.3","lint-staged":"^13.0.3","prettier":"^2.7.1","@types/node":"^18.14.6","@types/es6-promise":"^3.3.0","@typescript-eslint/parser":"^5.54.1","@swc/cli":"^0.1.62","@swc/core":"^1.3.38","@swc/helpers":"^0.4.14","ava":"^5.2.0"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"**/*.{vue,jsx,js,tsx,ts,json,css,md}":["prettier --write"],"**/*.{vue,jsx,js,tsx,ts}":["eslint --fix"]},"_id":"@bale-react-components/pipeline@1.0.3","gitHead":"6e0f23c24f9f9182eebc15eda67638bd76ecc7ac","bugs":{"url":"https://github.com/poohlaha/pipeline/issues"},"homepage":"https://github.com/poohlaha/pipeline#readme","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-0c+5ZIeXm1up9al/Uw6khRuCw826q6wgiaR6jKpJt5ucRGnYrjYOvqknVYQktbG88VTGbJmxA+RCMttu8MReJw==","shasum":"b794a30dd9ae013a7c88524c0b93f4e0d4cf315a","tarball":"https://registry.npmjs.org/@bale-react-components/pipeline/-/pipeline-1.0.3.tgz","fileCount":20,"unpackedSize":70972,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0alEBTC5e/1YIrY1Lv33Q79YmEZPW9sKNtU8KL8odQAIgL6PmNG6AAd3Tge/zUm4N0pGGtTZIavKjanKEI89qqGg="}]},"_npmUser":{"name":"ztyjr88","email":"ztyjr88@163.com"},"directories":{},"maintainers":[{"name":"ztyjr88","email":"ztyjr88@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pipeline_1.0.3_1711517699781_0.6931264688577985"},"_hasShrinkwrap":false},"1.0.4":{"name":"@bale-react-components/pipeline","version":"1.0.4","author":{"name":"poohlaha"},"description":"pipeline stage and view","keywords":["pipeline","stage","react"],"repository":{"type":"git","url":"git+https://github.com/poohlaha/pipeline.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"scripts":{"preinstall":"npx only-allow pnpm","format":"npx prettier --write .","test":"ava"},"dependencies":{},"devDependencies":{"@babel/core":"^7.19.3","@babel/eslint-parser":"^7.12.16","@babel/preset-env":"^7.14.4","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@commitlint/cli":"^12.1.4","eslint":"^7.32.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","husky":"^4.2.3","lint-staged":"^13.0.3","prettier":"^2.7.1","@types/node":"^18.14.6","@types/es6-promise":"^3.3.0","@typescript-eslint/parser":"^5.54.1","@swc/cli":"^0.1.62","@swc/core":"^1.3.38","@swc/helpers":"^0.4.14","ava":"^5.2.0"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"**/*.{vue,jsx,js,tsx,ts,json,css,md}":["prettier --write"],"**/*.{vue,jsx,js,tsx,ts}":["eslint --fix"]},"_id":"@bale-react-components/pipeline@1.0.4","gitHead":"6e0f23c24f9f9182eebc15eda67638bd76ecc7ac","bugs":{"url":"https://github.com/poohlaha/pipeline/issues"},"homepage":"https://github.com/poohlaha/pipeline#readme","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-LugOIueJjxL2Js10S3aRYIZ351RG2cGfr8DK3uLVObLuH09TjQrE+fNFucD3QOgZrh6slFnUDWzoEJJ2TzRUHQ==","shasum":"f28346fc425a7711db726473a4f10af599e0eb3e","tarball":"https://registry.npmjs.org/@bale-react-components/pipeline/-/pipeline-1.0.4.tgz","fileCount":20,"unpackedSize":71201,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG/Jro+1Lx8qUyxMDnL/4z0uc3fTVIzJkH6SRQ2J5tGSAiAf6anErAgTdo2Hb2DC9a2CFqeb3SX58CI9vsDuzgv6OA=="}]},"_npmUser":{"name":"ztyjr88","email":"ztyjr88@163.com"},"directories":{},"maintainers":[{"name":"ztyjr88","email":"ztyjr88@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pipeline_1.0.4_1711518724511_0.07962322931684906"},"_hasShrinkwrap":false},"1.0.5":{"name":"@bale-react-components/pipeline","version":"1.0.5","author":{"name":"poohlaha"},"description":"pipeline stage and view","keywords":["pipeline","stage","react"],"repository":{"type":"git","url":"git+https://github.com/poohlaha/pipeline.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"scripts":{"preinstall":"npx only-allow pnpm","format":"npx prettier --write .","test":"ava"},"dependencies":{},"devDependencies":{"@babel/core":"^7.19.3","@babel/eslint-parser":"^7.12.16","@babel/preset-env":"^7.14.4","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@commitlint/cli":"^12.1.4","eslint":"^7.32.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","husky":"^4.2.3","lint-staged":"^13.0.3","prettier":"^2.7.1","@types/node":"^18.14.6","@types/es6-promise":"^3.3.0","@typescript-eslint/parser":"^5.54.1","@swc/cli":"^0.1.62","@swc/core":"^1.3.38","@swc/helpers":"^0.4.14","ava":"^5.2.0"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"**/*.{vue,jsx,js,tsx,ts,json,css,md}":["prettier --write"],"**/*.{vue,jsx,js,tsx,ts}":["eslint --fix"]},"_id":"@bale-react-components/pipeline@1.0.5","gitHead":"eca8cc6b747ff3963b550b1209485266b445527e","bugs":{"url":"https://github.com/poohlaha/pipeline/issues"},"homepage":"https://github.com/poohlaha/pipeline#readme","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-G0oolI5Q1i/v/FSwYLeJxT2Uk0lrJbXU3498qF5VvZsarOrnemyKG9PJmnRSZzdOMLXJUvIpZkz+TBqFUp1/Ow==","shasum":"889a1607b2f3b06368ea922ec34f6c0d3c594606","tarball":"https://registry.npmjs.org/@bale-react-components/pipeline/-/pipeline-1.0.5.tgz","fileCount":20,"unpackedSize":70797,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICtAV21rR9KprdjmEZ4dqszb5FQv3Yn0ztODzOpMxa0zAiATx2pJWjdNjOG24F77jat3xoLlLmIhX5E+Pg2WgIG9mw=="}]},"_npmUser":{"name":"ztyjr88","email":"ztyjr88@163.com"},"directories":{},"maintainers":[{"name":"ztyjr88","email":"ztyjr88@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pipeline_1.0.5_1711519252408_0.008404751237000685"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-27T02:40:21.937Z","1.0.0":"2024-03-27T02:40:22.228Z","modified":"2024-03-27T06:00:52.991Z","1.0.1":"2024-03-27T05:27:31.285Z","1.0.2":"2024-03-27T05:31:03.509Z","1.0.3":"2024-03-27T05:34:59.963Z","1.0.4":"2024-03-27T05:52:04.694Z","1.0.5":"2024-03-27T06:00:52.558Z"},"maintainers":[{"name":"ztyjr88","email":"ztyjr88@163.com"}],"description":"pipeline stage and view","homepage":"https://github.com/poohlaha/pipeline#readme","keywords":["pipeline","stage","react"],"repository":{"type":"git","url":"git+https://github.com/poohlaha/pipeline.git"},"author":{"name":"poohlaha"},"bugs":{"url":"https://github.com/poohlaha/pipeline/issues"},"readme":"# Pipeline\n\n## Preview\n\n![](./screenshots/1.png)\n![](./screenshots/2.png)\n![](./screenshots/3.png)\n![](./screenshots/4.png)\n![](./screenshots/5.png)\n![](./screenshots/6.png)\n![](./screenshots/7.png)\n\n## Usage\n\n- Pipeline Stage\n\n```tsx\nimport type { IPipelineProps } from 'pipeline'\nimport { Pipeline } from 'pipeline'\n\nconst data: IPipelineProps = {\n    groups: [\n        [\n            {\n                title: {\n                    label: '前端代码拉取',\n                },\n                steps: [\n                    {\n                        label: '通用模板--代码拉取',\n                        command: 'git clone -b xxxx',\n                    },\n                    {\n                        label: 'Shell命令',\n                        command: 'cd /usr/local/',\n                    },\n                    {\n                        label: 'Shell命令',\n                        command: 'cd /usr/local/nginx',\n                    },\n                ],\n            },\n            {\n                title: {\n                    label: '后端代码拉取',\n                },\n                steps: [\n                    {\n                        label: '通用模板--代码拉取',\n                        command: 'git clone -b xxxx',\n                    },\n                    {\n                        label: 'Shell命令',\n                        command: 'java --version',\n                    },\n                ],\n            },\n        ],\n        [\n            {\n                title: {\n                    label: '前端依赖安装',\n                },\n                steps: [\n                    {\n                        label: 'H5通用模板--安装依赖',\n                        command: 'npm install',\n                    },\n                    {\n                        label: 'Shell命令',\n                        command: 'nvm use 16.20',\n                    },\n                ],\n            },\n            {\n                title: {\n                    label: '后端依赖安装',\n                },\n                steps: [\n                    {\n                        label: 'Java打包通用模板--安装依赖',\n                        command: 'java run',\n                    },\n                    {\n                        label: '查看Java版本',\n                        command: 'java -version',\n                    },\n                    {\n                        label: 'Shell命令',\n                        command: 'javac',\n                    },\n                ],\n            },\n        ],\n        [\n            {\n                title: {\n                    label: '项目打包',\n                },\n                steps: [\n                    {\n                        label: '打包通用模板--项目打包',\n                        command: 'run pack',\n                    },\n                ],\n            },\n        ],\n    ],\n}\n\n<Pipeline {...props.data} />\n```\n\n- Pipeline View\n\n```tsx\nimport type { IPipelineViewProps } from 'pipeline'\nimport { PipelineView } from 'pipeline'\n\nconst data: IPipelineViewProps = {\n    step: [0, 1],\n    groups: [\n        [\n            {\n                title: {\n                    label: '前端代码拉取',\n                },\n                status: 2,\n                steps: [\n                    {\n                        label: '通用模板--代码拉取',\n                        command: 'git clone -b xxxx',\n                    },\n                    {\n                        label: 'Shell命令',\n                        command: 'cd /usr/local/',\n                    },\n                    {\n                        label: 'Shell命令',\n                        command: 'cd /usr/local/nginx',\n                    },\n                ],\n            },\n            {\n                title: {\n                    label: '后端代码拉取',\n                },\n                status: 3,\n                steps: [\n                    {\n                        label: '通用模板--代码拉取',\n                        command: 'git clone -b xxxx',\n                    },\n                    {\n                        label: 'Shell命令',\n                        command: 'java --version',\n                    },\n                ],\n            },\n        ],\n        [\n            {\n                title: {\n                    label: '前端依赖安装',\n                },\n                status: 3,\n                steps: [\n                    {\n                        label: 'H5通用模板--安装依赖',\n                        command: 'npm install',\n                    },\n                    {\n                        label: 'Shell命令',\n                        command: 'nvm use 16.20',\n                    },\n                ],\n            },\n            {\n                title: {\n                    label: '后端依赖安装',\n                },\n                status: 3,\n                steps: [\n                    {\n                        label: 'Java打包通用模板--安装依赖',\n                        command: 'java run',\n                    },\n                    {\n                        label: '查看Java版本',\n                        command: 'java -version',\n                    },\n                    {\n                        label: 'Shell命令',\n                        command: 'javac',\n                    },\n                ],\n            },\n        ],\n        [\n            {\n                title: {\n                    label: '项目打包',\n                },\n                status: 3,\n                steps: [\n                    {\n                        label: '打包通用模板--项目打包',\n                        command: 'run pack',\n                    },\n                ],\n            },\n        ],\n    ],\n}\n\n<PipelineView {...data} />\n```\n","readmeFilename":"README.md"}