Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3315 commits
Select commit Hold shift + click to select a range
7864147
delete mocks
Apr 21, 2020
56871eb
fix merge conflict
Apr 21, 2020
3937bdc
Add Types
Apr 21, 2020
bce8c0f
Merge pull request #373 from Lezek123/set-storage-role-params
Apr 21, 2020
886c3ce
Mint capacity form - split into Council and Content Working Group
Apr 20, 2020
e4de158
Runtime upgrade form
Apr 21, 2020
a27687e
Merge pull request #378 from Lezek123/content-working-group-mint
Apr 21, 2020
b4def67
Merge branch 'joystream-constantinople' into runtime-upgrade
Lezek123 Apr 21, 2020
5b94f1c
Merge pull request #379 from Lezek123/runtime-upgrade
Apr 21, 2020
a7a3ae7
Change return type of hasVoted
Apr 21, 2020
b60885f
Add Basic Index To Proposals
Apr 21, 2020
c2e3843
Add Proposal Tab in App
Apr 21, 2020
f168cc9
SetMaxValidatorCountForm
Apr 20, 2020
157e888
TS props types fix
Apr 20, 2020
c4b49aa
Merge pull request #377 from Lezek123/set-max-validator-count
Apr 21, 2020
fb70068
Refactorig
Apr 21, 2020
e072b68
Merge pull request #382 from Lezek123/proposal-forms
Apr 22, 2020
0fa1003
Merge branch 'joystream-constantinople' into add-missing-types
mnaamani Apr 22, 2020
d89f6fd
Merge pull request #362 from mnaamani/add-missing-types
Apr 22, 2020
f45eb26
Solved conflict
Apr 22, 2020
4f90fbe
Add Transport
Apr 22, 2020
dd9ab9a
Choose proposal type view
Apr 22, 2020
78e9afe
More mock data
Apr 22, 2020
2e26f25
Add Methods to get ProposalTypes Details
Apr 22, 2020
f2d5415
Types in most components have been adjusted. Some bugs corrected and
Apr 22, 2020
ba07505
Bugfix
Apr 23, 2020
6f8eb8b
Merge with joystream-constantinoples
Apr 23, 2020
7df78ed
Merge branch 'francesco-transport-runtime' into francesco-add-context
Apr 23, 2020
94ea07d
Merge pull request #383 from Lezek123/choose-proposal-type
Apr 23, 2020
6d6c8d1
Fix Votes.tsx bug
Apr 23, 2020
bab3b94
Merge branch 'francesco-proposal-index' into francesco-add-context
Apr 23, 2020
d8de6c4
Rename proposalEngine to proposalsEngine
Apr 23, 2020
0630297
Correct typo in transport
Apr 23, 2020
82aee92
Add Fetch Logic in ProposalPreviewList
Apr 23, 2020
20f63d8
Add Loading, Error and ProposalFromId Components
Apr 23, 2020
075a184
Refactor excludeKeys to includeKeys
Apr 23, 2020
7bd5ada
Fix Typo in index.tsx
Apr 23, 2020
cba7f9c
Fix inconsistencies with joystream-constantinoples
Apr 23, 2020
9d28a82
Bring branch up to date with francesco-transport
Apr 23, 2020
b47c62b
Bring branch up to date with remote
Apr 23, 2020
5c11b9c
Will amend
Apr 23, 2020
7b92c75
Code Review Corrections
Apr 23, 2020
585d431
Remove duplicate Route
Apr 23, 2020
cd1d956
Merge pull request #380 from Gamaranto/francesco-proposal-index
Apr 24, 2020
5192161
Add Proposal Type
Apr 24, 2020
1071f1e
Merge branch 'joystream-constantinople' of github.com:Joystream/apps …
Apr 24, 2020
c78852e
Add ProposalOf Type
Apr 24, 2020
9bacec9
Bring branch up to date with remote
Apr 24, 2020
369d5ce
Proposal forms: Extrinsics
Apr 24, 2020
cc9a0e0
Add CalculateStake Util
Apr 27, 2020
058ea98
This commit changes the proposalTypesVotingPeriod and
Apr 27, 2020
f46e064
CleanUp
Apr 27, 2020
5f6384f
Add Proposal Details Type
Apr 27, 2020
8b4ab3b
Route names fix
Apr 27, 2020
c270f8b
Fix Proposal Type
Apr 27, 2020
e6272a3
Add Missing Types
Apr 27, 2020
98333a4
Move includeKeys to utils
Apr 27, 2020
6b01a4a
Add CleanProposalType
Apr 27, 2020
f4d64c0
Add ParsedProposal Type
Apr 27, 2020
d857592
Refactor ProposalPreview List and ProposalFromId
Apr 27, 2020
f42be4b
Merge pull request #386 from Lezek123/forms-extrinsics
Apr 28, 2020
e98c0bd
Bring up to date with base branch
Apr 28, 2020
36f673a
Add VoteByProposalAndMember and additional Types and Methods
Apr 28, 2020
1e09873
Add Votes Method
Apr 28, 2020
f7d93df
Bugfix
Apr 28, 2020
72830e4
Improve formatting of votes method
Apr 28, 2020
c29d55b
Add method to fetch a proposal Type Metadata.
Apr 28, 2020
a0e1dab
Better define ProposalType
Apr 28, 2020
c84a137
Fix Error in usePromise
Apr 29, 2020
2cb366e
ProposalDetails, ProposalList etc. - transport integration
Apr 29, 2020
2df5c93
Add Slugify Method
Apr 29, 2020
a6a2968
Refactor some logic to "getExtendedStatus" & voting section display c…
Apr 29, 2020
02724fc
ChooseProposalType now shows up
Apr 29, 2020
fec80b3
This commit refactors some files to fix build errors and improves
Apr 29, 2020
4c4fbad
Code Review Changes
Apr 29, 2020
8cf2063
Merge branch 'francesco-add-context' into transport-integration
Apr 29, 2020
8816615
Merge branch 'francesco-add-context' into transport-integration
Apr 29, 2020
394e258
Remove DateFromBlock and Add Proper Block Date Derivation
Apr 29, 2020
51d1287
Fix routes
Apr 29, 2020
0503818
Add Exact to Text Route
Apr 29, 2020
2716a3c
Add Route Fix
Apr 29, 2020
14772b8
Merge branch 'francesco-add-context' into transport-integration
Apr 29, 2020
4e9be07
Votes - basic integration
Apr 29, 2020
fecc107
Merge pull request #385 from Gamaranto/francesco-add-context
Apr 29, 2020
380a33d
Merge branch 'joystream-constantinople' into transport-integration
Apr 29, 2020
ce9a9a9
Remove obsolete comment
Apr 29, 2020
220c6bf
Fix build errors
Apr 29, 2020
8082eca
Minor formatting fixes
Apr 30, 2020
6725e71
Merge pull request #387 from Lezek123/transport-integration
Apr 30, 2020
a9851ec
Add Validation Schema
Apr 30, 2020
2f676ba
Real data for forms
Apr 30, 2020
3d75fe7
Build fix
Apr 30, 2020
1905b9c
Vote kinds enum order fix
Apr 30, 2020
b6a2bc7
Untangle Validation Logic From Forms
Apr 30, 2020
14b9d3b
Merge pull request #389 from Lezek123/vote-kinds-enum-fix
Apr 30, 2020
95b90fd
Merge pull request #388 from Lezek123/forms-data
Apr 30, 2020
9390f29
Bring up to date with base branch
Apr 30, 2020
38e3342
Improve Typing
Apr 30, 2020
e3b888f
Proposal statuses fix
Apr 30, 2020
a9c4983
Make Validation Values Dynamic
Apr 30, 2020
31b4afb
Add Error Messages
Apr 30, 2020
2958ddb
Add Validation to Mint Capacity Form.
May 1, 2020
996549c
Align pic and handle in Details
May 1, 2020
a794792
Align pic and handle in Votes
May 1, 2020
af804e4
Fix text-align in Proposal Params
May 1, 2020
bd91e3b
Re-add Icon to Submit Button
May 1, 2020
56719eb
Fix Backer Typo
May 1, 2020
18c11a5
Fix Typo
May 1, 2020
195ed25
Change File Validation to Mixed
May 1, 2020
eae3b6a
Refactor imports and fix build errors
May 1, 2020
4ea0c1d
Merge pull request #391 from Lezek123/proposal-statuses
May 1, 2020
a74a04e
Improved ProposalDetails data flow
May 1, 2020
40e89a5
Merge pull request #394 from Lezek123/proposal-details-data-flow
May 1, 2020
5c38f3b
Proposal withdrawal
May 1, 2020
b410b3d
ActiveStake.stakeId type fix
May 1, 2020
8757fbc
Merge pull request #396 from Lezek123/active-stake-type-fix
May 4, 2020
79953a3
Merge branch 'joystream-constantinople' into francesco-better-validation
May 4, 2020
5590712
Proposal cancellation - message
May 4, 2020
0d5993a
Add Real Values for Validation and Unit To Error Messages.
May 4, 2020
9993fbc
Fix Build Error
May 4, 2020
038cb34
Fix units and some values
May 4, 2020
99d3e1e
Fix units and some values
May 4, 2020
c6be5c2
ReAdd Filtering Options
May 4, 2020
2f475de
Update Values and Bugfix
May 4, 2020
14a4f87
Fix Build Errors
May 4, 2020
79c8ffb
Add Integer Check to All Fields
May 4, 2020
695029e
Bugfix
May 4, 2020
7041099
Merge pull request #393 from Gamaranto/francesco-council-tab
May 4, 2020
33ac103
Merge pull request #390 from Gamaranto/francesco-better-validation
May 4, 2020
3c5f875
Refactor filterProposals and Menu
May 4, 2020
217ad42
Merge pull request #395 from Lezek123/proposal-withdrawal
May 4, 2020
28e167d
Rename Withdrawn to Canceled
May 4, 2020
620639b
Merge pull request #398 from Gamaranto/francesco-filter-proposals
May 4, 2020
3428df6
Add cancellation fee fetched from runtime
May 4, 2020
9eb9e19
Minor build fix
May 5, 2020
b84f45c
Extract ProfilePreview Component
May 5, 2020
cc1b7ab
Merge branch 'joystream-constantinople' into francesco-fix-styles
May 5, 2020
bd875fa
Election parameters defaults + hide irrelevant
May 5, 2020
69613ec
WG mint cap default
May 5, 2020
061f551
Set lead default & info
May 5, 2020
679d6de
Council params form - placeholders, re-enabling limit and size fields
May 5, 2020
dfdbb6a
Merge pull request #392 from Gamaranto/francesco-fix-styles
May 5, 2020
cd81937
Merge pull request #399 from Lezek123/fetch-cancellation-fee
May 5, 2020
4ffa4d3
SetLead proposal details profile preview
May 5, 2020
44500f6
Merge branch 'joystream-constantinople' into forms-defaults
Lezek123 May 5, 2020
86c9d29
Minor conflit resolve fix
May 5, 2020
5df07de
Merge pull request #400 from Lezek123/forms-defaults
May 5, 2020
cb28441
Merge pull request #401 from Lezek123/set-lead-profile-preview
May 5, 2020
2c677c7
Add MaxValidator Count Placeholders
May 5, 2020
c0e9f16
Add SetStorageRoleParams Placeholders and fix inconsistency in Valida…
May 5, 2020
82177cc
Fix Build Errors
May 5, 2020
0ddce4d
Hide not enforced parameters
May 6, 2020
af2594a
Revert Min Actors Max to 1
May 6, 2020
534cbf5
Update the stakes
May 6, 2020
2ca5fc7
Merge pull request #402 from Gamaranto/francesco-hide-input-fields
May 6, 2020
db73174
Merge pull request #404 from Lezek123/hide-not-enforced
May 6, 2020
87a2598
Merge pull request #407 from Lezek123/update-stakes
May 6, 2020
713a837
Fix block hash query
May 6, 2020
271c221
Merge pull request #408 from Lezek123/fix-block-hash-query
May 7, 2020
0f29b3b
Memberships - pagination
May 7, 2020
91a7c1c
Add voting period & fix build errors
May 7, 2020
6c79895
Set lead - allow 'NONE'
May 7, 2020
acfb7fb
Optimalizations
May 7, 2020
cb4fdcc
Word wrapping for rationale and parameters
May 7, 2020
73bd831
Grace period: Expires in => Executres is
May 7, 2020
6374af2
Merge pull request #421 from Lezek123/executes-in
May 8, 2020
9e11668
Merge pull request #414 from Lezek123/voting-period-on-type-preview
May 8, 2020
6a2753f
Merge pull request #418 from Lezek123/description-wrapping
May 8, 2020
7764ce1
Merge pull request #415 from Lezek123/set-empty-lead
May 8, 2020
65f21ff
Minor UX/UI improvements
May 8, 2020
1f6fcf6
Merge 'joystream-constantinople' and fix conflicts
May 8, 2020
218506b
Build fix + minor css fix
May 8, 2020
44b0706
Details.tsx - block heights and execution error
May 8, 2020
d804d71
Add "Expired" proposals tab
May 8, 2020
d4bd541
Quorum and threshold on ProposalType preview
May 8, 2020
9f2269d
Build errors etc
May 8, 2020
f4f7054
Remove hardcoded "tJOY" references
May 8, 2020
00c0f53
lastId formula fix
May 9, 2020
7fce6e5
Proposal id in overview
May 11, 2020
23b439a
Member loading bug fix
May 11, 2020
65dc38f
Election params validation fix
May 12, 2020
c2d73e8
Merge pull request #426 from Lezek123/block-heights
May 13, 2020
86d4ade
Merge pull request #427 from Lezek123/expired-tab
May 13, 2020
e1d0063
Merge pull request #431 from Lezek123/tjoy-renaming
May 13, 2020
3731ac3
Merge pull request #423 from Lezek123/ui-ux-glitches
May 13, 2020
92b45b6
Merge pull request #436 from Lezek123/election-params-validation-fix
May 13, 2020
5bc4c37
Merge pull request #433 from Lezek123/proposal-id-overview
May 13, 2020
7e8d62e
Merge branch 'joystream-constantinople' into quorum-thrershold
Lezek123 May 13, 2020
0b9582f
Council - identify by membership (step 1)
May 13, 2020
80367c7
Member profile - optional id
May 13, 2020
63c34a7
Minor loader fix
May 13, 2020
d3987c6
Members dropdown
May 13, 2020
706f7ea
Merge pull request #429 from Lezek123/quorum-thrershold
May 13, 2020
3a20c2a
Remove unnecessary tabs
deamme May 14, 2020
22efa19
Added ability to set custom endpoint via console
deamme May 14, 2020
df0a458
Remove needless tabs and text
deamme May 14, 2020
e32eedf
Merge pull request #442 from deamme/issue-439
bedeho May 14, 2020
8b64347
revert forum type ThreadId to u64
mnaamani May 14, 2020
8a98eb7
joy-types: bump to version 0.8.0 for Constantinople release
mnaamani May 14, 2020
f040810
joy-types: remove temp file
mnaamani May 14, 2020
d5c6246
Fixes
May 14, 2020
373bc79
u64 ThreadId
mnaamani May 14, 2020
920de55
Merge 'joystream' and fix conflicts
May 14, 2020
c179c70
Final minor touch
May 14, 2020
2b8a687
Merge pull request #411 from Lezek123/memberships-pagination
May 14, 2020
7f4eb18
Stop hiding information from people without a key
deamme May 14, 2020
7ddc0cb
joy-types: add missing type ThreadCounter from proposal discussion mo…
mnaamani May 15, 2020
f99742a
Merge branch 'joystream-constantinople' into joy-types-bump-version
mnaamani May 15, 2020
f1a8f3f
joy-types: v0.9.0
mnaamani May 15, 2020
92d37e2
Merge pull request #443 from mnaamani/fix/thread-id
mnaamani May 15, 2020
f675d30
Merge remote-tracking branch 'joystream/joystream-constantinople' int…
mnaamani May 15, 2020
407c814
Merge pull request #445 from Lezek123/joy-media-fixes-and-status-mess…
mnaamani May 15, 2020
fc7323f
Merge branch 'joystream' into alex-rename-link-to-links-updated
mnaamani May 15, 2020
f7761b6
Fixed issues based on review
deamme May 15, 2020
bea9582
Fixed issues based on second review
deamme May 15, 2020
7a51f2b
Fixed issues based on third review
deamme May 18, 2020
af6f002
Merge pull request #446 from deamme/issue-440
Lezek123 May 18, 2020
0b92c3a
joy-types: add missing lodash dependency and bump version to v0.9.1
mnaamani May 18, 2020
c6d2e26
Merge pull request #444 from mnaamani/joy-types-bump-version
May 18, 2020
6adba0f
Merge 'joystream' and fix the conflicts
May 18, 2020
c6c2a40
Add transfer tab back
deamme May 18, 2020
ba5cc9e
Rename to withOnlyAccounts for consitency
May 18, 2020
d88b12e
Merge pull request #454 from deamme/add-transfer-back
Lezek123 May 18, 2020
4e6cf27
Change links and remove faucet references
May 19, 2020
d0ffeea
Merge 'joystream-constantinople' and fix conflicts
May 19, 2020
d46ba7d
Rename default WS endpoint
May 19, 2020
44cef01
Change "Tokenomics" link
May 19, 2020
c7cd4b1
Merge pull request #455 from Lezek123/joystream-conflicts-fix
Lezek123 May 19, 2020
013db7e
Reintroduce extrinsics, settings, storage and sudo
May 19, 2020
c3ff996
Merge pull request #458 from Lezek123/reintroduce-api-tabs
mnaamani May 19, 2020
4f5232d
Merge branch 'joystream-constantinople' into references-to-older-chains
Lezek123 May 19, 2020
54f6207
Merge pull request #457 from Lezek123/references-to-older-chains
Lezek123 May 20, 2020
f4feb7b
Reintorduce explorer + back to light/full mode
May 20, 2020
0c96714
JavaScript, Toolbox
May 20, 2020
8155ac3
Remove outer links, ToS and PP from side menu
May 20, 2020
ddfd946
Membership hooks - add isSubscribed
May 20, 2020
b171fcc
Merge pull request #445 from Joystream/development
shamil-gadelshin May 20, 2020
08ca28d
Merge pull request #459 from Lezek123/reintroduce-tabs-continuation
mnaamani May 20, 2020
055fea4
Merge pull request #438 from Lezek123/council-members-identity
Lezek123 May 20, 2020
eb9d2aa
Merge pull request #453 from Joystream/joystream-constantinople
bwhm May 20, 2020
89363a9
Encoding fix + tmp rename "Links" to "Link" in UI
May 22, 2020
26d1b13
Force description too
May 22, 2020
a856949
Moving changes back to schema
May 22, 2020
9dd4478
Merge pull request #461 from Lezek123/media-schemas-and-links-fix
mnaamani May 22, 2020
ac5952e
Move to subfolder
May 25, 2020
aafa210
Merge remote-tracking branch 'pioneer-upstream/monorepo-migration' in…
May 25, 2020
643c08c
Pioneer workspaces config etc.
May 25, 2020
a5fedcb
Minor fixes / cleanup
May 27, 2020
ba5f54b
Pioneer webpack/tsconfig for "@joystream/types"
May 27, 2020
ad22271
Merge branch 'development' into pioneer-migration
mnaamani May 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ joystream_runtime.wasm

# Generated by yarn
yarn*
!yarn.lock

# JetBrains IDEs
.idea
Expand All @@ -24,4 +25,4 @@ yarn*
.vscode

# Compiled WASM code
*.wasm
*.wasm
2 changes: 2 additions & 0 deletions .yarnclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@types/react-native
@polkadot/ts/node_modules
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"bugs": "https://github.com/Joystream/substrate-runtime-joystream/issues",
"dependencies": {
"@joystream/types": "^0.6.0",
"@joystream/types": "^0.9.1",
"@oclif/command": "^1.5.19",
"@oclif/config": "^1.14.0",
"@oclif/plugin-help": "^2.2.3",
Expand Down
2 changes: 1 addition & 1 deletion cli/src/Api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import BN from 'bn.js';
import { registerJoystreamTypes } from '@joystream/types';
import { registerJoystreamTypes } from '@joystream/types/';
import { ApiPromise, WsProvider } from '@polkadot/api';
import { QueryableStorageMultiArg } from '@polkadot/api/types';
import { formatBalance } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion cli/src/Types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import BN from 'bn.js';
import { ElectionStage, Seat } from '@joystream/types';
import { ElectionStage, Seat } from '@joystream/types/';
import { Option } from '@polkadot/types';
import { BlockNumber, Balance } from '@polkadot/types/interfaces';
import { DerivedBalances } from '@polkadot/api-derive/types';
Expand Down
2 changes: 1 addition & 1 deletion cli/src/commands/council/info.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ElectionStage } from '@joystream/types';
import { ElectionStage } from '@joystream/types/';
import { formatNumber, formatBalance } from '@polkadot/util';
import { BlockNumber } from '@polkadot/types/interfaces';
import { CouncilInfoObj, NameValueObj } from '../../Types';
Expand Down
61 changes: 38 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,38 @@
{
"private": true,
"name": "joystream",
"license": "GPL-3.0-only",
"scripts": {
"test": "yarn && yarn workspaces run test",
"test-migration": "yarn && yarn workspaces run test-migration",
"cargo-checks": "devops/git-hooks/pre-commit && devops/git-hooks/pre-push",
"cargo-build": "scripts/cargo-build.sh"
},
"workspaces": [
"tests/network-tests"
],
"devDependencies": {
"husky": "^4.2.5"
},
"husky": {
"hooks": {
"pre-commit": "devops/git-hooks/pre-commit",
"pre-push": "devops/git-hooks/pre-push"
}
}
}
{
"private": true,
"name": "joystream",
"license": "GPL-3.0-only",
"scripts": {
"test": "yarn && yarn workspaces run test",
"test-migration": "yarn && yarn workspaces run test-migration",
"postinstall": "yarn workspace @joystream/types build",
"cargo-checks": "devops/git-hooks/pre-commit && devops/git-hooks/pre-push",
"cargo-build": "scripts/cargo-build.sh"
},
"workspaces": [
"tests/network-tests",
"cli",
"types",
"pioneer",
"pioneer/packages/*"
],
"resolutions": {
"@polkadot/api": "^0.96.1",
"@polkadot/api-contract": "^0.96.1",
"@polkadot/keyring": "^1.7.0-beta.5",
"@polkadot/types": "^0.96.1",
"@polkadot/util": "^1.7.0-beta.5",
"@polkadot/util-crypto": "^1.7.0-beta.5",
"babel-core": "^7.0.0-bridge.0",
"typescript": "^3.7.2"
},
"devDependencies": {
"husky": "^4.2.5"
},
"husky": {
"hooks": {
"pre-commit": "devops/git-hooks/pre-commit",
"pre-push": "devops/git-hooks/pre-push"
}
}
}
1 change: 1 addition & 0 deletions pioneer/.123trigger
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5
1 change: 1 addition & 0 deletions pioneer/.babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./babel.config.js');
3 changes: 3 additions & 0 deletions pioneer/.codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
exclude_patterns:
- "**/*.spec.js"
- "**/*.spec.ts"
1 change: 1 addition & 0 deletions pioneer/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
10 changes: 10 additions & 0 deletions pioneer/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true
[*]
indent_style=space
indent_size=2
tab_width=2
end_of_line=lf
charset=utf-8
trim_trailing_whitespace=true
max_line_length=120
insert_final_newline=true
4 changes: 4 additions & 0 deletions pioneer/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**/build/*
**/coverage/*
**/node_modules/*
i18next-scanner.config.js
16 changes: 16 additions & 0 deletions pioneer/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const base = require('@polkadot/dev-react/config/eslint');

// add override for any (a metric ton of them, initial conversion)
module.exports = {
...base,
parserOptions: {
...base.parserOptions,
project: [
'./tsconfig.json'
]
},
rules: {
...base.rules,
'@typescript-eslint/no-explicit-any': 'off'
}
};
71 changes: 71 additions & 0 deletions pioneer/.github/workflows/pr-any.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: PR
on: [pull_request]

jobs:
lint:
name: Linting
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: lint
run: |
yarn install --frozen-lockfile
yarn lint

test:
name: Testing
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: test
run: |
yarn install --frozen-lockfile
yarn test

build_code:
name: Build Code
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: build
run: |
yarn install --frozen-lockfile
yarn build:code

build_i18n:
name: Build i18n
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: build
run: |
yarn install --frozen-lockfile
yarn build:i18n
32 changes: 32 additions & 0 deletions pioneer/.github/workflows/push-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Master
on:
push:
branches:
- master

jobs:
build_code:
name: Build Code
if: "! contains(github.event.head_commit.message, '[CI Skip]')"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
with:
token: ${{ secrets.GH_PAT }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: build
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
GH_PAGES_SRC: packages/apps/build
GH_PAT: ${{ secrets.GH_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn install --frozen-lockfile
yarn polkadot-dev-ghact-build
yarn polkadot-dev-ghact-docs
25 changes: 25 additions & 0 deletions pioneer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
build/
coverage/
node_modules/
tmp/
.idea/
.vscode/
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
.npmrc
cc-test-reporter
package-lock.json
npm-debug.log*
yarn-debug.log*
yarn-error.log*
!patches/**
.idea/

# Built Joystream types:
packages/joy-types/lib/

# Storybook
storybook-static/
Loading