@stacksjs/actions 0.52.0 → 0.52.1
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/clean.mjs +9 -10
- package/dist/helpers/package-json.mjs +1 -2
- package/dist/helpers/utils.mjs +1 -1
- package/package.json +27 -15
package/dist/clean.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { log
|
|
1
|
+
import { log } from "@stacksjs/cli";
|
|
2
2
|
import { projectPath } from "@stacksjs/path";
|
|
3
|
-
import {
|
|
4
|
-
log.info("Running clean command...");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
process.exit(ExitCode.FatalError);
|
|
3
|
+
import { del } from "@stacksjs/utils";
|
|
4
|
+
log.info("Running clean command...", projectPath());
|
|
5
|
+
await del([
|
|
6
|
+
projectPath("pnpm-lock.yaml"),
|
|
7
|
+
projectPath("node_modules/"),
|
|
8
|
+
projectPath(".stacks/**/dist"),
|
|
9
|
+
projectPath(".stacks/**/node_modules")
|
|
10
|
+
]);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { log } from "@stacksjs/logging";
|
|
2
2
|
import { writeTextFile } from "@stacksjs/storage";
|
|
3
3
|
import { packageJsonPath } from "@stacksjs/path";
|
|
4
|
-
import { library } from "@stacksjs/config";
|
|
5
|
-
import { packageManager } from "../../package.json" assert { type: "json" };
|
|
4
|
+
import { library, packageManager } from "@stacksjs/config";
|
|
6
5
|
export async function generatePackageJson(type) {
|
|
7
6
|
let name, description, directory, keywords, config, prettyName;
|
|
8
7
|
if (type === "vue-components") {
|
package/dist/helpers/utils.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/actions",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.1",
|
|
5
5
|
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks actions.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -240,27 +240,39 @@
|
|
|
240
240
|
"peerDependencies": {
|
|
241
241
|
"markdown-it": "^13.0.1",
|
|
242
242
|
"vue-component-meta": "^1.6.5",
|
|
243
|
-
"@stacksjs/cli": "0.52.
|
|
244
|
-
"@stacksjs/config": "0.52.
|
|
245
|
-
"@stacksjs/database": "0.52.
|
|
246
|
-
"@stacksjs/error-handling": "0.52.
|
|
247
|
-
"@stacksjs/logging": "0.52.
|
|
248
|
-
"@stacksjs/pages": "0.52.
|
|
249
|
-
"@stacksjs/path": "0.52.
|
|
250
|
-
"@stacksjs/security": "0.52.
|
|
251
|
-
"@stacksjs/storage": "0.52.
|
|
252
|
-
"@stacksjs/types": "0.52.
|
|
253
|
-
"@stacksjs/utils": "0.52.
|
|
243
|
+
"@stacksjs/cli": "0.52.1",
|
|
244
|
+
"@stacksjs/config": "0.52.1",
|
|
245
|
+
"@stacksjs/database": "0.52.1",
|
|
246
|
+
"@stacksjs/error-handling": "0.52.1",
|
|
247
|
+
"@stacksjs/logging": "0.52.1",
|
|
248
|
+
"@stacksjs/pages": "0.52.1",
|
|
249
|
+
"@stacksjs/path": "0.52.1",
|
|
250
|
+
"@stacksjs/security": "0.52.1",
|
|
251
|
+
"@stacksjs/storage": "0.52.1",
|
|
252
|
+
"@stacksjs/types": "0.52.1",
|
|
253
|
+
"@stacksjs/utils": "0.52.1"
|
|
254
254
|
},
|
|
255
255
|
"dependencies": {
|
|
256
256
|
"fast-glob": "^3.2.12",
|
|
257
257
|
"fs-extra": "^11.1.1",
|
|
258
|
-
"
|
|
258
|
+
"markdown-it": "^13.0.1",
|
|
259
|
+
"vue-component-meta": "^1.6.5",
|
|
260
|
+
"@stacksjs/cli": "0.52.1",
|
|
261
|
+
"@stacksjs/config": "0.52.1",
|
|
262
|
+
"@stacksjs/database": "0.52.1",
|
|
263
|
+
"@stacksjs/error-handling": "0.52.1",
|
|
264
|
+
"@stacksjs/logging": "0.52.1",
|
|
265
|
+
"@stacksjs/pages": "0.52.1",
|
|
266
|
+
"@stacksjs/path": "0.52.1",
|
|
267
|
+
"@stacksjs/security": "0.52.1",
|
|
268
|
+
"@stacksjs/storage": "0.52.1",
|
|
269
|
+
"@stacksjs/strings": "0.52.1",
|
|
270
|
+
"@stacksjs/utils": "0.52.1"
|
|
259
271
|
},
|
|
260
272
|
"devDependencies": {
|
|
261
273
|
"unbuild": "^1.2.1",
|
|
262
|
-
"@stacksjs/development": "0.52.
|
|
263
|
-
"@stacksjs/types": "0.52.
|
|
274
|
+
"@stacksjs/development": "0.52.1",
|
|
275
|
+
"@stacksjs/types": "0.52.1"
|
|
264
276
|
},
|
|
265
277
|
"scripts": {
|
|
266
278
|
"build": "unbuild",
|