Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making the snap publishable #10

Merged
merged 6 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
key: snap-${{ runner.os }}-${{ github.sha }}
- run: yarn install --immutable
- name: Run e2e tests
run: yarn workspace snap run test
run: yarn workspace @greymass/eos-wallet run test
- name: Require clean working directory
shell: bash
run: |
Expand Down
2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ logFilters:

nodeLinker: node-modules

npmRegistryServer: 'https://registry.npmjs.org'

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@greymass/antelope-snap",
"name": "root",
"version": "1.0.0",
"private": true,
"description": "Template for deploying Antelope-based snaps. See branches for specific networks.",
Expand All @@ -23,8 +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",
"start": "yarn workspaces foreach --parallel --interlaced --verbose run start",
"test": "yarn workspace snap run test --passWithNoTests"
"test": "yarn workspace @greymass/eos-wallet run test --passWithNoTests"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/snap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "snap",
"version": "1.0.0",
"name": "@greymass/eos-wallet",
"version": "1.0.1",
"description": "MetaMask Snap allowing users to interact with Antelope networks",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"version": "1.0.0",
"version": "1.0.1",
"description": "Use MetaMask with the BLOCKCHAIN Network",
"proposedName": "BLOCKCHAIN Wallet",
"repository": {
"type": "git",
"url": "https://github.com/@greymass/antelope-snap.git"
},
"source": {
"shasum": "j6wHsDvhLhjGelQftpzx8OIESP3/9C0xeRDoLdSJ+/Q=",
"shasum": "QZEb6DgW92HtGAuSJNpfWGNKBWGv/A3xlll2fiL4H5c=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
"iconPath": "src/assets/eos-logo.svg",
"packageName": "snap",
"packageName": "@greymass/eos-wallet",
"registry": "https://registry.npmjs.org/"
}
}
Expand Down
114 changes: 57 additions & 57 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1729,47 +1729,54 @@ __metadata:
languageName: node
linkType: hard

"@greymass/antelope-snap@workspace:.":
"@greymass/create-account@npm:^1.0.2":
version: 1.0.2
resolution: "@greymass/create-account@npm:1.0.2"
dependencies:
"@greymass/return-path": ^0.0.1
"@wharfkit/antelope": ^0.7.3
"@wharfkit/signing-request": ^3.0.0
tslib: ^2.1.0
checksum: aad3d0feb158f77bc386dab689c167dfd3ae73259734a6affd8b826aab2c26680f6067c89bee3d3f5ea763ed48998980b41d49ddf8f1e6cf92f146c92df5e32f
languageName: node
linkType: hard

"@greymass/eos-wallet@workspace:packages/snap":
version: 0.0.0-use.local
resolution: "@greymass/antelope-snap@workspace:."
resolution: "@greymass/eos-wallet@workspace:packages/snap"
dependencies:
"@lavamoat/allow-scripts": ^3.0.0
"@lavamoat/preinstall-always-fail": ^2.0.0
"@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
eslint: ^9.0.0
"@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.18
prettier-plugin-svelte: ^3.2.4
sharp: ^0.32.6
prettier-plugin-packagejson: ^2.2.11
rimraf: ^3.0.2
ts-jest: ^29.1.0
typescript: ^4.7.4
typescript-eslint: ^8.0.0-alpha.20
languageName: unknown
linkType: soft

"@greymass/create-account@npm:^1.0.2":
version: 1.0.2
resolution: "@greymass/create-account@npm:1.0.2"
dependencies:
"@greymass/return-path": ^0.0.1
"@wharfkit/antelope": ^0.7.3
"@wharfkit/signing-request": ^3.0.0
tslib: ^2.1.0
checksum: aad3d0feb158f77bc386dab689c167dfd3ae73259734a6affd8b826aab2c26680f6067c89bee3d3f5ea763ed48998980b41d49ddf8f1e6cf92f146c92df5e32f
languageName: node
linkType: hard

"@greymass/return-path@npm:^0.0.1":
version: 0.0.1
resolution: "@greymass/return-path@npm:0.0.1"
Expand Down Expand Up @@ -10965,6 +10972,35 @@ __metadata:
languageName: node
linkType: hard

"root@workspace:.":
version: 0.0.0-use.local
resolution: "root@workspace:."
dependencies:
"@lavamoat/allow-scripts": ^3.0.0
"@lavamoat/preinstall-always-fail": ^2.0.0
"@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
"@typescript-eslint/eslint-plugin": ^5.42.1
"@typescript-eslint/parser": ^5.42.1
eslint: ^9.0.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
prettier: ^2.7.1
prettier-plugin-packagejson: ^2.2.18
prettier-plugin-svelte: ^3.2.4
sharp: ^0.32.6
typescript: ^4.7.4
typescript-eslint: ^8.0.0-alpha.20
languageName: unknown
linkType: soft

"run-parallel@npm:^1.1.9":
version: 1.2.0
resolution: "run-parallel@npm:1.2.0"
Expand Down Expand Up @@ -11386,42 +11422,6 @@ __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"
Expand Down
Loading