chore(yarn): add plugins

This commit is contained in:
moklick
2022-08-16 14:21:05 +02:00
parent 820cb1c880
commit 5cde8d4f16
4 changed files with 39 additions and 4 deletions

11
.gitignore vendored
View File

@@ -9,5 +9,12 @@ dist
stats.html
.eslintcache
.idea
.yarn
.log
.log
.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*

File diff suppressed because one or more lines are too long

View File

@@ -2,4 +2,4 @@ nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
spec: "@yarnpkg/plugin-workspace-tools"

View File

@@ -10,7 +10,7 @@
],
"private": true,
"scripts": {
"postinstall": "preconstruct dev && yarn run packages",
"postinstall": "preconstruct dev",
"dev": "preconstruct watch",
"dev:example": "cd examples/nextjs && yarn dev",
"build": "preconstruct build && yarn run packages",