@teardown/cli 1.2.35 → 1.2.36
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.
|
Binary file
|
|
@@ -11,7 +11,7 @@ const node_url_1 = require("node:url");
|
|
|
11
11
|
// @ts-ignore
|
|
12
12
|
const dirname = node_path_1.default.dirname((0, node_url_1.fileURLToPath)(import.meta.url));
|
|
13
13
|
console.log("dirname", dirname);
|
|
14
|
-
const pathToImgDir = node_path_1.default.join(dirname, "
|
|
14
|
+
const pathToImgDir = node_path_1.default.join(dirname, "../../../../assets/img");
|
|
15
15
|
exports.faviconPlugin = (0, fastify_plugin_1.default)(async (instance) => {
|
|
16
16
|
instance.register(fastify_favicon_1.default, { path: pathToImgDir });
|
|
17
17
|
}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teardown/cli",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.36",
|
|
4
4
|
"description": "Teardown CLI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
"assets/**/*"
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
|
-
"build": "tsc
|
|
18
|
-
"copy-assets": "copyfiles -u 1 \"src/**/*.{png,jpg,jpeg,gif,svg,html,css,ico}\" dist/",
|
|
17
|
+
"build": "tsc",
|
|
19
18
|
"dev": "tsc --watch",
|
|
20
19
|
"start": "bun run ./bin/teardown.js"
|
|
21
20
|
},
|