forked from matter-labs/zksync-web-era-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit. Most of the old unrelated files are deleted
- Loading branch information
0 parents
commit 4d5d708
Showing
63 changed files
with
22,727 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"version": "0.1", | ||
"language": "en", | ||
"words": [], | ||
"dictionaries": ["typescript", "zksync"], | ||
"dictionaryDefinitions": [ | ||
{ "name": "zksync", "path": "./cspell-zksync.txt"} | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
SENTRY_DSN=https://[email protected]/5635442 | ||
SITE_TITLE="zkSync — Rely on math, not validators" | ||
SITE_DESCRIPTION="zkSync is a ZK rollup solving Ethereum scalability with zero security compromises." | ||
SITE_KEYWORDS="zkSync, Matter Labs, rollup, ZK rollup, zero confirmation, ZKP, zero-knowledge proofs, Ethereum, crypto, blockchain, permissionless, L2, secure payments, scalable | ||
crypto payments" | ||
GTAG_ID=GTM-T5WRP8N |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# don't ever lint node_modules | ||
/node_modules/* | ||
# don't ever lint public | ||
*.css | ||
/.nuxt/* | ||
/src/assets/fonts/* | ||
/src/assets/images/* | ||
/.github/* | ||
/.idea/* | ||
/environments/* | ||
/public/* | ||
/src/static/sw.js | ||
/docs/* | ||
/drafts/* | ||
/dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
module.exports = { | ||
root: true, | ||
extends: [ | ||
"plugin:vue/recommended", | ||
"@nuxtjs/eslint-config-typescript", | ||
"plugin:prettier-vue/recommended", | ||
// Do not add `'prettier/vue'` if you don't want to use prettier for `<template>` blocks | ||
"prettier/vue", | ||
], | ||
|
||
settings: { | ||
"prettier-vue": { | ||
// Settings for how to process Vue SFC Blocks | ||
SFCBlocks: { | ||
/** | ||
* Use prettier to process `<template>` blocks or not | ||
* | ||
* If set to `false`, remember not to `extends: ['prettier/vue']`, as you need the rules from `eslint-plugin-vue` to lint `<template>` blocks | ||
* | ||
* @default true | ||
*/ | ||
template: false, | ||
|
||
/** | ||
* Use prettier to process `<script>` blocks or not | ||
* | ||
* @default true | ||
*/ | ||
script: true, | ||
|
||
/** | ||
* Use prettier to process `<style>` blocks or not | ||
* | ||
* @default true | ||
*/ | ||
style: true, | ||
|
||
// Settings for how to process custom blocks | ||
customBlocks: { | ||
// Treat the `<docs>` block as a `.markdown` file | ||
docs: { lang: "markdown" }, | ||
|
||
// Treat the `<config>` block as a `.json` file | ||
config: { lang: "json" }, | ||
|
||
// Treat the `<module>` block as a `.js` file | ||
module: { lang: "js" }, | ||
|
||
// Ignore `<comments>` block (omit it or set it to `false` to ignore the block) | ||
comments: false, | ||
|
||
// Other custom blocks that are not listed here will be ignored | ||
}, | ||
}, | ||
|
||
// Use prettierrc for prettier options or not (default: `true`) | ||
usePrettierrc: true, | ||
|
||
// Set the options for `prettier.getFileInfo`. | ||
// @see https://prettier.io/docs/en/api.html#prettiergetfileinfofilepath-options | ||
fileInfoOptions: { | ||
// Path to ignore file (default: `'.prettierignore'`) | ||
// Notice that the ignore file is only used for this plugin | ||
ignorePath: ".testignore", | ||
|
||
// Process the files in `node_modules` or not (default: `false`) | ||
withNodeModules: false, | ||
}, | ||
}, | ||
}, | ||
rules: { | ||
"prettier-vue/prettier": [ | ||
"error", | ||
{ | ||
semi: true, | ||
trailingComma: "all", | ||
singleQuote: false, | ||
jsxSingleQuote: false, | ||
printWidth: 180, | ||
tabWidth: 2, | ||
}, | ||
], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"projects": { | ||
"default": "zksync-js-docs" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This file was auto-generated by the Firebase CLI | ||
# https://github.com/firebase/firebase-tools | ||
|
||
name: Check CI and deploy a preview to Firebase Hosting on PR | ||
'on': pull_request | ||
jobs: | ||
build_and_preview: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Prepare CI | ||
run: bash cli-dev.sh ci && yarn zk-ci-prepare | ||
|
||
- uses: FirebaseExtended/action-hosting-deploy@v0 | ||
with: | ||
repoToken: '${{ secrets.GITHUB_TOKEN }}' | ||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_JS_DOCS }}' | ||
projectId: zksync-js-docs | ||
env: | ||
FIREBASE_CLI_PREVIEWS: hostingchannels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
#vuepress files | ||
|
||
*.log | ||
*.gem | ||
*.rbc | ||
.bundle | ||
.config | ||
coverage | ||
InstalledFiles | ||
lib/bundler/man | ||
pkg | ||
rdoc | ||
spec/reports | ||
test/tmp | ||
test/version_tmp | ||
tmp | ||
*.DS_STORE | ||
build/ | ||
.cache | ||
.vagrant | ||
.sass-cache | ||
vendor | ||
|
||
# YARD artifacts | ||
.yardoc | ||
_yardoc | ||
doc/ | ||
.idea/ | ||
|
||
node_modules | ||
dist | ||
|
||
/.firebase | ||
|
||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
/dist | ||
/.idea | ||
/lib | ||
|
||
# misc | ||
.DS_Store | ||
.env | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
.firebase/ | ||
.vscode/ | ||
|
||
# cache | ||
.brotli_cache/ | ||
.gzip_cache/ | ||
.assets_cache/ | ||
.buildx-cache/ | ||
.reports/ | ||
/src/static/sw.js | ||
/public* | ||
!public/.gitignore | ||
.nuxt | ||
/firebase-debug.log | ||
/report.txt | ||
/tokens.txt | ||
/.run/ | ||
|
||
|
||
# Yarn 2: upgraded dependency management | ||
.yarn/* | ||
!.yarn/releases | ||
!.yarn/plugins | ||
!.yarn/sdks | ||
!.yarn/versions | ||
.pnp.* | ||
/.eslintcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"default": true, | ||
"no-duplicate-header": false, | ||
"first-header-h1": false, | ||
"first-line-h1": false, | ||
"no-inline-html": false, | ||
"line-length": { "line_length": 120 }, | ||
"MD026": { | ||
"punctuation": ".,;:!" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module.exports = { | ||
semi: true, | ||
trailingComma: "all", | ||
singleQuote: false, | ||
jsxSingleQuote: false, | ||
printWidth: 180, | ||
tabWidth: 2, | ||
}; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
nodeLinker: node-modules | ||
|
||
packageExtensions: | ||
"@babel/plugin-syntax-jsx@*": | ||
peerDependencies: | ||
"@babel/core": "*" | ||
"@inkline/nuxt@*": | ||
peerDependencies: | ||
webpack: "*" | ||
"@nuxt/types@*": | ||
peerDependencies: | ||
webpack: "*" | ||
"@nuxtjs/eslint-config-typescript@*": | ||
peerDependencies: | ||
eslint: "*" | ||
webpack: "*" | ||
"@nuxtjs/eslint-module@*": | ||
peerDependencies: | ||
webpack: "*" | ||
|
||
yarnPath: .yarn/releases/yarn-2.4.2.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!--- Provide a general summary of the issue in the Title above --> | ||
|
||
🧾 Expected Behaviour | ||
|
||
<!--- If you're describing a bug, tell us what should happen --><!--- If you're suggesting a change/improvement, tell us how it should work --> | ||
|
||
🔨 Current Behaviour | ||
|
||
<!--- If describing a bug, tell us what happens instead of the expected behaviour --><!--- If suggesting a change/improvement, explain the difference from current behaviour --> | ||
|
||
## 🙋️ Possible Solution [optional] | ||
|
||
<!--- Not obligatory, but suggest a fix/reason for the bug, --><!--- or ideas how to implement the addition or change --> | ||
|
||
## 📝 Steps to Reproduce (for bugs) | ||
|
||
<!--- Provide a link to a live example, or an unambiguous set of steps to --><!--- reproduce this bug. Include code to reproduce, if relevant -->1.2.3.4. | ||
|
||
## 🖥 Context | ||
|
||
<!--- How has this issue affected you? What are you trying to accomplish? --><!--- Providing context helps us come up with a solution that is most useful in the real world --> | ||
|
||
## 🔩 Your Environment | ||
|
||
<!--- Include as many relevant details about the environment you experienced the bug in --> | ||
|
||
* Version used: | ||
* Browser Name and version: | ||
* Operating System and version (desktop or mobile): | ||
|
||
> Link to your issue / project: | ||
|
||
## ✅ Acceptance criteria |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020 Matter Labs | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Oops, something went wrong.