@wulechuan/css-stylus-markdown-themes 7.2.6 → 7.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/00-/344/273/273/345/212/241/344/271/213/351/205/215/347/275/256/351/241/271/351/233/206//351/222/210/345/257/271/346/236/204/345/273/272/346/211/200/346/234/211/351/241/273/345/217/221/345/270/203/344/271/213-javascript-/344/271/213/344/273/273/345/212/241/347/232/204.js +30 -0
  2. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/00-/344/273/273/345/212/241/344/271/213/351/205/215/347/275/256/351/241/271/351/233/206//351/222/210/345/257/271/346/236/204/345/273/272/346/211/200/346/234/211/351/241/273/345/217/221/345/270/203/344/271/213/345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/344/271/213/344/273/273/345/212/241/347/232/204.js +111 -0
  3. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/00-/344/273/273/345/212/241/344/271/213/351/205/215/347/275/256/351/241/271/351/233/206//351/222/210/345/257/271/347/224/250/344/272/216/345/274/200/345/217/221/346/237/220/344/270/200/347/211/271/345/256/232/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/344/271/213/344/273/273/345/212/241/347/232/204.js +11 -0
  4. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/01-/347/224/250/344/272/216/346/236/204/345/273/272/347/256/200/345/215/225/344/273/273/345/212/241/347/232/204/345/267/245/345/205/267/351/233/206//346/236/204/345/273/272/347/256/200/345/215/225/344/273/273/345/212/241/347/224/250/344/273/245/345/260/206/346/237/220/347/244/272/344/276/213/346/200/247-html-/351/205/215/345/245/227/347/232/204/346/217/222/345/233/276/347/255/211/350/265/204/346/272/220/345/244/215/345/210/266/345/210/260/347/233/256/346/240/207/346/226/207/344/273/266/345/244/271.js +10 -0
  5. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/346/236/204/345/273/272/346/225/210/346/236/234/345/221/210/347/216/260/347/244/272/344/276/213/344/271/213/346/226/207/347/253/240/347/232/204//346/236/204/345/273/272/344/270/200/344/270/252/344/273/273/345/212/241/351/227/255/347/216/257/344/273/245/345/210/233/345/273/272/346/225/210/346/236/234/345/221/210/347/216/260/347/244/272/344/276/213/344/271/213/346/226/207/347/253/240.js +219 -0
  6. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206-stylus-/346/226/207/344/273/266/345/271/266/346/236/204/345/273/272/345/207/272-css-/346/226/207/344/273/266/0-get-a-specific-task-config-by-an-entry-stylus-file-sub-path.js +30 -0
  7. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206-stylus-/346/226/207/344/273/266/345/271/266/346/236/204/345/273/272/345/207/272-css-/346/226/207/344/273/266/1-merge-shared-task-config-and-one-specific-task-config.js +71 -0
  8. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206-stylus-/346/226/207/344/273/266/345/271/266/346/236/204/345/273/272/345/207/272-css-/346/226/207/344/273/266/2-create-a-task-cycle-via-a-merged-task-config.js +54 -0
  9. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206-stylus-/346/226/207/344/273/266/345/271/266/346/236/204/345/273/272/345/207/272-css-/346/226/207/344/273/266/3-create-a-task-cycle-via-a-specific-task-config.js +11 -0
  10. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206-stylus-/346/226/207/344/273/266/345/271/266/346/236/204/345/273/272/345/207/272-css-/346/226/207/344/273/266/4-create-a-task-cycle-via-an-entry-stylus-file-sub-path.js +12 -0
  11. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206/345/271/266/346/236/204/345/273/272/345/207/272-javascript-/346/226/207/344/273/266//344/270/272/346/211/200/346/234/211/351/241/273/345/217/221/345/270/203/347/232/204-javascript-/346/226/207/344/273/266/347/232/204/346/236/204/345/273/272/344/273/273/345/212/241/351/200/220/344/270/200/346/236/204/345/273/272/345/207/272/344/273/273/345/212/241/351/227/255/347/216/257.js +7 -0
  12. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206/345/271/266/346/236/204/345/273/272/345/207/272-javascript-/346/226/207/344/273/266//346/236/204/345/273/272/344/270/200/344/270/252/344/273/273/345/212/241/351/227/255/347/216/257/347/224/250/344/273/245/345/244/215/345/210/266/345/217/221/345/270/203/345/206/205/345/256/271/344/270/223/345/261/236/347/232/204-eslintrc-/346/226/207/344/273/266.js +31 -0
  13. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//350/276/203/344/270/272/351/200/232/347/224/250/347/232/204//346/236/204/345/273/272/344/270/200/344/270/252/344/273/273/345/212/241/351/227/255/347/216/257/347/224/250/344/273/245/345/244/215/345/210/266/344/270/200/347/273/204-javascript-/346/226/207/344/273/266.js +32 -0
  14. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/03-/346/236/204/345/273/272/345/245/275/347/232/204/344/273/273/345/212/241/351/227/255/347/216/257/346/210/226/347/256/200/345/215/225/344/273/273/345/212/241//345/271/266/351/251/276/351/275/220/351/251/261/346/236/204/345/273/272/345/244/232/347/257/207/346/226/207/347/253/240/344/271/213-html-/344/271/213/350/257/270/344/273/273/345/212/241/344/271/213/346/200/273/344/273/273/345/212/241/351/227/255/347/216/257.js +90 -0
  15. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/03-/346/236/204/345/273/272/345/245/275/347/232/204/344/273/273/345/212/241/351/227/255/347/216/257/346/210/226/347/256/200/345/215/225/344/273/273/345/212/241//346/211/271/351/207/217/346/236/204/345/273/272/346/211/200/346/234/211/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/344/271/213/350/257/270/344/273/273/345/212/241/344/271/213/346/200/273/344/273/273/345/212/241/351/227/255/347/216/257.js +27 -0
  16. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/03-/346/236/204/345/273/272/345/245/275/347/232/204/344/273/273/345/212/241/351/227/255/347/216/257/346/210/226/347/256/200/345/215/225/344/273/273/345/212/241//346/236/204/345/273/272/345/275/223/345/211/215/346/255/243/347/235/200/346/211/213/345/274/200/345/217/221/344/271/213/345/224/257/344/270/200/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/344/271/213/346/200/273/344/273/273/345/212/241/351/227/255/347/216/257.js +131 -0
  17. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/99-/350/276/205/345/212/251/345/267/245/345/205/267/351/233/206/get-plugins-for-one-postcss-instance.js +65 -0
  18. package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/index.js +34 -0
  19. package/--gulpfile.js +1 -0
  20. package/package.json +12 -11
  21. package//346/226/207/346/241/243//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/225/210/346/236/234/347/244/272/344/276/213/351/233/206//345/216/237/345/247/213/347/232/204-markdown-/346/240/274/345/274/217/347/232/204/346/226/207/347/253/240/theming-example-article.zh-hans-CN.md +32 -0
  22. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown--vscode.default.min.css +1 -1
  23. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default--no-toc.min.css +1 -1
  24. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default--with-toc.min.css +1 -1
  25. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default--wrapped--no-toc.min.css +1 -1
  26. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default--wrapped--with-toc.min.css +1 -1
  27. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default-dark--no-toc.min.css +1 -1
  28. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default-dark--with-toc.min.css +1 -1
  29. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default-dark--wrapped--no-toc.min.css +1 -1
  30. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default-dark--wrapped--with-toc.min.css +1 -1
  31. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--no-toc.min.css +1 -1
  32. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--with-toc.min.css +1 -1
  33. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--wrapped--no-toc.min.css +1 -1
  34. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--wrapped--with-toc.min.css +1 -1
  35. package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/234/254/345/267/245/345/205/267/344/275/234/344/270/272/345/205/266/344/273/226-javascript-/345/267/245/345/205/267/344/271/213/344/276/235/350/265/226/346/250/241/345/235/227/346/227/266/347/232/204/344/273/243/347/240/201/index.js +5 -5
@@ -0,0 +1,30 @@
1
+ const {
2
+ 发布的配套Javascript之根文件夹之相对路径,
3
+ } = require('../../本项目之全局配置项集')
4
+
5
+ module.exports = [
6
+ {
7
+ descriptionOfInputsOfCoreTask: '源代码/原始的源代码/用于设计文章排版与配色方案的代码/js/table-of-contents-and-back-to-top-anchor-behaviors.js',
8
+
9
+ sourceGlobs: {
10
+ rootFolderPath: './源代码/原始的源代码/用于设计文章排版与配色方案的代码/js',
11
+
12
+ // relativeGlobsSharedWithOtherTaskCycles: [],
13
+ relativeGlobsSpecificallyForThisTaskCycle: [
14
+ 'table-of-contents-and-back-to-top-anchor-behaviors.js',
15
+ ],
16
+ // extraSourceGlobsToWatch: [],
17
+ },
18
+
19
+ outputFiles: {
20
+ rootFolderPath: 发布的配套Javascript之根文件夹之相对路径,
21
+
22
+ forSingleOrTwoOutputFiles: {
23
+ fileBaseName: 'table-of-contents-and-back-to-top-anchor-behaviors',
24
+ fileExtWithoutDot: 'js',
25
+ },
26
+ },
27
+
28
+ compressions: {},
29
+ },
30
+ ]
@@ -0,0 +1,111 @@
1
+ const {
2
+ 发布的层叠样式表之根文件夹之相对路径: _发布的层叠样式表之根文件夹之相对路径,
3
+ } = require('../../本项目之全局配置项集')
4
+
5
+ const 所涉一切文件甄选描述符之公共根文件夹之相对路径 = './源代码/原始的源代码/用于设计文章排版与配色方案的代码/stylus'
6
+ const 发布的层叠样式表之根文件夹之相对路径 = _发布的层叠样式表之根文件夹之相对路径
7
+ const 所有应用场景之入口Stylus文件相对路径之公共起始部分 = '逐个应用场景选用样式零件并装配成完整样式表'
8
+ const 产出之一切层叠样式表文件之名称之共有前缀 = 'wulechuan-styles-for-html-via-markdown'
9
+
10
+ const sharedSourceRelativeGlobs = []
11
+ const extraSourceGlobsToWatch = []
12
+
13
+ const 诸排版与配色方案之构建任务各自特有之配置之汇总列表 = [
14
+ {
15
+ // 应忽略该任务: true,
16
+ 作为编译入口之Stylus文件之内层路径: '_default/non-wrapped--has-toc',
17
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '.default--with-toc',
18
+ },
19
+ {
20
+ // 应忽略该任务: true,
21
+ 作为编译入口之Stylus文件之内层路径: '_default/non-wrapped--no-toc',
22
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '.default--no-toc',
23
+ },
24
+ {
25
+ // 应忽略该任务: true,
26
+ 作为编译入口之Stylus文件之内层路径: '_default/all-wrapped--has-toc',
27
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '.default--wrapped--with-toc',
28
+ },
29
+ {
30
+ // 应忽略该任务: true,
31
+ 作为编译入口之Stylus文件之内层路径: '_default/all-wrapped--no-toc',
32
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '.default--wrapped--no-toc',
33
+ },
34
+
35
+ // ----------------------------------------------------
36
+
37
+ {
38
+ // 应忽略该任务: true,
39
+ 作为编译入口之Stylus文件之内层路径: '_generic/_default-dark-colored-article-theme/non-wrapped--has-toc',
40
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '.default-dark--with-toc',
41
+ },
42
+ {
43
+ // 应忽略该任务: true,
44
+ 作为编译入口之Stylus文件之内层路径: '_generic/_default-dark-colored-article-theme/non-wrapped--no-toc',
45
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '.default-dark--no-toc',
46
+ },
47
+ {
48
+ // 应忽略该任务: true,
49
+ 作为编译入口之Stylus文件之内层路径: '_generic/_default-dark-colored-article-theme/all-wrapped--has-toc',
50
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '.default-dark--wrapped--with-toc',
51
+ },
52
+ {
53
+ // 应忽略该任务: true,
54
+ 作为编译入口之Stylus文件之内层路径: '_generic/_default-dark-colored-article-theme/all-wrapped--no-toc',
55
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '.default-dark--wrapped--no-toc',
56
+ },
57
+
58
+ // ----------------------------------------------------
59
+
60
+ {
61
+ // 应忽略该任务: true,
62
+ 作为编译入口之Stylus文件之内层路径: '_generic/_default-light-colored-article-theme--atom-one-dark/non-wrapped--has-toc',
63
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '.generic-default-light--atom-one-dark--with-toc',
64
+ },
65
+ {
66
+ // 应忽略该任务: true,
67
+ 作为编译入口之Stylus文件之内层路径: '_generic/_default-light-colored-article-theme--atom-one-dark/non-wrapped--no-toc',
68
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '.generic-default-light--atom-one-dark--no-toc',
69
+ },
70
+ {
71
+ // 应忽略该任务: true,
72
+ 作为编译入口之Stylus文件之内层路径: '_generic/_default-light-colored-article-theme--atom-one-dark/all-wrapped--has-toc',
73
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '.generic-default-light--atom-one-dark--wrapped--with-toc',
74
+ },
75
+ {
76
+ // 应忽略该任务: true,
77
+ 作为编译入口之Stylus文件之内层路径: '_generic/_default-light-colored-article-theme--atom-one-dark/all-wrapped--no-toc',
78
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '.generic-default-light--atom-one-dark--wrapped--no-toc',
79
+ },
80
+
81
+ // ----------------------------------------------------
82
+
83
+ {
84
+ // 应忽略该任务: true,
85
+ 作为编译入口之Stylus文件之内层路径: 'firefox-addon/firefox-addon-_default',
86
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '--firefox-addon.default',
87
+ 不必产出压缩过的层叠样式表和压缩过的Javascript文件: true,
88
+ },
89
+ {
90
+ // 应忽略该任务: true,
91
+ 作为编译入口之Stylus文件之内层路径: 'typora/typora-_default',
92
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '--typora.default',
93
+ 不必产出压缩过的层叠样式表和压缩过的Javascript文件: true,
94
+ },
95
+ {
96
+ // 应忽略该任务: true,
97
+ 作为编译入口之Stylus文件之内层路径: 'vscode/vscode-_default',
98
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分: '--vscode.default',
99
+ shouldNotOutputUncompressedVersion: true,
100
+ },
101
+ ]
102
+
103
+ module.exports = {
104
+ 所涉一切文件甄选描述符之公共根文件夹之相对路径,
105
+ 发布的层叠样式表之根文件夹之相对路径,
106
+ 所有应用场景之入口Stylus文件相对路径之公共起始部分,
107
+ 产出之一切层叠样式表文件之名称之共有前缀,
108
+ sharedSourceRelativeGlobs,
109
+ extraSourceGlobsToWatch,
110
+ 诸排版与配色方案之构建任务各自特有之配置之汇总列表,
111
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * “正着手开发的排版与配色方案之入口Stylus文件之相对路径”之取值可省略结尾的 .styl 。
3
+ *
4
+ * 例1:
5
+ * module.exports.正着手开发的排版与配色方案之入口Stylus文件之相对路径 = '_default/non-wrapped--has-toc'
6
+ * 例2:
7
+ * module.exports.正着手开发的排版与配色方案之入口Stylus文件之相对路径 = '_generic/_default-dark-colored-article-theme/non-wrapped--has-toc'
8
+ * 例3:
9
+ * module.exports.正着手开发的排版与配色方案之入口Stylus文件之相对路径 = null
10
+ */
11
+ module.exports.正着手开发的排版与配色方案之入口Stylus文件之相对路径 = null
@@ -0,0 +1,10 @@
1
+ const 路径工具 = require('path')
2
+
3
+ const gulp = require('gulp')
4
+
5
+ module.exports = function createTaskBodyForCopyingExampleAssetsTo(assetsOutputFolder) {
6
+ return function 复制示例性HTML文件配套的插图等资源() {
7
+ return gulp.src('./文档/文章排版与配色效果示例集/原始的-markdown-格式的文章/illustrates/**/*')
8
+ .pipe(gulp.dest(路径工具.posix.join(assetsOutputFolder, 'illustrates')))
9
+ }
10
+ }
@@ -0,0 +1,219 @@
1
+ const 彩色粉笔工具 = require('chalk')
2
+
3
+ const 路径工具 = require('path')
4
+
5
+ const { readFileSync, writeFileSync } = require('fs')
6
+ const 删除文件 = require('del')
7
+
8
+ const {
9
+ mkdirpSync,
10
+ } = require('fs-extra')
11
+
12
+ const {
13
+ parallel: 构建并行运转以下Gulp任务之总任务,
14
+ } = require('gulp')
15
+
16
+
17
+ const 构建一个用于将Markdown内容字符串转换为HTML字符串的转换器 = require('@wulechuan/generate-html-via-markdown/源代码/转换器之构建器')
18
+
19
+
20
+ const {
21
+ 以文件名称为索引之所有文件简易描述项之字典,
22
+ 获取某一已发布之文件之完整内容字符串,
23
+ } = require('../../../源代码/发布的源代码/本工具作为其他-javascript-工具之依赖模块时的代码')
24
+
25
+
26
+
27
+
28
+
29
+ const { join: 遵循POSIX标准拼接路径 } = 路径工具.posix
30
+
31
+
32
+ const exampleSourceMarkdonwFilesFolderPath = './文档/文章排版与配色效果示例集/原始的-markdown-格式的文章'
33
+ const exampleSourceMarkdownFileNameEnUS = 'theming-example-article.en-US.md'
34
+ const exampleSourceMarkdownFileNameZhHansCN = 'theming-example-article.zh-hans-CN.md'
35
+
36
+
37
+
38
+
39
+
40
+ const 本项目之根文件夹之绝对路径 = process.cwd().replace(/\\/g, '/')
41
+
42
+
43
+
44
+ const sourceMarkdownFileEnUS = 遵循POSIX标准拼接路径(
45
+ exampleSourceMarkdonwFilesFolderPath,
46
+ exampleSourceMarkdownFileNameEnUS
47
+ )
48
+
49
+ const sourceMarkdownFileZhHansCN = 遵循POSIX标准拼接路径(
50
+ exampleSourceMarkdonwFilesFolderPath,
51
+ exampleSourceMarkdownFileNameZhHansCN
52
+ )
53
+
54
+ const 将Markdown内容字符串转换为HTML内容的转换器 = 构建一个用于将Markdown内容字符串转换为HTML字符串的转换器({
55
+ peer依赖包提供用以获取某特定文件之完整内容字符串之函数: 获取某一已发布之文件之完整内容字符串,
56
+ peer依赖包提供的以文件名称为索引之所有文件简易描述项之字典: 以文件名称为索引之所有文件简易描述项之字典,
57
+ 不应采纳本工具之源代码之缓存版本以应对本工具研发阶段之要求: false,
58
+ 应输出MarkdownIt生态工具集之原始产出以便验证之而非输出正式内容: false,
59
+ })
60
+
61
+
62
+
63
+
64
+
65
+ module.exports = function 构建一个任务闭环以将一Markdown文件转换成HTML文件({
66
+ 欲采用的已发布之层叠样式表文件之名称: 须嵌入HTML文件的层叠样式表文件之文件名称,
67
+ 产出诸HTML文件之存放文件夹之相对路径: 存放示例性HTML文件之文件夹之相对路径,
68
+ 自汉语文章产出之HTML文件之名称: 汉语版HTML文件之文件名称,
69
+ 自英国话文章产出之HTML文件之名称: 英国话版的HTML文件之文件名称,
70
+ 须额外嵌入各产出之HTML文件之文件之相对路径之列表: 其他须一并嵌入HTML文件的Javascript文件之相对路径集,
71
+ }) {
72
+ mkdirpSync(存放示例性HTML文件之文件夹之相对路径)
73
+
74
+ const 其他须一并嵌入HTML文件的Javascript文件之绝对路径集 = 其他须一并嵌入HTML文件的Javascript文件之相对路径集.map(
75
+ 某相对路径 => 遵循POSIX标准拼接路径(本项目之根文件夹之绝对路径, 某相对路径)
76
+ )
77
+
78
+ let 不应采用任何由本工具内建之层叠样式表 = false
79
+ let 须要须嵌入HTML文件的各文件之绝对路径集 = []
80
+
81
+ if (须嵌入HTML文件的层叠样式表文件之文件名称) {
82
+ 不应采用任何由本工具内建之层叠样式表 = true
83
+
84
+ 须要须嵌入HTML文件的各文件之绝对路径集.push(
85
+ 遵循POSIX标准拼接路径(
86
+ 本项目之根文件夹之绝对路径,
87
+ '源代码/发布的源代码/文章排版与配色方案集/层叠样式表',
88
+ 须嵌入HTML文件的层叠样式表文件之文件名称
89
+ )
90
+ )
91
+
92
+ if (须嵌入HTML文件的层叠样式表文件之文件名称.match(/--with-toc\.(min\.)?css$/)) {
93
+ 须要须嵌入HTML文件的各文件之绝对路径集.push(
94
+ 遵循POSIX标准拼接路径(
95
+ 本项目之根文件夹之绝对路径,
96
+ '源代码/发布的源代码/文章排版与配色方案集/javascript',
97
+ 'table-of-contents-and-back-to-top-anchor-behaviors.min.js'
98
+ )
99
+ )
100
+ }
101
+ }
102
+
103
+
104
+
105
+ 须要须嵌入HTML文件的各文件之绝对路径集 = [
106
+ ...须要须嵌入HTML文件的各文件之绝对路径集,
107
+ ...其他须一并嵌入HTML文件的Javascript文件之绝对路径集,
108
+ ]
109
+
110
+
111
+
112
+ const 汉语版HTML文件之绝对路径 = 遵循POSIX标准拼接路径(
113
+ 本项目之根文件夹之绝对路径,
114
+ 存放示例性HTML文件之文件夹之相对路径,
115
+ 汉语版HTML文件之文件名称
116
+ )
117
+
118
+ const 英国话版HTML文件之绝对路径 = 遵循POSIX标准拼接路径(
119
+ 本项目之根文件夹之绝对路径,
120
+ 存放示例性HTML文件之文件夹之相对路径,
121
+ 英国话版的HTML文件之文件名称
122
+ )
123
+
124
+ const 一切可能存在的旧输出文件之绝对路径集 = [
125
+ 汉语版HTML文件之绝对路径,
126
+ 英国话版HTML文件之绝对路径,
127
+ ]
128
+
129
+
130
+
131
+
132
+
133
+ const 构建所有HTML文件 = 构建并行运转以下Gulp任务之总任务(
134
+ 构建汉语版的HTML文件,
135
+ 构建英国话版的HTML文件
136
+ )
137
+
138
+ return {
139
+ sourceGlobsToWatch: [
140
+ sourceMarkdownFileEnUS,
141
+ sourceMarkdownFileZhHansCN,
142
+ '源代码/原始的源代码/用于设计文章排版与配色方案的代码/stylus/文章排版和配色样式之零件库/**/*.styl',
143
+ ...其他须一并嵌入HTML文件的Javascript文件之绝对路径集,
144
+ ],
145
+ taskBodies: {
146
+ cleanOldOutputs: 删除所有旧版HTML文件,
147
+ buildNewOutputs: 构建所有HTML文件,
148
+ },
149
+ }
150
+
151
+
152
+
153
+ function 删除所有旧版HTML文件() {
154
+ console.log(`\n${彩色粉笔工具.red('Deleting these files if exist')}:`)
155
+ 一切可能存在的旧输出文件之绝对路径集.forEach(filePath => console.log(' ', 彩色粉笔工具.yellow(filePath)))
156
+ return 删除文件(一切可能存在的旧输出文件之绝对路径集)
157
+ }
158
+
159
+
160
+
161
+ function 构建汉语版的HTML文件(通知Gulp该任务结束之回调函数) {
162
+ writeFileSync(
163
+ 汉语版HTML文件之绝对路径,
164
+
165
+ 将Markdown内容字符串转换为HTML内容的转换器(
166
+ readFileSync(sourceMarkdownFileZhHansCN).toString(),
167
+
168
+ {
169
+ 须在控制台打印详尽细节: false,
170
+
171
+ 对HTML做进一步处理之阶段: {
172
+ 不应采用任何由本工具内建之层叠样式表,
173
+ 凡内容须注入产出之HTML中之所有外来文件: {
174
+ 应禁止采用Require语句对这些文件之缓存内容以确保计算机进程反复读取各文件时恒取用各文件最新之内容全文: true,
175
+ 依次给出之外来文件之绝对路径序列: 须要须嵌入HTML文件的各文件之绝对路径集,
176
+ },
177
+ },
178
+
179
+ 杂项: {
180
+ 控制台打印信息须改用英国话: false,
181
+ },
182
+ }
183
+ )
184
+ )
185
+
186
+ 通知Gulp该任务结束之回调函数()
187
+ }
188
+
189
+
190
+
191
+ function 构建英国话版的HTML文件(通知Gulp该任务结束之回调函数) {
192
+ writeFileSync(
193
+ 英国话版HTML文件之绝对路径,
194
+
195
+ 将Markdown内容字符串转换为HTML内容的转换器(
196
+ readFileSync(sourceMarkdownFileEnUS).toString(),
197
+
198
+ {
199
+ 须在控制台打印详尽细节: false,
200
+
201
+ 对HTML做进一步处理之阶段: {
202
+ 不应采用任何由本工具内建之层叠样式表,
203
+ 产出之HTML文件之HTML标签之语言属性之取值: 'en-US',
204
+ 凡内容须注入产出之HTML中之所有外来文件: {
205
+ 应禁止采用Require语句对这些文件之缓存内容以确保计算机进程反复读取各文件时恒取用各文件最新之内容全文: true,
206
+ 依次给出之外来文件之绝对路径序列: 须要须嵌入HTML文件的各文件之绝对路径集,
207
+ },
208
+ },
209
+
210
+ 杂项: {
211
+ 控制台打印信息须改用英国话: true,
212
+ },
213
+ }
214
+ )
215
+ )
216
+
217
+ 通知Gulp该任务结束之回调函数()
218
+ }
219
+ }
@@ -0,0 +1,30 @@
1
+ const 彩色粉笔工具 = require('chalk')
2
+
3
+ const {
4
+ 诸排版与配色方案之构建任务各自特有之配置之汇总列表,
5
+ } = require('../../../00-任务之配置项集/针对构建所有须发布之层叠样式表之任务的')
6
+
7
+
8
+ module.exports = function getTaskConfigByEntryStylusFileSubPath(作为编译入口之Stylus文件之内层路径) {
9
+ let theOnlyTaskSpecificConfig = null
10
+
11
+ if (!作为编译入口之Stylus文件之内层路径) {
12
+ theOnlyTaskSpecificConfig = 诸排版与配色方案之构建任务各自特有之配置之汇总列表[0]
13
+ } else {
14
+ const matchedTaskConfigs = 诸排版与配色方案之构建任务各自特有之配置之汇总列表.filter(taskConfig => {
15
+ return taskConfig.作为编译入口之Stylus文件之内层路径 === 作为编译入口之Stylus文件之内层路径
16
+ })
17
+
18
+ const matchedTaskConfigsCount = matchedTaskConfigs.length
19
+
20
+ if (matchedTaskConfigsCount !== 1) {
21
+ throw new RangeError(`${matchedTaskConfigsCount} theme tasks matched by "${
22
+ 彩色粉笔工具.yellow(作为编译入口之Stylus文件之内层路径)
23
+ }".\n ${彩色粉笔工具.red('But 1 and only 1 expected.')}`)
24
+ }
25
+
26
+ theOnlyTaskSpecificConfig = matchedTaskConfigs[0]
27
+ }
28
+
29
+ return theOnlyTaskSpecificConfig
30
+ }
@@ -0,0 +1,71 @@
1
+ const 路径工具 = require('path')
2
+
3
+ const {
4
+ 所涉一切文件甄选描述符之公共根文件夹之相对路径,
5
+ 发布的层叠样式表之根文件夹之相对路径,
6
+ 所有应用场景之入口Stylus文件相对路径之公共起始部分,
7
+ 产出之一切层叠样式表文件之名称之共有前缀,
8
+ sharedSourceRelativeGlobs,
9
+ extraSourceGlobsToWatch,
10
+ } = require('../../../00-任务之配置项集/针对构建所有须发布之层叠样式表之任务的')
11
+
12
+
13
+
14
+ const { join: 遵循POSIX标准拼接路径 } = 路径工具.posix
15
+
16
+
17
+
18
+ module.exports = function mergeSharedTaskConfigWithOneSpecificTaskConfig(specificTaskConfig) {
19
+ const {
20
+ 作为编译入口之Stylus文件之内层路径,
21
+ 编译Stylus最终产出之层叠样式表文件之名称之特征部分,
22
+ shouldNotOutputUncompressedVersion,
23
+ 不必产出压缩过的层叠样式表和压缩过的Javascript文件,
24
+ shouldDiscardMostCommentsEvenIfNotCompressCSS,
25
+ } = specificTaskConfig
26
+
27
+ if (shouldNotOutputUncompressedVersion && 不必产出压缩过的层叠样式表和压缩过的Javascript文件) {
28
+ throw new RangeError(`Why don't we output anything for "${作为编译入口之Stylus文件之内层路径}"?`)
29
+ }
30
+
31
+ const 作为编译入口之Stylus文件之内层路径2 = `${作为编译入口之Stylus文件之内层路径}.styl`
32
+ const outputFileBaseName = `${产出之一切层叠样式表文件之名称之共有前缀}${编译Stylus最终产出之层叠样式表文件之名称之特征部分}`
33
+
34
+ const specificSourceRelativeGlobs = [
35
+ 遵循POSIX标准拼接路径(所有应用场景之入口Stylus文件相对路径之公共起始部分, 作为编译入口之Stylus文件之内层路径2),
36
+ ]
37
+
38
+
39
+
40
+ return {
41
+ // descriptionOfCoreTask,
42
+ descriptionOfInputsOfCoreTask: 作为编译入口之Stylus文件之内层路径2,
43
+
44
+ sourceGlobs: {
45
+ rootFolderPath: 所涉一切文件甄选描述符之公共根文件夹之相对路径,
46
+
47
+ relativeGlobsSharedWithOtherTaskCycles: sharedSourceRelativeGlobs,
48
+ relativeGlobsSpecificallyForThisTaskCycle: specificSourceRelativeGlobs,
49
+
50
+ extraSourceGlobsToWatch,
51
+ },
52
+
53
+ outputFiles: {
54
+ rootFolderPath: 发布的层叠样式表之根文件夹之相对路径,
55
+
56
+ forSingleOrTwoOutputFiles: {
57
+ fileBaseName: outputFileBaseName,
58
+ fileExtWithoutDot: 'css',
59
+ },
60
+ },
61
+
62
+ compressions: {
63
+ shouldNotOutputUncompressedVersion,
64
+ shouldNotOutputCompressedVersion: 不必产出压缩过的层叠样式表和压缩过的Javascript文件,
65
+ },
66
+
67
+ extraOptions: {
68
+ shouldDiscardMostCommentsEvenIfNotCompressCSS,
69
+ },
70
+ }
71
+ }
@@ -0,0 +1,54 @@
1
+ const postCSS = require('gulp-postcss')
2
+ const gulpStylus = require('gulp-stylus')
3
+
4
+ const {
5
+ createATaskCycle,
6
+ } = require('@wulechuan/gulp-classical-task-cycle')
7
+
8
+ const getPluginsForOnePostCSSInstance
9
+ = require('../../../99-辅助工具集/get-plugins-for-one-postcss-instance')
10
+
11
+
12
+
13
+ module.exports = function createOneTaskCycleForCompilingStylusOfOneTheme(mergedTaskConfig) {
14
+ const {
15
+ descriptionOfCoreTask,
16
+ descriptionOfInputsOfCoreTask,
17
+ sourceGlobs,
18
+ outputFiles,
19
+ compressions, // is a required property here, for simplicity
20
+
21
+ extraOptions: {
22
+ shouldDiscardMostCommentsEvenIfNotCompressCSS,
23
+ },
24
+ } = mergedTaskConfig
25
+
26
+ const _shouldDiscardComments = !!shouldDiscardMostCommentsEvenIfNotCompressCSS
27
+
28
+ const compressorOptions1 = getPluginsForOnePostCSSInstance(false, _shouldDiscardComments)
29
+ const compressorOptions2 = getPluginsForOnePostCSSInstance(true)
30
+
31
+ const compressor1 = postCSS
32
+ const compressor2 = postCSS
33
+
34
+ return createATaskCycle({
35
+ descriptionOfCoreTask,
36
+ descriptionOfInputsOfCoreTask,
37
+
38
+ sourceGlobs,
39
+ outputFiles,
40
+ firstPipeForProcessingSources: gulpStylus,
41
+
42
+ compressions: {
43
+ ...compressions,
44
+
45
+ compressor1IsEnabled: _shouldDiscardComments,
46
+ compressor1,
47
+ compressorOptions1,
48
+
49
+ compressor2IsDisabled: false,
50
+ compressor2,
51
+ compressorOptions2,
52
+ },
53
+ })
54
+ }
@@ -0,0 +1,11 @@
1
+ const mergeSharedTaskConfigWithOneSpecificTaskConfig
2
+ = require('./1-merge-shared-task-config-and-one-specific-task-config')
3
+
4
+ const createOneTaskCycleViaOneMergedTaskConfig
5
+ = require('./2-create-a-task-cycle-via-a-merged-task-config')
6
+
7
+ module.exports = function createOneTaskCycleViaOneSpecificTaskConfig(specificTaskConfig) {
8
+ const mergedTaskConfig = mergeSharedTaskConfigWithOneSpecificTaskConfig(specificTaskConfig)
9
+ const taskCycle = createOneTaskCycleViaOneMergedTaskConfig(mergedTaskConfig)
10
+ return taskCycle
11
+ }
@@ -0,0 +1,12 @@
1
+ const getSpecificTaskConfig
2
+ = require('./0-get-a-specific-task-config-by-an-entry-stylus-file-sub-path')
3
+
4
+ const createOneTaskCycleViaOneSpecificTaskConfig
5
+ = require('./3-create-a-task-cycle-via-a-specific-task-config')
6
+
7
+
8
+ module.exports = function createOneTaskCycleViaOneEntryStylusFileSubPath(作为编译入口之Stylus文件之内层路径) {
9
+ const specificTaskConfig = getSpecificTaskConfig(作为编译入口之Stylus文件之内层路径)
10
+ const taskCycle = createOneTaskCycleViaOneSpecificTaskConfig(specificTaskConfig)
11
+ return taskCycle
12
+ }
@@ -0,0 +1,31 @@
1
+ const {
2
+ 发布的配套Javascript之根文件夹之相对路径,
3
+ } = require('../../../../本项目之全局配置项集')
4
+
5
+ const 构建一个任务闭环用以复制一组Javascript文件
6
+ = require('../../较为通用的/构建一个任务闭环用以复制一组-javascript-文件')
7
+
8
+ module.exports = 构建一个任务闭环用以复制一组Javascript文件({
9
+ descriptionOfInputsOfCoreTask: '源代码/原始的源代码/用于设计文章排版与配色方案的代码/js/.eslint.js',
10
+
11
+ sourceGlobs: {
12
+ rootFolderPath: './源代码/原始的源代码/用于设计文章排版与配色方案的代码/js',
13
+
14
+ relativeGlobsSpecificallyForThisTaskCycle: [
15
+ '.eslintrc.js',
16
+ ],
17
+ },
18
+
19
+ outputFiles: {
20
+ rootFolderPath: 发布的配套Javascript之根文件夹之相对路径,
21
+
22
+ forSingleOrTwoOutputFiles: {
23
+ fileBaseName: '.eslintrc',
24
+ fileExtWithoutDot: 'js',
25
+ },
26
+ },
27
+
28
+ compressions: {
29
+ shouldNotOutputCompressedVersion: true,
30
+ },
31
+ })
@@ -0,0 +1,32 @@
1
+ const {
2
+ createATaskCycle,
3
+ } = require('@wulechuan/gulp-classical-task-cycle')
4
+
5
+ const gulpTerser = require('gulp-terser')
6
+
7
+ module.exports = function 构建一个任务闭环用以复制一组Javascript文件(options) {
8
+ const {
9
+ descriptionOfCoreTask,
10
+ descriptionOfInputsOfCoreTask,
11
+ sourceGlobs,
12
+ outputFiles,
13
+ compressions, // is a required property here, for simplicity
14
+ } = options
15
+
16
+ return createATaskCycle({
17
+ descriptionOfCoreTask,
18
+ descriptionOfInputsOfCoreTask,
19
+
20
+ sourceGlobs,
21
+ outputFiles,
22
+
23
+ compressions: {
24
+ ...compressions,
25
+
26
+ compressor2: gulpTerser,
27
+ compressorOptions2: {
28
+ // nothing yet
29
+ },
30
+ },
31
+ })
32
+ }