diff --git a/.gitignore b/.gitignore index 2528b0b..67b22c8 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,5 @@ Temporary Items # Node node_modules -.idea \ No newline at end of file +.idea +diff.txt \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..3f154a6 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,20 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Launch Program", + "program": "${workspaceFolder}/lib/auto-git/match/index.js" + }, + { + "type": "node", + "request": "launch", + "name": "启动程序", + "program": "${workspaceFolder}\\index.js" + } + ] +} \ No newline at end of file diff --git a/1.scss b/1.scss deleted file mode 100644 index d0dc8ce..0000000 --- a/1.scss +++ /dev/null @@ -1,6 +0,0 @@ -.content { - &.style { - width: 100px; - height: 100px; - } -} \ No newline at end of file diff --git a/README.md b/README.md index 99c892a..d408251 100644 --- a/README.md +++ b/README.md @@ -22,43 +22,37 @@ Options: ``` # Example -``` -$ node .\lib\diff\ -{ - '\html\index1.html': [ { name: '\\css\\1.css', attr: [Object] } ], - '\html\index2.html': [ { name: '\\css\\3.css', attr: [Object] } ] +change 1.scss +```javascript +.content { + &.style { + width: 100px; + } + .content { + width: 100px; + } + .dd { + width: 100%; + } + .a { + width: 100px + } } -export! -``` -# Export +.cc { + width: 100px; +} ``` -./lib/data/export.json -[{ - "label": "\\html\\index1.html", - "groups": [{ - "label": "\\css\\1.css", - "groups": [{ - "label": ".content" - }, { - "label": ".inner-content" - }, { - "label": ".inner-button" - }, { - "label": ".inner-span" - }] - }] -}, { - "label": "\\html\\index2.html", - "groups": [{ - "label": "\\css\\3.css", - "groups": [{ - "label": ".inner-span" - }] - }] -} +``` +$ node index.js -s -p ./test-webpack + +$ cd examples + +$ node index.js -``` \ No newline at end of file +open localhost:3000 on the browers + +``` diff --git a/examples/dist/export.json b/examples/dist/export.json index 7705629..af6eaad 100644 --- a/examples/dist/export.json +++ b/examples/dist/export.json @@ -1,23 +1 @@ -[{ - "label": "\\html\\index1.html", - "groups": [{ - "label": "\\css\\1.css", - "groups": [{ - "label": ".content" - }, { - "label": ".inner-content" - }, { - "label": ".inner-button" - }, { - "label": ".inner-span" - }] - }] -}, { - "label": "\\html\\index2.html", - "groups": [{ - "label": "\\css\\3.css", - "groups": [{ - "label": ".inner-span" - }] - }] -}] \ No newline at end of file +[{"label":"test-webpack/index.js","groups":[{"label":"test-webpack/src/css/1.scss","groups":[{"label":" .content .a","groups":[{"label":"+width: 100px+"}]}]}]}] \ No newline at end of file diff --git a/examples/index.js b/examples/index.js index 18123e2..35d6582 100644 --- a/examples/index.js +++ b/examples/index.js @@ -1,5 +1,7 @@ const express = require('express'); const app = express(); +const open = require("open"); + const router = express.Router(); router.get('/', function (req, res, next) { req.url = './index.html'; @@ -8,4 +10,7 @@ router.get('/', function (req, res, next) { app.use(router); app.use(express.static('./dist')); -const server = app.listen(3000) \ No newline at end of file +const server = app.listen(3000, () => { + console.log('success on localhost:3000'); + open('http://localhost:3000'); +}) \ No newline at end of file diff --git a/examples/package.json b/examples/package.json new file mode 100644 index 0000000..754ae6d --- /dev/null +++ b/examples/package.json @@ -0,0 +1,5 @@ +{ + "devDependencies": { + "open": "^0.0.5" + } +} diff --git a/index.js b/index.js index 7ddbd20..96da50c 100644 --- a/index.js +++ b/index.js @@ -7,7 +7,9 @@ const argv = require('optimist') .alias('s', 'single') .describe('s', 'use type of single') .argv; -const cssControl = require('./lib/index'); +// const cssControl = require('./lib/index'); +const combind = require('./lib/combine/index'); + // 遍历目录 let root = process.cwd(); // 遍历类型 @@ -23,5 +25,4 @@ if(argv.p) { root = path.resolve(__dirname, argv.p); } - -cssControl(root, type); \ No newline at end of file +combind(root, type, argv.p); \ No newline at end of file diff --git a/lib/auto-git/1.json b/lib/auto-git/1.json new file mode 100644 index 0000000..3ff8ccc --- /dev/null +++ b/lib/auto-git/1.json @@ -0,0 +1 @@ +{"1.scss":" .content { &.style { width: 100px;- height: 100px; } .content { width: 100px; }+ .dd {+ width: 100%;+ } } .cc { width: 100px; }"} \ No newline at end of file diff --git a/lib/auto-git/2.json b/lib/auto-git/2.json new file mode 100644 index 0000000..fa0a133 --- /dev/null +++ b/lib/auto-git/2.json @@ -0,0 +1 @@ +[[],["diff --git 1.scss 1.scss","index c7b997d..a392025 100644","--- 1.scss","+++ 1.scss","@@ -1,13 +1,15 @@"," .content {"," &.style {"," width: 100px;","- height: 100px;"," }"," .content {"," width: 100px;"," }","+ .dd {","+ width: 100%;","+ }"," }"," "," .cc {"," width: 100px;"," }","\\ No newline at end of file"],["diff --git lib/auto-git/1.json lib/auto-git/1.json","index 2003f1e..9e26dfe 100644","--- lib/auto-git/1.json","+++ lib/auto-git/1.json","@@ -1 +1 @@","-{\"1.scss\":\" .content {\\r &.style {\\r width: 100px;\\rcontent: '- height: 100px;';\\r }\\r .content {\\r width: 100px;\\r }\\rcontent: '+ .inner {';\\rcontent: '+ width: 100px;';\\rcontent: '+ }';\\r }\\r \\r .cc {\\r width: 100px;\\r }\\r\"}","\\ No newline at end of file","+{}","\\ No newline at end of file"],["diff --git lib/auto-git/2.json lib/auto-git/2.json","index 69d7219..57f8573 100644","--- lib/auto-git/2.json","+++ lib/auto-git/2.json","@@ -1 +1 @@","-[[],[\"diff --git 1.scss 1.scss\",\"index c7b997d..6eb8dff 100644\",\"--- 1.scss\",\"+++ 1.scss\",\"@@ -1,13 +1,15 @@\",\" .content {\",\" &.style {\",\" width: 100px;\",\"- height: 100px;\",\" }\",\" .content {\",\" width: 100px;\",\" }\",\"+ .inner {\",\"+ width: 100px;\",\"+ }\",\" }\",\" \",\" .cc {\",\" width: 100px;\",\" }\",\"\\\\ No newline at end of file\"],[\"diff --git lib/compliestyles/sass-loader.js lib/compliestyles/sass-loader.js\",\"index d554f8f..9573a67 100644\",\"--- lib/compliestyles/sass-loader.js\",\"+++ lib/compliestyles/sass-loader.js\",\"@@ -1,25 +1,25 @@\",\" const sass = require('node-sass');\",\" \",\" function sassLoader(path) {\",\" const result = sass.renderSync({\",\" // file: path,\",\"- data: ' .content { &.style { width: 100px; height: 100px;// - background: #ddd;// + }// + .content {// + width: 100px; } } .cc { width: 100px; }',\",\"+ data: \\\".content { \\\\r&.style { \\\\r width: 100px;\\\\r// - height: 100px; \\\\r} \\\\r .content { \\\\rwidth: 100px; }\\\\r// + .inner {\\\\r// + width: 100px;\\\\r// + } \\\\r} \\\\r.cc { \\\\rwidth: 100px; \\\\r}\\\\r\\\",\",\" // outputStyle: 'compressed',\",\" // outFile: '../../1.css',\",\" // sourceMap: true, // or an absolute or relative (to outFile) path\",\" importer: function(url, prev, done) {\",\" // url is the path in import as is, which LibSass encountered.\",\" // prev is the previously resolved path.\",\" // done is an optional callback, either consume it or return value synchronously.\",\" // this.options contains this options hash\",\" }\",\" });\",\" if(result.css) {\",\" return result.css.toString(\\\"utf8\\\");\",\" }\",\" return {};\",\" }\",\" \",\" \",\" \",\" module.exports = sassLoader;\",\"\\\\ No newline at end of file\",\"\"]]","\\ No newline at end of file","+[[],[\"diff --git lib/auto-git/1.json lib/auto-git/1.json\",\"index 2003f1e..9e26dfe 100644\",\"--- lib/auto-git/1.json\",\"+++ lib/auto-git/1.json\",\"@@ -1 +1 @@\",\"-{\\\"1.scss\\\":\\\" .content {\\\\r &.style {\\\\r width: 100px;\\\\rcontent: '- height: 100px;';\\\\r }\\\\r .content {\\\\r width: 100px;\\\\r }\\\\rcontent: '+ .inner {';\\\\rcontent: '+ width: 100px;';\\\\rcontent: '+ }';\\\\r }\\\\r \\\\r .cc {\\\\r width: 100px;\\\\r }\\\\r\\\"}\",\"\\\\ No newline at end of file\",\"+{}\",\"\\\\ No newline at end of file\"],[\"diff --git lib/auto-git/2.json lib/auto-git/2.json\",\"index 69d7219..e8b5916 100644\",\"--- lib/auto-git/2.json\",\"+++ lib/auto-git/2.json\",\"@@ -1 +1 @@\",\"-[[],[\\\"diff --git 1.scss 1.scss\\\",\\\"index c7b997d..6eb8dff 100644\\\",\\\"--- 1.scss\\\",\\\"+++ 1.scss\\\",\\\"@@ -1,13 +1,15 @@\\\",\\\" .content {\\\",\\\" &.style {\\\",\\\" width: 100px;\\\",\\\"- height: 100px;\\\",\\\" }\\\",\\\" .content {\\\",\\\" width: 100px;\\\",\\\" }\\\",\\\"+ .inner {\\\",\\\"+ width: 100px;\\\",\\\"+ }\\\",\\\" }\\\",\\\" \\\",\\\" .cc {\\\",\\\" width: 100px;\\\",\\\" }\\\",\\\"\\\\\\\\ No newline at end of file\\\"],[\\\"diff --git lib/compliestyles/sass-loader.js lib/compliestyles/sass-loader.js\\\",\\\"index d554f8f..9573a67 100644\\\",\\\"--- lib/compliestyles/sass-loader.js\\\",\\\"+++ lib/compliestyles/sass-loader.js\\\",\\\"@@ -1,25 +1,25 @@\\\",\\\" const sass = require('node-sass');\\\",\\\" \\\",\\\" function sassLoader(path) {\\\",\\\" const result = sass.renderSync({\\\",\\\" // file: path,\\\",\\\"- data: ' .content { &.style { width: 100px; height: 100px;// - background: #ddd;// + }// + .content {// + width: 100px; } } .cc { width: 100px; }',\\\",\\\"+ data: \\\\\\\".content { \\\\\\\\r&.style { \\\\\\\\r width: 100px;\\\\\\\\r// - height: 100px; \\\\\\\\r} \\\\\\\\r .content { \\\\\\\\rwidth: 100px; }\\\\\\\\r// + .inner {\\\\\\\\r// + width: 100px;\\\\\\\\r// + } \\\\\\\\r} \\\\\\\\r.cc { \\\\\\\\rwidth: 100px; \\\\\\\\r}\\\\\\\\r\\\\\\\",\\\",\\\" // outputStyle: 'compressed',\\\",\\\" // outFile: '../../1.css',\\\",\\\" // sourceMap: true, // or an absolute or relative (to outFile) path\\\",\\\" importer: function(url, prev, done) {\\\",\\\" // url is the path in import as is, which LibSass encountered.\\\",\\\" // prev is the previously resolved path.\\\",\\\" // done is an optional callback, either consume it or return value synchronously.\\\",\\\" // this.options contains this options hash\\\",\\\" }\\\",\\\" });\\\",\\\" if(result.css) {\\\",\\\" return result.css.toString(\\\\\\\"utf8\\\\\\\");\\\",\\\" }\\\",\\\" return {};\\\",\\\" }\\\",\\\" \\\",\\\" \\\",\\\" \\\",\\\" module.exports = sassLoader;\\\",\\\"\\\\\\\\ No newline at end of file\\\",\\\"\\\"]]\",\"\\\\ No newline at end of file\",\"+[[],[\\\"diff --git lib/auto-git/1.json lib/auto-git/1.json\\\",\\\"index 2003f1e..9e26dfe 100644\\\",\\\"--- lib/auto-git/1.json\\\",\\\"+++ lib/auto-git/1.json\\\",\\\"@@ -1 +1 @@\\\",\\\"-{\\\\\\\"1.scss\\\\\\\":\\\\\\\" .content {\\\\\\\\r &.style {\\\\\\\\r width: 100px;\\\\\\\\rcontent: '- height: 100px;';\\\\\\\\r }\\\\\\\\r .content {\\\\\\\\r width: 100px;\\\\\\\\r }\\\\\\\\rcontent: '+ .inner {';\\\\\\\\rcontent: '+ width: 100px;';\\\\\\\\rcontent: '+ }';\\\\\\\\r }\\\\\\\\r \\\\\\\\r .cc {\\\\\\\\r width: 100px;\\\\\\\\r }\\\\\\\\r\\\\\\\"}\\\",\\\"\\\\\\\\ No newline at end of file\\\",\\\"+{}\\\",\\\"\\\\\\\\ No newline at end of file\\\"],[\\\"diff --git lib/auto-git/2.json lib/auto-git/2.json\\\",\\\"index 69d7219..1c432ad 100644\\\",\\\"--- lib/auto-git/2.json\\\",\\\"+++ lib/auto-git/2.json\\\",\\\"@@ -1 +1 @@\\\",\\\"-[[],[\\\\\\\"diff --git 1.scss 1.scss\\\\\\\",\\\\\\\"index c7b997d..6eb8dff 100644\\\\\\\",\\\\\\\"--- 1.scss\\\\\\\",\\\\\\\"+++ 1.scss\\\\\\\",\\\\\\\"@@ -1,13 +1,15 @@\\\\\\\",\\\\\\\" .content {\\\\\\\",\\\\\\\" &.style {\\\\\\\",\\\\\\\" width: 100px;\\\\\\\",\\\\\\\"- height: 100px;\\\\\\\",\\\\\\\" }\\\\\\\",\\\\\\\" .content {\\\\\\\",\\\\\\\" width: 100px;\\\\\\\",\\\\\\\" }\\\\\\\",\\\\\\\"+ .inner {\\\\\\\",\\\\\\\"+ width: 100px;\\\\\\\",\\\\\\\"+ }\\\\\\\",\\\\\\\" }\\\\\\\",\\\\\\\" \\\\\\\",\\\\\\\" .cc {\\\\\\\",\\\\\\\" width: 100px;\\\\\\\",\\\\\\\" }\\\\\\\",\\\\\\\"\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\"],[\\\\\\\"diff --git lib/compliestyles/sass-loader.js lib/compliestyles/sass-loader.js\\\\\\\",\\\\\\\"index d554f8f..9573a67 100644\\\\\\\",\\\\\\\"--- lib/compliestyles/sass-loader.js\\\\\\\",\\\\\\\"+++ lib/compliestyles/sass-loader.js\\\\\\\",\\\\\\\"@@ -1,25 +1,25 @@\\\\\\\",\\\\\\\" const sass = require('node-sass');\\\\\\\",\\\\\\\" \\\\\\\",\\\\\\\" function sassLoader(path) {\\\\\\\",\\\\\\\" const result = sass.renderSync({\\\\\\\",\\\\\\\" // file: path,\\\\\\\",\\\\\\\"- data: ' .content { &.style { width: 100px; height: 100px;// - background: #ddd;// + }// + .content {// + width: 100px; } } .cc { width: 100px; }',\\\\\\\",\\\\\\\"+ data: \\\\\\\\\\\\\\\".content { \\\\\\\\\\\\\\\\r&.style { \\\\\\\\\\\\\\\\r width: 100px;\\\\\\\\\\\\\\\\r// - height: 100px; \\\\\\\\\\\\\\\\r} \\\\\\\\\\\\\\\\r .content { \\\\\\\\\\\\\\\\rwidth: 100px; }\\\\\\\\\\\\\\\\r// + .inner {\\\\\\\\\\\\\\\\r// + width: 100px;\\\\\\\\\\\\\\\\r// + } \\\\\\\\\\\\\\\\r} \\\\\\\\\\\\\\\\r.cc { \\\\\\\\\\\\\\\\rwidth: 100px; \\\\\\\\\\\\\\\\r}\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\",\\\\\\\",\\\\\\\" // outputStyle: 'compressed',\\\\\\\",\\\\\\\" // outFile: '../../1.css',\\\\\\\",\\\\\\\" // sourceMap: true, // or an absolute or relative (to outFile) path\\\\\\\",\\\\\\\" importer: function(url, prev, done) {\\\\\\\",\\\\\\\" // url is the path in import as is, which LibSass encountered.\\\\\\\",\\\\\\\" // prev is the previously resolved path.\\\\\\\",\\\\\\\" // done is an optional callback, either consume it or return value synchronously.\\\\\\\",\\\\\\\" // this.options contains this options hash\\\\\\\",\\\\\\\" }\\\\\\\",\\\\\\\" });\\\\\\\",\\\\\\\" if(result.css) {\\\\\\\",\\\\\\\" return result.css.toString(\\\\\\\\\\\\\\\"utf8\\\\\\\\\\\\\\\");\\\\\\\",\\\\\\\" }\\\\\\\",\\\\\\\" return {};\\\\\\\",\\\\\\\" }\\\\\\\",\\\\\\\" \\\\\\\",\\\\\\\" \\\\\\\",\\\\\\\" \\\\\\\",\\\\\\\" module.exports = sassLoader;\\\\\\\",\\\\\\\"\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\",\\\\\\\"\\\\\\\"]]\\\",\\\"\\\\\\\\ No newline at end of file\\\",\\\"+[[],[\\\\\\\"diff --git lib/auto-git/1.json lib/auto-git/1.json\\\\\\\",\\\\\\\"index 2003f1e..9e26dfe 100644\\\\\\\",\\\\\\\"--- lib/auto-git/1.json\\\\\\\",\\\\\\\"+++ lib/auto-git/1.json\\\\\\\",\\\\\\\"@@ -1 +1 @@\\\\\\\",\\\\\\\"-{\\\\\\\\\\\\\\\"1.scss\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\" .content {\\\\\\\\\\\\\\\\r &.style {\\\\\\\\\\\\\\\\r width: 100px;\\\\\\\\\\\\\\\\rcontent: '- height: 100px;';\\\\\\\\\\\\\\\\r }\\\\\\\\\\\\\\\\r .content {\\\\\\\\\\\\\\\\r width: 100px;\\\\\\\\\\\\\\\\r }\\\\\\\\\\\\\\\\rcontent: '+ .inner {';\\\\\\\\\\\\\\\\rcontent: '+ width: 100px;';\\\\\\\\\\\\\\\\rcontent: '+ }';\\\\\\\\\\\\\\\\r }\\\\\\\\\\\\\\\\r \\\\\\\\\\\\\\\\r .cc {\\\\\\\\\\\\\\\\r width: 100px;\\\\\\\\\\\\\\\\r }\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\",\\\\\\\"+{}\\\\\\\",\\\\\\\"\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\"],[\\\\\\\"diff --git lib/auto-git/2.json lib/auto-git/2.json\\\\\\\",\\\\\\\"index 69d7219..0aaa5d4 100644\\\\\\\",\\\\\\\"--- lib/auto-git/2.json\\\\\\\",\\\\\\\"+++ lib/auto-git/2.json\\\\\\\",\\\\\\\"@@ -1 +1 @@\\\\\\\",\\\\\\\"-[[],[\\\\\\\\\\\\\\\"diff --git 1.scss 1.scss\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"index c7b997d..6eb8dff 100644\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"--- 1.scss\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"+++ 1.scss\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"@@ -1,13 +1,15 @@\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" .content {\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" &.style {\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" width: 100px;\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"- height: 100px;\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" .content {\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" width: 100px;\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"+ .inner {\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"+ width: 100px;\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"+ }\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" .cc {\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" width: 100px;\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\\\\\\\\\"],[\\\\\\\\\\\\\\\"diff --git lib/compliestyles/sass-loader.js lib/compliestyles/sass-loader.js\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"index d554f8f..9573a67 100644\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"--- lib/compliestyles/sass-loader.js\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"+++ lib/compliestyles/sass-loader.js\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"@@ -1,25 +1,25 @@\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" const sass = require('node-sass');\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" function sassLoader(path) {\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" const result = sass.renderSync({\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" // file: path,\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"- data: ' .content { &.style { width: 100px; height: 100px;// - background: #ddd;// + }// + .content {// + width: 100px; } } .cc { width: 100px; }',\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"+ data: \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".content { \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r&.style { \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r width: 100px;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r// - height: 100px; \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r} \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r .content { \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\rwidth: 100px; }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r// + .inner {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r// + width: 100px;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r// + } \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r} \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r.cc { \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\rwidth: 100px; \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" // outputStyle: 'compressed',\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" // outFile: '../../1.css',\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" // sourceMap: true, // or an absolute or relative (to outFile) path\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" importer: function(url, prev, done) {\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" // url is the path in import as is, which LibSass encountered.\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" // prev is the previously resolved path.\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" // done is an optional callback, either consume it or return value synchronously.\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" // this.options contains this options hash\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" });\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" if(result.css) {\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" return result.css.toString(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"utf8\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" return {};\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\" module.exports = sassLoader;\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"]]\\\\\\\",\\\\\\\"\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\",\\\\\\\"+[[],[\\\\\\\\\\\\\\\"diff --git lib/auto-git/1.json lib/auto-git/1.json\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"index 2003f1e..aec51b9 100644\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"--- lib/auto-git/1.json\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"+++ lib/auto-git/1.json\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"@@ -1 +1 @@\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"-{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"1.scss\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" .content {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r &.style {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r width: 100px;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\rcontent: '- height: 100px;';\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r .content {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r width: 100px;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\rcontent: '+ .inner {';\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\rcontent: '+ width: 100px;';\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\rcontent: '+ }';\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r .cc {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r width: 100px;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"+{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"1.scss\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" .content {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r &.style {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r width: 100px;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r height: 100px;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r background: #ddd;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\rcontent: '+ .dd {';\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\rcontent: '+ width: 100px;';\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\rcontent: '+ }';\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r .cc {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r width: 100px;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\\\\\\\\\"],[\\\\\\\\\\\\\\\"diff --git lib/auto-git/2.json lib/auto-git/2.json\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"index 69d7219..6e0fb68 100644\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"--- lib/auto-git/2.json\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"+++ lib/auto-git/2.json\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"@@ -1 +1 @@\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"-[[],[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"diff --git 1.scss 1.scss\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"index c7b997d..6eb8dff 100644\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"--- 1.scss\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+++ 1.scss\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"@@ -1,13 +1,15 @@\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" .content {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" &.style {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\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end of file\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"],[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"diff --git lib/compliestyles/sass-loader.js lib/compliestyles/sass-loader.js\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"index d554f8f..9573a67 100644\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"--- lib/compliestyles/sass-loader.js\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+++ lib/compliestyles/sass-loader.js\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"@@ -1,25 +1,25 @@\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" const sass = require('node-sass');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" function sassLoader(path) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" const result = sass.renderSync({\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // file: path,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"- data: ' .content { &.style { width: 100px; height: 100px;// - background: #ddd;// + }// + .content {// + width: 100px; } } .cc { width: 100px; }',\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+ data: \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\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\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // outputStyle: 'compressed',\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // outFile: '../../1.css',\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // sourceMap: true, // or an absolute or relative (to outFile) path\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" importer: function(url, prev, done) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // url is the path in import as is, which LibSass encountered.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // prev is the previously resolved path.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // done is an optional callback, either consume it or return value synchronously.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // this.options contains this options hash\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" });\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" if(result.css) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" return result.css.toString(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"utf8\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" return {};\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" module.exports = sassLoader;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]]\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"+[[],[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"diff --git 1.scss 1.scss\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"index 94c930a..e32f7a6 100644\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\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\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" width: 100px;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"],[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"diff --git lib/auto-git/1.json lib/auto-git/1.json\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"index fb3c6fb..9cb5257 100644\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"--- lib/auto-git/1.json\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+++ lib/auto-git/1.json\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"@@ -1,3 +1 @@\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"-{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"1.scss\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" .content { &.style { width: 100px; height: 100px; background: #ddd; }+} .cc { width: 100px; }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"-}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"1.scss\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" .content { &.style { width: 100px; height: 100px; background: #ddd; }+ .dd {+ width: 100px;+ } } .cc { width: 100px; }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"],[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"diff --git lib/auto-git/2.json lib/auto-git/2.json\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"index 699fecb..0c2ad4d 100644\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"--- lib/auto-git/2.json\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+++ lib/auto-git/2.json\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"@@ -1 +1 @@\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"-[[],[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"diff --git 1.scss 1.scss\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"index b408236..94c930a 100644\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"--- 1.scss\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+++ 1.scss\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\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\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"-const {readFile} = require('fs');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+const {readFile, writeFile} = require('fs');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" const {REG_HEAD} = require('./regex'); // 辅助的正则表达式\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" const {INCLUDE_FILES} = require('./type');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" function read(path) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" return new Promise((rsv, rjt) => {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" readFile(path, (err, data) => {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" if (err) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" console.error('======= 读取文件失败!您可能误删了临时文件 =======');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" rjt(err);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" rsv(data.toString().split('\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n'));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\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\\\\\\\\\\\\\\\\\\\\"+ let currentLine = [];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" for (let i = 0, len = lines.length; i < len; i++) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" const line = lines[i];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" let values;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // 判断head\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" if (values = REG_HEAD.exec(line)) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" console.log(line);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\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\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"- // 判断 ---\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"- if (line.indexOf('--- ') === 0) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"- console.log(line.slice(4));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+ // 判断不加入line的情况\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+ if (line.indexOf('--- ') === 0 || line.indexOf('+++ ') === 0 || line.indexOf('@@ ') === 0 || line.indexOf('index ') === 0 || line.indexOf('//') === 0) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+ // console.log(1);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" continue;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\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line at end of file\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"],[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"diff --git lib/auto-git/parser.js lib/auto-git/parser.js\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"index ae3d0d0..2e71fd8 100644\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"--- lib/auto-git/parser.js\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+++ lib/auto-git/parser.js\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"@@ -1,130 +1,130 @@\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" /**\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" * 将diff得到的文件转为二进制流接着字符串解析为json\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" */\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" const {readFile, writeFile} = require('fs');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" const {REG_HEAD} = require('./regex'); // 辅助的正则表达式\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" const {INCLUDE_FILES} = require('./type');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" function read(path) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" return new Promise((rsv, rjt) => {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" readFile(path, (err, data) => {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" if (err) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" console.error('======= 读取文件失败!您可能误删了临时文件 =======');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" rjt(err);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" rsv(data.toString().split('\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\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\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" for (let i = 0, len = lines.length; i < len; i++) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" const line = lines[i];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" let values;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // 判断head\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" if (values = REG_HEAD.exec(line)) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" console.log(line);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" styleBlocks.push(currentLine);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\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\\\\\\\" const line = lines[i];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // console.log(line);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" let values;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // console.log(JSON.stringify(line));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // return;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" if (values = REG_HEAD.exec(line)) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" const type = values[1].split('.')[1];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" console.log(type); \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\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\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" if (line.indexOf('--- ') === 0 || line.indexOf('+++ ') === 0 || line.indexOf('@@ ') === 0 || line.indexOf('index ') === 0 || line.indexOf('//') === 0) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" // console.log(1);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" continue;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" if(name) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" temp[name] += line;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\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\\\\\\\\\\\\\"]]\\\\\\\",\\\\\\\"\\\\\\\\\\\\\\\\ No newline at end of file\\\\\\\",\\\\\\\"\\\\\\\"]]\\\",\\\"\\\\\\\\ No newline at end of file\\\",\\\"\\\"]]\",\"\\\\ No newline at end of file\",\"\"]]","\\ No newline at end of file"],["diff --git lib/auto-git/index.js lib/auto-git/index.js","index f1e81e6..8a8c737 100644","--- lib/auto-git/index.js","+++ lib/auto-git/index.js","@@ -1,14 +1,14 @@"," const { runCommand } = require('./command.js');","-const { parser } = require('./parser.js');","+// const { parser } = require('./parser.js');"," "," function AutoGit() {"," runCommand('sh', [`${__dirname}/bin/gitdiff.sh`])"," .then(r => {"," "," })"," .catch(err => {"," console.log(err);"," })"," }"," "," AutoGit()"],["diff --git lib/auto-git/parser.js lib/auto-git/parser.js","index 452f23e..ae3d0d0 100644","--- lib/auto-git/parser.js","+++ lib/auto-git/parser.js","@@ -1,142 +1,130 @@"," /**"," * 将diff得到的文件转为二进制流接着字符串解析为json"," */"," "," const {readFile, writeFile} = require('fs');"," const {REG_HEAD} = require('./regex'); // 辅助的正则表达式"," const {INCLUDE_FILES} = require('./type');"," "," function read(path) {"," return new Promise((rsv, rjt) => {"," readFile(path, (err, data) => {"," if (err) {"," console.error('======= 读取文件失败!您可能误删了临时文件 =======');"," rjt(err);"," }"," rsv(data.toString().split('\\n'));"," })"," })"," }"," /**"," * @desc 将diff分块文件"," * @param {Array} arr "," * @resolve {Array}"," */"," function parsertoBlock(arr) {"," return new Promise((rsv, rjt) => {"," const lines = arr;"," "," let styleBlocks = [];"," let currentLine = [];"," "," for (let i = 0, len = lines.length; i < len; i++) {"," const line = lines[i];"," let values;"," // 判断head"," if (values = REG_HEAD.exec(line)) {"," console.log(line);"," styleBlocks.push(currentLine);"," currentLine = [];"," currentLine.push(line);"," continue;"," }"," currentLine.push(line);"," "," }"," styleBlocks.push(currentLine);"," writeFile('2.json', JSON.stringify(styleBlocks), err=> {"," if(err) {"," console.log(err);"," } else {"," console.log('success');"," }"," })"," rsv(styleBlocks);"," })"," }"," "," function parsertoJson(arr) {"," let files = arr;"," // let data = [];"," let temp = {};"," for(let j = 0; j < files.length; j++) {"," let lines = files[j];"," let name;"," if(lines === '') {"," continue;"," }"," for(let i = 0, len = lines.length; i < len; i++) {","- let line = lines[i];","+ const line = lines[i];"," // console.log(line);"," let values;"," // console.log(JSON.stringify(line));"," // return;"," if (values = REG_HEAD.exec(line)) {"," const type = values[1].split('.')[1];"," console.log(type); "," "," if (INCLUDE_FILES.indexOf(type) === -1) {"," break;"," }"," console.log(JSON.stringify(values))"," name = values[2];"," temp[name] = '';"," // data.length > 0 && data.push(temp);"," // temp = {"," // from: values[1],"," // to: values[2]"," // };"," continue;"," }"," // 判断不加入line的情况","- if (line.indexOf('--- ') === 0 || line.indexOf('+++ ') === 0 || line.indexOf('@@ ') === 0 || line.indexOf('index ') === 0 || line.indexOf('//') === 0 || line.indexOf('\\\\') === 0) {","+ if (line.indexOf('--- ') === 0 || line.indexOf('+++ ') === 0 || line.indexOf('@@ ') === 0 || line.indexOf('index ') === 0 || line.indexOf('//') === 0) {"," // console.log(1);"," continue;"," }","- if(line.indexOf('-') === 0) {","- console.log('-',line);","- // line = line.trim().replace(/^\\-/, '// -');","- line = `content: '${line}';`;","- console.log('1-',line);","- }","- if(line.indexOf('+') === 0) {","- console.log('+',line);","- // line = line.trim().replace(/^\\+/, '// +');","- line = `content: '${line}';`;","- console.log('1+',line);","- }"," if(name) {","- temp[name] += line+'\\r';","+ temp[name] += line;"," }"," }"," }"," "," // console.log(JSON.stringify(temp));"," writeFile('1.json', JSON.stringify(temp), err=> {"," if(err) {"," console.log(err);"," } else {"," console.log('success');"," }"," })"," }"," "," function Parser() {"," return new Promise((rsv, rjt) => {"," read('./temp/diff.txt')"," .then(arr => parsertoBlock(arr))"," .then(arr => parsertoJson(arr))"," .then(result => {"," console.log(result)"," })"," .catch(err => {"," console.log(err)"," })"," })"," }"," "," Parser()"," "," // module.exports = {"," // Parser"," // }","\\ No newline at end of file",""]] \ No newline at end of file diff --git a/lib/auto-git/bin/clear.sh b/lib/auto-git/bin/clear.sh new file mode 100644 index 0000000..4c10641 --- /dev/null +++ b/lib/auto-git/bin/clear.sh @@ -0,0 +1,2 @@ +#! /bin/bash +rm -rf temp/* \ No newline at end of file diff --git a/lib/auto-git/bin/gitdiff.sh b/lib/auto-git/bin/gitdiff.sh new file mode 100644 index 0000000..0565045 --- /dev/null +++ b/lib/auto-git/bin/gitdiff.sh @@ -0,0 +1,2 @@ +#! /bin/bash +git diff --no-prefix -U1000 > ./lib/auto-git/temp/diff.txt \ No newline at end of file diff --git a/lib/auto-git/command.js b/lib/auto-git/command.js new file mode 100644 index 0000000..550d3e9 --- /dev/null +++ b/lib/auto-git/command.js @@ -0,0 +1,18 @@ +const { spawn } = require('child_process'); + +function runCommand(cmd = 'sh', args) { + return new Promise((rsv, rjt) => { + const child = spawn( cmd, args ); + let response = ''; + child.stdout.on('data', buffer => response += buffer.toString()); + child.stdout.on('end', () => { + console.log('shell end!') + rsv(response); + }); + child.stdout.on('error', e => rjt(e)); + }) +}; + +module.exports = { + runCommand +} \ No newline at end of file diff --git a/lib/auto-git/index.js b/lib/auto-git/index.js new file mode 100644 index 0000000..ddf2dab --- /dev/null +++ b/lib/auto-git/index.js @@ -0,0 +1,17 @@ +const { runCommand } = require('./command.js'); +const { Parser } = require('./parser.js'); + +function AutoGit() { + // return Parser(); + return runCommand('sh', [`${__dirname}/bin/gitdiff.sh`]) + .then(r => { + return Parser(); + }) + .catch(err => { + console.log(err); + }) +} + +// AutoGit() + +module.exports = AutoGit; diff --git a/lib/auto-git/match/1.html b/lib/auto-git/match/1.html new file mode 100644 index 0000000..b007c23 --- /dev/null +++ b/lib/auto-git/match/1.html @@ -0,0 +1,59 @@ + + +
+ + + +