diff --git a/yarn-error.log b/yarn-error.log index e73e46833eadd77cb5f4aa487c6ca549cc4db985..2ad41a214f23dff3d356517f7a764bea7d5688b4 100644 --- a/yarn-error.log +++ b/yarn-error.log @@ -1,25 +1,30 @@ Arguments: - C:\Program Files\nodejs\node.exe C:\Users\Administrator\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js install + C:\Program Files\nodejs\node.exe C:\Program Files (x86)\Yarn\bin\yarn.js install PATH: - D:\Git\mingw64\bin;D:\Git\usr\bin;C:\Users\Administrator\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\Redis;D:\Git\cmd;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\xshell;D:\xftp;D:\nvm;C:\Program Files\nodejs;D:\nvm\nvm.exe;C:\Users\Administrator\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\Administrator\AppData\Local\Programs\Python\Python39;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Microsoft VS Code\bin;C:\Users\Administrator\AppData\Roaming\npm;H:\Fiddler;D:\nvm;C:\Program Files\nodejs + C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\NetSarang\Xftp 6\;C:\Program Files (x86)\NetSarang\Xshell 7\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\TortoiseSVN\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\python;C:\Program Files\python\Scripts;D:\BtSoft\panel\script;D:\BtSoft\php\56;C:\composer;C:\Program Files (x86)\basic-2.2.1\APICloud Studio 2\resources\apicloud-resource\bin\adb;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Yarn\bin\;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;D:\Program Files\jdk-16.0.2\bin;C:\Users\I\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Bandizip\;C:\Users\I\AppData\Roaming\npm;C:\Users\I\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\I\AppData\Roaming\Composer\vendor\bin;C:\Users\I\AppData\Local\Programs\Fiddler;C:\Users\I\AppData\Local\Yarn\bin;C:\Users\I\AppData\Local\Programs\APICloud Studio 3\bin Yarn version: - 1.22.10 + 1.22.5 Node version: - 12.16.1 + 14.5.0 Platform: win32 x64 Trace: - SyntaxError: D:\code\vue-devui\package.json: Unexpected token / in JSON at position 1262 - at JSON.parse () - at C:\Users\Administrator\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:1625:59 - at Generator.next () - at step (C:\Users\Administrator\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:310:30) - at C:\Users\Administrator\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:321:13 + Error: http://nexus3.ey.com.cn/repository/npm-group/@babel/parser/-/parser-7.15.5.tgz: Request failed "401 Unauthorized" + at ResponseError.ExtendableBuiltin (C:\Program Files (x86)\Yarn\lib\cli.js:696:66) + at new ResponseError (C:\Program Files (x86)\Yarn\lib\cli.js:802:124) + at Request. (C:\Program Files (x86)\Yarn\lib\cli.js:66167:16) + at Request.emit (events.js:314:20) + at Request.module.exports.Request.onRequestResponse (C:\Program Files (x86)\Yarn\lib\cli.js:141626:10) + at ClientRequest.emit (events.js:314:20) + at HTTPParser.parserOnIncomingClient (_http_client.js:640:27) + at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17) + at Socket.socketOnData (_http_client.js:509:22) + at Socket.emit (events.js:314:20) npm manifest: { @@ -43,7 +48,7 @@ npm manifest: "module": "vue-devui.es.js", "style": "style.css", "bin": { - "devui-cli": "./devui-cli/index.mjs" + "devui-cli": "./devui-cli/index.js" }, "scripts": { "dev": "vitepress dev sites", @@ -51,17 +56,16 @@ npm manifest: "serve": "vitepress serve sites", "app:dev": "vite", "app:build": "vite build", - "build:lib": "yarn run generate:devui && vite build --config vite.config.build.ts && cp package.json dist && cp README.md dist", + "build:lib": "yarn predev && yarn build:components && cp package.json build && cp README.md build", "test": "jest --config jest.config.js", "ls-lint": "ls-lint", "lint": "eslint \"{src,devui}/**/*.{vue,js,ts,jsx,tsx}\"", "lint:fix": "eslint --fix \"{src,devui}/**/*.{vue,js,ts,jsx,tsx}\"", "stylelint": "stylelint --fix \"{devui,src}/**/*.{scss,css}\"", - "convert:route": "node ./scripts/convert-component-route.js", - "publish": "cd dist && npm publish", - "generate:devui": "node scripts/generate-devui.js", - "predev": "devui-cli create -t vue-devui --ignore-parse-error" - // "postinstall": "npm link" + "build:components": "node ./devui-cli/index.js build", + "clean:cli": "npm uninstall -g devui-cli & npm uninstall -g vue-devui", + "cli:create": "node ./devui-cli/index.js create", + "predev": "node ./devui-cli/index.js create -t vue-devui --ignore-parse-error" }, "dependencies": { "@devui-design/icons": "^1.3.0", @@ -71,8 +75,10 @@ npm manifest: "vue-router": "^4.0.3" }, "devDependencies": { + "@babel/parser": "^7.15.5", "@babel/preset-env": "^7.14.5", "@babel/preset-typescript": "^7.14.5", + "@babel/traverse": "^7.15.4", "@commitlint/cli": "^11.0.0", "@commitlint/config-conventional": "^11.0.0", "@ls-lint/ls-lint": "^1.10.0", @@ -110,6 +116,7 @@ npm manifest: "vite": "^2.4.4", "vite-plugin-md": "^0.6.0", "vitepress": "^0.15.6", + "vitepress-theme-demoblock": "1.0.7", "vue-tsc": "^0.2.2", "yarn": "^1.22.11" }, @@ -291,6 +298,15 @@ Lockfile: jsesc "^2.5.1" source-map "^0.5.0" + "@babel/generator@^7.15.4": + version "7.15.4" + resolved "http://nexus3.ey.com.cn/repository/npm-group/@babel/generator/-/generator-7.15.4.tgz#85acb159a267ca6324f9793986991ee2022a05b0" + integrity sha1-hayxWaJnymMk+Xk5hpke4gIqBbA= + dependencies: + "@babel/types" "^7.15.4" + jsesc "^2.5.1" + source-map "^0.5.0" + "@babel/helper-annotate-as-pure@^7.14.5": version "7.14.5" resolved "https://registry.nlark.com/@babel/helper-annotate-as-pure/download/@babel/helper-annotate-as-pure-7.14.5.tgz#7bf478ec3b71726d56a8ca5775b046fc29879e61" @@ -366,6 +382,15 @@ Lockfile: "@babel/template" "^7.14.5" "@babel/types" "^7.14.5" + "@babel/helper-function-name@^7.15.4": + version "7.15.4" + resolved "http://nexus3.ey.com.cn/repository/npm-group/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz#845744dafc4381a4a5fb6afa6c3d36f98a787ebc" + integrity sha1-hFdE2vxDgaSl+2r6bD02+Yp4frw= + dependencies: + "@babel/helper-get-function-arity" "^7.15.4" + "@babel/template" "^7.15.4" + "@babel/types" "^7.15.4" + "@babel/helper-get-function-arity@^7.14.5": version "7.14.5" resolved "https://registry.nlark.com/@babel/helper-get-function-arity/download/@babel/helper-get-function-arity-7.14.5.tgz#25fbfa579b0937eee1f3b805ece4ce398c431815" @@ -373,6 +398,13 @@ Lockfile: dependencies: "@babel/types" "^7.14.5" + "@babel/helper-get-function-arity@^7.15.4": + version "7.15.4" + resolved "http://nexus3.ey.com.cn/repository/npm-group/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz#098818934a137fce78b536a3e015864be1e2879b" + integrity sha1-CYgYk0oTf854tTaj4BWGS+Hih5s= + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-hoist-variables@^7.14.5": version "7.14.5" resolved "https://registry.nlark.com/@babel/helper-hoist-variables/download/@babel/helper-hoist-variables-7.14.5.tgz#e0dd27c33a78e577d7c8884916a3e7ef1f7c7f8d" @@ -380,6 +412,13 @@ Lockfile: dependencies: "@babel/types" "^7.14.5" + "@babel/helper-hoist-variables@^7.15.4": + version "7.15.4" + resolved "http://nexus3.ey.com.cn/repository/npm-group/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz#09993a3259c0e918f99d104261dfdfc033f178df" + integrity sha1-CZk6MlnA6Rj5nRBCYd/fwDPxeN8= + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-member-expression-to-functions@^7.15.0": version "7.15.0" resolved "https://registry.nlark.com/@babel/helper-member-expression-to-functions/download/@babel/helper-member-expression-to-functions-7.15.0.tgz#0ddaf5299c8179f27f37327936553e9bba60990b" @@ -460,6 +499,13 @@ Lockfile: dependencies: "@babel/types" "^7.14.5" + "@babel/helper-split-export-declaration@^7.15.4": + version "7.15.4" + resolved "http://nexus3.ey.com.cn/repository/npm-group/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz#aecab92dcdbef6a10aa3b62ab204b085f776e257" + integrity sha1-rsq5Lc2+9qEKo7YqsgSwhfd24lc= + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-validator-identifier@^7.10.4", "@babel/helper-validator-identifier@^7.14.5", "@babel/helper-validator-identifier@^7.14.9": version "7.14.9" resolved "https://registry.nlark.com/@babel/helper-validator-identifier/download/@babel/helper-validator-identifier-7.14.9.tgz#6654d171b2024f6d8ee151bf2509699919131d48" @@ -508,6 +554,11 @@ Lockfile: resolved "https://registry.nlark.com/@babel/parser/download/@babel/parser-7.15.0.tgz#b6d6e29058ca369127b0eeca2a1c4b5794f1b6b9" integrity sha1-ttbikFjKNpEnsO7KKhxLV5Txtrk= + "@babel/parser@^7.15.4", "@babel/parser@^7.15.5": + version "7.15.5" + resolved "http://nexus3.ey.com.cn/repository/npm-group/@babel/parser/-/parser-7.15.5.tgz#d33a58ca69facc05b26adfe4abebfed56c1c2dac" + integrity sha1-0zpYymn6zAWyat/kq+v+1WwcLaw= + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.14.5": version "7.14.5" resolved "https://registry.nlark.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/download/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.14.5.tgz#4b467302e1548ed3b1be43beae2cc9cf45e0bb7e" @@ -1143,6 +1194,15 @@ Lockfile: "@babel/parser" "^7.14.5" "@babel/types" "^7.14.5" + "@babel/template@^7.15.4": + version "7.15.4" + resolved "http://nexus3.ey.com.cn/repository/npm-group/@babel/template/-/template-7.15.4.tgz#51898d35dcf3faa670c4ee6afcfd517ee139f194" + integrity sha1-UYmNNdzz+qZwxO5q/P1RfuE58ZQ= + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/parser" "^7.15.4" + "@babel/types" "^7.15.4" + "@babel/traverse@7.12.1": version "7.12.1" resolved "https://registry.nlark.com/@babel/traverse/download/@babel/traverse-7.12.1.tgz#941395e0c5cc86d5d3e75caa095d3924526f0c1e" @@ -1173,6 +1233,21 @@ Lockfile: debug "^4.1.0" globals "^11.1.0" + "@babel/traverse@^7.15.4": + version "7.15.4" + resolved "http://nexus3.ey.com.cn/repository/npm-group/@babel/traverse/-/traverse-7.15.4.tgz#ff8510367a144bfbff552d9e18e28f3e2889c22d" + integrity sha1-/4UQNnoUS/v/VS2eGOKPPiiJwi0= + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/generator" "^7.15.4" + "@babel/helper-function-name" "^7.15.4" + "@babel/helper-hoist-variables" "^7.15.4" + "@babel/helper-split-export-declaration" "^7.15.4" + "@babel/parser" "^7.15.4" + "@babel/types" "^7.15.4" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@7.12.1": version "7.12.1" resolved "https://registry.nlark.com/@babel/types/download/@babel/types-7.12.1.tgz#e109d9ab99a8de735be287ee3d6a9947a190c4ae" @@ -1190,6 +1265,14 @@ Lockfile: "@babel/helper-validator-identifier" "^7.14.9" to-fast-properties "^2.0.0" + "@babel/types@^7.15.4": + version "7.15.4" + resolved "http://nexus3.ey.com.cn/repository/npm-group/@babel/types/-/types-7.15.4.tgz#74eeb86dbd6748d2741396557b9860e57fce0a0d" + integrity sha1-dO64bb1nSNJ0E5ZVe5hg5X/OCg0= + dependencies: + "@babel/helper-validator-identifier" "^7.14.9" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.npm.taobao.org/@bcoe/v8-coverage/download/@bcoe/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" @@ -1333,8 +1416,8 @@ Lockfile: "@devui-design/icons@^1.3.0": version "1.3.0" - resolved "https://registry.nlark.com/@devui-design/icons/download/@devui-design/icons-1.3.0.tgz#5a3006a31ee4f62e3f9837b68c031898ff148b88" - integrity sha1-WjAGox7k9i4/mDe2jAMYmP8Ui4g= + resolved "https://registry.npmjs.org/@devui-design/icons/-/icons-1.3.0.tgz#5a3006a31ee4f62e3f9837b68c031898ff148b88" + integrity sha512-eg9PcDXYn1BaUCo6qP7dszFJ4uRycxASLdKzpz27AW34HbHx4kFce36Fhfr2niRjGKYllcMgYe7hgP5KYVOZ8Q== "@docsearch/css@^1.0.0-alpha.28": version "1.0.0-alpha.28" @@ -2682,6 +2765,11 @@ Lockfile: dependencies: "@babel/types" "^7.9.6" + babylon@^6.18.0: + version "6.18.0" + resolved "http://nexus3.ey.com.cn/repository/npm-group/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" + integrity sha1-ry87iPpvXB5MY00aD46sT1WzleM= + bail@^1.0.0: version "1.0.5" resolved "https://registry.nlark.com/bail/download/bail-1.0.5.tgz?cache=0&sync_timestamp=1621401842495&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbail%2Fdownload%2Fbail-1.0.5.tgz#b6fa133404a392cbc1f8c4bf63f5953351e7a776" @@ -3958,7 +4046,7 @@ Lockfile: dependencies: type-fest "^0.20.2" - globby@^11.0.3: + globby@^11.0.2, globby@^11.0.3: version "11.0.4" resolved "https://registry.nlark.com/globby/download/globby-11.0.4.tgz?cache=0&sync_timestamp=1626918569133&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fglobby%2Fdownload%2Fglobby-11.0.4.tgz#2cbaff77c2f2a62e71e9b2813a67b97a3a3001a5" integrity sha1-LLr/d8Lypi5x6bKBOme5ejowAaU= @@ -5010,6 +5098,11 @@ Lockfile: resolved "https://registry.nlark.com/known-css-properties/download/known-css-properties-0.21.0.tgz#15fbd0bbb83447f3ce09d8af247ed47c68ede80d" integrity sha1-FfvQu7g0R/POCdivJH7UfGjt6A0= + kolorist@^1.5.0: + version "1.5.0" + resolved "https://registry.nlark.com/kolorist/download/kolorist-1.5.0.tgz#a06f7dd11d1b5fdb743d79c8acd4e1ecbcbd89b3" + integrity sha1-oG990R0bX9t0PXnIrNTh7Ly9ibM= + leven@^3.1.0: version "3.1.0" resolved "https://registry.npm.taobao.org/leven/download/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" @@ -5223,7 +5316,7 @@ Lockfile: resolved "https://registry.npm.taobao.org/markdown-it-table-of-contents/download/markdown-it-table-of-contents-0.5.2.tgz#2f941d386c277887910f2c7a8a16f5a17acb829c" integrity sha1-L5QdOGwneIeRDyx6ihb1oXrLgpw= - markdown-it@^12.0.6: + markdown-it@^12.0.4, markdown-it@^12.0.6: version "12.2.0" resolved "https://registry.nlark.com/markdown-it/download/markdown-it-12.2.0.tgz#091f720fd5db206f80de7a8d1f1a7035fd0d38db" integrity sha1-CR9yD9XbIG+A3nqNHxpwNf0NONs= @@ -5885,6 +5978,11 @@ Lockfile: resolved "https://registry.npm.taobao.org/prelude-ls/download/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= + prettier@^2.2.1: + version "2.3.2" + resolved "https://registry.nlark.com/prettier/download/prettier-2.3.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fprettier%2Fdownload%2Fprettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d" + integrity sha1-7ygKBewlNxLkhiM9tcbyNEHnNC0= + pretty-format@^26.0.0, pretty-format@^26.6.2: version "26.6.2" resolved "https://registry.nlark.com/pretty-format/download/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93" @@ -7114,7 +7212,22 @@ Lockfile: optionalDependencies: fsevents "~2.3.2" - vitepress@^0.15.6: + vitepress-theme-demoblock@1.0.7: + version "1.0.7" + resolved "https://registry.nlark.com/vitepress-theme-demoblock/download/vitepress-theme-demoblock-1.0.7.tgz#03010923025a8dd6e591cb5828af15693b37d63f" + integrity sha1-AwEJIwJajdblkctYKK8VaTs31j8= + dependencies: + camelcase "^6.2.0" + globby "^11.0.2" + kolorist "^1.5.0" + lodash-es "^4.17.20" + markdown-it "^12.0.4" + minimist "^1.2.5" + prettier "^2.2.1" + vitepress "^0.15.5" + yaml "^2.0.0-6" + + vitepress@^0.15.5, vitepress@^0.15.6: version "0.15.6" resolved "https://registry.nlark.com/vitepress/download/vitepress-0.15.6.tgz#b3d2487384f60deb5e0be7da1f1896c1db75025e" integrity sha1-s9JIc4T2DeteC+faHxiWwdt1Al4= @@ -7506,6 +7619,11 @@ Lockfile: resolved "https://registry.nlark.com/yaml/download/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha1-IwHF/78StGfejaIzOkWeKeeSDks= + yaml@^2.0.0-6: + version "2.0.0-7" + resolved "https://registry.nlark.com/yaml/download/yaml-2.0.0-7.tgz#9799d9d85dfc8f01e4cc425e18e09215364beef1" + integrity sha1-l5nZ2F38jwHkzEJeGOCSFTZL7vE= + yargs-parser@^18.1.2: version "18.1.3" resolved "https://registry.nlark.com/yargs-parser/download/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0"