@screenly/edge-apps 0.0.9 → 0.0.10

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 +1 -1
  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.10",
4
4
  "description": "A TypeScript library for interfacing with Screenly Edge Apps API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
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',