chore: add revolt.js as a submodule

This commit is contained in:
Paul Makles
2022-09-03 14:06:29 +01:00
parent 02eb7d83f6
commit de207f0fa7
5 changed files with 15 additions and 11 deletions

View File

@@ -3,8 +3,8 @@
"scripts": {
"dev": "node scripts/setup_assets.js --check && vite",
"pull": "node scripts/setup_assets.js",
"build:components": "cd external && cd components && yarn && yarn build:esm",
"build": "yarn && rimraf build && node scripts/setup_assets.js --check && yarn build:components && vite build",
"build:deps": "cd external && cd components && yarn && yarn build:esm && cd .. && cd revolt.js && yarn && yarn build",
"build": "yarn && rimraf build && node scripts/setup_assets.js --check && yarn build:deps && vite build",
"build:highmem": "NODE_OPTIONS='--max-old-space-size=4096' yarn build",
"preview": "vite preview",
"lint": "eslint src/**/*.{js,jsx,ts,tsx}",
@@ -44,7 +44,6 @@
}
},
"dependencies": {
"@revoltchat/ui": "^1.0.77",
"fs-extra": "^10.0.0",
"klaw": "^3.0.0",
"sirv-cli": "^1.0.14",
@@ -77,6 +76,7 @@
"@hcaptcha/react-hcaptcha": "^0.3.6",
"@insertish/vite-plugin-babel-macros": "^1.0.5",
"@preact/preset-vite": "^2.0.0",
"@revoltchat/ui": "^1.0.77",
"@rollup/plugin-replace": "^2.4.2",
"@styled-icons/boxicons-logos": "^10.38.0",
"@styled-icons/boxicons-regular": "^10.38.0",
@@ -169,6 +169,7 @@
"license": "MIT",
"packageManager": "yarn@3.2.0",
"resolutions": {
"@revoltchat/ui": "portal:external/components"
"@revoltchat/ui": "portal:external/components",
"revolt.js": "portal:external/revolt.js"
}
}