@ryanatkn/gro 0.112.3 → 0.112.5

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 CHANGED
@@ -6,12 +6,7 @@
6
6
 
7
7
  [`npm i -D @ryanatkn/gro`](https://www.npmjs.com/package/@ryanatkn/gro)
8
8
 
9
- limitations:
10
-
11
- - Gro has been actively used since 2019 but it has few users,
12
- so you'll likely encounter problems and undesirable limitations --
13
- please open issues!
14
- - [Windows won't be supported](https://github.com/ryanatkn/gro/issues/319)
9
+ [Windows won't be supported](https://github.com/ryanatkn/gro/issues/319), I chose Bash instead
15
10
 
16
11
  ## about
17
12
 
@@ -58,8 +53,6 @@ It includes:
58
53
  - linting with [ESLint](https://github.com/eslint/eslint)
59
54
  (I also maintain [`@feltjs/eslint-config`](https://github.com/feltjs/eslint-config))
60
55
  - formatting with [Prettier](https://github.com/prettier/prettier)
61
- (it's not always pretty but it saves time writing and reading code,
62
- my time is more precious than my formatting style)
63
56
 
64
57
  ## docs
65
58
 
@@ -118,13 +111,13 @@ clean remove temporary dev and build files, and optionally prune git branch
118
111
  commit commit and push to a new branch
119
112
  deploy deploy to a branch
120
113
  dev start SvelteKit and other dev plugins
121
- exports write the "exports" property of package.json and copy the file to .well-known
122
114
  format format source files
123
115
  gen run code generation scripts
124
116
  lint run eslint
125
117
  publish bump version, publish to npm, and git push
126
118
  release publish and deploy
127
- sync run `gro gen`, `gro exports`, and optionally `npm i` to sync up
119
+ run execute a file with the loader, like `node` but works for TypeScript
120
+ sync run `gro gen`, update `package.json`, and optionally `npm i` to sync up
128
121
  test run tests with uvu
129
122
  typecheck run tsc on the project without emitting any files
130
123
  upgrade upgrade deps
package/dist/modules.d.ts CHANGED
@@ -20,9 +20,7 @@ export type Load_Module_Failure = {
20
20
  mod: Record<string, any>;
21
21
  validation: string;
22
22
  };
23
- export declare const load_module: <T extends Record<string, any>>(id: string, validate?: ((mod: Record<string, any>) => mod is T) | undefined) => Promise<Result<{
24
- mod: T_1;
25
- }, Load_Module_Failure>>;
23
+ export declare const load_module: <T extends Record<string, any>>(id: string, validate?: ((mod: Record<string, any>) => mod is T) | undefined) => Promise<Load_Module_Result<Module_Meta<T>>>;
26
24
  export type Find_Modules_Result = Result<{
27
25
  source_ids_by_input_path: Map<string, string[]>;
28
26
  source_id_path_data_by_input_path: Map<string, Path_Data>;
@@ -48,13 +46,4 @@ export type Load_Modules_Result<T_Module_Meta extends Module_Meta> = Result<{
48
46
  modules: T_Module_Meta[];
49
47
  }>;
50
48
  export declare const find_modules: (input_paths: string[], custom_search_fs?: (dir: string, options?: import("./search_fs.js").Search_Fs_Options) => Promise<Map<string, import("./path.js").Path_Stats>>, get_possible_source_ids?: ((input_path: string) => string[]) | undefined, timings?: any) => Promise<Find_Modules_Result>;
51
- export declare const load_modules: <Module_Type extends Record<string, any>, T_Module_Meta extends Module_Meta<Module_Type>>(source_ids_by_input_path: Map<string, string[]>, load_module_by_id: (source_id: Flavored<string, "Source_Id">) => Promise<Result<{
52
- mod: T;
53
- }, Load_Module_Failure>>, timings?: any) => Promise<Result<{
54
- modules: T_Module_Meta_1[];
55
- }, {
56
- type: 'load_module_failures';
57
- load_module_failures: Load_Module_Failure[];
58
- reasons: string[];
59
- modules: T_Module_Meta_1[];
60
- }>>;
49
+ export declare const load_modules: <Module_Type extends Record<string, any>, T_Module_Meta extends Module_Meta<Module_Type>>(source_ids_by_input_path: Map<string, string[]>, load_module_by_id: (source_id: Flavored<string, "Source_Id">) => Promise<Load_Module_Result<T_Module_Meta>>, timings?: any) => Promise<Load_Modules_Result<T_Module_Meta>>;
package/dist/package.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // generated by src/lib/package.gen.ts
2
2
  export const package_json = {
3
3
  name: '@ryanatkn/gro',
4
- version: '0.112.3',
4
+ version: '0.112.5',
5
5
  description: 'task runner and toolkit extending SvelteKit',
6
6
  icon: '🌰',
7
7
  public: true,
@@ -31,16 +31,16 @@ export const package_json = {
31
31
  ],
32
32
  files: ['dist'],
33
33
  dependencies: {
34
- '@ryanatkn/belt': '^0.20.4',
34
+ '@ryanatkn/belt': '^0.20.8',
35
35
  chokidar: '^3.6.0',
36
36
  dotenv: '^16.4.5',
37
- 'es-module-lexer': '^1.4.1',
37
+ 'es-module-lexer': '^1.4.2',
38
38
  kleur: '^4.1.5',
39
39
  mri: '^1.2.0',
40
40
  prettier: '^3.2.5',
41
- 'prettier-plugin-svelte': '^3.2.1',
41
+ 'prettier-plugin-svelte': '^3.2.2',
42
42
  'tiny-glob': '^0.2.9',
43
- 'ts-morph': '^21.0.1',
43
+ 'ts-morph': '^22.0.0',
44
44
  tslib: '^2.6.2',
45
45
  zod: '^3.22.4',
46
46
  },
@@ -49,21 +49,21 @@ export const package_json = {
49
49
  '@changesets/changelog-git': '^0.2.0',
50
50
  '@changesets/types': '^6.0.0',
51
51
  '@ryanatkn/eslint-config': '^0.1.0',
52
- '@ryanatkn/fuz': '^0.88.0',
52
+ '@ryanatkn/fuz': '^0.91.3',
53
53
  '@sveltejs/adapter-static': '^3.0.1',
54
- '@sveltejs/kit': '^2.5.1',
55
- '@sveltejs/package': '^2.2.7',
54
+ '@sveltejs/kit': '^2.5.4',
55
+ '@sveltejs/package': '^2.3.0',
56
56
  '@sveltejs/vite-plugin-svelte': '^3.0.2',
57
57
  '@types/fs-extra': '^11.0.4',
58
- '@types/node': '^20.11.20',
59
- '@typescript-eslint/eslint-plugin': '^7.0.2',
60
- '@typescript-eslint/parser': '^7.0.2',
58
+ '@types/node': '^20.11.30',
59
+ '@typescript-eslint/eslint-plugin': '^7.3.1',
60
+ '@typescript-eslint/parser': '^7.3.1',
61
61
  esbuild: '^0.19.0',
62
62
  eslint: '^8.57.0',
63
63
  'eslint-plugin-svelte': '^2.35.1',
64
64
  svelte: '^4.2.12',
65
- 'svelte-check': '^3.6.4',
66
- typescript: '^5.3.3',
65
+ 'svelte-check': '^3.6.8',
66
+ typescript: '^5.4.2',
67
67
  uvu: '^0.5.6',
68
68
  },
69
69
  eslintConfig: { root: true, extends: '@ryanatkn', rules: { 'no-console': 1 } },
@@ -233,7 +233,7 @@ export const package_json = {
233
233
  };
234
234
  export const src_json = {
235
235
  name: '@ryanatkn/gro',
236
- version: '0.112.3',
236
+ version: '0.112.5',
237
237
  modules: {
238
238
  '.': {
239
239
  path: 'index.ts',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryanatkn/gro",
3
- "version": "0.112.3",
3
+ "version": "0.112.5",
4
4
  "description": "task runner and toolkit extending SvelteKit",
5
5
  "icon": "🌰",
6
6
  "public": true,
@@ -46,16 +46,16 @@
46
46
  "dist"
47
47
  ],
48
48
  "dependencies": {
49
- "@ryanatkn/belt": "^0.20.4",
49
+ "@ryanatkn/belt": "^0.20.8",
50
50
  "chokidar": "^3.6.0",
51
51
  "dotenv": "^16.4.5",
52
- "es-module-lexer": "^1.4.1",
52
+ "es-module-lexer": "^1.4.2",
53
53
  "kleur": "^4.1.5",
54
54
  "mri": "^1.2.0",
55
55
  "prettier": "^3.2.5",
56
- "prettier-plugin-svelte": "^3.2.1",
56
+ "prettier-plugin-svelte": "^3.2.2",
57
57
  "tiny-glob": "^0.2.9",
58
- "ts-morph": "^21.0.1",
58
+ "ts-morph": "^22.0.0",
59
59
  "tslib": "^2.6.2",
60
60
  "zod": "^3.22.4"
61
61
  },
@@ -67,21 +67,21 @@
67
67
  "@changesets/changelog-git": "^0.2.0",
68
68
  "@changesets/types": "^6.0.0",
69
69
  "@ryanatkn/eslint-config": "^0.1.0",
70
- "@ryanatkn/fuz": "^0.88.0",
70
+ "@ryanatkn/fuz": "^0.91.3",
71
71
  "@sveltejs/adapter-static": "^3.0.1",
72
- "@sveltejs/kit": "^2.5.1",
73
- "@sveltejs/package": "^2.2.7",
72
+ "@sveltejs/kit": "^2.5.4",
73
+ "@sveltejs/package": "^2.3.0",
74
74
  "@sveltejs/vite-plugin-svelte": "^3.0.2",
75
75
  "@types/fs-extra": "^11.0.4",
76
- "@types/node": "^20.11.20",
77
- "@typescript-eslint/eslint-plugin": "^7.0.2",
78
- "@typescript-eslint/parser": "^7.0.2",
76
+ "@types/node": "^20.11.30",
77
+ "@typescript-eslint/eslint-plugin": "^7.3.1",
78
+ "@typescript-eslint/parser": "^7.3.1",
79
79
  "esbuild": "^0.19.0",
80
80
  "eslint": "^8.57.0",
81
81
  "eslint-plugin-svelte": "^2.35.1",
82
82
  "svelte": "^4.2.12",
83
- "svelte-check": "^3.6.4",
84
- "typescript": "^5.3.3",
83
+ "svelte-check": "^3.6.8",
84
+ "typescript": "^5.4.2",
85
85
  "uvu": "^0.5.6"
86
86
  },
87
87
  "eslintConfig": {