@openfin/cloud-api 13.2.1-beta.3 → 14.0.0-beta.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.
Files changed (2) hide show
  1. package/LICENSE.md +4 -0
  2. package/package.json +23 -180
package/LICENSE.md ADDED
@@ -0,0 +1,4 @@
1
+ Learn more about OpenFin licensing at the links listed below or email us at support@openfin.co with questions.
2
+
3
+ - [Developer agreement](https://openfin.co/developer-agreement)
4
+
package/package.json CHANGED
@@ -1,202 +1,45 @@
1
1
  {
2
2
  "name": "@openfin/cloud-api",
3
- "version": "13.2.1-beta.3",
4
- "sideEffects": false,
3
+ "version": "14.0.0-beta.1",
5
4
  "description": "",
5
+ "type": "module",
6
+ "sideEffects": false,
7
+ "main": "./dist/index.cjs",
8
+ "module": "./dist/index.js",
6
9
  "exports": {
7
10
  ".": {
8
11
  "import": "./dist/index.js",
9
12
  "require": "./dist/index.cjs"
10
13
  }
11
14
  },
12
- "type": "module",
13
- "main": "./dist/index.cjs",
14
- "module": "./dist/index.js",
15
+ "files": [
16
+ "dist"
17
+ ],
15
18
  "scripts": {
16
- "build": "tsup --config ./tsup.config.ts",
17
- "build:dev": "TSUP_DEV=true tsup --config ./tsup.config.ts",
19
+ "build": "tsup --config ./tsup.config.mjs",
20
+ "build:dev": "TSUP_DEV=true tsup --config ./tsup.config.mjs",
18
21
  "build:docker": "NODE_ENV=development npm run build:dev",
19
- "dev": "TSUP_DEV=true tsup --watch --config ./tsup.config.ts",
22
+ "dev": "TSUP_DEV=true tsup --watch --config ./tsup.config.mjs",
20
23
  "typecheck": "tsc --noEmit",
21
24
  "test": "echo \"Error: no test specified\" && exit 1",
22
- "lint": "eslint . --max-warnings 0",
23
- "lint:fix": "eslint . --fix --max-warnings 0",
25
+ "lint": "eslint .",
26
+ "lint:fix": "eslint . --fix",
24
27
  "docs": "typedoc --treatWarningsAsErrors"
25
28
  },
26
- "files": [
27
- "dist"
28
- ],
29
+ "author": "support@here.io",
30
+ "license": "SEE LICENSE IN LICENSE.md",
29
31
  "devDependencies": {
30
- "@openfin/core": "45.100.102",
32
+ "@openfin/core": "catalog:",
33
+ "@types/node": "catalog:",
31
34
  "@openfin/search-api": "^2.0.1",
32
35
  "@openfin/typedoc-theme": "^2.0.2",
33
- "@openfin/workspace": "45.0.14",
34
- "@typescript-eslint/eslint-plugin": "^8.32.0",
35
- "@typescript-eslint/parser": "^8.32.0",
36
- "eslint": "^8.57.1",
37
- "eslint-config-prettier": "^10.1.5",
38
- "eslint-plugin-check-file": "^2.8.0",
39
- "eslint-plugin-prettier": "^5.4.0",
40
- "eslint-plugin-simple-import-sort": "^12.1.1",
41
- "eslint-plugin-unicorn": "^55.0.0",
42
- "prettier": "^3.5.3",
43
- "tsup": "^8.4.0",
36
+ "@openfin/workspace": "catalog:",
37
+ "prettier": "catalog:",
38
+ "tsup": "catalog:",
44
39
  "typedoc": "^0.26.11",
45
- "typescript": "^5.6.3"
46
- },
47
- "optionalDependencies": {
48
- "@rollup/rollup-linux-x64-gnu": "*"
40
+ "typescript": "catalog:"
49
41
  },
50
- "eslintConfig": {
51
- "env": {
52
- "browser": true,
53
- "node": true
54
- },
55
- "parser": "@typescript-eslint/parser",
56
- "parserOptions": {
57
- "ecmaVersion": "latest",
58
- "sourceType": "module",
59
- "project": true
60
- },
61
- "extends": [
62
- "eslint:recommended",
63
- "plugin:prettier/recommended",
64
- "plugin:@typescript-eslint/recommended",
65
- "plugin:@typescript-eslint/strict",
66
- "plugin:unicorn/recommended"
67
- ],
68
- "plugins": [
69
- "simple-import-sort",
70
- "prettier",
71
- "check-file"
72
- ],
73
- "rules": {
74
- "unicorn/prevent-abbreviations": [
75
- "error",
76
- {
77
- "replacements": {
78
- "props": false,
79
- "prop": false,
80
- "ref": false,
81
- "args": false,
82
- "arg": false,
83
- "src": false,
84
- "dev": false,
85
- "str": false
86
- }
87
- }
88
- ],
89
- "@typescript-eslint/no-non-null-assertion": "error",
90
- "unicorn/no-nested-ternary": "off",
91
- "unicorn/no-array-for-each": "off",
92
- "unicorn/no-useless-undefined": "off",
93
- "unicorn/no-null": "off",
94
- "eqeqeq": [
95
- "error",
96
- "always"
97
- ],
98
- "no-alert": "error",
99
- "no-eval": "error",
100
- "prettier/prettier": "warn",
101
- "simple-import-sort/imports": [
102
- "error",
103
- {
104
- "groups": [
105
- [
106
- "^react$"
107
- ],
108
- [
109
- "^react"
110
- ],
111
- [
112
- "^next"
113
- ],
114
- [
115
- "^zod"
116
- ],
117
- [
118
- "^@radix-ui/"
119
- ],
120
- [
121
- "^[^.]"
122
- ],
123
- [
124
- "@/components/ui/.*"
125
- ],
126
- [
127
- "@/components/.*"
128
- ],
129
- [
130
- "@/config/.*"
131
- ],
132
- [
133
- "@/lib/.*"
134
- ],
135
- [
136
- "^\\.\\.(?!/?$)",
137
- "^\\.\\./?$"
138
- ],
139
- [
140
- "^\\./(?=.*/)(?!/?$)",
141
- "^\\.(?!/?$)",
142
- "^\\./?$"
143
- ],
144
- [
145
- "^.+\\.s?css$"
146
- ]
147
- ]
148
- }
149
- ],
150
- "check-file/no-index": "error",
151
- "check-file/filename-naming-convention": [
152
- "error",
153
- {
154
- "**/*.{jsx,tsx}": "KEBAB_CASE",
155
- "**/*.{js,ts}": "KEBAB_CASE"
156
- },
157
- {
158
- "ignoreMiddleExtensions": true
159
- }
160
- ],
161
- "check-file/filename-blocklist": [
162
- "error",
163
- {
164
- "**/*.spec.js": "*.test.js",
165
- "**/*.spec.jsx": "*.test.jsx",
166
- "**/*.spec.ts": "*.test.ts",
167
- "**/*.spec.tsx": "*.test.tsx"
168
- }
169
- ],
170
- "no-restricted-syntax": [
171
- "error",
172
- {
173
- "selector": "TSEnumDeclaration",
174
- "message": "Prefer string unions to enums."
175
- }
176
- ],
177
- "curly": [
178
- "error",
179
- "multi-line"
180
- ],
181
- "@typescript-eslint/consistent-type-definitions": [
182
- "error",
183
- "type"
184
- ],
185
- "@typescript-eslint/no-unused-vars": [
186
- "warn",
187
- {
188
- "argsIgnorePattern": "^_",
189
- "varsIgnorePattern": "^_"
190
- }
191
- ],
192
- "@typescript-eslint/no-explicit-any": 1
193
- },
194
- "ignorePatterns": [
195
- "node_modules",
196
- "out",
197
- "build",
198
- "dist/",
199
- ".next"
200
- ]
42
+ "dependencies": {
43
+ "tslib": "^2.8.1"
201
44
  }
202
45
  }