From 5856ba86a0aff9c7ba91d8d40a9807da9fcebcd9 Mon Sep 17 00:00:00 2001 From: dafuga Date: Fri, 8 Nov 2024 17:53:53 -0800 Subject: [PATCH] chore: removing eos mentions --- .github/workflows/build-lint-test.yml | 2 +- package.json | 6 +-- packages/snap/package.json | 2 +- packages/snap/snap.manifest.json | 4 +- yarn.lock | 72 +++++++++++++-------------- 5 files changed, 43 insertions(+), 43 deletions(-) diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 8730ae2..e5457ca 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -90,7 +90,7 @@ jobs: key: snap-${{ runner.os }}-${{ github.sha }} - run: yarn install --immutable - name: Run e2e tests - run: yarn workspace @greymass/eos-wallet run test + run: yarn workspace snap run test - name: Require clean working directory shell: bash run: | diff --git a/package.json b/package.json index cdf21c4..6810800 100644 --- a/package.json +++ b/package.json @@ -23,10 +23,10 @@ "lint:eslint": "eslint . --cache -c js,jsx,ts,tsx", "lint:fix": "yarn lint:misc --write", "lint:misc": "prettier '**/*.json' '**/*.md' '!**/CHANGELOG.md' '**/*.yml' --ignore-path .gitignore", - "publish:snap": "yarn workspace @greymass/eos-wallet npm publish --access public", - "publish:snap:next": "yarn workspace @greymass/eos-wallet npm publish --access public --tag next", + "publish:snap": "yarn workspace snap npm publish --access public", + "publish:snap:next": "yarn workspace snap npm publish --access public --tag next", "start": "yarn workspaces foreach --parallel --interlaced --verbose run start", - "test": "yarn workspace @greymass/eos-wallet run test --passWithNoTests" + "test": "yarn workspace snap run test --passWithNoTests" }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.0", diff --git a/packages/snap/package.json b/packages/snap/package.json index e74a87f..39896cb 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -1,5 +1,5 @@ { - "name": "@greymass/eos-wallet", + "name": "snap", "version": "1.0.1", "description": "MetaMask Snap allowing users to interact with Antelope networks", "repository": { diff --git a/packages/snap/snap.manifest.json b/packages/snap/snap.manifest.json index 7ac16fa..16d6cf9 100644 --- a/packages/snap/snap.manifest.json +++ b/packages/snap/snap.manifest.json @@ -7,12 +7,12 @@ "url": "https://github.com/@greymass/antelope-snap.git" }, "source": { - "shasum": "QZEb6DgW92HtGAuSJNpfWGNKBWGv/A3xlll2fiL4H5c=", + "shasum": "m24q8fHmbJ5EWc1RDiD77ZphcUuxAPJ2M7Fo2TEfkG8=", "location": { "npm": { "filePath": "dist/bundle.js", "iconPath": "src/assets/eos-logo.svg", - "packageName": "@greymass/eos-wallet", + "packageName": "snap", "registry": "https://registry.npmjs.org/" } } diff --git a/yarn.lock b/yarn.lock index de22cbd..11439e4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1741,42 +1741,6 @@ __metadata: languageName: node linkType: hard -"@greymass/eos-wallet@workspace:packages/snap": - version: 0.0.0-use.local - resolution: "@greymass/eos-wallet@workspace:packages/snap" - dependencies: - "@jest/globals": ^29.5.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 - "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/key-tree": ^9.1.1 - "@metamask/snaps-cli": ^6.1.0 - "@metamask/snaps-jest": ^7.0.0 - "@metamask/snaps-sdk": ^4.0.0 - "@typescript-eslint/eslint-plugin": ^5.42.1 - "@typescript-eslint/parser": ^5.42.1 - "@wharfkit/antelope": ^1.0.7 - "@wharfkit/common": ^1.2.2 - buffer: ^6.0.3 - eslint: ^8.45.0 - eslint-config-prettier: ^8.5.0 - eslint-plugin-import: ~2.26.0 - eslint-plugin-jest: ^27.1.5 - eslint-plugin-jsdoc: ^41.1.2 - eslint-plugin-n: ^15.7.0 - eslint-plugin-prettier: ^4.2.1 - eslint-plugin-promise: ^6.1.1 - jest: ^29.5.0 - prettier: ^2.7.1 - prettier-plugin-packagejson: ^2.2.11 - rimraf: ^3.0.2 - ts-jest: ^29.1.0 - typescript: ^4.7.4 - languageName: unknown - linkType: soft - "@greymass/return-path@npm:^0.0.1": version: 0.0.1 resolution: "@greymass/return-path@npm:0.0.1" @@ -11422,6 +11386,42 @@ __metadata: languageName: node linkType: hard +"snap@workspace:packages/snap": + version: 0.0.0-use.local + resolution: "snap@workspace:packages/snap" + dependencies: + "@jest/globals": ^29.5.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 + "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/key-tree": ^9.1.1 + "@metamask/snaps-cli": ^6.1.0 + "@metamask/snaps-jest": ^7.0.0 + "@metamask/snaps-sdk": ^4.0.0 + "@typescript-eslint/eslint-plugin": ^5.42.1 + "@typescript-eslint/parser": ^5.42.1 + "@wharfkit/antelope": ^1.0.7 + "@wharfkit/common": ^1.2.2 + buffer: ^6.0.3 + eslint: ^8.45.0 + eslint-config-prettier: ^8.5.0 + eslint-plugin-import: ~2.26.0 + eslint-plugin-jest: ^27.1.5 + eslint-plugin-jsdoc: ^41.1.2 + eslint-plugin-n: ^15.7.0 + eslint-plugin-prettier: ^4.2.1 + eslint-plugin-promise: ^6.1.1 + jest: ^29.5.0 + prettier: ^2.7.1 + prettier-plugin-packagejson: ^2.2.11 + rimraf: ^3.0.2 + ts-jest: ^29.1.0 + typescript: ^4.7.4 + languageName: unknown + linkType: soft + "socks-proxy-agent@npm:^8.0.3": version: 8.0.4 resolution: "socks-proxy-agent@npm:8.0.4"