Skip to content

Commit

Permalink
chore: added more Yarn config files
Browse files Browse the repository at this point in the history
  • Loading branch information
Samantha-uk committed Dec 28, 2020
1 parent 1fdb08e commit 2f7f6b4
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .yarnbuildrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
folders:
# input defaults to the whole package directory
input: ./src
# output defaults to a folder called build. This can be set individually in package.json (see below)
output: dist
enableBetaFeatures:
# folderConfiguration defaults to true
# setting a default input/output folder as shown above
# and per package i/o folder in package.json as below
# "yarn.build": {
# "input": "src",
# "output": "dist"
# },
folderConfiguration: true
# To enable yarn build path/to/package
targetedBuilds: true
19 changes: 19 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-constraints.cjs
spec: "@yarnpkg/plugin-constraints"
- path: .yarn/plugins/@yarnpkg/plugin-exec.cjs
spec: "@yarnpkg/plugin-exec"
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-stage.cjs
spec: "@yarnpkg/plugin-stage"
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@ojkelly/plugin-build.cjs
spec: "https://yarn.build/latest"

yarnPath: .yarn/releases/yarn-sources.cjs

0 comments on commit 2f7f6b4

Please sign in to comment.