learn-auth-sdk 0.4.0 → 0.4.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 +1 -0
- package/package.json +4 -5
- package/bin/learn-auth.js +0 -5
package/dist/cli/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "learn-auth-sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Open-source Auth SDK for decentralized tenant backends",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"files": [
|
|
10
|
-
"dist"
|
|
11
|
-
"bin"
|
|
10
|
+
"dist"
|
|
12
11
|
],
|
|
13
12
|
"repository": {
|
|
14
13
|
"type": "git",
|
|
@@ -27,10 +26,10 @@
|
|
|
27
26
|
"cloudflare"
|
|
28
27
|
],
|
|
29
28
|
"bin": {
|
|
30
|
-
"learn-auth": "./
|
|
29
|
+
"learn-auth": "./dist/cli/index.js"
|
|
31
30
|
},
|
|
32
31
|
"scripts": {
|
|
33
|
-
"build": "tsup src/index.ts --format esm --dts --clean --minify && tsup src/browser.ts --format iife --minify --global-name AuthSDK --out-dir dist && node scripts/wrap-browser.cjs && tsup src/cli/index.ts --format esm --dts --out-dir dist/cli --external commander",
|
|
32
|
+
"build": "tsup src/index.ts --format esm --dts --clean --minify && tsup src/browser.ts --format iife --minify --global-name AuthSDK --out-dir dist && node scripts/wrap-browser.cjs && tsup src/cli/index.ts --format esm --dts --out-dir dist/cli --external commander && node -e \"const fs=require('fs');const f='dist/cli/index.js';fs.writeFileSync(f,'#!/usr/bin/env node\\n'+fs.readFileSync(f,'utf8'));fs.chmodSync(f,0o755);\"",
|
|
34
33
|
"dev": "tsc --watch",
|
|
35
34
|
"prepublishOnly": "npm run build"
|
|
36
35
|
},
|