@answerfox/templates 0.1.1 → 0.2.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/registry.d.ts +1 -1
- package/dist/registry.js +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +2 -2
package/dist/registry.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { Template, TemplateName, TokenValues } from './types.js';
|
|
|
2
2
|
/**
|
|
3
3
|
* Every template registered with the package, in a stable order
|
|
4
4
|
* matching the AUDIT-FRAMEWORK trust-page sequence (D1 → D4).
|
|
5
|
-
* Useful for `
|
|
5
|
+
* Useful for `answerfox add all` flows in the CLI.
|
|
6
6
|
*/
|
|
7
7
|
export declare function listTemplates(): readonly Template[];
|
|
8
8
|
/**
|
package/dist/registry.js
CHANGED
|
@@ -14,7 +14,7 @@ const REGISTRY = {
|
|
|
14
14
|
/**
|
|
15
15
|
* Every template registered with the package, in a stable order
|
|
16
16
|
* matching the AUDIT-FRAMEWORK trust-page sequence (D1 → D4).
|
|
17
|
-
* Useful for `
|
|
17
|
+
* Useful for `answerfox add all` flows in the CLI.
|
|
18
18
|
*/
|
|
19
19
|
export function listTemplates() {
|
|
20
20
|
return Object.values(REGISTRY);
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Catalog of templates Answerfox's CLI can install. Stable string
|
|
3
3
|
* literals — these become the values users pass to
|
|
4
|
-
* `
|
|
4
|
+
* `answerfox add <name>`.
|
|
5
5
|
*/
|
|
6
6
|
export type TemplateName = 'about' | 'privacy' | 'terms' | 'faq' | 'contact';
|
|
7
7
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@answerfox/templates",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Page templates (About, Privacy, Terms, FAQ, Contact) for the Answerfox SEO toolkit. Installed into user projects by the CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Anuj Ojha",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@answerfox/core": "0.
|
|
32
|
+
"@answerfox/core": "0.2.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"rimraf": "^6.0.1",
|