@esuiss/ui 0.2.0 → 0.2.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/lib/project.mjs +1 -1
- package/lib/registry.mjs +1 -1
- package/package.json +7 -1
package/lib/project.mjs
CHANGED
|
@@ -21,7 +21,7 @@ const INSTALL_ARGS = {
|
|
|
21
21
|
|
|
22
22
|
const TSCONFIGS = ["tsconfig.json", "tsconfig.app.json"]
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
function readJsonc(file) {
|
|
25
25
|
const text = readFileSync(file, "utf8")
|
|
26
26
|
const withoutComments = text.replace(
|
|
27
27
|
/("(?:\\.|[^"\\])*")|\/\/[^\n]*|\/\*[\s\S]*?\*\//g,
|
package/lib/registry.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CliError } from "./output.mjs"
|
|
2
2
|
|
|
3
|
-
const DEFAULT_BASE = "https://raw.githubusercontent.com/
|
|
3
|
+
const DEFAULT_BASE = "https://raw.githubusercontent.com/e-suiss/ui/main"
|
|
4
4
|
const base = (process.env.ESUISS_REGISTRY ?? DEFAULT_BASE).replace(/\/$/, "")
|
|
5
5
|
|
|
6
6
|
export async function fetchText(file) {
|
package/package.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esuiss/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Add esuiss-ui components to Next.js and React projects.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/e-suiss/ui.git",
|
|
9
|
+
"directory": "packages/cli"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/e-suiss/ui",
|
|
6
12
|
"type": "module",
|
|
7
13
|
"bin": {
|
|
8
14
|
"esuiss": "index.mjs"
|