@oxog/pigment 1.0.2 → 1.1.0
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.
- package/dist/{index-ChElNHaA.d.cts → index-CLqJXFfX.d.cts} +8 -0
- package/dist/{index-ChElNHaA.d.ts → index-CLqJXFfX.d.ts} +8 -0
- package/dist/index.cjs +514 -84
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +514 -84
- package/dist/index.js.map +1 -1
- package/dist/plugins/index.cjs +511 -79
- package/dist/plugins/index.cjs.map +1 -1
- package/dist/plugins/index.d.cts +1 -1
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/index.js +511 -79
- package/dist/plugins/index.js.map +1 -1
- package/package.json +37 -21
package/package.json
CHANGED
|
@@ -1,23 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxog/pigment",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Terminal styling with micro-kernel plugin architecture, Chalk compatibility, and full @oxog ecosystem integration",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/index.
|
|
7
|
-
"module": "./dist/index.
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
},
|
|
19
|
+
"default": "./dist/index.js"
|
|
15
20
|
},
|
|
16
21
|
"./plugins": {
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
"import": {
|
|
23
|
+
"types": "./dist/plugins/index.d.ts",
|
|
24
|
+
"default": "./dist/plugins/index.js"
|
|
25
|
+
},
|
|
26
|
+
"require": {
|
|
27
|
+
"types": "./dist/plugins/index.d.cts",
|
|
28
|
+
"default": "./dist/plugins/index.cjs"
|
|
29
|
+
},
|
|
30
|
+
"default": "./dist/plugins/index.js"
|
|
21
31
|
}
|
|
22
32
|
},
|
|
23
33
|
"files": [
|
|
@@ -28,14 +38,18 @@
|
|
|
28
38
|
"scripts": {
|
|
29
39
|
"build": "tsup",
|
|
30
40
|
"dev": "tsup --watch",
|
|
31
|
-
"test": "vitest",
|
|
32
|
-
"test:coverage": "vitest --coverage",
|
|
41
|
+
"test": "vitest run",
|
|
42
|
+
"test:coverage": "vitest run --coverage",
|
|
33
43
|
"test:ui": "vitest --ui",
|
|
34
|
-
"lint": "eslint --
|
|
35
|
-
"lint:fix": "
|
|
44
|
+
"lint": "eslint src tests --max-warnings=0",
|
|
45
|
+
"lint:fix": "npm run lint -- --fix",
|
|
36
46
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
|
|
37
47
|
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"",
|
|
38
|
-
"typecheck": "tsc --noEmit"
|
|
48
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
|
|
49
|
+
"test:package": "node scripts/check-package.mjs",
|
|
50
|
+
"prepublishOnly": "npm run check && npm run build && npm run test:package",
|
|
51
|
+
"test:watch": "vitest",
|
|
52
|
+
"check": "npm run lint && npm run typecheck && npm run test:coverage"
|
|
39
53
|
},
|
|
40
54
|
"keywords": [
|
|
41
55
|
"chalk",
|
|
@@ -55,26 +69,28 @@
|
|
|
55
69
|
"license": "MIT",
|
|
56
70
|
"repository": {
|
|
57
71
|
"type": "git",
|
|
58
|
-
"url": "https://github.com/ersinkoc/
|
|
72
|
+
"url": "git+https://github.com/ersinkoc/Pigment.git"
|
|
59
73
|
},
|
|
60
74
|
"homepage": "https://pigment.oxog.dev",
|
|
61
75
|
"bugs": {
|
|
62
|
-
"url": "https://github.com/ersinkoc/
|
|
76
|
+
"url": "https://github.com/ersinkoc/Pigment/issues"
|
|
63
77
|
},
|
|
64
78
|
"engines": {
|
|
65
79
|
"node": ">=18.0.0"
|
|
66
80
|
},
|
|
67
81
|
"dependencies": {
|
|
68
|
-
"@oxog/plugin": "^1.
|
|
69
|
-
"@oxog/types": "^1.
|
|
82
|
+
"@oxog/plugin": "^1.1.0",
|
|
83
|
+
"@oxog/types": "^1.1.2"
|
|
70
84
|
},
|
|
71
85
|
"devDependencies": {
|
|
86
|
+
"@eslint/js": "10.0.1",
|
|
72
87
|
"@types/node": "^20.0.0",
|
|
73
88
|
"@vitest/coverage-v8": "^2.0.0",
|
|
74
|
-
"eslint": "
|
|
89
|
+
"eslint": "10.16.0",
|
|
75
90
|
"prettier": "^3.0.0",
|
|
76
91
|
"tsup": "^8.0.0",
|
|
77
92
|
"typescript": "^5.0.0",
|
|
93
|
+
"typescript-eslint": "8.74.0",
|
|
78
94
|
"vitest": "^2.0.0"
|
|
79
95
|
},
|
|
80
96
|
"publishConfig": {
|