@storm-software/workspace-tools 1.157.0 → 1.158.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/CHANGELOG.md +23 -0
- package/config/nx.json +1 -1
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/plugins/rust/index.js +1 -2
- package/src/utils/toml.d.ts +1 -36
package/package.json
CHANGED
|
@@ -270,8 +270,7 @@ var createNodes = [
|
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
}
|
|
273
|
-
|
|
274
|
-
if (!isPrivate) {
|
|
273
|
+
if (cargoPackage.publish === null || cargoPackage.publish === void 0 || cargoPackage.publish === true || Array.isArray(cargoPackage.publish) && cargoPackage.publish.length > 0) {
|
|
275
274
|
project.targets["nx-release-publish"] = {
|
|
276
275
|
cache: true,
|
|
277
276
|
inputs: [
|
package/src/utils/toml.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export interface Package {
|
|
|
46
46
|
* false can be used by the end user but it will be converted to an empty
|
|
47
47
|
* array in the cargo metadata output.
|
|
48
48
|
*/
|
|
49
|
-
publish
|
|
49
|
+
publish?: string[] | boolean | null;
|
|
50
50
|
authors: string[];
|
|
51
51
|
categories: string[];
|
|
52
52
|
default_run: any;
|
|
@@ -125,41 +125,6 @@ export interface Docs2 {
|
|
|
125
125
|
export interface Rs2 {
|
|
126
126
|
"all-features": boolean;
|
|
127
127
|
}
|
|
128
|
-
export interface Package {
|
|
129
|
-
name: string;
|
|
130
|
-
version: string;
|
|
131
|
-
id: string;
|
|
132
|
-
license: string;
|
|
133
|
-
license_file: string;
|
|
134
|
-
description: string;
|
|
135
|
-
source: any;
|
|
136
|
-
dependencies: Dependency[];
|
|
137
|
-
targets: Target[];
|
|
138
|
-
features: Features;
|
|
139
|
-
manifest_path: string;
|
|
140
|
-
metadata: Metadata;
|
|
141
|
-
/**
|
|
142
|
-
* From the docs:
|
|
143
|
-
* "List of registries to which this package may be published.
|
|
144
|
-
* Publishing is unrestricted if null, and forbidden if an empty array."
|
|
145
|
-
*
|
|
146
|
-
* Additional observation:
|
|
147
|
-
* false can be used by the end user but it will be converted to an empty
|
|
148
|
-
* array in the cargo metadata output.
|
|
149
|
-
*/
|
|
150
|
-
publish: string[] | null;
|
|
151
|
-
authors: string[];
|
|
152
|
-
categories: string[];
|
|
153
|
-
default_run: any;
|
|
154
|
-
rust_version: string;
|
|
155
|
-
keywords: string[];
|
|
156
|
-
readme: string;
|
|
157
|
-
repository: string;
|
|
158
|
-
homepage: string;
|
|
159
|
-
documentation: string;
|
|
160
|
-
edition: string;
|
|
161
|
-
links: any;
|
|
162
|
-
}
|
|
163
128
|
export declare function parseCargoTomlWithTree(tree: Tree, projectRoot: string, projectName: string): CargoToml;
|
|
164
129
|
export declare function parseCargoToml(cargoString?: string): CargoToml;
|
|
165
130
|
export declare function stringifyCargoToml(cargoToml: CargoToml): string;
|