@fuzdev/fuz_ui 0.173.0 → 0.174.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/library_gen.js +5 -5
- package/package.json +3 -3
- package/src/lib/library_gen.ts +5 -5
package/dist/library_gen.js
CHANGED
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
* @see src/lib/ts_helpers.ts for TypeScript analysis
|
|
18
18
|
* @see src/lib/svelte_helpers.ts for Svelte component analysis
|
|
19
19
|
*/
|
|
20
|
-
import {
|
|
21
|
-
import { ts_create_program } from
|
|
22
|
-
import { module_extract_path, module_is_svelte } from
|
|
23
|
-
import { library_gen_collect_source_files, library_gen_sort_modules, library_gen_validate_no_duplicates, library_gen_generate_json, library_gen_analyze_svelte_file, library_gen_analyze_typescript_file, } from
|
|
20
|
+
import { package_json_load } from '@ryanatkn/gro/package_json.js';
|
|
21
|
+
import { ts_create_program } from "./ts_helpers.js";
|
|
22
|
+
import { module_extract_path, module_is_svelte } from "./module_helpers.js";
|
|
23
|
+
import { library_gen_collect_source_files, library_gen_sort_modules, library_gen_validate_no_duplicates, library_gen_generate_json, library_gen_analyze_svelte_file, library_gen_analyze_typescript_file, } from "./library_gen_helpers.js";
|
|
24
24
|
/**
|
|
25
25
|
* Creates a Gen object for generating library metadata with full TypeScript analysis.
|
|
26
26
|
*
|
|
@@ -39,7 +39,7 @@ export const library_gen = () => {
|
|
|
39
39
|
// Ensure filer is initialized
|
|
40
40
|
await filer.init();
|
|
41
41
|
// Read package.json
|
|
42
|
-
const package_json = await
|
|
42
|
+
const package_json = await package_json_load();
|
|
43
43
|
// Create TypeScript program
|
|
44
44
|
const program = ts_create_program(log);
|
|
45
45
|
if (!program) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fuzdev/fuz_ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.174.0",
|
|
4
4
|
"description": "Svelte UI library",
|
|
5
5
|
"motto": "friendly user zystem",
|
|
6
6
|
"glyph": "🧶",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@fuzdev/fuz_code": ">=0.37.0",
|
|
38
38
|
"@fuzdev/fuz_css": ">=0.40.0",
|
|
39
39
|
"@fuzdev/fuz_util": ">=0.42.0",
|
|
40
|
-
"@ryanatkn/gro": ">=0.
|
|
40
|
+
"@ryanatkn/gro": ">=0.183.0",
|
|
41
41
|
"@sveltejs/kit": "^2.47.3",
|
|
42
42
|
"esm-env": "^1",
|
|
43
43
|
"svelte": "^5",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@fuzdev/fuz_css": "^0.42.1",
|
|
62
62
|
"@fuzdev/fuz_util": "^0.45.0",
|
|
63
63
|
"@ryanatkn/eslint-config": "^0.9.0",
|
|
64
|
-
"@ryanatkn/gro": "^0.
|
|
64
|
+
"@ryanatkn/gro": "^0.183.0",
|
|
65
65
|
"@sveltejs/adapter-static": "^3.0.10",
|
|
66
66
|
"@sveltejs/kit": "^2.49.1",
|
|
67
67
|
"@sveltejs/package": "^2.5.7",
|
package/src/lib/library_gen.ts
CHANGED
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
import type {Gen} from '@ryanatkn/gro';
|
|
22
|
-
import {
|
|
22
|
+
import {package_json_load} from '@ryanatkn/gro/package_json.js';
|
|
23
23
|
import type {SourceJson} from '@fuzdev/fuz_util/source_json.js';
|
|
24
24
|
|
|
25
|
-
import {ts_create_program, type ReExportInfo} from './ts_helpers.
|
|
26
|
-
import {module_extract_path, module_is_svelte} from './module_helpers.
|
|
25
|
+
import {ts_create_program, type ReExportInfo} from './ts_helpers.ts';
|
|
26
|
+
import {module_extract_path, module_is_svelte} from './module_helpers.ts';
|
|
27
27
|
import {
|
|
28
28
|
library_gen_collect_source_files,
|
|
29
29
|
library_gen_sort_modules,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
library_gen_generate_json,
|
|
32
32
|
library_gen_analyze_svelte_file,
|
|
33
33
|
library_gen_analyze_typescript_file,
|
|
34
|
-
} from './library_gen_helpers.
|
|
34
|
+
} from './library_gen_helpers.ts';
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* Creates a Gen object for generating library metadata with full TypeScript analysis.
|
|
@@ -53,7 +53,7 @@ export const library_gen = (): Gen => {
|
|
|
53
53
|
await filer.init();
|
|
54
54
|
|
|
55
55
|
// Read package.json
|
|
56
|
-
const package_json = await
|
|
56
|
+
const package_json = await package_json_load();
|
|
57
57
|
|
|
58
58
|
// Create TypeScript program
|
|
59
59
|
const program = ts_create_program(log);
|