@adbayb/stack 2.35.0-next-700302e → 2.35.0-next-c14b4b7
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/dist/index.js
CHANGED
|
@@ -192,18 +192,6 @@ const createBuildCommand = (program)=>{
|
|
|
192
192
|
});
|
|
193
193
|
};
|
|
194
194
|
|
|
195
|
-
const checkChangelog = async ()=>{
|
|
196
|
-
try {
|
|
197
|
-
return await helpers.exec("changeset status --since=origin/main");
|
|
198
|
-
} catch {
|
|
199
|
-
throw createError("changeset", [
|
|
200
|
-
"Some packages have been changed but no changelogs were found.",
|
|
201
|
-
"Run `pnpm stack release --log` to log your change(s).",
|
|
202
|
-
"If the change doesn't require a changelog, you can run `pnpm stack release --empty-log`."
|
|
203
|
-
].join("\n"));
|
|
204
|
-
}
|
|
205
|
-
};
|
|
206
|
-
|
|
207
195
|
const checkCode = eslint({
|
|
208
196
|
isFixMode: false
|
|
209
197
|
});
|
|
@@ -334,7 +322,6 @@ const checkType = async ()=>{
|
|
|
334
322
|
};
|
|
335
323
|
|
|
336
324
|
const ONLY_VALUES = [
|
|
337
|
-
"changelog",
|
|
338
325
|
"commit",
|
|
339
326
|
"code",
|
|
340
327
|
"dependency",
|
|
@@ -365,12 +352,6 @@ const createCheckCommand = (program)=>{
|
|
|
365
352
|
skip ({ filter }) {
|
|
366
353
|
return filter === "commit"; // No need to build if only commit is checked
|
|
367
354
|
}
|
|
368
|
-
}).task({
|
|
369
|
-
async handler () {
|
|
370
|
-
await checkChangelog();
|
|
371
|
-
},
|
|
372
|
-
label: label$4("Check changelog compliance"),
|
|
373
|
-
skip: ifFilterDefinedAndNotEqualTo("changelog")
|
|
374
355
|
}).task({
|
|
375
356
|
async handler () {
|
|
376
357
|
await checkDependency();
|
|
@@ -467,7 +448,7 @@ const PRESERVE_FILES = [
|
|
|
467
448
|
"node_modules"
|
|
468
449
|
];
|
|
469
450
|
|
|
470
|
-
var version = "2.35.0-next-
|
|
451
|
+
var version = "2.35.0-next-c14b4b7";
|
|
471
452
|
|
|
472
453
|
const createCreateCommand = (program)=>{
|
|
473
454
|
program.command({
|
package/package.json
CHANGED