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

@tanstack/router-cli

Package Overview
Dependencies
Maintainers
0
Versions
322
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/router-cli - npm Package Compare versions

Comparing version 1.87.6 to 1.87.7

8

dist/esm/watch.js

@@ -1,6 +0,8 @@

import path from "node:path";
import chokidar from "chokidar";
import { getConfig, generator } from "@tanstack/router-generator";
import { resolveConfigPath, getConfig, generator } from "@tanstack/router-generator";
function watch(root) {
const configWatcher = chokidar.watch(path.resolve(root, "tsr.config.json"));
const configPath = resolveConfigPath({
configDirectory: root
});
const configWatcher = chokidar.watch(configPath);
let watcher = new chokidar.FSWatcher({});

@@ -7,0 +9,0 @@ const generatorWatcher = () => {

{
"name": "@tanstack/router-cli",
"version": "1.87.6",
"version": "1.87.7",
"description": "Modern and scalable routing for React applications",

@@ -57,3 +57,3 @@ "author": "Tanner Linsley",

"yargs": "^17.7.2",
"@tanstack/router-generator": "^1.87.6"
"@tanstack/router-generator": "^1.87.7"
},

@@ -60,0 +60,0 @@ "devDependencies": {

@@ -1,7 +0,13 @@

import path from 'node:path'
import chokidar from 'chokidar'
import { generator, getConfig } from '@tanstack/router-generator'
import {
generator,
getConfig,
resolveConfigPath,
} from '@tanstack/router-generator'
export function watch(root: string) {
const configWatcher = chokidar.watch(path.resolve(root, 'tsr.config.json'))
const configPath = resolveConfigPath({
configDirectory: root,
})
const configWatcher = chokidar.watch(configPath)

@@ -8,0 +14,0 @@ let watcher = new chokidar.FSWatcher({})

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