sparkzen 1.0.1 → 1.1.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/dist/cli/index.js +2 -4
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -139,13 +139,11 @@ var dev_default = dev;
|
|
|
139
139
|
import { execSync as execSync3 } from "child_process";
|
|
140
140
|
import { Command as Command3 } from "commander";
|
|
141
141
|
import { bgGreenBright, bold as bold3 } from "logfy-x";
|
|
142
|
-
import path3 from "path";
|
|
143
142
|
var build = new Command3().name("build").description("Build the project").action(() => {
|
|
144
143
|
const projectPath = process.cwd();
|
|
145
144
|
console.log(`${bgGreenBright(bold3(" \u{1F4E6} BUILD "))} Building the project...
|
|
146
145
|
`);
|
|
147
|
-
|
|
148
|
-
execSync3(`${tsupPath} src/index.ts --format esm --dts --out-dir dist`, {
|
|
146
|
+
execSync3(`npx tsc`, {
|
|
149
147
|
cwd: projectPath,
|
|
150
148
|
stdio: "inherit",
|
|
151
149
|
shell: process.platform === "win32" ? "cmd.exe" : "/bin/sh"
|
|
@@ -165,7 +163,7 @@ function registerCommands(program2) {
|
|
|
165
163
|
|
|
166
164
|
// package.json
|
|
167
165
|
var name = "sparkzen";
|
|
168
|
-
var version = "1.0
|
|
166
|
+
var version = "1.1.0";
|
|
169
167
|
|
|
170
168
|
// src/cli/index.ts
|
|
171
169
|
var program = new Command4();
|