Skip to content

Commit

Permalink
chore: tweak scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
2nthony committed Sep 13, 2021
1 parent 1af97d0 commit 710fa02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@
"build": "esno scripts/build.ts",
"build:redirects": "esno scripts/redirects.ts",
"build:rollup": "cross-env NODE_OPTIONS=\"--max-old-space-size=6144\" rollup -c",
"build:types": "tsc --emitDeclarationOnly && npm run types:fix",
"build:types": "tsc --emitDeclarationOnly",
"clean": "rimraf dist types packages/*/dist",
"docs": "vitepress dev packages",
"docs:serve": "vitepress serve packages",
"docs:build": "npm run update:full && vitepress build packages && npm run build:redirects && esno scripts/post-docs.ts",
"publish:ci": "esno scripts/publish.ts",
"release": "esno scripts/release.ts && git push --follow-tags",
"types:fix": "esno scripts/fix-types.ts",
"update": "esno scripts/update.ts",
"update:full": "esno scripts/update.ts && npm run build:types && npm run update:recent",
"update:recent": "esno scripts/recently-updated.ts"
Expand Down
4 changes: 2 additions & 2 deletions scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ async function build() {
consola.info('Rollup')
exec('yarn run build:rollup', { stdio: 'inherit' })

consola.info('Fix types')
exec('yarn run types:fix', { stdio: 'inherit' })
consola.info('Build Types')
exec('yarn run build:types', { stdio: 'inherit' })

await buildMetaFiles()
}
Expand Down

0 comments on commit 710fa02

Please sign in to comment.