@cloudflare/flagship 0.0.0 → 0.0.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/LICENSE +184 -0
- package/README.md +5 -0
- package/dist/index-C_sW3e_7.d.mts +233 -0
- package/dist/index-D8YLMfBG.d.cts +233 -0
- package/dist/index.cjs +7 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +2 -0
- package/dist/server.cjs +298 -0
- package/dist/server.d.cts +144 -0
- package/dist/server.d.mts +144 -0
- package/dist/server.mjs +290 -0
- package/dist/src-CiVDWmng.mjs +202 -0
- package/dist/src-De-abNIr.cjs +231 -0
- package/dist/web.cjs +148 -0
- package/dist/web.d.cts +72 -0
- package/dist/web.d.mts +72 -0
- package/dist/web.mjs +142 -0
- package/package.json +102 -10
package/package.json
CHANGED
|
@@ -1,13 +1,105 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/flagship",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "OpenFeature provider for Flagship feature flags",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.mjs",
|
|
8
|
+
"types": "./dist/index.d.mts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.mts",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"./server": {
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/server.d.mts",
|
|
23
|
+
"default": "./dist/server.mjs"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/server.d.cts",
|
|
27
|
+
"default": "./dist/server.cjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"./web": {
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/web.d.mts",
|
|
33
|
+
"default": "./dist/web.mjs"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/web.d.cts",
|
|
37
|
+
"default": "./dist/web.cjs"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"dist"
|
|
43
|
+
],
|
|
44
|
+
"license": "Apache-2.0",
|
|
45
|
+
"author": "Cloudflare Inc.",
|
|
46
|
+
"repository": {
|
|
47
|
+
"directory": "packages/flagship",
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "git+https://github.com/cloudflare/flagship.git"
|
|
50
|
+
},
|
|
51
|
+
"homepage": "https://github.com/cloudflare/flagship",
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/cloudflare/flagship/issues"
|
|
54
|
+
},
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public"
|
|
8
57
|
},
|
|
9
|
-
"keywords": [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
58
|
+
"keywords": [
|
|
59
|
+
"cloudflare",
|
|
60
|
+
"openfeature",
|
|
61
|
+
"feature-flags",
|
|
62
|
+
"flagship",
|
|
63
|
+
"provider",
|
|
64
|
+
"workers",
|
|
65
|
+
"pages",
|
|
66
|
+
"api",
|
|
67
|
+
"edge"
|
|
68
|
+
],
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"@openfeature/server-sdk": "^1.20.2",
|
|
71
|
+
"@openfeature/web-sdk": "^1.7.3"
|
|
72
|
+
},
|
|
73
|
+
"peerDependenciesMeta": {
|
|
74
|
+
"@openfeature/server-sdk": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"@openfeature/web-sdk": {
|
|
78
|
+
"optional": true
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@openfeature/core": "^1.9.2",
|
|
83
|
+
"@openfeature/server-sdk": "^1.20.2",
|
|
84
|
+
"@openfeature/web-sdk": "^1.7.3",
|
|
85
|
+
"@types/node": "^24.12.2",
|
|
86
|
+
"@vitest/coverage-v8": "^4.1.4",
|
|
87
|
+
"tsdown": "^0.21.7",
|
|
88
|
+
"tsx": "^4.21.0",
|
|
89
|
+
"typescript": "^5.9.3",
|
|
90
|
+
"vitest": "^4.1.4"
|
|
91
|
+
},
|
|
92
|
+
"scripts": {
|
|
93
|
+
"dev": "tsdown --watch",
|
|
94
|
+
"build": "tsdown",
|
|
95
|
+
"test": "vitest run",
|
|
96
|
+
"test:coverage": "vitest --coverage",
|
|
97
|
+
"examples:browser": "tsx examples/browser.ts",
|
|
98
|
+
"examples:server": "tsx examples/server.ts",
|
|
99
|
+
"examples:worker": "tsx examples/cloudflare-worker.ts",
|
|
100
|
+
"typecheck": "tsc --noEmit",
|
|
101
|
+
"lint": "oxlint src",
|
|
102
|
+
"lint:fix": "oxlint --fix src",
|
|
103
|
+
"clean": "rm -rf dist"
|
|
104
|
+
}
|
|
105
|
+
}
|