@ryanatkn/gro 0.125.0 → 0.125.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/dist/args.js CHANGED
@@ -1,4 +1,4 @@
1
- import { gray, magenta } from 'kleur/colors';
1
+ import { gray, magenta } from '@ryanatkn/belt/styletext.js';
2
2
  import mri from 'mri';
3
3
  /**
4
4
  * Parses user input args with a Zod schema.
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { spawn } from '@ryanatkn/belt/process.js';
3
- import { red, blue } from 'kleur/colors';
3
+ import { red, blue } from '@ryanatkn/belt/styletext.js';
4
4
  import { readFile, writeFile } from 'node:fs/promises';
5
5
  import { join } from 'node:path';
6
6
  import { existsSync, readdirSync } from 'node:fs';
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { spawn } from '@ryanatkn/belt/process.js';
3
- import { red } from 'kleur/colors';
3
+ import { red } from '@ryanatkn/belt/styletext.js';
4
4
  import { Task_Error } from './task.js';
5
5
  import { git_check_clean_workspace } from './git.js';
6
6
  import { sync_package_json } from './package_json.js';
@@ -1,6 +1,6 @@
1
1
  import { spawn } from '@ryanatkn/belt/process.js';
2
2
  import { print_error } from '@ryanatkn/belt/print.js';
3
- import { green, red } from 'kleur/colors';
3
+ import { green, red } from '@ryanatkn/belt/styletext.js';
4
4
  import { z } from 'zod';
5
5
  import { cp, mkdir, rm } from 'node:fs/promises';
6
6
  import { join, resolve } from 'node:path';
@@ -1,4 +1,4 @@
1
- import { yellow, red } from 'kleur/colors';
1
+ import { yellow, red } from '@ryanatkn/belt/styletext.js';
2
2
  export const print_build_result = (log, build_result) => {
3
3
  for (const error of build_result.errors) {
4
4
  log.error(red('esbuild error'), error);
package/dist/gen.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { join, basename, dirname, isAbsolute } from 'node:path';
2
2
  import { mkdir, readFile, writeFile } from 'node:fs/promises';
3
3
  import { z } from 'zod';
4
- import { red } from 'kleur/colors';
4
+ import { red } from '@ryanatkn/belt/styletext.js';
5
5
  import { existsSync } from 'node:fs';
6
6
  import { print_path } from './paths.js';
7
7
  import { load_modules } from './modules.js';
package/dist/gen.task.js CHANGED
@@ -1,4 +1,4 @@
1
- import { red, green, gray } from 'kleur/colors';
1
+ import { red, green, gray } from '@ryanatkn/belt/styletext.js';
2
2
  import { print_ms, print_error } from '@ryanatkn/belt/print.js';
3
3
  import { plural } from '@ryanatkn/belt/string.js';
4
4
  import { z } from 'zod';
@@ -1,4 +1,4 @@
1
- import { cyan, red, gray } from 'kleur/colors';
1
+ import { cyan, red, gray } from '@ryanatkn/belt/styletext.js';
2
2
  import { System_Logger, print_log_label } from '@ryanatkn/belt/log.js';
3
3
  import { create_stopwatch, Timings } from '@ryanatkn/belt/timings.js';
4
4
  import { print_ms, print_timings } from '@ryanatkn/belt/print.js';
package/dist/package.d.ts CHANGED
@@ -37,7 +37,6 @@ export declare const package_json: {
37
37
  chokidar: string;
38
38
  dotenv: string;
39
39
  'es-module-lexer': string;
40
- kleur: string;
41
40
  mri: string;
42
41
  prettier: string;
43
42
  'prettier-plugin-svelte': string;
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.125.0',
4
+ version: '0.125.1',
5
5
  description: 'task runner and toolkit extending SvelteKit',
6
6
  motto: 'generate, run, optimize',
7
7
  glyph: '🌰',
@@ -33,11 +33,10 @@ export const package_json = {
33
33
  ],
34
34
  files: ['dist'],
35
35
  dependencies: {
36
- '@ryanatkn/belt': '^0.22.0',
36
+ '@ryanatkn/belt': '^0.23.0',
37
37
  chokidar: '^3.6.0',
38
38
  dotenv: '^16.4.5',
39
39
  'es-module-lexer': '^1.5.4',
40
- kleur: '^4.1.5',
41
40
  mri: '^1.2.0',
42
41
  prettier: '^3.3.2',
43
42
  'prettier-plugin-svelte': '^3.2.5',
@@ -260,7 +259,7 @@ export const package_json = {
260
259
  };
261
260
  export const src_json = {
262
261
  name: '@ryanatkn/gro',
263
- version: '0.125.0',
262
+ version: '0.125.1',
264
263
  modules: {
265
264
  '.': {
266
265
  path: 'index.ts',
@@ -3,7 +3,7 @@ import { join } from 'node:path';
3
3
  import { readFile, writeFile } from 'node:fs/promises';
4
4
  import { count_graphemes, plural } from '@ryanatkn/belt/string.js';
5
5
  import { strip_end } from '@ryanatkn/belt/string.js';
6
- import { red } from 'kleur/colors';
6
+ import { red } from '@ryanatkn/belt/styletext.js';
7
7
  import { paths, gro_paths, IS_THIS_GRO, replace_extension } from './paths.js';
8
8
  import { SVELTEKIT_DIST_DIRNAME } from './path_constants.js';
9
9
  import { search_fs } from './search_fs.js';
package/dist/paths.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { join, extname, relative, basename } from 'node:path';
2
2
  import { fileURLToPath } from 'node:url';
3
3
  import { strip_end } from '@ryanatkn/belt/string.js';
4
- import { gray } from 'kleur/colors';
4
+ import { gray } from '@ryanatkn/belt/styletext.js';
5
5
  import { GRO_CONFIG_PATH, GRO_DEV_DIR, GRO_DIR, SOURCE_DIR, SVELTEKIT_DIST_DIRNAME, } from './path_constants.js';
6
6
  import { sveltekit_config_global } from './sveltekit_config_global.js';
7
7
  /*
@@ -1,6 +1,6 @@
1
1
  import { spawn } from '@ryanatkn/belt/process.js';
2
2
  import { z } from 'zod';
3
- import { green, cyan } from 'kleur/colors';
3
+ import { green, cyan } from '@ryanatkn/belt/styletext.js';
4
4
  import { existsSync } from 'node:fs';
5
5
  import { Task_Error } from './task.js';
6
6
  import { load_package_json, parse_repo_url } from './package_json.js';
package/dist/run.task.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { green, cyan } from 'kleur/colors';
2
+ import { green, cyan } from '@ryanatkn/belt/styletext.js';
3
3
  import { existsSync } from 'node:fs';
4
4
  import { Task_Error } from './task.js';
5
5
  import { resolve_gro_module_path, spawn_with_loader } from './gro_helpers.js';
package/dist/run_gen.js CHANGED
@@ -1,4 +1,4 @@
1
- import { red } from 'kleur/colors';
1
+ import { red } from '@ryanatkn/belt/styletext.js';
2
2
  import { print_error } from '@ryanatkn/belt/print.js';
3
3
  import { to_gen_result, } from './gen.js';
4
4
  import { print_path } from './paths.js';
package/dist/run_task.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cyan, red } from 'kleur/colors';
1
+ import { cyan, red } from '@ryanatkn/belt/styletext.js';
2
2
  import { print_log_label, System_Logger } from '@ryanatkn/belt/log.js';
3
3
  import { parse_args } from './args.js';
4
4
  import { log_task_help } from './task_logging.js';
package/dist/task.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { strip_end, strip_start } from '@ryanatkn/belt/string.js';
2
- import { red } from 'kleur/colors';
2
+ import { red } from '@ryanatkn/belt/styletext.js';
3
3
  import { isAbsolute, join, relative } from 'node:path';
4
4
  import { resolve_input_files, resolve_input_paths, } from './input_path.js';
5
5
  import { print_path } from './paths.js';
@@ -1,4 +1,4 @@
1
- import { cyan, gray, green, red } from 'kleur/colors';
1
+ import { cyan, gray, green, red } from '@ryanatkn/belt/styletext.js';
2
2
  import { plural } from '@ryanatkn/belt/string.js';
3
3
  import { print_value } from '@ryanatkn/belt/print.js';
4
4
  import { ZodFirstPartyTypeKind } from 'zod';
package/dist/test.task.js CHANGED
@@ -1,4 +1,4 @@
1
- import { yellow } from 'kleur/colors';
1
+ import { yellow } from '@ryanatkn/belt/styletext.js';
2
2
  import { z } from 'zod';
3
3
  import { Task_Error } from './task.js';
4
4
  import { paths } from './paths.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryanatkn/gro",
3
- "version": "0.125.0",
3
+ "version": "0.125.1",
4
4
  "description": "task runner and toolkit extending SvelteKit",
5
5
  "motto": "generate, run, optimize",
6
6
  "glyph": "🌰",
@@ -45,11 +45,10 @@
45
45
  "dist"
46
46
  ],
47
47
  "dependencies": {
48
- "@ryanatkn/belt": "^0.22.0",
48
+ "@ryanatkn/belt": "^0.23.0",
49
49
  "chokidar": "^3.6.0",
50
50
  "dotenv": "^16.4.5",
51
51
  "es-module-lexer": "^1.5.4",
52
- "kleur": "^4.1.5",
53
52
  "mri": "^1.2.0",
54
53
  "prettier": "^3.3.2",
55
54
  "prettier-plugin-svelte": "^3.2.5",