Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@inlang/paraglide-js

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inlang/paraglide-js - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

30

dist/cli/commands/init.d.ts
import { Command } from "commander";
import { type ProjectSettings } from "@inlang/sdk";
import { Logger } from "../../services/logger/index.js";
import { type Repository } from "@lix-js/client";
import type { NodeishFilesystem } from "@lix-js/fs";
type Context = {
logger: Logger;
repo: Repository;
};
export declare const initCommand: Command;
export declare const initializeInlangProject: (logger: Logger) => Promise<string>;
export declare const initializeInlangProject: (ctx: Context) => Promise<string>;
export declare const maybeAddVsCodeExtension: (args: {
projectPath: string;
}, logger: Logger) => Promise<void>;
export declare const addParaglideJsToDevDependencies: (logger: Logger) => Promise<void>;
export declare const findExistingInlangProjectPath: () => Promise<string | undefined>;
}, ctx: Context) => Promise<void>;
export declare const addParaglideJsToDevDependencies: (ctx: Context) => Promise<void>;
export declare const findExistingInlangProjectPath: (ctx: Context) => Promise<string | undefined>;
export declare const existingProjectFlow: (args: {
existingProjectPath: string;
}, logger: Logger) => Promise<undefined>;
export declare const createNewProjectFlow: (logger: Logger) => Promise<undefined>;
}, ctx: Context) => Promise<undefined>;
export declare const createNewProjectFlow: (ctx: Context) => Promise<undefined>;
export declare const newProjectTemplate: ProjectSettings;
export declare const checkIfPackageJsonExists: (logger: Logger) => Promise<undefined>;
export declare const checkIfUncommittedChanges: (logger: Logger) => Promise<void>;
export declare const checkIfPackageJsonExists: (ctx: Context) => Promise<undefined>;
export declare const checkIfUncommittedChanges: (ctx: Context) => Promise<void>;
export declare const addCompileStepToPackageJSON: (args: {
projectPath: string;
}, logger: Logger) => Promise<undefined>;
}, ctx: Context) => Promise<undefined>;
/**

@@ -27,6 +33,8 @@ * Ensures that the moduleResolution compiler option is set to "bundler" or similar in the tsconfig.json.

*/
export declare const maybeChangeTsConfigModuleResolution: (logger: Logger) => Promise<void>;
export declare const maybeChangeTsConfigModuleResolution: (ctx: Context) => Promise<void>;
/**
* Paraligde JS compiles to JS with JSDoc comments. TypeScript doesn't allow JS files by default.
*/
export declare const maybeChangeTsConfigAllowJs: (logger: Logger) => Promise<void>;
export declare const maybeChangeTsConfigAllowJs: (ctx: Context) => Promise<void>;
export declare function fileExists(filePath: string, nodeishFs: NodeishFilesystem): Promise<boolean>;
export {};

@@ -1,3 +0,2 @@

/// <reference types="node" resolution-mode="require"/>
import type nodeFsPromises from "node:fs/promises";
export declare function writeOutput(outputDirectory: string, output: Record<string, string>, fs: typeof nodeFsPromises): Promise<void>;
import type { NodeishFilesystem } from "@lix-js/fs";
export declare function writeOutput(outputDirectory: string, output: Record<string, string>, fs: NodeishFilesystem): Promise<void>;
{
"name": "@inlang/paraglide-js",
"type": "module",
"version": "1.2.0",
"version": "1.2.1",
"license": "Apache-2.0",

@@ -40,4 +40,4 @@ "publishConfig": {

"posthog-node": "3.1.3",
"@inlang/language-tag": "1.3.0",
"@inlang/detect-json-formatting": "1.0.0"
"@inlang/detect-json-formatting": "1.0.0",
"@inlang/language-tag": "1.4.0"
},

@@ -49,2 +49,3 @@ "devDependencies": {

"@types/minimist": "1.2.3",
"@types/node": "^20.11.2",
"@vitest/coverage-v8": "0.34.3",

@@ -57,7 +58,8 @@ "cross-env": "^7.0.3",

"vitest": "0.34.3",
"@inlang/env-variables": "0.2.0",
"@inlang/sdk": "0.23.0",
"@inlang/telemetry": "0.3.4",
"@lix-js/client": "0.5.0",
"@inlang/env-variables": "0.2.0",
"@inlang/telemetry": "0.3.3",
"@inlang/sdk": "0.22.0",
"@lix-js/fs": "0.5.0"
"@lix-js/fs": "0.5.0",
"@inlang/plugin-message-format": "2.0.0"
},

@@ -64,0 +66,0 @@ "exports": {

Sorry, the diff of this file is too big to display

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