Skip to content

Commit

Permalink
Merge pull request #7 from MetaMask/feat/remove-testing-site
Browse files Browse the repository at this point in the history
feat: remove testing site
  • Loading branch information
owencraston authored Mar 29, 2024
2 parents d571ea3 + b007b99 commit 33f0741
Show file tree
Hide file tree
Showing 92 changed files with 5,674 additions and 20,753 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = {
ignorePatterns: [
'!.eslintrc.js',
'!.prettierrc.js',
'coverage/',
'dist/',
'docs/',
'.yarn/',
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn --immutable --immutable-cache
- run: yarn build
- run: yarn test
- name: Require clean working directory
shell: bash
Expand All @@ -97,3 +98,4 @@ jobs:
echo "Working tree dirty at end of job"
exit 1
fi
47 changes: 0 additions & 47 deletions .github/workflows/publish-dapp.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/publish-main-dapp.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/publish-rc-dapp.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,25 +97,3 @@ jobs:
- id: get-release-version
shell: bash
run: ./scripts/get.sh ".version" "RELEASE_VERSION"

publish-release-to-gh-pages:
needs: get-release-version
name: Publish dapp to `${{ needs.get-release-version.outputs.RELEASE_VERSION }}` directory of `gh-pages` branch
permissions:
contents: write
uses: ./.github/workflows/publish-dapp.yml
with:
destination_dir: ${{ needs.get-release-version.outputs.RELEASE_VERSION }}
secrets:
PUBLISH_DOCS_TOKEN: ${{ secrets.PUBLISH_DOCS_TOKEN }}

publish-release-to-latest-gh-pages:
needs: publish-npm
name: Publish dapp to `latest` directory of `gh-pages` branch
permissions:
contents: write
uses: ./.github/workflows/publish-dapp.yml
with:
destination_dir: latest
secrets:
PUBLISH_DOCS_TOKEN: ${{ secrets.PUBLISH_DOCS_TOKEN }}
9 changes: 0 additions & 9 deletions .yarn/plugins/@yarnpkg/plugin-allow-scripts.cjs

This file was deleted.

786 changes: 0 additions & 786 deletions .yarn/releases/yarn-3.2.1.cjs

This file was deleted.

874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.3.cjs

Large diffs are not rendered by default.

12 changes: 1 addition & 11 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
enableScripts: false

enableTelemetry: 0

logFilters:
- code: YN0004
level: discard

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
- path: .yarn/plugins/@yarnpkg/plugin-allow-scripts.cjs
spec: 'https://raw.githubusercontent.com/LavaMoat/LavaMoat/main/packages/yarn-plugin-allow-scripts/bundles/@yarnpkg/plugin-allow-scripts.js'
- path: .yarn/plugins/@yarnpkg/plugin-constraints.cjs
spec: '@yarnpkg/plugin-constraints'

yarnPath: .yarn/releases/yarn-3.2.1.cjs
yarnPath: .yarn/releases/yarn-3.6.3.cjs
13 changes: 2 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "snap-watch-only",
"name": "@metamask/snap-watch-only",
"version": "1.0.0",
"private": true,
"description": "Monitor public addresses or ENS domains directly in MetaMask with this Watch-Only Snap.",
Expand Down Expand Up @@ -27,26 +27,17 @@
"scripts": {
"build": "yarn workspaces foreach --parallel --verbose --topological run build",
"build:snap": "yarn workspace @metamask/snap-watch-only-snap build",
"build:docs": "typedoc",
"lint": "yarn workspaces foreach --parallel --verbose run lint",
"lint:deps": "yarn workspaces foreach --parallel --verbose run depcheck",
"lint:eslint": "yarn workspaces foreach --parallel --verbose run lint:eslint",
"lint:fix": "yarn workspaces foreach --parallel --verbose run lint:fix",
"lint:misc": "yarn workspaces foreach --parallel --verbose run lint:misc",
"lint:types": "yarn workspaces foreach --parallel --verbose run lint:types",
"lint:changelog": "yarn workspaces foreach --parallel --verbose run lint:changelog",
"lint:constraints": "yarn constraints",
"lint:dependencies": "depcheck && yarn dedupe",
"start": "yarn workspaces foreach --parallel --verbose --interlaced run start",
"test": "yarn workspaces foreach --parallel --verbose run test",
"install-chrome": "./scripts/install-chrome.sh"
"test": "yarn workspaces foreach --parallel --verbose run test"
},
"devDependencies": {
"@babel/preset-typescript": "^7.23.3",
"@jest/globals": "^29.7.0",
"@lavamoat/allow-scripts": "^3.0.0",
"@lavamoat/preinstall-always-fail": "^2.0.0",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/eslint-config": "^12.2.0",
"@metamask/eslint-config-jest": "^12.1.0",
"@metamask/eslint-config-nodejs": "^12.1.0",
Expand Down
9 changes: 0 additions & 9 deletions packages/site/.depcheckrc.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/site/.env.production

This file was deleted.

5 changes: 0 additions & 5 deletions packages/site/.eslintrc.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/site/.prettierignore

This file was deleted.

43 changes: 0 additions & 43 deletions packages/site/README.md

This file was deleted.

Binary file not shown.
Binary file removed packages/site/fonts/Euclid Circular B Bold.ttf
Binary file not shown.
Binary file removed packages/site/fonts/Euclid Circular B Italic.ttf
Binary file not shown.
Binary file not shown.
Binary file removed packages/site/fonts/Euclid Circular B Light.ttf
Binary file not shown.
Binary file not shown.
Binary file removed packages/site/fonts/Euclid Circular B Medium.ttf
Binary file not shown.
Binary file removed packages/site/fonts/Euclid Circular B Regular.ttf
Binary file not shown.
Binary file not shown.
Binary file removed packages/site/fonts/Euclid Circular B SemiBold.ttf
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-Bold.woff
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-Bold.woff2
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-BoldItalic.woff
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-BoldItalic.woff2
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-Italic.woff
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-Italic.woff2
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-Light.woff
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-Light.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-Medium.woff
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-Medium.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-Regular.woff
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-Regular.woff2
Binary file not shown.
Binary file removed packages/site/fonts/EuclidCircularB-SemiBold.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
17 changes: 0 additions & 17 deletions packages/site/gatsby-browser.tsx

This file was deleted.

95 changes: 0 additions & 95 deletions packages/site/gatsby-config.ts

This file was deleted.

Loading

0 comments on commit 33f0741

Please sign in to comment.