@pantoken/drupal 0.1.24 → 0.1.25

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +5 -6
  2. package/package.json +7 -7
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  //#region src/index.d.ts
2
2
  /** A generated file: a theme-relative path and its contents. */
3
- interface DrupalFile {
3
+ export interface DrupalFile {
4
4
  path: string;
5
5
  content: string;
6
6
  }
@@ -15,9 +15,9 @@ interface DrupalFile {
15
15
  * machineName("My Canvas Theme"); // "my_canvas_theme"
16
16
  * ```
17
17
  */
18
- declare function machineName(name: string): string;
18
+ export declare function machineName(name: string): string;
19
19
  /** Options for {@link toDrupalTheme}. */
20
- interface ToDrupalThemeOptions {
20
+ export interface ToDrupalThemeOptions {
21
21
  /** The theme's human-readable name (default `"Instructure"`). */
22
22
  name?: string;
23
23
  /** The base theme (default `false` — a standalone theme). */
@@ -51,6 +51,5 @@ interface ToDrupalThemeOptions {
51
51
  * const files = toDrupalTheme({ name: "Instructure", baseTheme: "olivero" });
52
52
  * ```
53
53
  */
54
- declare function toDrupalTheme(options?: ToDrupalThemeOptions): DrupalFile[];
55
- //#endregion
56
- export { DrupalFile, ToDrupalThemeOptions, machineName, toDrupalTheme };
54
+ export declare function toDrupalTheme(options?: ToDrupalThemeOptions): DrupalFile[];
55
+ //#endregion
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@pantoken/drupal",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "Emit an Instructure-themed Drupal sub-theme: token CSS plus *.info.yml and *.libraries.yml.",
5
- "homepage": "https://pantoken.iywahl.com",
5
+ "homepage": "https://pantoken.app",
6
6
  "bugs": "https://github.com/thedannywahl/pantoken/issues",
7
7
  "license": "MIT",
8
8
  "repository": {
@@ -24,14 +24,14 @@
24
24
  "provenance": true
25
25
  },
26
26
  "dependencies": {
27
- "@pantoken/components": "1.0.3",
28
- "@pantoken/css": "0.3.7"
27
+ "@pantoken/components": "1.1.0",
28
+ "@pantoken/css": "0.3.8"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^26.3.0",
31
+ "@types/node": "^26.5.0",
32
32
  "typescript": "^7.0.2",
33
- "vite": "npm:@voidzero-dev/vite-plus-core@0.3.0",
34
- "vite-plus": "0.3.0"
33
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.3.1",
34
+ "vite-plus": "0.3.1"
35
35
  },
36
36
  "engines": {
37
37
  "node": ">=22.18.0"