@tamagui/build 1.30.26 → 1.30.28
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/package.json +1 -1
- package/tamagui-build.js +1 -5
- package/.turbo/turbo-build.log +0 -0
package/package.json
CHANGED
package/tamagui-build.js
CHANGED
|
@@ -8,7 +8,6 @@ const fg = require('fast-glob')
|
|
|
8
8
|
const createExternalPlugin = require('./externalNodePlugin')
|
|
9
9
|
const debounce = require('lodash.debounce')
|
|
10
10
|
const { dirname } = require('path')
|
|
11
|
-
const { getTsconfig } = require('get-tsconfig')
|
|
12
11
|
|
|
13
12
|
const jsOnly = !!process.env.JS_ONLY
|
|
14
13
|
const skipJS = !!(process.env.SKIP_JS || false)
|
|
@@ -121,9 +120,6 @@ async function buildTsc() {
|
|
|
121
120
|
return
|
|
122
121
|
}
|
|
123
122
|
|
|
124
|
-
const config = getTsconfig()
|
|
125
|
-
const baseUrl = config.compilerOptions?.baseUrl || '.'
|
|
126
|
-
|
|
127
123
|
const targetDir = 'types'
|
|
128
124
|
try {
|
|
129
125
|
// typescripts build cache messes up when doing declarationOnly
|
|
@@ -131,7 +127,7 @@ async function buildTsc() {
|
|
|
131
127
|
await fs.ensureDir(targetDir)
|
|
132
128
|
|
|
133
129
|
const declarationToRootFlag = declarationToRoot ? ' --declarationDir ./' : ''
|
|
134
|
-
const cmd = `tsc --
|
|
130
|
+
const cmd = `tsc --outDir ${targetDir} --rootDir src ${declarationToRootFlag}--emitDeclarationOnly --declarationMap`
|
|
135
131
|
|
|
136
132
|
// console.log('\x1b[2m$', `npx ${cmd}`)
|
|
137
133
|
await exec('npx', cmd.split(' '))
|
package/.turbo/turbo-build.log
DELETED
|
File without changes
|