@storm-software/unbuild 0.27.1 → 0.28.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 -1
- package/bin/unbuild.cjs +3 -2
- package/bin/unbuild.js +4 -3
- package/dist/build.cjs +2 -2
- package/dist/build.js +1 -1
- package/dist/{chunk-DORAESSZ.js → chunk-54R2TCTI.js} +4 -3
- package/dist/{chunk-SN3G5SIP.cjs → chunk-S2WZ2PGW.cjs} +3 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
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 -->
|
package/bin/unbuild.cjs
CHANGED
|
@@ -2989,16 +2989,17 @@ async function resolveOptions(options, config) {
|
|
|
2989
2989
|
tsconfig,
|
|
2990
2990
|
clean: false,
|
|
2991
2991
|
entries: entries.reduce((ret, entry) => {
|
|
2992
|
+
const entryPath = (0, import_node_path6.dirname)(entry);
|
|
2992
2993
|
ret.push({
|
|
2993
2994
|
builder: "mkdist",
|
|
2994
|
-
input: `.${
|
|
2995
|
+
input: `.${entryPath.replace(options.projectRoot, "")}`,
|
|
2995
2996
|
outDir: joinPaths((0, import_node_path6.relative)(joinPaths(config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist"),
|
|
2996
2997
|
declaration: options.emitTypes !== false ? "compatible" : false,
|
|
2997
2998
|
format: "esm"
|
|
2998
2999
|
});
|
|
2999
3000
|
ret.push({
|
|
3000
3001
|
builder: "mkdist",
|
|
3001
|
-
input: `.${
|
|
3002
|
+
input: `.${entryPath.replace(options.projectRoot, "")}`,
|
|
3002
3003
|
outDir: joinPaths((0, import_node_path6.relative)(joinPaths(config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist"),
|
|
3003
3004
|
declaration: options.emitTypes !== false ? "compatible" : false,
|
|
3004
3005
|
format: "cjs",
|
package/bin/unbuild.js
CHANGED
|
@@ -1319,7 +1319,7 @@ import defu4 from "defu";
|
|
|
1319
1319
|
import { Glob as Glob2 } from "glob";
|
|
1320
1320
|
import { existsSync as existsSync6 } from "node:fs";
|
|
1321
1321
|
import { readFile as readFile4 } from "node:fs/promises";
|
|
1322
|
-
import { relative as relative4 } from "node:path";
|
|
1322
|
+
import { dirname as dirname3, relative as relative4 } from "node:path";
|
|
1323
1323
|
import { findWorkspaceRoot as findWorkspaceRoot2 } from "nx/src/utils/find-workspace-root";
|
|
1324
1324
|
|
|
1325
1325
|
// ../../node_modules/.pnpm/unbuild@3.3.1_sass@1.83.4_typescript@5.7.3/node_modules/unbuild/dist/shared/unbuild.B2_7OVir.mjs
|
|
@@ -2964,16 +2964,17 @@ async function resolveOptions(options, config) {
|
|
|
2964
2964
|
tsconfig,
|
|
2965
2965
|
clean: false,
|
|
2966
2966
|
entries: entries.reduce((ret, entry) => {
|
|
2967
|
+
const entryPath = dirname3(entry);
|
|
2967
2968
|
ret.push({
|
|
2968
2969
|
builder: "mkdist",
|
|
2969
|
-
input: `.${
|
|
2970
|
+
input: `.${entryPath.replace(options.projectRoot, "")}`,
|
|
2970
2971
|
outDir: joinPaths(relative4(joinPaths(config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist"),
|
|
2971
2972
|
declaration: options.emitTypes !== false ? "compatible" : false,
|
|
2972
2973
|
format: "esm"
|
|
2973
2974
|
});
|
|
2974
2975
|
ret.push({
|
|
2975
2976
|
builder: "mkdist",
|
|
2976
|
-
input: `.${
|
|
2977
|
+
input: `.${entryPath.replace(options.projectRoot, "")}`,
|
|
2977
2978
|
outDir: joinPaths(relative4(joinPaths(config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist"),
|
|
2978
2979
|
declaration: options.emitTypes !== false ? "compatible" : false,
|
|
2979
2980
|
format: "cjs",
|
package/dist/build.cjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkS2WZ2PGWcjs = require('./chunk-S2WZ2PGW.cjs');
|
|
9
9
|
require('./chunk-5E3NJ26L.cjs');
|
|
10
10
|
require('./chunk-Y2DOCJBE.cjs');
|
|
11
11
|
require('./chunk-V627S7QU.cjs');
|
|
@@ -21,4 +21,4 @@ require('./chunk-YDYGZTJK.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
exports.build =
|
|
24
|
+
exports.build = _chunkS2WZ2PGWcjs.build; exports.cleanOutputPath = _chunkS2WZ2PGWcjs.cleanOutputPath; exports.copyBuildAssets = _chunkS2WZ2PGWcjs.copyBuildAssets; exports.executeUnbuild = _chunkS2WZ2PGWcjs.executeUnbuild; exports.generatePackageJson = _chunkS2WZ2PGWcjs.generatePackageJson; exports.resolveOptions = _chunkS2WZ2PGWcjs.resolveOptions;
|
package/dist/build.js
CHANGED
|
@@ -729,7 +729,7 @@ import defu4 from "defu";
|
|
|
729
729
|
import { Glob as Glob2 } from "glob";
|
|
730
730
|
import { existsSync as existsSync4 } from "node:fs";
|
|
731
731
|
import { readFile as readFile4 } from "node:fs/promises";
|
|
732
|
-
import { relative as relative3 } from "node:path";
|
|
732
|
+
import { dirname as dirname2, relative as relative3 } from "node:path";
|
|
733
733
|
import { findWorkspaceRoot as findWorkspaceRoot2 } from "nx/src/utils/find-workspace-root";
|
|
734
734
|
|
|
735
735
|
// ../../node_modules/.pnpm/unbuild@3.3.1_sass@1.83.4_typescript@5.7.3/node_modules/unbuild/dist/shared/unbuild.B2_7OVir.mjs
|
|
@@ -2221,16 +2221,17 @@ async function resolveOptions(options, config) {
|
|
|
2221
2221
|
tsconfig,
|
|
2222
2222
|
clean: false,
|
|
2223
2223
|
entries: entries.reduce((ret, entry) => {
|
|
2224
|
+
const entryPath = dirname2(entry);
|
|
2224
2225
|
ret.push({
|
|
2225
2226
|
builder: "mkdist",
|
|
2226
|
-
input: `.${
|
|
2227
|
+
input: `.${entryPath.replace(options.projectRoot, "")}`,
|
|
2227
2228
|
outDir: joinPaths(relative3(joinPaths(config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist"),
|
|
2228
2229
|
declaration: options.emitTypes !== false ? "compatible" : false,
|
|
2229
2230
|
format: "esm"
|
|
2230
2231
|
});
|
|
2231
2232
|
ret.push({
|
|
2232
2233
|
builder: "mkdist",
|
|
2233
|
-
input: `.${
|
|
2234
|
+
input: `.${entryPath.replace(options.projectRoot, "")}`,
|
|
2234
2235
|
outDir: joinPaths(relative3(joinPaths(config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist"),
|
|
2235
2236
|
declaration: options.emitTypes !== false ? "compatible" : false,
|
|
2236
2237
|
format: "cjs",
|
|
@@ -2222,16 +2222,17 @@ async function resolveOptions(options, config) {
|
|
|
2222
2222
|
tsconfig,
|
|
2223
2223
|
clean: false,
|
|
2224
2224
|
entries: entries.reduce((ret, entry) => {
|
|
2225
|
+
const entryPath = _path.dirname.call(void 0, entry);
|
|
2225
2226
|
ret.push({
|
|
2226
2227
|
builder: "mkdist",
|
|
2227
|
-
input: `.${
|
|
2228
|
+
input: `.${entryPath.replace(options.projectRoot, "")}`,
|
|
2228
2229
|
outDir: _chunkFG6XQ26Mcjs.joinPaths.call(void 0, _path.relative.call(void 0, _chunkFG6XQ26Mcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist"),
|
|
2229
2230
|
declaration: options.emitTypes !== false ? "compatible" : false,
|
|
2230
2231
|
format: "esm"
|
|
2231
2232
|
});
|
|
2232
2233
|
ret.push({
|
|
2233
2234
|
builder: "mkdist",
|
|
2234
|
-
input: `.${
|
|
2235
|
+
input: `.${entryPath.replace(options.projectRoot, "")}`,
|
|
2235
2236
|
outDir: _chunkFG6XQ26Mcjs.joinPaths.call(void 0, _path.relative.call(void 0, _chunkFG6XQ26Mcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist"),
|
|
2236
2237
|
declaration: options.emitTypes !== false ? "compatible" : false,
|
|
2237
2238
|
format: "cjs",
|
package/dist/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkS2WZ2PGWcjs = require('./chunk-S2WZ2PGW.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -35,4 +35,4 @@ require('./chunk-YDYGZTJK.cjs');
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
exports.build =
|
|
38
|
+
exports.build = _chunkS2WZ2PGWcjs.build; exports.clean = _chunk5E3NJ26Lcjs.clean; exports.cleanDirectories = _chunk5E3NJ26Lcjs.cleanDirectories; exports.cleanOutputPath = _chunkS2WZ2PGWcjs.cleanOutputPath; exports.copyBuildAssets = _chunkS2WZ2PGWcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkV627S7QUcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkS2WZ2PGWcjs.executeUnbuild; exports.generatePackageJson = _chunkS2WZ2PGWcjs.generatePackageJson; exports.getDefaultBuildPlugins = _chunkY2DOCJBEcjs.getDefaultBuildPlugins; exports.loadConfig = _chunkV627S7QUcjs.loadConfig; exports.resolveOptions = _chunkS2WZ2PGWcjs.resolveOptions;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/unbuild",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `unbuild` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"@nx/devkit": "^20.3.1",
|
|
172
172
|
"@nx/js": "^20.3.1",
|
|
173
173
|
"@rollup/pluginutils": "^5.1.4",
|
|
174
|
-
"@storm-software/build-tools": "0.
|
|
174
|
+
"@storm-software/build-tools": "0.133.0",
|
|
175
175
|
"@storm-software/config": "1.97.4",
|
|
176
176
|
"@storm-software/config-tools": "1.140.0",
|
|
177
177
|
"@swc/core": "1.7.26",
|