create-arkos 1.2.15-beta.4 → 1.2.15-beta.6

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/dist/index.js +4 -4
  2. package/package.json +8 -2
package/dist/index.js CHANGED
@@ -3,11 +3,11 @@ import fs from "fs";
3
3
  import path from "path";
4
4
  import chalk from "chalk";
5
5
  import { execSync } from "child_process";
6
- import projectConfigInquirer from "./utils/project-config-inquirer";
7
- import templateCompiler from "./utils/template-compiler";
6
+ import projectConfigInquirer from "./utils/project-config-inquirer.js";
7
+ import templateCompiler from "./utils/template-compiler.js";
8
8
  import Handlebars from "handlebars";
9
- import { getProcjetPackageJsonDependecies } from "./utils/helpers";
10
- import { detectPackageManagerFromUserAgent } from "./utils/helpers/npm.helpers";
9
+ import { getProcjetPackageJsonDependecies } from "./utils/helpers/index.js";
10
+ import { detectPackageManagerFromUserAgent } from "./utils/helpers/npm.helpers.js";
11
11
  Handlebars.registerHelper("eq", (a, b) => a === b);
12
12
  Handlebars.registerHelper("neq", (a, b) => a !== b);
13
13
  async function main() {
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "create-arkos",
3
- "version": "1.2.15-beta.4",
3
+ "version": "1.2.15-beta.6",
4
+ "type": "module",
4
5
  "description": "CLI for creating Arkos.js projects, see docs at www.arkosjs.com",
5
6
  "bin": {
6
7
  "create-arkos": "./dist/index.js"
7
8
  },
8
9
  "scripts": {
9
10
  "build": "rimraf dist && tsc",
10
- "dev": "ts-node src/index.ts"
11
+ "dev": "ts-node src/index.ts",
12
+ "postbuia": "ts-node scripts/postbuild/index.ts",
13
+ "postpublisa": "ts-node scripts/postpublish/index.ts",
14
+ "test:hbs": "ts-node src/utils/helpers/hbs-tester.helpers.ts",
15
+ "prepublishOnlyBak": "pnpm build",
16
+ "publishasa": "ts-node scripts/postbuild/index.ts && pnpm build && npm publish --tag latest"
11
17
  },
12
18
  "author": "Uanela Como",
13
19
  "license": "MIT",