@blossm/deploy-cli-template 0.0.642 → 0.0.644

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.
Files changed (2) hide show
  1. package/index.js +11 -11
  2. package/package.json +8 -7
package/index.js CHANGED
@@ -1,13 +1,13 @@
1
- const normalize = require("@blossm/normalize-cli");
2
- const roboSay = require("@blossm/robo-say");
3
- const mergeCliTemplate = require("@blossm/merge-cli-template");
4
- const testCliTemplate = require("@blossm/test-cli-template");
5
- const fs = require("fs-extra");
6
- const { spawnSync } = require("child_process");
7
- const rootDir = require("@blossm/cli-root-dir");
8
- const path = require("path");
9
- const { green, red } = require("chalk");
10
- const os = require("os");
1
+ import normalize from "@blossm/normalize-cli";
2
+ import roboSay from "@blossm/robo-say";
3
+ import mergeCliTemplate from "@blossm/merge-cli-template";
4
+ import testCliTemplate from "@blossm/test-cli-template";
5
+ import fs from "fs-extra";
6
+ import { spawnSync } from "child_process";
7
+ import rootDir from "@blossm/cli-root-dir";
8
+ import path from "path";
9
+ import { green, red } from "chalk";
10
+ import os from "os";
11
11
 
12
12
  const envProject = ({ env, config }) => {
13
13
  switch (env) {
@@ -46,7 +46,7 @@ const build = async ({ workingDir, env }) => {
46
46
  });
47
47
  };
48
48
 
49
- module.exports = ({ domain, dir }) => async (args, configFn) => {
49
+ export default ({ domain, dir }) => async (args, configFn) => {
50
50
  const blossmConfig = rootDir.config();
51
51
  const input = await normalize({
52
52
  entrypointType: "path",
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@blossm/deploy-cli-template",
3
- "version": "0.0.642",
3
+ "version": "0.0.644",
4
4
  "description": "Deploys a template to cloud build.",
5
5
  "main": "index.js",
6
+ "type": "module",
6
7
  "author": "blossm.network",
7
8
  "engines": {
8
9
  "node": ">= 20.19.0"
@@ -14,16 +15,16 @@
14
15
  "test": "echo \"Error: no test specified\" && exit 0"
15
16
  },
16
17
  "dependencies": {
17
- "@blossm/merge-cli-template": "^0.0.607",
18
- "@blossm/normalize-cli": "^0.0.19",
19
- "@blossm/robo-say": "^0.0.10",
20
- "@blossm/test-cli-template": "^0.0.21",
18
+ "@blossm/merge-cli-template": "^0.0.609",
19
+ "@blossm/normalize-cli": "^0.0.20",
20
+ "@blossm/robo-say": "^0.0.11",
21
+ "@blossm/test-cli-template": "^0.0.22",
21
22
  "chalk": "^5.4.1",
22
23
  "fs-extra": "^11.3.0",
23
24
  "yaml": "^2.8.0"
24
25
  },
25
26
  "devDependencies": {
26
- "mocha": "^7.1.1"
27
+ "mocha": "^11.7.0"
27
28
  },
28
- "gitHead": "d70d2163fc73bcd239e9650d27e02773a15250ac"
29
+ "gitHead": "1403facf898d789b90daaed20ce7a020dd182679"
29
30
  }