longcelot-seo 0.2.2

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.
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ var __getOwnPropNames = Object.getOwnPropertyNames;
3
+ var __commonJS = (cb, mod) => function __require() {
4
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
5
+ };
6
+
7
+ // package.json
8
+ var require_package = __commonJS({
9
+ "package.json"(exports2, module2) {
10
+ module2.exports = {
11
+ name: "longcelot-seo",
12
+ version: "0.2.2",
13
+ description: "The SEO engineer's best friend \u2014 CLI toolkit for auditing, fixing, and monitoring SEO",
14
+ keywords: [
15
+ "seo",
16
+ "cli",
17
+ "audit",
18
+ "nextjs",
19
+ "vue",
20
+ "react"
21
+ ],
22
+ homepage: "https://github.com/vannseavlong/longcelot-seo",
23
+ repository: {
24
+ type: "git",
25
+ url: "https://github.com/vannseavlong/longcelot-seo.git"
26
+ },
27
+ license: "MIT",
28
+ author: "Vannseavlong",
29
+ type: "module",
30
+ main: "./dist/bin/lseo.js",
31
+ module: "./dist/bin/lseo.js",
32
+ types: "./dist/bin/lseo.d.ts",
33
+ bin: {
34
+ lseo: "./dist/bin/lseo.js"
35
+ },
36
+ scripts: {
37
+ build: "tsup",
38
+ test: "vitest run",
39
+ typecheck: "tsc --noEmit",
40
+ postinstall: `node -e "const fs=require('fs');if(fs.existsSync('./dist/scripts/postinstall.cjs')){require('./dist/scripts/postinstall.cjs')}"`
41
+ },
42
+ dependencies: {
43
+ "@vue/compiler-sfc": "^3.5.30",
44
+ chalk: "^5.3.0",
45
+ "cli-table3": "^0.6.5",
46
+ commander: "^12.1.0",
47
+ cosmiconfig: "^9.0.0",
48
+ figlet: "^1.7.0",
49
+ ora: "^8.0.1",
50
+ zod: "^3.23.8"
51
+ },
52
+ devDependencies: {
53
+ "@types/figlet": "^1.5.8",
54
+ "@types/node": "^20.14.0",
55
+ cheerio: "^1.0.0",
56
+ "fast-glob": "^3.3.3",
57
+ tsup: "^8.1.0",
58
+ typescript: "^5.4.5",
59
+ vitest: "^1.6.0"
60
+ },
61
+ files: [
62
+ "dist"
63
+ ],
64
+ engines: {
65
+ node: ">=18.0.0"
66
+ }
67
+ };
68
+ }
69
+ });
70
+
71
+ // src/scripts/postinstall.ts
72
+ var chalk = require("chalk");
73
+ var pkg = require_package();
74
+ var BRAND_COLOR = "#0EA5E9";
75
+ var ASCII_ART = `
76
+ \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557
77
+ \u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557
78
+ \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551 \u2588\u2588\u2551
79
+ \u2588\u2588\u2551 \u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u255D \u2588\u2588\u2551 \u2588\u2588\u2551
80
+ \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D
81
+ `;
82
+ function printBanner() {
83
+ const sky = chalk.default.hex(BRAND_COLOR);
84
+ process.stdout.write(sky(ASCII_ART) + "\n");
85
+ process.stdout.write(sky(` LONGCELOT-SEO TOOLKIT v${pkg.version}
86
+ `));
87
+ process.stdout.write(sky(" The SEO engineer's best friend.\n"));
88
+ process.stdout.write("\n");
89
+ process.stdout.write(" Get started:\n");
90
+ process.stdout.write(" lseo init \u2014 scaffold lseo.config.js\n");
91
+ process.stdout.write(" lseo scan \u2014 scan your codebase for SEO issues\n");
92
+ process.stdout.write(" lseo --help \u2014 list all commands\n");
93
+ process.stdout.write("\n");
94
+ }
95
+ printBanner();
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "longcelot-seo",
3
+ "version": "0.2.2",
4
+ "description": "The SEO engineer's best friend — CLI toolkit for auditing, fixing, and monitoring SEO",
5
+ "keywords": [
6
+ "seo",
7
+ "cli",
8
+ "audit",
9
+ "nextjs",
10
+ "vue",
11
+ "react"
12
+ ],
13
+ "homepage": "https://github.com/vannseavlong/longcelot-seo",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/vannseavlong/longcelot-seo.git"
17
+ },
18
+ "license": "MIT",
19
+ "author": "Vannseavlong",
20
+ "type": "module",
21
+ "main": "./dist/bin/lseo.js",
22
+ "module": "./dist/bin/lseo.js",
23
+ "types": "./dist/bin/lseo.d.ts",
24
+ "bin": {
25
+ "lseo": "./dist/bin/lseo.js"
26
+ },
27
+ "scripts": {
28
+ "build": "tsup",
29
+ "test": "vitest run",
30
+ "typecheck": "tsc --noEmit",
31
+ "postinstall": "node -e \"const fs=require('fs');if(fs.existsSync('./dist/scripts/postinstall.cjs')){require('./dist/scripts/postinstall.cjs')}\""
32
+ },
33
+ "dependencies": {
34
+ "@vue/compiler-sfc": "^3.5.30",
35
+ "chalk": "^5.3.0",
36
+ "cli-table3": "^0.6.5",
37
+ "commander": "^12.1.0",
38
+ "cosmiconfig": "^9.0.0",
39
+ "figlet": "^1.7.0",
40
+ "ora": "^8.0.1",
41
+ "zod": "^3.23.8"
42
+ },
43
+ "devDependencies": {
44
+ "@types/figlet": "^1.5.8",
45
+ "@types/node": "^20.14.0",
46
+ "cheerio": "^1.0.0",
47
+ "fast-glob": "^3.3.3",
48
+ "tsup": "^8.1.0",
49
+ "typescript": "^5.4.5",
50
+ "vitest": "^1.6.0"
51
+ },
52
+ "files": [
53
+ "dist"
54
+ ],
55
+ "engines": {
56
+ "node": ">=18.0.0"
57
+ }
58
+ }