Skip to content

Commit

Permalink
chore: moves monorepo to node module resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
ixahmedxi committed Jun 18, 2023
1 parent a950122 commit 86afc8f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/config/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
".": [
"dist/main.d.ts"
],
"./preview": [
"preview": [
"dist/preview.d.ts"
]
}
Expand Down
1 change: 1 addition & 0 deletions packages/config/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
".": "./dist/tailwind.config.js",
"./postcss.cjs": "./postcss.cjs"
},
"main": "./dist/tailwind.config.js",
"scripts": {
"build": "tsc",
"dev": "tsc -w",
Expand Down
6 changes: 1 addition & 5 deletions packages/config/tsconfig/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,18 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"preserveWatchOutput": true,

"checkJs": true,
"allowJs": true,

"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,

"lib": ["es2022"],
"module": "ESNext",
"target": "es2022",
"isolatedModules": true,
"resolveJsonModule": true,
"incremental": true,
"declaration": true,

"moduleResolution": "nodenext"
"moduleResolution": "node"
}
}
1 change: 0 additions & 1 deletion packages/config/vitest/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export const baseConfig = defineConfig({
});

export const reactConfig = mergeConfig(baseConfig, {
// @ts-expect-error react plugin is callable
plugins: [react()],
test: {
environment: 'happy-dom',
Expand Down
1 change: 1 addition & 0 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"import": "./dist/index.js"
}
},
"main": "./dist/index.js",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"build-storybook": "storybook build",
Expand Down

0 comments on commit 86afc8f

Please sign in to comment.