create-absolutejs 0.14.4 → 0.14.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.
- package/dist/commands/formatProject.js +6 -4
- package/dist/versions.d.ts +2 -2
- package/dist/versions.js +2 -2
- package/package.json +1 -1
|
@@ -2,13 +2,15 @@ import { exit } from 'process';
|
|
|
2
2
|
import { spinner } from '@clack/prompts';
|
|
3
3
|
import { $ } from 'bun';
|
|
4
4
|
import { green, red } from 'picocolors';
|
|
5
|
-
import { formatCommands
|
|
5
|
+
import { formatCommands } from '../utils/commandMaps';
|
|
6
6
|
export const formatProject = async ({ projectName, packageManager, installDependenciesNow }) => {
|
|
7
|
+
// A no-install scaffold must be fully offline and must not assume a global
|
|
8
|
+
// formatter. Templates are already formatted in the published package.
|
|
9
|
+
if (!installDependenciesNow)
|
|
10
|
+
return;
|
|
7
11
|
const spin = spinner();
|
|
8
12
|
try {
|
|
9
|
-
const fmt =
|
|
10
|
-
? formatCommands[packageManager]
|
|
11
|
-
: formatNoInstallCommands[packageManager];
|
|
13
|
+
const fmt = formatCommands[packageManager];
|
|
12
14
|
spin.start('Formatting files…');
|
|
13
15
|
const [bin, ...args] = fmt.split(' ');
|
|
14
16
|
await $ `${bin} ${args}`.cwd(projectName).quiet();
|
package/dist/versions.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare const versions: {
|
|
|
30
30
|
readonly '@elysiajs/static': "1.4.7";
|
|
31
31
|
readonly '@elysiajs/swagger': "1.3.1";
|
|
32
32
|
readonly '@eslint/compat': "2.0.2";
|
|
33
|
-
readonly '@eslint/js': "
|
|
33
|
+
readonly '@eslint/js': "9.39.2";
|
|
34
34
|
readonly '@libsql/client': "0.17.0";
|
|
35
35
|
readonly '@neondatabase/serverless': "1.0.2";
|
|
36
36
|
readonly '@planetscale/database': "1.19.0";
|
|
@@ -45,7 +45,7 @@ export declare const versions: {
|
|
|
45
45
|
readonly elysia: "1.4.28";
|
|
46
46
|
readonly 'elysia-rate-limit': "4.5.0";
|
|
47
47
|
readonly 'elysia-scoped-state': "0.1.1";
|
|
48
|
-
readonly eslint: "
|
|
48
|
+
readonly eslint: "9.39.2";
|
|
49
49
|
readonly 'eslint-plugin-absolute': "0.11.13";
|
|
50
50
|
readonly 'eslint-plugin-import': "2.32.0";
|
|
51
51
|
readonly 'eslint-plugin-jsx-a11y': "6.10.2";
|
package/dist/versions.js
CHANGED
|
@@ -34,7 +34,7 @@ export const versions = {
|
|
|
34
34
|
'@elysiajs/swagger': '1.3.1',
|
|
35
35
|
/* ── ESLint + Prettier ────────────────────────────────── */
|
|
36
36
|
'@eslint/compat': '2.0.2',
|
|
37
|
-
'@eslint/js': '
|
|
37
|
+
'@eslint/js': '9.39.2',
|
|
38
38
|
/* ── Database Hosts ───────────────────────────────────── */
|
|
39
39
|
'@libsql/client': '0.17.0',
|
|
40
40
|
'@neondatabase/serverless': '1.0.2',
|
|
@@ -54,7 +54,7 @@ export const versions = {
|
|
|
54
54
|
elysia: '1.4.28',
|
|
55
55
|
'elysia-rate-limit': '4.5.0',
|
|
56
56
|
'elysia-scoped-state': '0.1.1',
|
|
57
|
-
eslint: '
|
|
57
|
+
eslint: '9.39.2',
|
|
58
58
|
'eslint-plugin-absolute': '0.11.13',
|
|
59
59
|
'eslint-plugin-import': '2.32.0',
|
|
60
60
|
/* ── ESLint React ─────────────────────────────────────── */
|
package/package.json
CHANGED