build: moved tl-reference to top layer to avoid cluttering yarn.lock with frontend deps

This commit is contained in:
teidesu 2021-06-06 15:02:06 +03:00
parent 1d21cd5e65
commit 5e05b099ed
44 changed files with 12011 additions and 8905 deletions

View file

@ -1,5 +1,5 @@
const rawSchema = require('@mtcute/tl/raw-schema') const rawSchema = require('../packages/tl/raw-schema')
const rawErrors = require('@mtcute/tl/raw-errors') const rawErrors = require('../packages/tl/raw-errors')
const path = require('path') const path = require('path')
const { convertToArrays, prepareData } = require('./scripts/prepare-data') const { convertToArrays, prepareData } = require('./scripts/prepare-data')

View file

@ -8,7 +8,7 @@
"develop": "gatsby develop --port 4040", "develop": "gatsby develop --port 4040",
"start": "gatsby develop", "start": "gatsby develop",
"build": "gatsby build --prefix-paths", "build": "gatsby build --prefix-paths",
"postbuild": "(rm -rf ../../docs/tl || rd /s /q ..\\..\\docs\\tl) && (mv public ../../docs/tl || move public ../../docs/tl)", "postbuild": "(rm -rf ../docs/tl || rd /s /q ..\\docs\\tl) && (mv public ../docs/tl || move public ../docs/tl)",
"serve": "gatsby serve --prefix-paths", "serve": "gatsby serve --prefix-paths",
"clean": "gatsby clean" "clean": "gatsby clean"
}, },
@ -23,7 +23,6 @@
"gatsby-transformer-json": "^3.2.0", "gatsby-transformer-json": "^3.2.0",
"react": "^17.0.1", "react": "^17.0.1",
"react-dom": "^17.0.1", "react-dom": "^17.0.1",
"@mtcute/tl": "^0.0.0",
"@material-ui/core": "^4.11.3", "@material-ui/core": "^4.11.3",
"@material-ui/icons": "^4.11.2", "@material-ui/icons": "^4.11.2",
"gatsby-theme-material-ui": "^2.0.1", "gatsby-theme-material-ui": "^2.0.1",

View file

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

11857
tl-reference/yarn.lock Normal file

File diff suppressed because it is too large Load diff

9052
yarn.lock

File diff suppressed because it is too large Load diff