Compare commits

..

No commits in common. "v0.1.0-develop.19" and "v0.1.0-develop.18" have entirely different histories.

4 changed files with 9 additions and 14 deletions

View File

@ -1,5 +1,3 @@
# [0.1.0-develop.19](https://git.lumeweb.com/LumeWeb/publish-kernel-module/compare/v0.1.0-develop.18...v0.1.0-develop.19) (2023-09-04)
# [0.1.0-develop.18](https://git.lumeweb.com/LumeWeb/publish-kernel-module/compare/v0.1.0-develop.17...v0.1.0-develop.18) (2023-09-04) # [0.1.0-develop.18](https://git.lumeweb.com/LumeWeb/publish-kernel-module/compare/v0.1.0-develop.17...v0.1.0-develop.18) (2023-09-04)
# [0.1.0-develop.17](https://git.lumeweb.com/LumeWeb/publish-kernel-module/compare/v0.1.0-develop.16...v0.1.0-develop.17) (2023-09-03) # [0.1.0-develop.17](https://git.lumeweb.com/LumeWeb/publish-kernel-module/compare/v0.1.0-develop.16...v0.1.0-develop.17) (2023-09-03)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@lumeweb/publish-kernel-module", "name": "@lumeweb/publish-kernel-module",
"version": "0.1.0-develop.19", "version": "0.1.0-develop.18",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/publish-kernel-module", "name": "@lumeweb/publish-kernel-module",
"version": "0.1.0-develop.19", "version": "0.1.0-develop.18",
"dependencies": { "dependencies": {
"@lumeweb/libweb": "0.2.0-develop.48", "@lumeweb/libweb": "0.2.0-develop.48",
"@scure/bip39": "^1.2.1", "@scure/bip39": "^1.2.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/publish-kernel-module", "name": "@lumeweb/publish-kernel-module",
"version": "0.1.0-develop.19", "version": "0.1.0-develop.18",
"type": "module", "type": "module",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -50,15 +50,12 @@ if (["0", "false"].includes(seed as string)) {
seed = false as any; seed = false as any;
} }
if (!seed && seed === undefined) { if (!seed && seed === undefined) {
const seedFile = path.join(process.cwd(), ".module-seed"); // @ts-ignore
if (await fileExists(seedFile)) { seed = await prompts.prompts.password({
seed = await fs.readFile(seedFile, "utf8"); name: "module_seed",
} message: "Enter your module seed",
validate: (prev) => prev && bip39.validateMnemonic(prev, wordlist),
if (!seed) { });
seed = bip39.generateMnemonic(wordlist);
await fs.writeFile(seedFile, seed);
}
} }
const hdKey = seed const hdKey = seed