8
0
Quellcode durchsuchen

Changed default output path. Changed location of umberto.json. Updated gulp task. Updated package.json.

m-turek vor 8 Jahren
Ursprung
Commit
bb28fbb1bf
4 geänderte Dateien mit 6 neuen und 4 gelöschten Zeilen
  1. 0 1
      .gitignore
  2. 1 1
      docs/umberto.json
  3. 4 1
      gulpfile.js
  4. 1 1
      package.json

+ 0 - 1
.gitignore

@@ -8,6 +8,5 @@ node_modules/**
 build/**
 coverage/**
 packages/**
-umberto-output/**
 docs/api/**/*.json
 lerna-debug.log

+ 1 - 1
umberto.json → docs/umberto.json

@@ -1,7 +1,7 @@
 {
 	"name": "CKEditor 5",
 	"slug": "ckeditor5",
-	"hexo-config": "hexo-custom-config.json",
+	"hexo-config": "docs/hexo-custom-config.json",
 	"path": "docs",
 	"groups": [
 		{

+ 4 - 1
gulpfile.js

@@ -31,7 +31,10 @@ gulp.task( 'docs', () => {
 
 gulp.task( 'umberto', () => {
 	return require( 'umberto' )
-		.buildSingleProject( true );
+		.buildSingleProject( {
+			configDir: 'docs',
+			clean: true
+		} );
 } );
 
 // Tests. ---------------------------------------------------------------------

+ 1 - 1
package.json

@@ -42,7 +42,7 @@
     "guppy-pre-commit": "^0.4.0",
     "lerna": "^2.0.0-rc.1",
     "mgit2": "^0.5.1",
-    "umberto": "0.0.6"
+    "umberto": "^0.0.7"
   },
   "engines": {
     "node": ">=6.0.0",