@joystick.js/cli-canary 0.0.0-canary.161 → 0.0.0-canary.163
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.
|
@@ -46,6 +46,7 @@ const handleBuildForNode = (nodePaths2 = [], options = {}) => {
|
|
|
46
46
|
format: "esm",
|
|
47
47
|
bundle: false,
|
|
48
48
|
entryPoints: nodePaths2?.map((file) => file.path),
|
|
49
|
+
entryNames: "[dir]/[name]",
|
|
49
50
|
// TODO: Make sure we don't need outbase here so the paths map correctly.
|
|
50
51
|
outdir: options?.outputPath || "./.joystick/build",
|
|
51
52
|
define: {
|
|
@@ -69,6 +70,7 @@ const handleBuildForBrowser = (browserPaths2 = [], options = {}) => {
|
|
|
69
70
|
format: "esm",
|
|
70
71
|
bundle: true,
|
|
71
72
|
entryPoints: browserPaths2?.map((file) => file.path),
|
|
73
|
+
entryNames: "[dir]/[name]",
|
|
72
74
|
// TODO: Make sure we don't need outbase here so the paths map correctly.
|
|
73
75
|
outdir: options?.outputPath || "./.joystick/build",
|
|
74
76
|
define: {
|
|
@@ -197,7 +199,6 @@ const buildFiles = async (options, { resolve, reject }) => {
|
|
|
197
199
|
return { success: true };
|
|
198
200
|
}).catch((exception) => {
|
|
199
201
|
const file = handleParseFilePathFromException(exception);
|
|
200
|
-
console.log(file, exception);
|
|
201
202
|
const snippet = handleBuildException(exception, file);
|
|
202
203
|
return {
|
|
203
204
|
success: false,
|
package/dist/lib/dev/index.js
CHANGED
|
@@ -195,11 +195,6 @@ const handleAddOrChangeFile = async (context = {}, path2 = "", options = {}) =>
|
|
|
195
195
|
);
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
|
-
console.log("ADDING OR CHANGING FILE", {
|
|
199
|
-
context,
|
|
200
|
-
fileResultsHaveErrors,
|
|
201
|
-
options
|
|
202
|
-
});
|
|
203
198
|
if (!fileResultsHaveErrors) {
|
|
204
199
|
process.initialBuildComplete = true;
|
|
205
200
|
if (context.isUIUpdate) {
|
package/package.json
CHANGED
|
@@ -53,6 +53,7 @@ const handleBuildForNode = (nodePaths = [], options = {}) => {
|
|
|
53
53
|
format: "esm",
|
|
54
54
|
bundle: false,
|
|
55
55
|
entryPoints: nodePaths?.map((file) => file.path),
|
|
56
|
+
entryNames: '[dir]/[name]',
|
|
56
57
|
// TODO: Make sure we don't need outbase here so the paths map correctly.
|
|
57
58
|
outdir: options?.outputPath || "./.joystick/build",
|
|
58
59
|
define: {
|
|
@@ -77,6 +78,7 @@ const handleBuildForBrowser = (browserPaths = [], options = {}) => {
|
|
|
77
78
|
format: "esm",
|
|
78
79
|
bundle: true,
|
|
79
80
|
entryPoints: browserPaths?.map((file) => file.path),
|
|
81
|
+
entryNames: '[dir]/[name]',
|
|
80
82
|
// TODO: Make sure we don't need outbase here so the paths map correctly.
|
|
81
83
|
outdir: options?.outputPath || "./.joystick/build",
|
|
82
84
|
define: {
|
|
@@ -225,7 +227,6 @@ const buildFiles = async (options, { resolve, reject }) => {
|
|
|
225
227
|
return { success: true };
|
|
226
228
|
}).catch((exception) => {
|
|
227
229
|
const file = handleParseFilePathFromException(exception);
|
|
228
|
-
console.log(file, exception);
|
|
229
230
|
const snippet = handleBuildException(exception, file);
|
|
230
231
|
|
|
231
232
|
return {
|
package/src/lib/dev/index.js
CHANGED
|
@@ -242,12 +242,6 @@ const handleAddOrChangeFile = async (context = {}, path = '', options = {}) => {
|
|
|
242
242
|
return;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
console.log('ADDING OR CHANGING FILE', {
|
|
246
|
-
context,
|
|
247
|
-
fileResultsHaveErrors,
|
|
248
|
-
options,
|
|
249
|
-
});
|
|
250
|
-
|
|
251
245
|
if (!fileResultsHaveErrors) {
|
|
252
246
|
process.initialBuildComplete = true;
|
|
253
247
|
|