New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@solid-cli/utils

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-cli/utils - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

dist/paths/index.js

27

dist/index.js

@@ -43,3 +43,10 @@ "use strict";

var import_promises = require("fs/promises");
// src/paths/index.ts
var import_os = require("os");
var homedir = () => {
return process.env.XDG_CONFIG_HOME ?? (0, import_os.homedir)();
};
// src/config/index.ts
var import_path = require("path");

@@ -52,3 +59,3 @@ var import_smol_toml = require("smol-toml");

config = defaultConfig;
configPath = (0, import_path.join)((0, import_os.homedir)(), "/solid-cli.config.toml");
configPath = (0, import_path.join)(homedir(), "/solid-cli.config.toml");
async readConfig() {

@@ -244,2 +251,20 @@ return await (0, import_promises.readFile)(this.configPath, "utf-8");

},
START_API: {
en: "API",
es: "API",
fr: "API",
ja: "API"
},
START_API_HINT: {
en: "Create an API route",
es: "Crear una ruta API",
fr: "Cr\xE9er une route d'API",
ja: "API\u30EB\u30FC\u30C8\u3092\u4F5C\u6210\u3059\u308B"
},
START_API_DISPLAYNAME: {
en: "API file name",
es: "Nombre de archivo API",
fr: "Nom du fichier API",
ja: "API\u30D5\u30A1\u30A4\u30EB\u540D"
},
CANCELED: {

@@ -246,0 +271,0 @@ en: "Canceled",

19

package.json
{
"name": "@solid-cli/utils",
"version": "0.0.1",
"version": "0.0.2",
"description": "A collection of utilities for the Solid CLI",
"license": "MIT",
"homepage": "https://solid-cli.netlify.app",
"repository": {
"type": "git",
"url": "https://github.com/solidjs-community/solid-cli"
},
"main": "./dist/index.js",

@@ -11,6 +17,11 @@ "module": "./dist/index.mjs",

"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./types/index.d.ts"
},
"./paths": {
"import": "./dist/paths/index.mjs",
"require": "./dist/paths/index.js",
"types": "./types/paths/index.d.ts"
}
},
"license": "MIT",
"devDependencies": {

@@ -29,3 +40,3 @@ "@types/node": "20.4.8",

"smol-toml": "^1.1.1",
"@solid-cli/reactivity": "0.0.5"
"@solid-cli/reactivity": "0.0.7"
},

@@ -32,0 +43,0 @@ "scripts": {

import { readFile, writeFile } from "fs/promises";
import { homedir } from "os";
import { homedir } from "../paths";
import { join } from "path";

@@ -4,0 +4,0 @@ import { parse, stringify } from "smol-toml";

export * from "./translations";
export * from "./config";

@@ -159,2 +159,20 @@ import { createEffect, createMemo, createSignal } from "@solid-cli/reactivity";

},
START_API: {
en: "API",
es: "API",
fr: "API",
ja: "API",
},
START_API_HINT: {
en: "Create an API route",
es: "Crear una ruta API",
fr: "Créer une route d'API",
ja: "APIルートを作成する",
},
START_API_DISPLAYNAME: {
en: "API file name",
es: "Nombre de archivo API",
fr: "Nom du fichier API",
ja: "APIファイル名",
},
CANCELED: {

@@ -161,0 +179,0 @@ en: "Canceled",

@@ -11,3 +11,3 @@ {

"emitDeclarationOnly": true,
"moduleResolution": "node",
"moduleResolution": "Node",
"resolveJsonModule": true,

@@ -22,3 +22,3 @@ "isolatedModules": true,

},
"include": ["src/*"]
"include": ["src/*", "src/**/*"]
}
import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.ts"],
entry: ["src/index.ts", "src/paths/index.ts"],
target: "esnext",

@@ -6,0 +6,0 @@ format: ["esm", "cjs"],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc