@blinkk/create-root
Advanced tools
Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1
@@ -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) { |
{ | ||
"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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2961
67
3