favicon-env 0.3.0 → 0.3.1
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 +2 -0
- package/package.json +14 -11
- package/skills/core/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,8 @@ Tint your favicon per environment so you can tell instances apart at a glance
|
|
|
16
16
|
pnpm add favicon-env
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
> **`dependencies` or `devDependencies`?** Either works — every mode below resolves the import during your build, so nothing looks `favicon-env` up at runtime on the deployed host, staging included. `dependencies` is the safer default: npm reads `NODE_ENV=production` as `--omit=dev`, so a CI or PaaS builder with that set skips a devDependency and fails the build on `Cannot find module 'favicon-env'` (pnpm doesn't couple the two). `-D` is defensible if you only use [build-time mode](#build-time--ssr-mode) and want a clean production audit. Neither costs you bundle size — [it tree-shakes to zero bytes in prod](#zero-bytes-in-prod).
|
|
20
|
+
|
|
19
21
|
> **Using an AI coding agent?** Install the bundled [Agent Skill](https://tanstack.com/intent) with `pnpm dlx @tanstack/intent@latest install`.
|
|
20
22
|
|
|
21
23
|
## Runtime mode
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "favicon-env",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Tint your favicon per environment (dev/staging/prod) so you can tell instances apart at a glance. Runtime canvas mode + build-time SVG mode. Zero dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"canvas",
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@changesets/cli": "^
|
|
53
|
-
"@playwright/test": "^1.
|
|
54
|
-
"@swc/core": "^1.
|
|
55
|
-
"@tanstack/intent": "^0.3.
|
|
56
|
-
"dependency-cruiser": "^18.
|
|
57
|
-
"knip": "^6.
|
|
58
|
-
"oxfmt": "^0.
|
|
59
|
-
"oxlint": "^1.
|
|
60
|
-
"publint": "^0.3.
|
|
52
|
+
"@changesets/cli": "^3.0.1",
|
|
53
|
+
"@playwright/test": "^1.62.1",
|
|
54
|
+
"@swc/core": "^1.16.1",
|
|
55
|
+
"@tanstack/intent": "^0.3.7",
|
|
56
|
+
"dependency-cruiser": "^18.2.0",
|
|
57
|
+
"knip": "^6.32.3",
|
|
58
|
+
"oxfmt": "^0.65.0",
|
|
59
|
+
"oxlint": "^1.80.0",
|
|
60
|
+
"publint": "^0.3.24",
|
|
61
61
|
"simple-git-hooks": "^2.13.1",
|
|
62
62
|
"tsup": "^8.5.1",
|
|
63
63
|
"typescript": "^7.0.2"
|
|
@@ -78,6 +78,9 @@
|
|
|
78
78
|
"publint": "publint --strict",
|
|
79
79
|
"intent:validate": "intent validate skills",
|
|
80
80
|
"intent:stale": "intent stale skills",
|
|
81
|
+
"skill:sync": "node scripts/skill-version.mjs",
|
|
82
|
+
"skill:check": "node scripts/skill-version.mjs --check",
|
|
83
|
+
"skill:stale": "node scripts/skill-stale.mjs",
|
|
81
84
|
"pretest": "pnpm build",
|
|
82
85
|
"test": "node --test test/pure.test.mjs test/skill.test.mjs",
|
|
83
86
|
"test:skill": "node --test test/skill.test.mjs",
|
|
@@ -89,7 +92,7 @@
|
|
|
89
92
|
"test:all": "pnpm test && pnpm test:frameworks",
|
|
90
93
|
"ncu": "pnpm dlx npm-check-updates",
|
|
91
94
|
"changeset": "changeset",
|
|
92
|
-
"version": "changeset version",
|
|
95
|
+
"version": "changeset version && pnpm run skill:sync",
|
|
93
96
|
"release": "changeset publish"
|
|
94
97
|
}
|
|
95
98
|
}
|
package/skills/core/SKILL.md
CHANGED