@storm-software/workspace-tools 1.270.0 → 1.270.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/CHANGELOG.md +20 -0
- package/README.md +1 -1
- package/dist/{chunk-SRN4D7WO.mjs → chunk-CWBVTZAO.mjs} +5 -6
- package/dist/{chunk-A7JGVU4P.js → chunk-PGUGHXXT.js} +4 -5
- package/dist/executors.js +2 -2
- package/dist/executors.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/src/executors/npm-publish/executor.js +2 -2
- package/dist/src/executors/npm-publish/executor.mjs +1 -1
- package/package.json +6 -4
- package/src/executors/npm-publish/executor.ts +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.270.1](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.270.1) (2025-05-06)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **workspace-tools:** Resolve issue with missing dependencies
|
|
10
|
+
([e4fcafde0](https://github.com/storm-software/storm-ops/commit/e4fcafde0))
|
|
11
|
+
|
|
12
|
+
### Miscellaneous
|
|
13
|
+
|
|
14
|
+
- **monorepo:** Regenerate README markdown files
|
|
15
|
+
([6eabb3ff1](https://github.com/storm-software/storm-ops/commit/6eabb3ff1))
|
|
16
|
+
|
|
17
|
+
### Updated Dependencies
|
|
18
|
+
|
|
19
|
+
- Updated prettier to 0.48.1
|
|
20
|
+
- Updated esbuild to 0.38.1
|
|
21
|
+
- Updated esbuild to 0.38.1
|
|
22
|
+
- Updated unbuild to 0.44.1
|
|
23
|
+
- Updated unbuild to 0.44.1
|
|
24
|
+
|
|
5
25
|
## [1.270.0](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.270.0) (2025-05-06)
|
|
6
26
|
|
|
7
27
|
### Features
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -10,12 +10,11 @@ import {
|
|
|
10
10
|
detectPackageManager,
|
|
11
11
|
readJsonFile
|
|
12
12
|
} from "@nx/devkit";
|
|
13
|
-
import { exec } from "child_process";
|
|
14
13
|
import * as columnify from "columnify";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { exec, execSync } from "node:child_process";
|
|
15
|
+
import { existsSync } from "node:fs";
|
|
16
|
+
import { relative } from "node:path";
|
|
17
17
|
import { env as appendLocalEnv } from "npm-run-path";
|
|
18
|
-
import { join, relative } from "path";
|
|
19
18
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
20
19
|
function processEnv(color) {
|
|
21
20
|
const env = {
|
|
@@ -270,7 +269,7 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
270
269
|
}
|
|
271
270
|
}
|
|
272
271
|
async function parseRegistryOptions(cwd, pkg, options, logWarnFn = console.warn) {
|
|
273
|
-
const npmRcPath =
|
|
272
|
+
const npmRcPath = joinPaths(pkg.packageRoot, ".npmrc");
|
|
274
273
|
if (existsSync(npmRcPath)) {
|
|
275
274
|
const relativeNpmRcPath = relative(cwd, npmRcPath);
|
|
276
275
|
logWarnFn(
|
|
@@ -285,7 +284,7 @@ Ignoring .npmrc file detected in the package root: ${relativeNpmRcPath}. Nested
|
|
|
285
284
|
if (publishConfigRegistry || pkg.packageJson.publishConfig?.registry) {
|
|
286
285
|
const relativePackageJsonPath = relative(
|
|
287
286
|
cwd,
|
|
288
|
-
|
|
287
|
+
joinPaths(pkg.packageRoot, "package.json")
|
|
289
288
|
);
|
|
290
289
|
if (options.registry) {
|
|
291
290
|
logWarnFn(
|
|
@@ -10,12 +10,11 @@ var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _devkit = require('@nx/devkit');
|
|
13
|
-
var _child_process = require('child_process');
|
|
14
13
|
var _columnify = require('columnify'); var columnify = _interopRequireWildcard(_columnify);
|
|
14
|
+
var _child_process = require('child_process');
|
|
15
15
|
var _fs = require('fs');
|
|
16
|
-
|
|
17
|
-
var _npmrunpath = require('npm-run-path');
|
|
18
16
|
var _path = require('path');
|
|
17
|
+
var _npmrunpath = require('npm-run-path');
|
|
19
18
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
20
19
|
function processEnv(color) {
|
|
21
20
|
const env = {
|
|
@@ -270,7 +269,7 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
270
269
|
}
|
|
271
270
|
}
|
|
272
271
|
async function parseRegistryOptions(cwd, pkg, options, logWarnFn = console.warn) {
|
|
273
|
-
const npmRcPath =
|
|
272
|
+
const npmRcPath = _chunk53DNHF7Bjs.joinPaths.call(void 0, pkg.packageRoot, ".npmrc");
|
|
274
273
|
if (_fs.existsSync.call(void 0, npmRcPath)) {
|
|
275
274
|
const relativeNpmRcPath = _path.relative.call(void 0, cwd, npmRcPath);
|
|
276
275
|
logWarnFn(
|
|
@@ -285,7 +284,7 @@ Ignoring .npmrc file detected in the package root: ${relativeNpmRcPath}. Nested
|
|
|
285
284
|
if (publishConfigRegistry || _optionalChain([pkg, 'access', _64 => _64.packageJson, 'access', _65 => _65.publishConfig, 'optionalAccess', _66 => _66.registry])) {
|
|
286
285
|
const relativePackageJsonPath = _path.relative.call(void 0,
|
|
287
286
|
cwd,
|
|
288
|
-
|
|
287
|
+
_chunk53DNHF7Bjs.joinPaths.call(void 0, pkg.packageRoot, "package.json")
|
|
289
288
|
);
|
|
290
289
|
if (options.registry) {
|
|
291
290
|
logWarnFn(
|
package/dist/executors.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-7VDOGZYO.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkPGUGHXXTjs = require('./chunk-PGUGHXXT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkT7BALDKJjs = require('./chunk-T7BALDKJ.js');
|
|
@@ -53,4 +53,4 @@ require('./chunk-3RG5ZIWI.js');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
exports.LARGE_BUFFER =
|
|
56
|
+
exports.LARGE_BUFFER = _chunkPGUGHXXTjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkTSYIV33Wjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkAOFWKOAIjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkO6RRIC6Ijs.cargoClippyExecutor; exports.cargoDocExecutor = _chunk22UY7NFXjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkEU6N7QT3js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkDCPKZRRYjs.esbuildExecutorFn; exports.getRegistryVersion = _chunk54FVHKCUjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkT7BALDKJjs.sizeLimitExecutorFn; exports.typiaExecutorFn = _chunkSPXJBMLYjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkEYXDS7SGjs.unbuildExecutorFn;
|
package/dist/executors.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ var _chunkA5CKB6IJjs = require('./chunk-A5CKB6IJ.js');
|
|
|
48
48
|
require('./chunk-7VDOGZYO.js');
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
var
|
|
51
|
+
var _chunkPGUGHXXTjs = require('./chunk-PGUGHXXT.js');
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
var _chunkT7BALDKJjs = require('./chunk-T7BALDKJ.js');
|
|
@@ -282,4 +282,4 @@ require('./chunk-3RG5ZIWI.js');
|
|
|
282
282
|
|
|
283
283
|
|
|
284
284
|
|
|
285
|
-
exports.INVALID_CARGO_ARGS = _chunk4BECJRPPjs.INVALID_CARGO_ARGS; exports.LARGE_BUFFER =
|
|
285
|
+
exports.INVALID_CARGO_ARGS = _chunk4BECJRPPjs.INVALID_CARGO_ARGS; exports.LARGE_BUFFER = _chunkPGUGHXXTjs.LARGE_BUFFER; exports.LOCK_FILES = _chunkXZSS3YABjs.LOCK_FILES; exports.NPM_LOCK_FILE = _chunkXZSS3YABjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkXZSS3YABjs.NPM_LOCK_PATH; exports.PNPM_LOCK_FILE = _chunkXZSS3YABjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkXZSS3YABjs.PNPM_LOCK_PATH; exports.PackageManagerTypes = _chunkYXBFVZ3Kjs.PackageManagerTypes; exports.ProjectTagConstants = _chunkAX3RSZT7js.ProjectTagConstants; exports.ProjectTagDistStyleValue = _chunk4NOLUAQNjs.ProjectTagDistStyleValue; exports.ProjectTagLanguageValue = _chunk4NOLUAQNjs.ProjectTagLanguageValue; exports.ProjectTagPlatformValue = _chunk4NOLUAQNjs.ProjectTagPlatformValue; exports.ProjectTagRegistryValue = _chunk4NOLUAQNjs.ProjectTagRegistryValue; exports.ProjectTagTypeValue = _chunk4NOLUAQNjs.ProjectTagTypeValue; exports.ProjectTagVariant = _chunk4NOLUAQNjs.ProjectTagVariant; exports.YARN_LOCK_FILE = _chunkXZSS3YABjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkXZSS3YABjs.YARN_LOCK_PATH; exports.addPluginProjectTag = _chunkAX3RSZT7js.addPluginProjectTag; exports.addProjectTag = _chunkAX3RSZT7js.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunk3TYXXJKVjs.applyWorkspaceExecutorTokens; exports.baseExecutorSchema = _chunkI734UVDTjs.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.browserLibraryGeneratorFn = _chunkI5MSPQMOjs.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunk4BECJRPPjs.buildCargoCommand; exports.cargoBaseExecutorSchema = _chunk5ZFTWEKBjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkTSYIV33Wjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkAOFWKOAIjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkO6RRIC6Ijs.cargoClippyExecutor; exports.cargoCommand = _chunk4BECJRPPjs.cargoCommand; exports.cargoCommandSync = _chunk4BECJRPPjs.cargoCommandSync; exports.cargoDocExecutor = _chunk22UY7NFXjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkEU6N7QT3js.cargoFormatExecutor; exports.cargoMetadata = _chunk4BECJRPPjs.cargoMetadata; exports.cargoRunCommand = _chunk4BECJRPPjs.cargoRunCommand; exports.childProcess = _chunk4BECJRPPjs.childProcess; exports.configSchemaGeneratorFn = _chunkS5Z4QGF3js.configSchemaGeneratorFn; exports.createCliOptions = _chunkQVYCDINGjs.createCliOptions; exports.createProjectTsConfigJson = _chunkJ4DYXH46js.createProjectTsConfigJson; exports.esbuildExecutorFn = _chunkDCPKZRRYjs.esbuildExecutorFn; exports.eslintVersion = _chunkHI4G4OOGjs.eslintVersion; exports.formatProjectTag = _chunkAX3RSZT7js.formatProjectTag; exports.getLockFileDependencies = _chunkXZSS3YABjs.getLockFileDependencies; exports.getLockFileName = _chunkXZSS3YABjs.getLockFileName; exports.getLockFileNodes = _chunkXZSS3YABjs.getLockFileNodes; exports.getOutputPath = _chunkJ4DYXH46js.getOutputPath; exports.getPackageInfo = _chunkYXBFVZ3Kjs.getPackageInfo; exports.getProjectConfigFromProjectJsonPath = _chunk5VY5IBBQjs.getProjectConfigFromProjectJsonPath; exports.getProjectConfigFromProjectRoot = _chunk5VY5IBBQjs.getProjectConfigFromProjectRoot; exports.getProjectConfiguration = _chunkA5CKB6IJjs.getProjectConfiguration; exports.getProjectConfigurations = _chunkA5CKB6IJjs.getProjectConfigurations; exports.getProjectPlatform = _chunk5VY5IBBQjs.getProjectPlatform; exports.getProjectRoot = _chunk5VY5IBBQjs.getProjectRoot; exports.getProjectTag = _chunkAX3RSZT7js.getProjectTag; exports.getRegistryVersion = _chunk54FVHKCUjs.getRegistryVersion; exports.getTypiaTransform = _chunk6EMYX25Vjs.getTypiaTransform; exports.hasProjectTag = _chunkAX3RSZT7js.hasProjectTag; exports.initGenerator = _chunkOKSECMVKjs.initGenerator; exports.isEqualProjectTag = _chunkAX3RSZT7js.isEqualProjectTag; exports.isExternal = _chunk4BECJRPPjs.isExternal; exports.lintStagedVersion = _chunkHI4G4OOGjs.lintStagedVersion; exports.lockFileExists = _chunkXZSS3YABjs.lockFileExists; exports.modifyCargoNestedTable = _chunkBWGJVRASjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkBWGJVRASjs.modifyCargoTable; exports.neutralLibraryGeneratorFn = _chunkH5NKKUPVjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkGNOIETZRjs.nodeLibraryGeneratorFn; exports.nodeVersion = _chunkHI4G4OOGjs.nodeVersion; exports.normalizeOptions = _chunkJ4DYXH46js.normalizeOptions; exports.nxVersion = _chunkHI4G4OOGjs.nxVersion; exports.parseCargoToml = _chunkBWGJVRASjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkBWGJVRASjs.parseCargoTomlWithTree; exports.pnpmCatalogUpdate = _chunkZP76EMBEjs.pnpmCatalogUpdate; exports.pnpmVersion = _chunkHI4G4OOGjs.pnpmVersion; exports.presetGeneratorFn = _chunkIZN2IVJ4js.presetGeneratorFn; exports.prettierPackageJsonVersion = _chunkHI4G4OOGjs.prettierPackageJsonVersion; exports.prettierPrismaVersion = _chunkHI4G4OOGjs.prettierPrismaVersion; exports.prettierVersion = _chunkHI4G4OOGjs.prettierVersion; exports.releaseVersionGeneratorFn = _chunkLBAVVYKUjs.releaseVersionGeneratorFn; exports.runProcess = _chunk4BECJRPPjs.runProcess; exports.semanticReleaseVersion = _chunkHI4G4OOGjs.semanticReleaseVersion; exports.setDefaultProjectTags = _chunkAX3RSZT7js.setDefaultProjectTags; exports.sizeLimitExecutorFn = _chunkT7BALDKJjs.sizeLimitExecutorFn; exports.stringifyCargoToml = _chunkBWGJVRASjs.stringifyCargoToml; exports.swcCliVersion = _chunkHI4G4OOGjs.swcCliVersion; exports.swcCoreVersion = _chunkHI4G4OOGjs.swcCoreVersion; exports.swcHelpersVersion = _chunkHI4G4OOGjs.swcHelpersVersion; exports.swcNodeVersion = _chunkHI4G4OOGjs.swcNodeVersion; exports.tsLibVersion = _chunkHI4G4OOGjs.tsLibVersion; exports.tsupVersion = _chunkHI4G4OOGjs.tsupVersion; exports.typeScriptLibraryGeneratorFn = _chunkJ4DYXH46js.typeScriptLibraryGeneratorFn; exports.typesNodeVersion = _chunkHI4G4OOGjs.typesNodeVersion; exports.typescriptBuildExecutorSchema = _chunkIL3R5ZVSjs.typescript_build_executor_untyped_default; exports.typescriptLibraryGeneratorSchema = _chunk2AVWFUXPjs.typescript_library_generator_untyped_default; exports.typescriptVersion = _chunkHI4G4OOGjs.typescriptVersion; exports.typiaExecutorFn = _chunkSPXJBMLYjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkEYXDS7SGjs.unbuildExecutorFn; exports.verdaccioVersion = _chunkHI4G4OOGjs.verdaccioVersion; exports.withRunExecutor = _chunkAJ3C2EDWjs.withRunExecutor; exports.withRunGenerator = _chunkRJRBED5Qjs.withRunGenerator;
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkPGUGHXXTjs = require('../../../chunk-PGUGHXXT.js');
|
|
5
5
|
require('../../../chunk-ZP76EMBE.js');
|
|
6
6
|
require('../../../chunk-53DNHF7B.js');
|
|
7
7
|
require('../../../chunk-3RG5ZIWI.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.LARGE_BUFFER =
|
|
11
|
+
exports.LARGE_BUFFER = _chunkPGUGHXXTjs.LARGE_BUFFER; exports.default = _chunkPGUGHXXTjs.npmPublishExecutorFn;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.270.
|
|
3
|
+
"version": "1.270.1",
|
|
4
4
|
"description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -226,14 +226,16 @@
|
|
|
226
226
|
"@size-limit/esbuild": "11.1.4",
|
|
227
227
|
"@size-limit/esbuild-why": "11.1.4",
|
|
228
228
|
"@size-limit/file": "11.1.4",
|
|
229
|
-
"@storm-software/esbuild": "0.38.
|
|
230
|
-
"@storm-software/prettier": "0.48.
|
|
231
|
-
"@storm-software/unbuild": "0.44.
|
|
229
|
+
"@storm-software/esbuild": "0.38.1",
|
|
230
|
+
"@storm-software/prettier": "0.48.1",
|
|
231
|
+
"@storm-software/unbuild": "0.44.1",
|
|
232
|
+
"columnify": "^1.6.0",
|
|
232
233
|
"fs-extra": "11.2.0",
|
|
233
234
|
"glob": "^11.0.1",
|
|
234
235
|
"jiti": "^2.4.2",
|
|
235
236
|
"markdownlint-cli2": "^0.17.2",
|
|
236
237
|
"micromatch": "^4.0.8",
|
|
238
|
+
"npm-run-path": "^4.0.1",
|
|
237
239
|
"prettier": "^3.5.1",
|
|
238
240
|
"prettier-plugin-pkg": "^0.18.1",
|
|
239
241
|
"read-yaml-file": "2.1.0",
|
|
@@ -4,13 +4,12 @@ import {
|
|
|
4
4
|
type ExecutorContext
|
|
5
5
|
} from "@nx/devkit";
|
|
6
6
|
import { joinPaths } from "@storm-software/config-tools/utilities/correct-paths";
|
|
7
|
-
import { exec } from "child_process";
|
|
8
7
|
import * as columnify from "columnify";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { exec, execSync } from "node:child_process";
|
|
9
|
+
import { existsSync } from "node:fs";
|
|
10
|
+
import { relative } from "node:path";
|
|
11
11
|
import { env as appendLocalEnv } from "npm-run-path";
|
|
12
12
|
import { PackageJson } from "nx/src/utils/package-json";
|
|
13
|
-
import { join, relative } from "path";
|
|
14
13
|
import { pnpmCatalogUpdate } from "../../utils/pnpm-deps-update";
|
|
15
14
|
import type { NpmPublishExecutorSchema } from "./schema.d";
|
|
16
15
|
|
|
@@ -423,7 +422,7 @@ async function parseRegistryOptions(
|
|
|
423
422
|
tag: string;
|
|
424
423
|
registryConfigKey: string;
|
|
425
424
|
}> {
|
|
426
|
-
const npmRcPath =
|
|
425
|
+
const npmRcPath = joinPaths(pkg.packageRoot, ".npmrc");
|
|
427
426
|
if (existsSync(npmRcPath)) {
|
|
428
427
|
const relativeNpmRcPath = relative(cwd, npmRcPath);
|
|
429
428
|
logWarnFn(
|
|
@@ -448,7 +447,7 @@ async function parseRegistryOptions(
|
|
|
448
447
|
if (publishConfigRegistry || pkg.packageJson.publishConfig?.registry) {
|
|
449
448
|
const relativePackageJsonPath = relative(
|
|
450
449
|
cwd,
|
|
451
|
-
|
|
450
|
+
joinPaths(pkg.packageRoot, "package.json")
|
|
452
451
|
);
|
|
453
452
|
if (options.registry) {
|
|
454
453
|
logWarnFn(
|