@oondemand/oon-core-front 0.1.1 → 0.1.2
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/bin/cli.js +3 -4
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* CLI do @oondemand/oon-core-front (Fase 3 — Seção 4.5).
|
|
@@ -15,9 +14,9 @@
|
|
|
15
14
|
* VITE_API_URL no .env do projeto.
|
|
16
15
|
*/
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
import path from "node:path";
|
|
18
|
+
import fs from "node:fs";
|
|
19
|
+
import { spawnSync } from "node:child_process";
|
|
21
20
|
|
|
22
21
|
const cmd = process.argv[2];
|
|
23
22
|
const cwd = process.cwd();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oondemand/oon-core-front",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Core de frontend para Centrais Oon: shell, providers, roteamento por metadata, SDK REST do /core/*, RBAC e componentes Core* (Coleção, Documento, Esteira, Multi-moedas, Assistente, Dashboard).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|