@dominikcz/greg 0.9.36 → 0.9.38
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/bin/init.js
CHANGED
|
@@ -201,7 +201,7 @@ async function main() {
|
|
|
201
201
|
ensure(`vite.config.${ext}`, tpl('vite.config.js', vars)); // same content for .js and .ts
|
|
202
202
|
ensure('svelte.config.js', tpl('svelte.config.js')); // always .js — vite-plugin-svelte requires it
|
|
203
203
|
ensure(`greg.config.${ext}`, tpl(gregConfigTemplate, vars));
|
|
204
|
-
ensure('.gitignore', tpl('
|
|
204
|
+
ensure('.gitignore', tpl('gitignore'));
|
|
205
205
|
const packagePublicDir = join(__dirname, '..', 'public');
|
|
206
206
|
if (existsSync(packagePublicDir)) {
|
|
207
207
|
copyRawDir(packagePublicDir, 'public');
|
package/package.json
CHANGED
|
@@ -62,6 +62,10 @@ export function vitePluginGregConfig() {
|
|
|
62
62
|
exclude: ['@dominikcz/greg'],
|
|
63
63
|
include: [
|
|
64
64
|
'@dominikcz/greg > unified',
|
|
65
|
+
'@dominikcz/greg > extend',
|
|
66
|
+
'extend',
|
|
67
|
+
'@dominikcz/greg > debug',
|
|
68
|
+
'debug',
|
|
65
69
|
'@dominikcz/greg > remark-parse',
|
|
66
70
|
'@dominikcz/greg > remark-gfm',
|
|
67
71
|
'@dominikcz/greg > remark-rehype',
|