@becklyn/deployment-protection 0.3.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/README.md +50 -4
- package/dist/cjs/edge.d.ts +14 -0
- package/dist/cjs/edge.d.ts.map +1 -0
- package/dist/cjs/edge.js +32 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +4 -1
- package/dist/cjs/storybook.d.ts +37 -0
- package/dist/cjs/storybook.d.ts.map +1 -0
- package/dist/cjs/storybook.js +40 -0
- package/dist/edge-bundles.json +7 -0
- package/dist/edge.mjs +974 -0
- package/dist/es/edge.d.ts +14 -0
- package/dist/es/edge.d.ts.map +1 -0
- package/dist/es/edge.js +28 -0
- package/dist/es/index.d.ts +1 -0
- package/dist/es/index.d.ts.map +1 -1
- package/dist/es/index.js +1 -0
- package/dist/es/storybook.d.ts +37 -0
- package/dist/es/storybook.d.ts.map +1 -0
- package/dist/es/storybook.js +35 -0
- package/dist/storybook.mjs +974 -0
- package/package.json +31 -7
package/package.json
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@becklyn/deployment-protection",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"description": "Simple shared username/password + Sign in with Vercel gate for Next.js deployments",
|
|
5
|
+
"description": "Simple shared username/password + Sign in with Vercel gate for Next.js and Storybook deployments",
|
|
6
6
|
"homepage": "https://github.com/Becklyn-Studios/ts-libs/tree/main/packages/deployment-protection",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/Becklyn-Studios/ts-libs.git"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
|
-
"lint": "eslint . --max-warnings 0 && prettier --check \"./**/*.{ts,tsx,md,json}\"",
|
|
13
|
-
"fix": "eslint . --fix && prettier --write \"./**/*.{ts,tsx,md,json}\"",
|
|
14
|
-
"test": "vitest run",
|
|
15
|
-
"build": "rm -rf dist && tsc -p tsconfig-es.json && tsc -p tsconfig-cjs.json",
|
|
16
|
-
"prepublishOnly": "npm run lint && npm run test
|
|
12
|
+
"lint": "eslint . --max-warnings 0 && prettier --check \"./**/*.{ts,tsx,md,json,mjs}\"",
|
|
13
|
+
"fix": "eslint . --fix && prettier --write \"./**/*.{ts,tsx,md,json,mjs}\"",
|
|
14
|
+
"test": "npm run build && vitest run",
|
|
15
|
+
"build": "rm -rf dist && tsc -p tsconfig-es.json && tsc -p tsconfig-cjs.json && node ./scripts/build-edge-bundles.mjs",
|
|
16
|
+
"prepublishOnly": "npm run lint && npm run test"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@becklyn/eslint": "*",
|
|
20
20
|
"@becklyn/tsconfig": "*",
|
|
21
21
|
"@types/node": "^25.9.5",
|
|
22
|
+
"esbuild": "^0.25.12",
|
|
22
23
|
"next": "^16.3.0",
|
|
23
24
|
"typescript": "^5.9.3",
|
|
24
25
|
"vitest": "^3.2.4"
|
|
@@ -26,6 +27,11 @@
|
|
|
26
27
|
"peerDependencies": {
|
|
27
28
|
"next": "^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
28
29
|
},
|
|
30
|
+
"peerDependenciesMeta": {
|
|
31
|
+
"next": {
|
|
32
|
+
"optional": true
|
|
33
|
+
}
|
|
34
|
+
},
|
|
29
35
|
"files": [
|
|
30
36
|
"dist"
|
|
31
37
|
],
|
|
@@ -39,6 +45,24 @@
|
|
|
39
45
|
"import": "./dist/es/index.js",
|
|
40
46
|
"default": "./dist/cjs/index.js"
|
|
41
47
|
},
|
|
48
|
+
"./storybook": {
|
|
49
|
+
"types": "./dist/cjs/storybook.d.ts",
|
|
50
|
+
"edge-light": "./dist/storybook.mjs",
|
|
51
|
+
"worker": "./dist/storybook.mjs",
|
|
52
|
+
"browser": "./dist/storybook.mjs",
|
|
53
|
+
"import": "./dist/storybook.mjs",
|
|
54
|
+
"require": "./dist/cjs/storybook.js",
|
|
55
|
+
"default": "./dist/storybook.mjs"
|
|
56
|
+
},
|
|
57
|
+
"./edge": {
|
|
58
|
+
"types": "./dist/cjs/edge.d.ts",
|
|
59
|
+
"edge-light": "./dist/edge.mjs",
|
|
60
|
+
"worker": "./dist/edge.mjs",
|
|
61
|
+
"browser": "./dist/edge.mjs",
|
|
62
|
+
"import": "./dist/edge.mjs",
|
|
63
|
+
"require": "./dist/cjs/edge.js",
|
|
64
|
+
"default": "./dist/edge.mjs"
|
|
65
|
+
},
|
|
42
66
|
"./package.json": "./package.json"
|
|
43
67
|
},
|
|
44
68
|
"sideEffects": false,
|