slackblock 1.1.0 → 2.0.0-beta.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/CHANGELOG.md +56 -0
- package/README.md +227 -68
- package/dist/block.cjs +79 -124
- package/dist/block.cjs.map +1 -1
- package/dist/{block.d.mts → block.d.cts} +128 -92
- package/dist/block.d.ts +128 -92
- package/dist/block.mjs +80 -114
- package/dist/block.mjs.map +1 -1
- package/dist/index.cjs +250 -143
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -0
- package/dist/index.d.ts +19 -4
- package/dist/index.mjs +243 -133
- package/dist/index.mjs.map +1 -1
- package/dist/{types.d-0WEt-h92.d.mts → types.d-BHoTwZUO.d.cts} +11 -11
- package/dist/{types.d-0WEt-h92.d.ts → types.d-BHoTwZUO.d.ts} +11 -11
- package/package.json +17 -30
- package/dist/index.d.mts +0 -7
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "slackblock",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.0",
|
|
4
4
|
"description": "JSX-based Slack message renderer",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20"
|
|
7
7
|
},
|
|
8
|
-
"
|
|
8
|
+
"type": "module",
|
|
9
9
|
"main": "dist/index.cjs",
|
|
10
10
|
"module": "dist/index.mjs",
|
|
11
11
|
"types": "dist/index.d.ts",
|
|
@@ -40,23 +40,11 @@
|
|
|
40
40
|
"LICENSE",
|
|
41
41
|
"CHANGELOG.md"
|
|
42
42
|
],
|
|
43
|
-
"scripts": {
|
|
44
|
-
"prepare": "husky install",
|
|
45
|
-
"test": "pnpm run test:tsc && pnpm run test:lint && pnpm run test:unit",
|
|
46
|
-
"test:tsc": "tsc -p ./src -p ./test --noEmit",
|
|
47
|
-
"test:lint": "xo",
|
|
48
|
-
"test:unit": "vitest run",
|
|
49
|
-
"prebuild": "pnpm run clean",
|
|
50
|
-
"clean": "rimraf ./dist",
|
|
51
|
-
"build": "tsup",
|
|
52
|
-
"prepublishOnly": "pnpm run test && pnpm run build"
|
|
53
|
-
},
|
|
54
43
|
"repository": {
|
|
55
44
|
"type": "git",
|
|
56
45
|
"url": "git+https://github.com/kolyaventuri/block.git"
|
|
57
46
|
},
|
|
58
47
|
"keywords": [
|
|
59
|
-
"react",
|
|
60
48
|
"slack",
|
|
61
49
|
"message",
|
|
62
50
|
"bot"
|
|
@@ -68,41 +56,40 @@
|
|
|
68
56
|
},
|
|
69
57
|
"homepage": "https://github.com/kolyaventuri/block#readme",
|
|
70
58
|
"devDependencies": {
|
|
59
|
+
"@changesets/cli": "^2.30.0",
|
|
71
60
|
"@types/node": "25.0.10",
|
|
72
|
-
"@types/react": "^19.2.9",
|
|
73
61
|
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
|
74
62
|
"@typescript-eslint/parser": "^8.53.1",
|
|
63
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
75
64
|
"eslint": "^9.39.2",
|
|
76
65
|
"eslint-config-xo": "^0.49.0",
|
|
77
|
-
"eslint-config-xo-react": "^0.29.0",
|
|
78
66
|
"eslint-config-xo-typescript": "^9.0.0",
|
|
79
|
-
"eslint-plugin-react": "^7.37.5",
|
|
80
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
81
67
|
"husky": "^9.1.7",
|
|
68
|
+
"knip": "^5.85.0",
|
|
82
69
|
"lint-staged": "^16.2.7",
|
|
83
|
-
"react": "^19.2.3",
|
|
84
70
|
"rimraf": "^6.1.2",
|
|
85
71
|
"tsup": "^8.5.1",
|
|
86
72
|
"typescript": "^5.9.3",
|
|
87
73
|
"vitest": "^4.0.18",
|
|
88
74
|
"xo": "^1.2.3"
|
|
89
75
|
},
|
|
90
|
-
"peerDependencies": {
|
|
91
|
-
"react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
92
|
-
},
|
|
93
76
|
"dependencies": {
|
|
94
77
|
"@slack/types": "^2.19.0"
|
|
95
78
|
},
|
|
96
|
-
"pnpm": {
|
|
97
|
-
"overrides": {
|
|
98
|
-
"@eslint/plugin-kit": "^0.3.4",
|
|
99
|
-
"minimatch": "^10.2.3",
|
|
100
|
-
"rollup": "^4.59.0"
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
79
|
"lint-staged": {
|
|
104
80
|
"*.{ts,tsx}": [
|
|
105
81
|
"xo"
|
|
106
82
|
]
|
|
83
|
+
},
|
|
84
|
+
"scripts": {
|
|
85
|
+
"test": "pnpm run test:tsc && pnpm run test:lint && pnpm run test:knip && pnpm run test:unit",
|
|
86
|
+
"test:tsc": "tsc -p tsconfig.json --noEmit && tsc -p test/tsconfig.json --noEmit",
|
|
87
|
+
"test:lint": "xo --fix",
|
|
88
|
+
"test:knip": "knip",
|
|
89
|
+
"test:unit": "vitest run",
|
|
90
|
+
"prebuild": "pnpm run clean",
|
|
91
|
+
"clean": "rimraf ./dist",
|
|
92
|
+
"build": "tsup",
|
|
93
|
+
"release": "pnpm run build && changeset publish"
|
|
107
94
|
}
|
|
108
|
-
}
|
|
95
|
+
}
|