webanvil 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["build.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["build.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,8BAA4B;AAMhD,wBAA8B,KAAK,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CA4BjF"}
|
package/lib/commands/build.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = build;
|
|
4
4
|
const sync_1 = require("../commons/io/sync");
|
|
5
|
-
const nodepath = require("path");
|
|
6
5
|
const Renderer_1 = require("../core/Renderer");
|
|
7
6
|
const Page_1 = require("../core/Page");
|
|
8
7
|
const EventEmitter_1 = require("../core/EventEmitter");
|
|
@@ -25,8 +24,7 @@ async function build(configuration) {
|
|
|
25
24
|
sync_1.fs.write(sync_1.path.join(configuration.directories.output, output), html);
|
|
26
25
|
}
|
|
27
26
|
else {
|
|
28
|
-
|
|
29
|
-
sync_1.fs.write(sync_1.path.join(configuration.directories.output, basename, "index.html"), html);
|
|
27
|
+
sync_1.fs.write(sync_1.path.join(configuration.directories.output, output.dir, output.name, "index.html"), html);
|
|
30
28
|
}
|
|
31
29
|
sync_1.fs.cp(configuration.directories.public, configuration.directories.output);
|
|
32
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["serve.ts"],"names":[],"mappings":"AAEA,OAAO,aAAa,8BAA4B;AAIhD,wBAA8B,KAAK,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["serve.ts"],"names":[],"mappings":"AAEA,OAAO,aAAa,8BAA4B;AAIhD,wBAA8B,KAAK,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CAiCjF"}
|
package/lib/commands/serve.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webanvil",
|
|
3
3
|
"description": "A zero configuration static site generator that just works.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.6",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
7
7
|
"bin": {
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"browser-sync": "^3.0.3",
|
|
21
21
|
"gray-matter": "^4.0.3",
|
|
22
22
|
"minimist": "^1.2.8",
|
|
23
|
-
"outlinecss": "^0.0.3",
|
|
24
23
|
"rollup": "^4.34.6"
|
|
25
24
|
},
|
|
26
25
|
"devDependencies": {
|
|
@@ -33,7 +32,8 @@
|
|
|
33
32
|
"tslib": "^2.6.3",
|
|
34
33
|
"typescript": "^5.5.4",
|
|
35
34
|
"typescript-transform-paths": "^3.4.11",
|
|
36
|
-
"webanvil": "
|
|
35
|
+
"webanvil": ".",
|
|
36
|
+
"outlinecss": "^0.0.5"
|
|
37
37
|
},
|
|
38
38
|
"author": "Mateusz Pietrzak",
|
|
39
39
|
"license": "MIT",
|