@casomoltd/tooling 0.38.0 → 0.39.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/README.md +1 -1
- package/identity/index.d.mts +1 -0
- package/identity/organization.mjs +5 -2
- package/package.json +20 -20
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ Shared linting, formatting, commit config, and CLI tools for Casomo Ltd's repos.
|
|
|
15
15
|
| `@casomoltd/tooling/knip` | Knip config for unused exports/dependencies |
|
|
16
16
|
| `@casomoltd/tooling/jscpd` | Copy-paste detection config |
|
|
17
17
|
| `@casomoltd/tooling/readability` | `scoreText()` — readability scoring for page content |
|
|
18
|
-
| `@casomoltd/tooling/identity` | `CASOMO_ORGANIZATION`, the schema.org `Organization
|
|
18
|
+
| `@casomoltd/tooling/identity` | `CASOMO_ORGANIZATION`, the schema.org `Organization`, logo included, that every Casomo site names as publisher in its JSON-LD. App code imports it at build time, so a site that installs only production dependencies at runtime lists the package under `dependencies` |
|
|
19
19
|
| `@casomoltd/tooling/buttondown` | For a repo using the `buttondown` command: the shared email blocks and skins (`createEmailBlocks`, `emailBaseCss`, `composeWebSkin`), `tokenReader()`, `loadSettings()` and `buildPayload()`, and `EMAIL_CHROME_HIDES` and `WEB_CHROME_HIDES` ([docs/buttondown.md](docs/buttondown.md)) |
|
|
20
20
|
|
|
21
21
|
### Bin commands
|
package/identity/index.d.mts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* this rather than typing its own, so no two sites can disagree about who
|
|
5
5
|
* publishes them, and `sameAs` ties them all to the same profiles.
|
|
6
6
|
*
|
|
7
|
-
* Public facts only: the company's name and the addresses
|
|
8
|
-
*
|
|
7
|
+
* Public facts only: the company's name, its mark and the public addresses it
|
|
8
|
+
* is known by. A person, such as an article's author, stays with the site.
|
|
9
9
|
*/
|
|
10
10
|
const SITE = "https://casomoltd.com";
|
|
11
11
|
|
|
@@ -16,6 +16,9 @@ export const CASOMO_ORGANIZATION = Object.freeze({
|
|
|
16
16
|
"@id": `${SITE}/#organization`,
|
|
17
17
|
name: "Casomo Ltd",
|
|
18
18
|
url: SITE,
|
|
19
|
+
// The company's mark, as its own site serves it. Each site keeps its own
|
|
20
|
+
// favicon and palette; this is the one logo the company is known by.
|
|
21
|
+
logo: `${SITE}/assets/icon.svg`,
|
|
19
22
|
sameAs: Object.freeze([
|
|
20
23
|
"https://casomo.co.uk",
|
|
21
24
|
"https://www.facebook.com/casomouk",
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@casomoltd/tooling",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.0",
|
|
4
4
|
"description": "Casomo's shared dev config: ESLint, Prettier, commitlint, knip & jscpd presets, dev CLIs (git hooks, readability, screenshots, design specs), and the build-time data and helpers sites import (the Buttondown engine, the shared Organization)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/casomoltd/tooling.git"
|
|
8
|
+
"url": "git+https://github.com/casomoltd/tooling.git"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"bin/",
|
|
@@ -60,24 +60,24 @@
|
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"bin": {
|
|
63
|
-
"build-report": "
|
|
64
|
-
"buttondown": "
|
|
65
|
-
"check-gates": "
|
|
66
|
-
"check-hooks": "
|
|
67
|
-
"check-listed-files": "
|
|
68
|
-
"check-linear": "
|
|
69
|
-
"check-personal-data": "
|
|
70
|
-
"check-private-refs": "
|
|
71
|
-
"check-routes": "
|
|
72
|
-
"check-tags": "
|
|
73
|
-
"check-version": "
|
|
74
|
-
"commit-msg": "
|
|
75
|
-
"pre-commit": "
|
|
76
|
-
"pre-push": "
|
|
77
|
-
"readability": "
|
|
78
|
-
"render-figures": "
|
|
79
|
-
"screenshot": "
|
|
80
|
-
"spec-check": "
|
|
63
|
+
"build-report": "bin/build-report.mjs",
|
|
64
|
+
"buttondown": "bin/buttondown.mjs",
|
|
65
|
+
"check-gates": "bin/check-gates.mjs",
|
|
66
|
+
"check-hooks": "bin/check-hooks.sh",
|
|
67
|
+
"check-listed-files": "bin/check-listed-files.mjs",
|
|
68
|
+
"check-linear": "bin/check-linear.sh",
|
|
69
|
+
"check-personal-data": "bin/check-personal-data.mjs",
|
|
70
|
+
"check-private-refs": "bin/check-private-refs.mjs",
|
|
71
|
+
"check-routes": "bin/check-routes.mjs",
|
|
72
|
+
"check-tags": "bin/check-tags.sh",
|
|
73
|
+
"check-version": "bin/check-version.sh",
|
|
74
|
+
"commit-msg": "bin/commit-msg.sh",
|
|
75
|
+
"pre-commit": "bin/pre-commit.sh",
|
|
76
|
+
"pre-push": "bin/pre-push.sh",
|
|
77
|
+
"readability": "bin/readability.mjs",
|
|
78
|
+
"render-figures": "bin/render-figures.mjs",
|
|
79
|
+
"screenshot": "bin/screenshot.mjs",
|
|
80
|
+
"spec-check": "bin/spec-check.mjs"
|
|
81
81
|
},
|
|
82
82
|
"publishConfig": {
|
|
83
83
|
"access": "public"
|