File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 20
20
" src" ,
21
21
" bin" ,
22
22
" vendors" ,
23
- " types/ index.d.ts"
23
+ " index.d.ts"
24
24
],
25
- "types" : " ./types/ index.d.ts" ,
25
+ "types" : " ./index.d.ts" ,
26
26
"dependencies" : {
27
27
"@angular/compiler" : " 12.2.16" ,
28
28
"@babel/code-frame" : " 7.16.7" ,
164
164
"fix" : " run-s fix:eslint fix:prettier" ,
165
165
"fix:eslint" : " yarn lint:eslint --fix" ,
166
166
"fix:prettier" : " yarn lint:prettier --write" ,
167
- "build" : " node ./scripts/build/build.mjs" ,
167
+ "build" : " node ./scripts/build/build.mjs && cp ./types/index.d.ts ./dist " ,
168
168
"build:website" : " node ./scripts/build-website.mjs" ,
169
169
"vendors:bundle" : " node ./scripts/vendors/bundle-vendors.mjs"
170
170
},
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ async function preparePackage() {
141
141
prepublishOnly :
142
142
"node -e \"assert.equal(require('.').version, require('..').version)\"" ,
143
143
} ;
144
- packageJson . files = [ "*.js" , "esm/*.mjs" ] ;
144
+ packageJson . files = [ "*.js" , "esm/*.mjs" , "index.d.ts" ] ;
145
145
await writeJson ( path . join ( DIST_DIR , "package.json" ) , packageJson ) ;
146
146
147
147
for ( const file of [ "README.md" , "LICENSE" ] ) {
You can’t perform that action at this time.
0 commit comments