create-packer 1.35.25 → 1.35.26
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
CHANGED
|
@@ -3,7 +3,7 @@ import { Engine, rollup, tsc } from '1k-tasks'
|
|
|
3
3
|
|
|
4
4
|
async function build(lib: string) {
|
|
5
5
|
const root = path.join(process.cwd(), 'packages', lib)
|
|
6
|
-
const ignore = ['**/*.{dts,test,types}.ts', '**/*.stories.*']
|
|
6
|
+
const ignore = ['**/*.{dts,test,types,type}.ts', '**/*.stories.*']
|
|
7
7
|
const workDir = 'src'
|
|
8
8
|
const dest = 'dist'
|
|
9
9
|
const task = new Engine()
|
|
@@ -15,7 +15,7 @@ async function build(lib: string) {
|
|
|
15
15
|
ignore
|
|
16
16
|
})
|
|
17
17
|
task.registry('tsc', tsc, { root })
|
|
18
|
-
task.run({ tip: `buliding ${lib}...` })
|
|
18
|
+
task.run({ sync: true, tip: `buliding ${lib}...` })
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
build('ts')
|