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

@blinkk/create-root

Package Overview
Dependencies
Maintainers
4
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blinkk/create-root - npm Package Compare versions

Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1

14

dist/create-root.js

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

import degit from "degit";
// src/root-version.ts
var ROOT_VERSION = "1.0.0-alpha.34";
// src/create-root.ts
var __dirname = path.dirname(fileURLToPath(import.meta.url));

@@ -50,4 +55,9 @@ var require2 = createRequire(import.meta.url);

packageJson2.name = path.basename(path.dirname(packageJsonPath));
packageJson2.dependencies["@blinkk/root"] = "*";
console.log(packageJson2);
packageJson2.version = "1.0.0";
packageJson2.dependencies["@blinkk/root"] = `^${ROOT_VERSION}`;
await fs.promises.writeFile(
packageJsonPath,
JSON.stringify(packageJson2, null, 2),
"utf-8"
);
}

@@ -54,0 +64,0 @@ function maybeRelativePath(filePath) {

7

package.json
{
"name": "@blinkk/create-root",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"description": "",

@@ -24,7 +24,10 @@ "author": "s@blinkk.com",

"devDependencies": {
"@types/degit": "^2.8.3",
"@types/node": "^18.13.0",
"tsup": "^6.6.3"
},
"scripts": {
"build": "tsup ./src/create-root.ts --format=esm"
"build": "pnpm update-root-version && tsup ./src/create-root.ts --format=esm",
"update-root-version": "node ./scripts/update-root-version.mjs"
}
}
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