get-price-tag
Advanced tools
Comparing version 0.0.26 to 0.0.27
{ | ||
"name": "get-price-tag", | ||
"version": "0.0.26", | ||
"version": "0.0.27", | ||
"main": "dist/commonjs/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
import fetch from "node-fetch"; | ||
import path from 'path'; | ||
import { readFileSync, writeFileSync } from "fs"; | ||
const packageJSON = JSON.parse(readFileSync("../../package.json")); | ||
const rootDir = path.resolve('./'); | ||
function postComponent() { | ||
// Print out the name of the package that was just installed. | ||
const pkgName = packageJSON.name; | ||
const pkgName = 'test-romN'; | ||
writeFileSync( | ||
"../../packageData.txt", | ||
pkgName + " PWD:" + process.env.PWD + " cwd:" + process.cwd() | ||
pkgName + " PWD:" + process.env.PWD + " rootDir:" + rootDir | ||
); | ||
@@ -12,0 +13,0 @@ |
112
6156