@ryanatkn/gro 0.126.0 → 0.127.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/package.d.ts +11 -8
- package/dist/package.js +16 -13
- package/dist/package_json.d.ts +9 -0
- package/dist/package_json.js +9 -1
- package/package.json +23 -18
package/dist/package.d.ts
CHANGED
|
@@ -4,10 +4,9 @@ export declare const package_json: {
|
|
|
4
4
|
description: string;
|
|
5
5
|
motto: string;
|
|
6
6
|
glyph: string;
|
|
7
|
+
logo: string;
|
|
8
|
+
logo_alt: string;
|
|
7
9
|
public: true;
|
|
8
|
-
bin: {
|
|
9
|
-
gro: string;
|
|
10
|
-
};
|
|
11
10
|
license: string;
|
|
12
11
|
homepage: string;
|
|
13
12
|
author: {
|
|
@@ -21,17 +20,19 @@ export declare const package_json: {
|
|
|
21
20
|
};
|
|
22
21
|
bugs: string;
|
|
23
22
|
funding: string;
|
|
24
|
-
type: string;
|
|
25
|
-
engines: {
|
|
26
|
-
node: string;
|
|
27
|
-
};
|
|
28
23
|
scripts: {
|
|
29
24
|
build: string;
|
|
30
25
|
start: string;
|
|
31
26
|
test: string;
|
|
32
27
|
};
|
|
28
|
+
type: string;
|
|
29
|
+
engines: {
|
|
30
|
+
node: string;
|
|
31
|
+
};
|
|
32
|
+
bin: {
|
|
33
|
+
gro: string;
|
|
34
|
+
};
|
|
33
35
|
keywords: string[];
|
|
34
|
-
files: string[];
|
|
35
36
|
dependencies: {
|
|
36
37
|
'@ryanatkn/belt': string;
|
|
37
38
|
chokidar: string;
|
|
@@ -90,6 +91,8 @@ export declare const package_json: {
|
|
|
90
91
|
};
|
|
91
92
|
}[];
|
|
92
93
|
};
|
|
94
|
+
sideEffects: string[];
|
|
95
|
+
files: string[];
|
|
93
96
|
exports: {
|
|
94
97
|
'.': {
|
|
95
98
|
types: string;
|
package/dist/package.js
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
// generated by src/lib/package.gen.ts
|
|
2
2
|
export const package_json = {
|
|
3
3
|
name: '@ryanatkn/gro',
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.127.1',
|
|
5
5
|
description: 'task runner and toolkit extending SvelteKit',
|
|
6
6
|
motto: 'generate, run, optimize',
|
|
7
7
|
glyph: '🌰',
|
|
8
|
+
logo: 'favicon.png',
|
|
9
|
+
logo_alt: 'a pixelated green oak acorn with a glint of sun',
|
|
8
10
|
public: true,
|
|
9
|
-
bin: { gro: 'dist/gro.js' },
|
|
10
11
|
license: 'MIT',
|
|
11
12
|
homepage: 'https://gro.ryanatkn.com/',
|
|
12
13
|
author: { name: 'Ryan Atkinson', email: 'mail@ryanatkn.com', url: 'https://www.ryanatkn.com/' },
|
|
13
14
|
repository: { type: 'git', url: 'git+https://github.com/ryanatkn/gro.git' },
|
|
14
15
|
bugs: 'https://github.com/ryanatkn/gro/issues',
|
|
15
16
|
funding: 'https://www.ryanatkn.com/funding',
|
|
16
|
-
type: 'module',
|
|
17
|
-
engines: { node: '>=20.12' },
|
|
18
17
|
scripts: {
|
|
19
18
|
build: 'rm -rf .gro dist && svelte-kit sync && svelte-package && chmod +x ./dist/gro.js && npm link -f',
|
|
20
19
|
start: 'gro dev',
|
|
21
20
|
test: 'gro test',
|
|
22
21
|
},
|
|
22
|
+
type: 'module',
|
|
23
|
+
engines: { node: '>=20.12' },
|
|
24
|
+
bin: { gro: 'dist/gro.js' },
|
|
23
25
|
keywords: [
|
|
24
26
|
'web',
|
|
25
27
|
'tools',
|
|
@@ -31,7 +33,6 @@ export const package_json = {
|
|
|
31
33
|
'vite',
|
|
32
34
|
'typescript',
|
|
33
35
|
],
|
|
34
|
-
files: ['dist'],
|
|
35
36
|
dependencies: {
|
|
36
37
|
'@ryanatkn/belt': '^0.23.0',
|
|
37
38
|
chokidar: '^3.6.0',
|
|
@@ -44,26 +45,26 @@ export const package_json = {
|
|
|
44
45
|
tslib: '^2.6.3',
|
|
45
46
|
zod: '^3.23.8',
|
|
46
47
|
},
|
|
47
|
-
peerDependencies: { esbuild: '^0.
|
|
48
|
+
peerDependencies: { esbuild: '^0.21', svelte: '^5.0.0-next.0' },
|
|
48
49
|
devDependencies: {
|
|
49
50
|
'@changesets/changelog-git': '^0.2.0',
|
|
50
51
|
'@changesets/types': '^6.0.0',
|
|
51
52
|
'@ryanatkn/eslint-config': '^0.1.3',
|
|
52
53
|
'@ryanatkn/fuz': '^0.105.2',
|
|
53
|
-
'@ryanatkn/moss': '^0.6.
|
|
54
|
+
'@ryanatkn/moss': '^0.6.2',
|
|
54
55
|
'@sveltejs/adapter-static': '^3.0.2',
|
|
55
|
-
'@sveltejs/kit': '^2.5.
|
|
56
|
+
'@sveltejs/kit': '^2.5.18',
|
|
56
57
|
'@sveltejs/package': '^2.3.2',
|
|
57
58
|
'@sveltejs/vite-plugin-svelte': '^3.1.1',
|
|
58
59
|
'@types/fs-extra': '^11.0.4',
|
|
59
|
-
'@types/node': '^20.14.
|
|
60
|
+
'@types/node': '^20.14.9',
|
|
60
61
|
'@typescript-eslint/eslint-plugin': '^7.14.1',
|
|
61
62
|
'@typescript-eslint/parser': '^7.14.1',
|
|
62
|
-
esbuild: '^0.
|
|
63
|
+
esbuild: '^0.21.5',
|
|
63
64
|
eslint: '^8.57.0',
|
|
64
65
|
'eslint-plugin-svelte': '^2.41.0',
|
|
65
|
-
svelte: '^5.0.0-next.
|
|
66
|
-
'svelte-check': '^3.8.
|
|
66
|
+
svelte: '^5.0.0-next.167',
|
|
67
|
+
'svelte-check': '^3.8.4',
|
|
67
68
|
typescript: '^5.5.2',
|
|
68
69
|
uvu: '^0.5.6',
|
|
69
70
|
},
|
|
@@ -76,6 +77,8 @@ export const package_json = {
|
|
|
76
77
|
bracketSpacing: false,
|
|
77
78
|
overrides: [{ files: 'package.json', options: { useTabs: false } }],
|
|
78
79
|
},
|
|
80
|
+
sideEffects: ['**/*.css'],
|
|
81
|
+
files: ['dist'],
|
|
79
82
|
exports: {
|
|
80
83
|
'.': { types: './dist/index.d.ts', default: './dist/index.js' },
|
|
81
84
|
'./package.json': './package.json',
|
|
@@ -259,7 +262,7 @@ export const package_json = {
|
|
|
259
262
|
};
|
|
260
263
|
export const src_json = {
|
|
261
264
|
name: '@ryanatkn/gro',
|
|
262
|
-
version: '0.
|
|
265
|
+
version: '0.127.1',
|
|
263
266
|
modules: {
|
|
264
267
|
'.': {
|
|
265
268
|
path: 'index.ts',
|
package/dist/package_json.d.ts
CHANGED
|
@@ -58,6 +58,8 @@ export declare const Package_Json: z.ZodObject<{
|
|
|
58
58
|
description: z.ZodOptional<z.ZodString>;
|
|
59
59
|
motto: z.ZodOptional<z.ZodString>;
|
|
60
60
|
glyph: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
61
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
62
|
+
logo_alt: z.ZodOptional<z.ZodString>;
|
|
61
63
|
license: z.ZodOptional<z.ZodString>;
|
|
62
64
|
scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
63
65
|
homepage: z.ZodOptional<z.ZodString>;
|
|
@@ -140,6 +142,7 @@ export declare const Package_Json: z.ZodObject<{
|
|
|
140
142
|
peerDependenciesMeta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
141
143
|
optionalDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
142
144
|
bin: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
145
|
+
sideEffects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
143
146
|
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
144
147
|
exports: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>, any, Record<string, string | Record<string, string> | undefined>>>;
|
|
145
148
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -150,6 +153,8 @@ export declare const Package_Json: z.ZodObject<{
|
|
|
150
153
|
description: z.ZodOptional<z.ZodString>;
|
|
151
154
|
motto: z.ZodOptional<z.ZodString>;
|
|
152
155
|
glyph: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
156
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
157
|
+
logo_alt: z.ZodOptional<z.ZodString>;
|
|
153
158
|
license: z.ZodOptional<z.ZodString>;
|
|
154
159
|
scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
155
160
|
homepage: z.ZodOptional<z.ZodString>;
|
|
@@ -232,6 +237,7 @@ export declare const Package_Json: z.ZodObject<{
|
|
|
232
237
|
peerDependenciesMeta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
233
238
|
optionalDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
234
239
|
bin: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
240
|
+
sideEffects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
235
241
|
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
236
242
|
exports: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>, any, Record<string, string | Record<string, string> | undefined>>>;
|
|
237
243
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -242,6 +248,8 @@ export declare const Package_Json: z.ZodObject<{
|
|
|
242
248
|
description: z.ZodOptional<z.ZodString>;
|
|
243
249
|
motto: z.ZodOptional<z.ZodString>;
|
|
244
250
|
glyph: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
251
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
252
|
+
logo_alt: z.ZodOptional<z.ZodString>;
|
|
245
253
|
license: z.ZodOptional<z.ZodString>;
|
|
246
254
|
scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
247
255
|
homepage: z.ZodOptional<z.ZodString>;
|
|
@@ -324,6 +332,7 @@ export declare const Package_Json: z.ZodObject<{
|
|
|
324
332
|
peerDependenciesMeta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
325
333
|
optionalDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
326
334
|
bin: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
335
|
+
sideEffects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
327
336
|
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
328
337
|
exports: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>, any, Record<string, string | Record<string, string> | undefined>>>;
|
|
329
338
|
}, z.ZodTypeAny, "passthrough">>;
|
package/dist/package_json.js
CHANGED
|
@@ -68,13 +68,20 @@ export const Package_Json = z
|
|
|
68
68
|
motto: z
|
|
69
69
|
.string({ description: "a Gro extension that's a short phrase that represents this project" })
|
|
70
70
|
.optional(),
|
|
71
|
-
// TODO icon/favicon/logo that can point to a URL as an alternative to `<link rel="icon"`?
|
|
72
71
|
glyph: z
|
|
73
72
|
.string({
|
|
74
73
|
description: "a Gro extension that's a single unicode character that represents this project",
|
|
75
74
|
})
|
|
76
75
|
.refine((v) => count_graphemes(v) === 1, 'must be a single unicode character')
|
|
77
76
|
.optional(),
|
|
77
|
+
logo: z
|
|
78
|
+
.string({
|
|
79
|
+
description: "a Gro extension that's a link relative to the `homepage` to an image that represents this project",
|
|
80
|
+
})
|
|
81
|
+
.optional(),
|
|
82
|
+
logo_alt: z
|
|
83
|
+
.string({ description: "a Gro extension that's the alt text for the `logo`" })
|
|
84
|
+
.optional(),
|
|
78
85
|
license: z.string().optional(),
|
|
79
86
|
scripts: z.record(z.string()).optional(),
|
|
80
87
|
homepage: Url.optional(),
|
|
@@ -98,6 +105,7 @@ export const Package_Json = z
|
|
|
98
105
|
peerDependenciesMeta: z.record(z.record(z.string())).optional(),
|
|
99
106
|
optionalDependencies: z.record(z.string()).optional(),
|
|
100
107
|
bin: z.record(z.string()).optional(),
|
|
108
|
+
sideEffects: z.array(z.string()).optional(),
|
|
101
109
|
files: z.array(z.string()).optional(),
|
|
102
110
|
exports: Package_Json_Exports.transform(transform_empty_object_to_undefined).optional(),
|
|
103
111
|
})
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ryanatkn/gro",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.127.1",
|
|
4
4
|
"description": "task runner and toolkit extending SvelteKit",
|
|
5
5
|
"motto": "generate, run, optimize",
|
|
6
6
|
"glyph": "🌰",
|
|
7
|
+
"logo": "favicon.png",
|
|
8
|
+
"logo_alt": "a pixelated green oak acorn with a glint of sun",
|
|
7
9
|
"public": true,
|
|
8
|
-
"bin": {
|
|
9
|
-
"gro": "dist/gro.js"
|
|
10
|
-
},
|
|
11
10
|
"license": "MIT",
|
|
12
11
|
"homepage": "https://gro.ryanatkn.com/",
|
|
13
12
|
"author": {
|
|
@@ -21,15 +20,18 @@
|
|
|
21
20
|
},
|
|
22
21
|
"bugs": "https://github.com/ryanatkn/gro/issues",
|
|
23
22
|
"funding": "https://www.ryanatkn.com/funding",
|
|
24
|
-
"type": "module",
|
|
25
|
-
"engines": {
|
|
26
|
-
"node": ">=20.12"
|
|
27
|
-
},
|
|
28
23
|
"scripts": {
|
|
29
24
|
"build": "rm -rf .gro dist && svelte-kit sync && svelte-package && chmod +x ./dist/gro.js && npm link -f",
|
|
30
25
|
"start": "gro dev",
|
|
31
26
|
"test": "gro test"
|
|
32
27
|
},
|
|
28
|
+
"type": "module",
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=20.12"
|
|
31
|
+
},
|
|
32
|
+
"bin": {
|
|
33
|
+
"gro": "dist/gro.js"
|
|
34
|
+
},
|
|
33
35
|
"keywords": [
|
|
34
36
|
"web",
|
|
35
37
|
"tools",
|
|
@@ -41,9 +43,6 @@
|
|
|
41
43
|
"vite",
|
|
42
44
|
"typescript"
|
|
43
45
|
],
|
|
44
|
-
"files": [
|
|
45
|
-
"dist"
|
|
46
|
-
],
|
|
47
46
|
"dependencies": {
|
|
48
47
|
"@ryanatkn/belt": "^0.23.0",
|
|
49
48
|
"chokidar": "^3.6.0",
|
|
@@ -57,7 +56,7 @@
|
|
|
57
56
|
"zod": "^3.23.8"
|
|
58
57
|
},
|
|
59
58
|
"peerDependencies": {
|
|
60
|
-
"esbuild": "^0.
|
|
59
|
+
"esbuild": "^0.21",
|
|
61
60
|
"svelte": "^5.0.0-next.0"
|
|
62
61
|
},
|
|
63
62
|
"devDependencies": {
|
|
@@ -65,20 +64,20 @@
|
|
|
65
64
|
"@changesets/types": "^6.0.0",
|
|
66
65
|
"@ryanatkn/eslint-config": "^0.1.3",
|
|
67
66
|
"@ryanatkn/fuz": "^0.105.2",
|
|
68
|
-
"@ryanatkn/moss": "^0.6.
|
|
67
|
+
"@ryanatkn/moss": "^0.6.2",
|
|
69
68
|
"@sveltejs/adapter-static": "^3.0.2",
|
|
70
|
-
"@sveltejs/kit": "^2.5.
|
|
69
|
+
"@sveltejs/kit": "^2.5.18",
|
|
71
70
|
"@sveltejs/package": "^2.3.2",
|
|
72
71
|
"@sveltejs/vite-plugin-svelte": "^3.1.1",
|
|
73
72
|
"@types/fs-extra": "^11.0.4",
|
|
74
|
-
"@types/node": "^20.14.
|
|
73
|
+
"@types/node": "^20.14.9",
|
|
75
74
|
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
76
75
|
"@typescript-eslint/parser": "^7.14.1",
|
|
77
|
-
"esbuild": "^0.
|
|
76
|
+
"esbuild": "^0.21.5",
|
|
78
77
|
"eslint": "^8.57.0",
|
|
79
78
|
"eslint-plugin-svelte": "^2.41.0",
|
|
80
|
-
"svelte": "^5.0.0-next.
|
|
81
|
-
"svelte-check": "^3.8.
|
|
79
|
+
"svelte": "^5.0.0-next.167",
|
|
80
|
+
"svelte-check": "^3.8.4",
|
|
82
81
|
"typescript": "^5.5.2",
|
|
83
82
|
"uvu": "^0.5.6"
|
|
84
83
|
},
|
|
@@ -106,6 +105,12 @@
|
|
|
106
105
|
}
|
|
107
106
|
]
|
|
108
107
|
},
|
|
108
|
+
"sideEffects": [
|
|
109
|
+
"**/*.css"
|
|
110
|
+
],
|
|
111
|
+
"files": [
|
|
112
|
+
"dist"
|
|
113
|
+
],
|
|
109
114
|
"exports": {
|
|
110
115
|
".": {
|
|
111
116
|
"types": "./dist/index.d.ts",
|