@adbayb/stack 0.0.0-next-0f6c3a3 → 0.0.0-next-389cf5e
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 +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -136,8 +136,8 @@ const eslint = (options)=>async (files = [])=>{
|
|
|
136
136
|
};
|
|
137
137
|
const turbo = async (command, options = {})=>{
|
|
138
138
|
try {
|
|
139
|
-
const { hasLiveOutput = true, ...restOptions } = options;
|
|
140
|
-
return await helpers.exec(`turbo run ${command}`, {
|
|
139
|
+
const { excludeExamples = false, hasLiveOutput = true, ...restOptions } = options;
|
|
140
|
+
return await helpers.exec(`turbo run ${command} ${excludeExamples ? "--filter !@examples/*" : ""}`, {
|
|
141
141
|
...restOptions,
|
|
142
142
|
hasLiveOutput
|
|
143
143
|
});
|
|
@@ -167,7 +167,7 @@ const ESLINT_EXTENSIONS = [
|
|
|
167
167
|
"mdx"
|
|
168
168
|
];
|
|
169
169
|
|
|
170
|
-
var version = "0.0.0-next-
|
|
170
|
+
var version = "0.0.0-next-389cf5e";
|
|
171
171
|
|
|
172
172
|
const createWatchCommand = (program)=>{
|
|
173
173
|
program.command({
|
|
@@ -220,7 +220,6 @@ const createReleaseCommand = (program)=>{
|
|
|
220
220
|
description: "Publish package(s) to the registry"
|
|
221
221
|
}).task({
|
|
222
222
|
async handler () {
|
|
223
|
-
// TODO: label instead?
|
|
224
223
|
helpers.message("New changelog entry\n");
|
|
225
224
|
await changeset("changeset");
|
|
226
225
|
},
|
|
@@ -307,6 +306,7 @@ const createFixCommand = (program)=>{
|
|
|
307
306
|
label: label$3("Prepare the project"),
|
|
308
307
|
async handler () {
|
|
309
308
|
await turbo("build", {
|
|
309
|
+
excludeExamples: true,
|
|
310
310
|
hasLiveOutput: false
|
|
311
311
|
});
|
|
312
312
|
}
|
|
@@ -691,6 +691,7 @@ const createCheckCommand = (program)=>{
|
|
|
691
691
|
label: label("Prepare the project"),
|
|
692
692
|
async handler () {
|
|
693
693
|
await turbo("build", {
|
|
694
|
+
excludeExamples: true,
|
|
694
695
|
hasLiveOutput: false
|
|
695
696
|
});
|
|
696
697
|
},
|