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

remix-sitemap

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remix-sitemap - npm Package Compare versions

Comparing version 1.2.2-canary.0 to 1.2.2-canary.1

dist/bin/polyfill.d.ts

2

dist/bin/index.d.ts
#!/usr/bin/env node
export {};
import './polyfill.js';

@@ -10,2 +10,3 @@ #!/usr/bin/env node

const promises_1 = __importDefault(require("fs/promises"));
require("./polyfill.js");
const dir = process.cwd();

@@ -47,4 +48,4 @@ const getAllRouteModules = (routes) => {

await promises_1.default.writeFile(path_1.default.join(dir, defaultConfig.outDir, `${defaultConfig.sitemapBaseFileName}.xml`), sitemap);
console.log('sitemap generated successfully :D');
console.log('✨ Sitemap generated successfully');
}
main();

@@ -7,3 +7,3 @@ "use strict";

const manifest = context.manifest.routes[route];
const module = context.routeModules[manifest.id];
const module = context.routeModules[route];
const handle = (module === null || module === void 0 ? void 0 : module.handle) || {};

@@ -10,0 +10,0 @@ const defaultHandle = {

{
"name": "remix-sitemap",
"version": "1.2.2-canary.0",
"version": "1.2.2-canary.1",
"private": false,

@@ -10,3 +10,3 @@ "bin": {

"scripts": {
"build": "tsc",
"build": "tsc --build",
"prepublishOnly": "npm run build",

@@ -32,2 +32,3 @@ "dev": "tsc -w"

"dependencies": {
"isomorphic-fetch": "^3.0.0",
"ufo": "^1.1.1",

@@ -34,0 +35,0 @@ "xml": "^1.0.1"

@@ -31,3 +31,3 @@ <h1>Remix Sitemap</h1>

## Usage
For generate the sitemap we have two ways.
For generate the sitemap we have 2 ways.
### 1. Runtime Generation

@@ -71,2 +71,4 @@ ```ts

// remix-sitemap.config.js
/** @type {import('remix-sitemap').RemixSitemapConfig} */
module.exports = {

@@ -73,0 +75,0 @@ siteUrl: 'https://example.com',

@@ -44,3 +44,3 @@ {

/* JavaScript Support */
// "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
"allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */,
// "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */

@@ -47,0 +47,0 @@ // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */

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