@powerlines/plugin-plugin 0.12.0 → 0.12.2
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 +8 -2
- package/dist/src/index.cjs +2 -2
- package/dist/src/index.js +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
<!-- markdownlint-disable -->
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
<div align="center"
|
|
6
|
+
<div align="center">
|
|
7
|
+
<picture>
|
|
8
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/powerlines/banner-1280x640-dark-optimized.gif">
|
|
9
|
+
<source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/powerlines/banner-1280x640-light-optimized.gif">
|
|
10
|
+
<img src="https://public.storm-cdn.com/powerlines/banner-1280x640-dark-optimized.gif" width="100%" alt="Powerlines" />
|
|
11
|
+
</picture>
|
|
12
|
+
</div>
|
|
7
13
|
<br />
|
|
8
14
|
|
|
9
15
|
<div align="center">
|
|
@@ -16,7 +22,7 @@
|
|
|
16
22
|
</div>
|
|
17
23
|
|
|
18
24
|
<br />
|
|
19
|
-
This package is part of the
|
|
25
|
+
This package is part of the 🔌 <b>Powerlines</b> monorepo. Powerlines packages include CLI utility applications, tools, and various libraries used to create modern, scalable web applications.
|
|
20
26
|
<br />
|
|
21
27
|
|
|
22
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
package/dist/src/index.cjs
CHANGED
|
@@ -56,7 +56,7 @@ const plugin = __assignType((options = {}) => {
|
|
|
56
56
|
await this.fs.write(this.tsconfig.tsconfigFilePath, stormJson.StormJSON.stringify(this.tsconfig.tsconfigJson));
|
|
57
57
|
}
|
|
58
58
|
}, ['configResolved', 'P"/!']),
|
|
59
|
-
|
|
59
|
+
types: __assignType(async function types(code) {
|
|
60
60
|
if (!options.types?.userConfig) {
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
@@ -87,7 +87,7 @@ declare module "powerlines" {
|
|
|
87
87
|
export interface UserConfig extends import("${typeDef.file}").${typeDef.name || "default"}
|
|
88
88
|
}
|
|
89
89
|
`.trim();
|
|
90
|
-
}, ['code', '
|
|
90
|
+
}, ['code', 'types', 'P&2!"/"']),
|
|
91
91
|
async build() {
|
|
92
92
|
await tsdown.build(defu.defu({
|
|
93
93
|
config: false,
|
package/dist/src/index.js
CHANGED
|
@@ -53,7 +53,7 @@ const plugin = __assignType((options = {}) => {
|
|
|
53
53
|
await this.fs.write(this.tsconfig.tsconfigFilePath, StormJSON.stringify(this.tsconfig.tsconfigJson));
|
|
54
54
|
}
|
|
55
55
|
}, ['configResolved', 'P"/!']),
|
|
56
|
-
|
|
56
|
+
types: __assignType(async function types(code) {
|
|
57
57
|
if (!options.types?.userConfig) {
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
@@ -84,7 +84,7 @@ declare module "powerlines" {
|
|
|
84
84
|
export interface UserConfig extends import("${typeDef.file}").${typeDef.name || "default"}
|
|
85
85
|
}
|
|
86
86
|
`.trim();
|
|
87
|
-
}, ['code', '
|
|
87
|
+
}, ['code', 'types', 'P&2!"/"']),
|
|
88
88
|
async build() {
|
|
89
89
|
await build(defu({
|
|
90
90
|
config: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-plugin",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -132,10 +132,10 @@
|
|
|
132
132
|
"@stryke/types": "^0.10.13",
|
|
133
133
|
"defu": "^6.1.4",
|
|
134
134
|
"jiti": "^2.6.1",
|
|
135
|
-
"powerlines": "^0.
|
|
135
|
+
"powerlines": "^0.30.1"
|
|
136
136
|
},
|
|
137
137
|
"devDependencies": {
|
|
138
|
-
"@powerlines/nx": "^0.10.
|
|
138
|
+
"@powerlines/nx": "^0.10.50",
|
|
139
139
|
"@rollup/plugin-commonjs": "^28.0.9",
|
|
140
140
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
141
141
|
"@types/babel__helper-plugin-utils": "^7.10.3",
|
|
@@ -144,5 +144,5 @@
|
|
|
144
144
|
"rollup-plugin-typescript2": "^0.36.0"
|
|
145
145
|
},
|
|
146
146
|
"publishConfig": { "access": "public" },
|
|
147
|
-
"gitHead": "
|
|
147
|
+
"gitHead": "499105ba7cabc6fa139bbc6829746a15c5c59357"
|
|
148
148
|
}
|