generated from MetaMask/template-snap-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from xmtp/rygine/yarn-turbo
Convert to a yarn turborepo monorepo
- Loading branch information
Showing
14 changed files
with
28,430 additions
and
79 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
# Lines starting with '#' are comments. | ||
# Each line is a file pattern followed by one or more owners. | ||
|
||
* @MetaMask/snaps-devs | ||
* @xmtp/web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
compressionLevel: mixed | ||
|
||
enableGlobalCache: false | ||
|
||
enableTelemetry: false | ||
|
||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-4.1.0.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,17 +14,16 @@ | |
"license": "(MIT-0 OR Apache-2.0)", | ||
"author": "", | ||
"workspaces": [ | ||
"packages/site", | ||
"packages/snap" | ||
"packages/*" | ||
], | ||
"scripts": { | ||
"build": "npm run build --workspaces", | ||
"lint": "npm run lint:eslint && npm run lint:misc --check", | ||
"lint:eslint": "npm run lint:eslint --workspace=site && npm run lint:eslint --workspace=@xmtp/snap", | ||
"lint:fix": "npm run lint:eslint --fix && npm run lint:misc --write", | ||
"lint:misc": "prettier '**/*.md' '!**/CHANGELOG.md' '**/*.yml' --ignore-path .gitignore", | ||
"start": "concurrently \"npm start --workspace=site\" \"npm start --workspace=@xmtp/snap\"", | ||
"test": "npm test --workspace=@xmtp/snap" | ||
"build": "turbo run build --filter='./packages/snap'", | ||
"clean": "turbo run clean && rm -rf node_modules && yarn cache clean", | ||
"format:check": "turbo run format:check", | ||
"format": "turbo run format", | ||
"lint": "FORCE_COLOR=1 turbo run lint --filter='./packages/snap'", | ||
"dev": "turbo run dev", | ||
"test": "FORCE_COLOR=1 turbo run test" | ||
}, | ||
"devDependencies": { | ||
"@metamask/eslint-config": "^12.2.0", | ||
|
@@ -44,9 +43,11 @@ | |
"prettier": "^2.2.1", | ||
"prettier-plugin-packagejson": "^2.2.18", | ||
"semantic-release": "^21.0.7", | ||
"turbo": "^1.11.3", | ||
"typescript": "^5.1.0" | ||
}, | ||
"engines": { | ||
"node": ">=16.0.0" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!doctype html> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"$schema": "https://turbo.build/schema.json", | ||
"globalDependencies": ["**/.env.*local"], | ||
"pipeline": { | ||
"build": { | ||
"dependsOn": ["^build"], | ||
"outputs": ["dist/**"] | ||
}, | ||
"clean": { | ||
"outputs": [] | ||
}, | ||
"format": { | ||
"outputs": [] | ||
}, | ||
"format:check": { | ||
"outputs": [] | ||
}, | ||
"lint": { | ||
"dependsOn": ["^build"], | ||
"outputs": [] | ||
}, | ||
"dev": { | ||
"dependsOn": ["^build"], | ||
"persistent": true | ||
}, | ||
"test": { | ||
"outputs": [] | ||
} | ||
} | ||
} |
Oops, something went wrong.