Skip to content

Commit

Permalink
chore: use type module
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Oct 5, 2023
1 parent 9ed2102 commit 7621d0c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"name": "@hashmd/monorepo",
"private": true,
"workspaces": [
"packages/*"
],
"type": "module",
"scripts": {
"build": "pnpm clean && tsc --build && echo TODO",
"clean": "rm -rf packages/*/tsconfig.tsbuildinfo && rm -rf packages/*/dist",
"dev": "pnpm --filter example-lit dev",
"format": "prettier --write '**/*.{ts,tsx,json,md}'",
"postinstall": "node scripts/postinstall.mjs && tsconfig-gen && pnpm format && sort-json packages/*/locales/*.json",
"postinstall": "node scripts/postinstall.js && tsconfig-gen && pnpm format && sort-json packages/*/locales/*.json",
"pub": "pnpm build && lerna publish",
"style": "prettier --check '**/*.{ts,tsx,json,md}'",
"test": "echo TODO"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/postinstall.mjs → scripts/postinstall.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @ts-check
import { packages, packagesDir, rootDir } from './utils.mjs'
import { packages, packagesDir, rootDir } from './utils.js'
import fs from 'fs-extra'
import _ from 'lodash-es'
import mustache from 'mustache'
Expand Down
File renamed without changes.

0 comments on commit 7621d0c

Please sign in to comment.