@virmator/init 14.21.3 → 14.22.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/README.md +1 -0
- package/configs/deps-regen.config.ts +14 -0
- package/dist/init.d.ts +26 -0
- package/dist/init.js +13 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@ A default plugin for [virmator](https://www.npmjs.com/package/virmator).
|
|
|
16
16
|
- .github/workflows/tagged-release.yml
|
|
17
17
|
- .github/workflows/tests.yml
|
|
18
18
|
- .vscode/settings.json
|
|
19
|
+
- configs/deps-regen.config.ts
|
|
19
20
|
- src/ui/elements/vir-app.element.ts
|
|
20
21
|
- src/index.html
|
|
21
22
|
- www-static/index.css
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
baseAllowedRecentDeps,
|
|
3
|
+
RecentDepsAllowList,
|
|
4
|
+
} from '@virmator/deps/configs/deps-regen.config.base.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Allowlist of npm packages whose `node_modules` and lockfile entries should be regenerated by
|
|
8
|
+
* `virmator deps regen`. Each entry is either an npm package name (e.g. `'react'`, `'@scope/foo'`)
|
|
9
|
+
* or an npm author handle (e.g. `'electrovir'`); anything published by an allowlisted author is
|
|
10
|
+
* also regenerated. Anything not matching this list is left alone.
|
|
11
|
+
*/
|
|
12
|
+
export const depsRegenAllowList: RecentDepsAllowList = [
|
|
13
|
+
...baseAllowedRecentDeps,
|
|
14
|
+
];
|
package/dist/init.d.ts
CHANGED
|
@@ -79,6 +79,19 @@ export declare const virmatorInitPlugin: Readonly<Readonly<{
|
|
|
79
79
|
};
|
|
80
80
|
readonly required: false;
|
|
81
81
|
};
|
|
82
|
+
readonly depsRegen: {
|
|
83
|
+
readonly copyFromPath: string;
|
|
84
|
+
readonly copyToPath: string;
|
|
85
|
+
readonly env: {
|
|
86
|
+
readonly web: true;
|
|
87
|
+
readonly node: true;
|
|
88
|
+
};
|
|
89
|
+
readonly packageType: {
|
|
90
|
+
readonly package: true;
|
|
91
|
+
readonly "mono-root": true;
|
|
92
|
+
};
|
|
93
|
+
readonly required: false;
|
|
94
|
+
};
|
|
82
95
|
readonly appElement: {
|
|
83
96
|
readonly copyFromPath: string;
|
|
84
97
|
readonly copyToPath: string;
|
|
@@ -365,6 +378,19 @@ export declare const virmatorInitPlugin: Readonly<Readonly<{
|
|
|
365
378
|
};
|
|
366
379
|
readonly required: false;
|
|
367
380
|
};
|
|
381
|
+
readonly depsRegen: {
|
|
382
|
+
readonly copyFromPath: string;
|
|
383
|
+
readonly copyToPath: string;
|
|
384
|
+
readonly env: {
|
|
385
|
+
readonly web: true;
|
|
386
|
+
readonly node: true;
|
|
387
|
+
};
|
|
388
|
+
readonly packageType: {
|
|
389
|
+
readonly package: true;
|
|
390
|
+
readonly "mono-root": true;
|
|
391
|
+
};
|
|
392
|
+
readonly required: false;
|
|
393
|
+
};
|
|
368
394
|
readonly appElement: {
|
|
369
395
|
readonly copyFromPath: string;
|
|
370
396
|
readonly copyToPath: string;
|
package/dist/init.js
CHANGED
|
@@ -135,6 +135,19 @@ export const virmatorInitPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
135
135
|
},
|
|
136
136
|
required: false,
|
|
137
137
|
},
|
|
138
|
+
depsRegen: {
|
|
139
|
+
copyFromPath: join('configs', 'deps-regen.config.ts'),
|
|
140
|
+
copyToPath: join('configs', 'deps-regen.config.ts'),
|
|
141
|
+
env: {
|
|
142
|
+
[RuntimeEnv.Web]: true,
|
|
143
|
+
[RuntimeEnv.Node]: true,
|
|
144
|
+
},
|
|
145
|
+
packageType: {
|
|
146
|
+
[PackageType.TopPackage]: true,
|
|
147
|
+
[PackageType.MonoRoot]: true,
|
|
148
|
+
},
|
|
149
|
+
required: false,
|
|
150
|
+
},
|
|
138
151
|
appElement: {
|
|
139
152
|
copyFromPath: join('configs', 'src', 'ui', 'elements', 'vir-app.element.ts'),
|
|
140
153
|
copyToPath: join('src', 'ui', 'elements', 'vir-app.element.ts'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/init",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.22.0",
|
|
4
4
|
"description": "Default init plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@augment-vir/assert": "^31.71.3",
|
|
35
35
|
"@augment-vir/common": "^31.71.3",
|
|
36
36
|
"@augment-vir/node": "^31.71.3",
|
|
37
|
-
"@virmator/core": "^14.
|
|
37
|
+
"@virmator/core": "^14.22.0",
|
|
38
38
|
"simple-git": "^3.36.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|