Skip to content

Commit

Permalink
temp: huge
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyauhalin committed Dec 23, 2024
1 parent 1ca481a commit 1052ff0
Show file tree
Hide file tree
Showing 311 changed files with 391 additions and 579 deletions.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default [
"!package.json",
"!stylelint.config.js",
"!tsconfig.base.json",
"!tsconfig.emit.json",
"!tsconfig.build.json",
"!tsconfig.json",
],
},
Expand Down
10 changes: 0 additions & 10 deletions makefile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ interface PackageJson {

function main(): void {
sade("makefile.ts")
.command("clean")
.describe("Recursively run 'pnpm clean' on all packages")
.action(async (p: {_: string[]}) => {
if (p._.length === 0) {
p._ = await readdir("packages")
}
for (const n of p._) {
await run(n, "clean")
}
})
.command("build")
.describe("Recursively run 'pnpm build' on all packages")
.action(async (p: {_: string[]}) => {
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"name": "@onlyoffice/documentation",
"name": "@onlyoffice/api.onlyoffice.com",
"type": "module",
"private": true,
"engines": {
"node": "^21"
},
"scripts": {
"build": "tsx makefile.ts build",
"clean": "tsx makefile.ts clean",
"lint:code": "eslint .",
"lint:pages": "remark --frail --quiet site/pages",
"lint:styles": "stylelint --ignore-path .gitignore \"+(packages|site|storybook)/**/*.css\"",
"lint": "pnpm lint:code && pnpm lint:styles && pnpm lint:pages",
"test": "tsx makefile.ts test"
"test:packages": "tsx makefile.ts test",
"test:types": "tsc --noEmit",
"test": "pnpm test:types && pnpm test:packages"
},
"devDependencies": {
"@onlyoffice/eslint-config": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/async-transform/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/async-transform/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/caller-position/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/caller-position/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/combobox-container-html-element/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/command/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/command/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
3 changes: 1 addition & 2 deletions packages/community-server-resource/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/console/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/console/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/css-calc/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/css-calc/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/declaration-code-example/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/declaration-code-example/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/declaration-reference/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/declaration-reference/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
3 changes: 1 addition & 2 deletions packages/docspace-plugin-sdk-resource/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
3 changes: 1 addition & 2 deletions packages/docspace-resource/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
3 changes: 1 addition & 2 deletions packages/docspace-sdk-js-resource/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/document-builder-hast-element/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/document-builder-hast-element/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/document-builder-html-element/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/document-builder-html-element/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
3 changes: 1 addition & 2 deletions packages/document-builder-resource/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/document-editor-code-sample/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/document-editor-code-sample/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/document-editor-hast-element/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/document-editor-hast-element/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/document-editor-html-element/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/document-editor-html-element/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/document-editor-mirror-html-element/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
3 changes: 1 addition & 2 deletions packages/document-server-types/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/document-server-utils/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/document-server-utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/eleventy-clean/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/eleventy-clean/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/eleventy-env/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/eleventy-env/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/eleventy-esbuild/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/eleventy-esbuild/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/eleventy-html-minifier-terser/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/eleventy-html-minifier-terser/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/eleventy-lightningcss/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/eleventy-lightningcss/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/eleventy-pagefind/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/eleventy-pagefind/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/eleventy-sitemap/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/eleventy-sitemap/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/eleventy-starry-night/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/eleventy-starry-night/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
3 changes: 1 addition & 2 deletions packages/eleventy-types/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/errors/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/errors/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/eslint-config/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/eslint-config/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
3 changes: 1 addition & 2 deletions packages/eslint-plugin/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
3 changes: 1 addition & 2 deletions packages/fixture-resource/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/glossary-hastscript/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
3 changes: 1 addition & 2 deletions packages/glossary-hastscript/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "../../tsconfig.base.next.json",
"include": ["lib", "*.ts"]
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/hast-util-eleventy-img/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.build.next.json"
"extends": "../../tsconfig.build.json"
}
Loading

0 comments on commit 1052ff0

Please sign in to comment.