@screenly/edge-apps 0.0.9 → 0.0.11

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/package.json +5 -5
  2. package/scripts/cli.ts +6 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@screenly/edge-apps",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "description": "A TypeScript library for interfacing with Screenly Edge Apps API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -83,8 +83,11 @@
83
83
  "@tailwindcss/vite": "^4.2.1",
84
84
  "country-locale-map": "^1.9.12",
85
85
  "dayjs": "^1.11.19",
86
+ "@eslint/js": "^10.0.1",
87
+ "eslint": "^10.0.3",
86
88
  "jiti": "^2.6.1",
87
89
  "offline-geocode-city": "^1.0.2",
90
+ "typescript-eslint": "^8.57.0",
88
91
  "panic-overlay": "^1.0.51",
89
92
  "sharp": "^0.34.5",
90
93
  "tailwindcss": "^4.2.1",
@@ -100,16 +103,13 @@
100
103
  }
101
104
  },
102
105
  "devDependencies": {
103
- "@eslint/js": "^10.0.1",
104
106
  "@types/bun": "^1.3.10",
105
107
  "@types/jsdom": "^28.0.0",
106
108
  "@types/node": "^25.4.0",
107
109
  "@types/sharp": "^0.32.0",
108
110
  "bun-types": "^1.3.10",
109
- "eslint": "^10.0.3",
110
111
  "jsdom": "^28.1.0",
111
112
  "prettier": "^3.8.1",
112
- "typescript": "^5.9.3",
113
- "typescript-eslint": "^8.57.0"
113
+ "typescript": "^5.9.3"
114
114
  }
115
115
  }
package/scripts/cli.ts CHANGED
@@ -188,30 +188,12 @@ async function typeCheckCommand(args: string[]) {
188
188
  try {
189
189
  const tscBin = resolveBin('tsc')
190
190
 
191
- const appTsConfig = path.resolve(process.cwd(), 'tsconfig.json')
192
- const tscArgs = fs.existsSync(appTsConfig)
193
- ? ['--noEmit', '--project', appTsConfig, ...args]
194
- : [
195
- '--noEmit',
196
- '--target',
197
- 'ES2022',
198
- '--module',
199
- 'ES2022',
200
- '--lib',
201
- 'ES2022,DOM',
202
- '--moduleResolution',
203
- 'bundler',
204
- '--strict',
205
- '--esModuleInterop',
206
- '--skipLibCheck',
207
- '--forceConsistentCasingInFileNames',
208
- '--resolveJsonModule',
209
- '--allowSyntheticDefaultImports',
210
- '--types',
211
- 'bun-types',
212
- path.resolve(process.cwd(), 'src/**/*'),
213
- ...args,
214
- ]
191
+ const tscArgs = [
192
+ '--noEmit',
193
+ '--project',
194
+ path.resolve(process.cwd(), 'tsconfig.json'),
195
+ ...args,
196
+ ]
215
197
 
216
198
  execSync(`"${tscBin}" ${tscArgs.map((arg) => `"${arg}"`).join(' ')}`, {
217
199
  stdio: 'inherit',