@sppg2001/atomize 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +2 -43
- package/package.json +3 -3
- package/dist/cli/keytar-4z5sa3wk.node +0 -0
package/dist/cli/index.js
CHANGED
|
@@ -3567,53 +3567,12 @@ var init_keyfile_service = __esm(() => {
|
|
|
3567
3567
|
init_atomize_paths();
|
|
3568
3568
|
});
|
|
3569
3569
|
|
|
3570
|
-
// node_modules/keytar/build/Release/keytar.node
|
|
3571
|
-
var require_keytar = __commonJS((exports, module) => {
|
|
3572
|
-
module.exports = __require("./keytar-4z5sa3wk.node");
|
|
3573
|
-
});
|
|
3574
|
-
|
|
3575
|
-
// node_modules/keytar/lib/keytar.js
|
|
3576
|
-
var require_keytar2 = __commonJS((exports, module) => {
|
|
3577
|
-
var keytar = require_keytar();
|
|
3578
|
-
function checkRequired(val, name2) {
|
|
3579
|
-
if (!val || val.length <= 0) {
|
|
3580
|
-
throw new Error(name2 + " is required.");
|
|
3581
|
-
}
|
|
3582
|
-
}
|
|
3583
|
-
module.exports = {
|
|
3584
|
-
getPassword: function(service, account) {
|
|
3585
|
-
checkRequired(service, "Service");
|
|
3586
|
-
checkRequired(account, "Account");
|
|
3587
|
-
return keytar.getPassword(service, account);
|
|
3588
|
-
},
|
|
3589
|
-
setPassword: function(service, account, password) {
|
|
3590
|
-
checkRequired(service, "Service");
|
|
3591
|
-
checkRequired(account, "Account");
|
|
3592
|
-
checkRequired(password, "Password");
|
|
3593
|
-
return keytar.setPassword(service, account, password);
|
|
3594
|
-
},
|
|
3595
|
-
deletePassword: function(service, account) {
|
|
3596
|
-
checkRequired(service, "Service");
|
|
3597
|
-
checkRequired(account, "Account");
|
|
3598
|
-
return keytar.deletePassword(service, account);
|
|
3599
|
-
},
|
|
3600
|
-
findPassword: function(service) {
|
|
3601
|
-
checkRequired(service, "Service");
|
|
3602
|
-
return keytar.findPassword(service);
|
|
3603
|
-
},
|
|
3604
|
-
findCredentials: function(service) {
|
|
3605
|
-
checkRequired(service, "Service");
|
|
3606
|
-
return keytar.findCredentials(service);
|
|
3607
|
-
}
|
|
3608
|
-
};
|
|
3609
|
-
});
|
|
3610
|
-
|
|
3611
3570
|
// src/config/keychain.service.ts
|
|
3612
3571
|
async function getKeytar() {
|
|
3613
3572
|
if (_keytar !== undefined)
|
|
3614
3573
|
return _keytar;
|
|
3615
3574
|
try {
|
|
3616
|
-
_keytar = await
|
|
3575
|
+
_keytar = await import("keytar");
|
|
3617
3576
|
return _keytar;
|
|
3618
3577
|
} catch {
|
|
3619
3578
|
_keytar = null;
|
|
@@ -98474,7 +98433,7 @@ var {
|
|
|
98474
98433
|
|
|
98475
98434
|
// package.json
|
|
98476
98435
|
var name = "@sppg2001/atomize";
|
|
98477
|
-
var version = "1.2.
|
|
98436
|
+
var version = "1.2.1";
|
|
98478
98437
|
|
|
98479
98438
|
// src/cli/commands/auth/auth-add.command.ts
|
|
98480
98439
|
init_dist2();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sppg2001/atomize",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Automatically generate tasks from user stories with smart templates",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cli/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dev": "ATOMIZE_DEV=true bun run src/cli/index.ts",
|
|
25
25
|
"build": "bun run typecheck && bun run build:bun",
|
|
26
26
|
"postbuild": "node make-executable.js",
|
|
27
|
-
"build:bun": "bun build ./src/cli/index.ts --outdir ./dist/cli --target node --format esm",
|
|
27
|
+
"build:bun": "node ./scripts/prepare-dist.mjs && bun build ./src/cli/index.ts --outdir ./dist/cli --target node --format esm --external keytar",
|
|
28
28
|
"build:standalone": "bun build src/cli/index.ts --compile --outfile atomize",
|
|
29
29
|
"prepublishOnly": "npm run build",
|
|
30
30
|
"test": "bun test",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"test:coverage": "bun test --coverage --coverage-reporter=lcov",
|
|
35
35
|
"typecheck": "tsc --noEmit",
|
|
36
36
|
"validate": "bun run src/cli/index.ts validate",
|
|
37
|
-
"validate:package": "
|
|
37
|
+
"validate:package": "node ./scripts/validate-package.mjs",
|
|
38
38
|
"check": "bun typecheck && bun test",
|
|
39
39
|
"lint": "bunx biome check --max-diagnostics 100",
|
|
40
40
|
"lint:fix": "bunx biome check --fix --max-diagnostics 100",
|
|
Binary file
|