Skip to content

Commit

Permalink
Initial commit. Most of the old unrelated files are deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Oct 8, 2021
0 parents commit 4d5d708
Show file tree
Hide file tree
Showing 63 changed files with 22,727 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .cSpell.json
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"}
]
}
417 changes: 417 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions .env.example
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
15 changes: 15 additions & 0 deletions .eslintignore
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/*
84 changes: 84 additions & 0 deletions .eslintrc.js
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,
},
],
},
};
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "zksync-js-docs"
}
}
22 changes: 22 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
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
84 changes: 84 additions & 0 deletions .gitignore
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
11 changes: 11 additions & 0 deletions .markdownlintrc
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": ".,;:!"
}
}
8 changes: 8 additions & 0 deletions .prettierrc.js
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,
};
55 changes: 55 additions & 0 deletions .yarn/releases/yarn-2.4.2.cjs

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions .yarnrc.yml
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
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.
34 changes: 34 additions & 0 deletions ISSUE_TEMPLATE.md
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
21 changes: 21 additions & 0 deletions LICENSE
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.
Loading

0 comments on commit 4d5d708

Please sign in to comment.