Skip to content

Commit

Permalink
exclude spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-1979 committed Jun 13, 2024
1 parent e8d0d8a commit 18842d0
Show file tree
Hide file tree
Showing 16 changed files with 54 additions and 19 deletions.
4 changes: 2 additions & 2 deletions packages/extension-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"@polkadot/extension-inject": "^0.47.5",
"@polkadot/keyring": "12.3.2",
"@polkadot/networks": "^12.6.2",
"@polkadot/phishing": "latest",
"@polkadot/phishing": "^0.22.8",
"@polkadot/rpc-provider": "^11.2.1",
"@polkadot/types": "latest",
"@polkadot/types": "^11.2.1",
"@polkadot/ui-keyring": "^3.6.6",
"@polkadot/ui-settings": "^3.6.6",
"@polkadot/util": "^12.6.2",
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-base/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/*.spec.ts"
],
"references": [
{ "path": "../extension-chains/tsconfig.build.json"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-chains/src/packageInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

// Do not edit, auto-generated by @polkadot/dev

export const packageInfo = { name: '@polkadot/extension-chains', path: 'auto', type: 'auto', version: '0.47.5' };
export const packageInfo = { name: '@polkadot/extension-chains', path: 'auto', type: 'auto', version: '0.47.5' };
5 changes: 3 additions & 2 deletions packages/extension-compat-metamask/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"author": "Jaco Greeff <[email protected]>",
"bugs": "https://github.com/polkagate/extension/issues",
"contributors": [],
"description": "Metamask compatibility layer",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkagate/extension/tree/master/packages/extension-compat-metamask#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/extension-compat-metamask",
"repository": {
"directory": "packages/extension-compat-metamask",
Expand Down
5 changes: 3 additions & 2 deletions packages/extension-dapp/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"author": "Jaco Greeff <[email protected]>",
"bugs": "https://github.com/polkagate/extension/issues",
"contributors": [],
"description": "Provides an interfaces around the injected globals for ease of access by dapp developers.",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkagate/extension/tree/master/packages/extension-dapp#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/extension-dapp",
"repository": {
"directory": "packages/extension-dapp",
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-dapp/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/*.spec.ts"
],
"references": [
{ "path": "../extension-inject/tsconfig.build.json"
}
Expand Down
5 changes: 3 additions & 2 deletions packages/extension-inject/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"author": "Jaco Greeff <[email protected]>",
"bugs": "https://github.com/polkagate/extension/issues",
"contributors": [],
"description": "A generic injector (usable to any extension), that populates the base exposed interfaces to be used by dapps.",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkagate/extension/tree/master/packages/extension-inject#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/extension-inject",
"repository": {
"directory": "packages/extension-inject",
Expand Down
5 changes: 3 additions & 2 deletions packages/extension-mocks/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"author": "Jaco Greeff <[email protected]>",
"bugs": "https://github.com/polkagate/extension/issues",
"contributors": [],
"description": "Definitions for all known chains as exposed by the extension.",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkagate/extension/tree/master/packages/extension-mocks#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/extension-mocks",
"repository": {
"directory": "packages/extension-mocks",
Expand Down
5 changes: 3 additions & 2 deletions packages/extension-polkagate/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"author": "Kami Ekbatanifard <[email protected]>",
"bugs": "https://github.com/polkagate/extension/issues",
"contributors": [],
"description": "A user-friendly wallet for seamless browser-based interaction with Polkadot/Substrate-based blockchains.",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkagate/extension/tree/master/packages/extension-polkagate#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/extension-polkagate",
"repository": {
"directory": "packages/extension-polkagate",
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-polkagate/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/*.spec.ts"
],
"references": [
{ "path": "../extension-base/tsconfig.build.json"
},
Expand Down
5 changes: 3 additions & 2 deletions packages/extension-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"author": "Jaco Greeff <[email protected]>",
"bugs": "https://github.com/polkagate/extension/issues",
"contributors": [],
"description": "A sample signer extension for the @polkadot/api",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkagate/extension/tree/master/packages/extension-ui#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/extension-ui",
"repository": {
"directory": "packages/extension-ui",
Expand Down
11 changes: 11 additions & 0 deletions packages/extension-ui/src/packageDetect.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright 2017-2024 @polkadot/extension-ui authors & contributors
// SPDX-License-Identifier: Apache-2.0

// Do not edit, auto-generated by @polkadot/dev
// (packageInfo imports will be kept as-is, user-editable)

import { detectPackage } from '@polkadot/util';

import { packageInfo } from './packageInfo.js';

detectPackage(packageInfo, null, []);
6 changes: 6 additions & 0 deletions packages/extension-ui/src/packageInfo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright 2017-2024 @polkadot/extension-ui authors & contributors
// SPDX-License-Identifier: Apache-2.0

// Do not edit, auto-generated by @polkadot/dev

export const packageInfo = { name: '@polkadot/extension-ui', path: 'auto', type: 'auto', version: '0.47.5' };
3 changes: 3 additions & 0 deletions packages/extension-ui/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/*.spec.ts"
],
"references": [
{ "path": "../extension-base/tsconfig.build.json"
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"@polkadot/extension-polkagate": ["extension-polkagate/src/index.ts"],
"@polkadot/extension-polkagate/*": ["extension-polkagate/src/*.ts"]
},
"skipLibCheck": true
"skipLibCheck": true,
}
}
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2063,9 +2063,9 @@ __metadata:
"@polkadot/extension-mocks": ^0.47.5
"@polkadot/keyring": 12.3.2
"@polkadot/networks": ^12.6.2
"@polkadot/phishing": latest
"@polkadot/phishing": ^0.22.8
"@polkadot/rpc-provider": ^11.2.1
"@polkadot/types": latest
"@polkadot/types": ^11.2.1
"@polkadot/ui-keyring": ^3.6.6
"@polkadot/ui-settings": ^3.6.6
"@polkadot/util": ^12.6.2
Expand Down Expand Up @@ -2337,7 +2337,7 @@ __metadata:
languageName: node
linkType: hard

"@polkadot/phishing@npm:latest":
"@polkadot/phishing@npm:^0.22.8":
version: 0.22.8
resolution: "@polkadot/phishing@npm:0.22.8"
dependencies:
Expand Down

0 comments on commit 18842d0

Please sign in to comment.