Skip to content

Commit

Permalink
chore: updated autotool
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAegis committed Aug 3, 2023
1 parent 6a7c1e4 commit fd07d19
Show file tree
Hide file tree
Showing 23 changed files with 1,423 additions and 982 deletions.
3 changes: 2 additions & 1 deletion .depcheckrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"autotool-plugin-*",
"commit-and-tag-version",
"commitlint",
"concurrently",
"depcheck",
"eslint*",
"husky",
Expand All @@ -33,7 +32,9 @@
"stylelint-config-*",
"svelte",
"svelte-check",
"svelte-preprocess",
"ts-node",
"turbowatch",
"turbo-ignore",
"typedoc",
"typescript",
Expand Down
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ typedoc

# sveltekit
.svelte-kit
.vercel
build
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dist
public/build
build
.svelte-kit
.vercel
typedoc

# test artifacts
Expand Down
1 change: 1 addition & 0 deletions apps/svelte/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ typedoc

# sveltekit
.svelte-kit
.vercel
build
1 change: 1 addition & 0 deletions apps/svelte/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dist
public/build
build
.svelte-kit
.vercel
typedoc

# test artifacts
Expand Down
13 changes: 13 additions & 0 deletions apps/svelte/dev.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// managed-by-autotool

import { turbowatchLocalNodeModules } from '@alexaegis/turbowatch';
import { watch } from 'turbowatch';

void (async () => {
await watch(
await turbowatchLocalNodeModules({
buildDependenciesScript: 'build:dependencies',
devScript: 'dev_',
}),
);
})();
48 changes: 27 additions & 21 deletions apps/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"scripts": {
"build": "turbo run build-app_ --concurrency 16 --cache-dir .cache/turbo --filter @tinyslice/svelte-example",
"build-app_": "vite build",
"build:dependencies": "TARGET_ENV='local' turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo --filter @tinyslice/svelte-example # used by turbowatch",
"lint:depcheck": "turbo run lint:depcheck_ --concurrency 6 --cache-dir .cache/turbo --filter @tinyslice/svelte-example",
"lint:depcheck_": "depcheck",
"lint:es": "turbo run lint:es_ --concurrency 16 --cache-dir .cache/turbo --filter @tinyslice/svelte-example",
Expand All @@ -35,12 +36,14 @@
"lint:tsc": "turbo run lint:tsc_ --concurrency 16 --cache-dir .cache/turbo --filter @tinyslice/svelte-example",
"lint:tsc_": "tsc --noEmit",
"all": "BUILD_REASON='publish' turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @tinyslice/svelte-example",
"dev": "concurrently npm:watch-deps npm:start",
"dev": "turbowatch dev.js",
"dev_": "TARGET_ENV='local' vite",
"format": "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @tinyslice/svelte-example",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"kit:sync": "svelte-kit sync",
"postinstall": "svelte-kit sync # pakk:not-distributed",
"start": "TARGET_ENV='local' vite",
"start": "turbo run start_ --concurrency 16 --cache-dir .cache/turbo --filter @tinyslice/svelte-example",
"start_": "TARGET_ENV='local' vite",
"test": "turbo run test_ --concurrency 16 --cache-dir .cache/turbo --filter @tinyslice/svelte-example",
"test_": "vitest --passWithNoTests --coverage --run",
"test:watch": "vitest --passWithNoTests --coverage",
Expand All @@ -56,32 +59,35 @@
"tailwindcss": "^3.3.3"
},
"devDependencies": {
"@alexaegis/eslint-config-svelte": "^0.6.1",
"@alexaegis/eslint-config-vitest": "^0.6.1",
"@alexaegis/stylelint-config": "^0.6.1",
"@alexaegis/svelte-config": "^0.6.1",
"@alexaegis/ts": "^0.6.1",
"@alexaegis/vite": "^0.6.1",
"@alexaegis/vitest": "^0.6.1",
"@skeletonlabs/skeleton": "^1.10.0",
"@alexaegis/eslint-config-svelte": "^0.7.1",
"@alexaegis/eslint-config-vitest": "^0.7.1",
"@alexaegis/stylelint-config": "^0.7.1",
"@alexaegis/svelte-config": "^0.7.1",
"@alexaegis/ts": "^0.7.1",
"@alexaegis/turbowatch": "0.7.1",
"@alexaegis/vite": "^0.7.1",
"@alexaegis/vitest": "^0.7.1",
"@skeletonlabs/skeleton": "^1.11.0",
"@sveltejs/adapter-auto": "^2.1.0",
"@sveltejs/adapter-static": "^2.0.2",
"@sveltejs/adapter-vercel": "^3.0.2",
"@sveltejs/kit": "^1.22.3",
"@types/node": "^20.4.4",
"@sveltejs/adapter-node": "^1.3.1",
"@sveltejs/adapter-static": "^2.0.3",
"@sveltejs/adapter-vercel": "^3.0.3",
"@sveltejs/kit": "^1.22.4",
"@types/node": "^20.4.6",
"autoprefixer": "^10.4.14",
"concurrently": "^8.2.0",
"eslint-config-next": "^13.4.12",
"eslint-config-prettier": "^8.8.0",
"eslint-config-turbo": "^1.10.11",
"eslint-plugin-react": "^7.33.0",
"eslint-config-prettier": "^8.10.0",
"eslint-config-turbo": "^1.10.12",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-svelte": "^2.32.4",
"eslint-plugin-unicorn": "^48.0.0",
"eslint-plugin-unicorn": "^48.0.1",
"nodemon": "^3.0.1",
"stylelint": "^15.10.2",
"svelte": "^4.1.1",
"svelte": "^4.1.2",
"svelte-check": "^3.4.6",
"vite": "^4.4.7",
"vitest": "^0.33.0"
"turbowatch": "^2.29.4",
"vite": "^4.4.8",
"vitest": "^0.34.1"
}
}
5 changes: 5 additions & 0 deletions apps/svelte/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ export default defineAppConfig({
test: {
include: ['src/**/*.{test,spec}.{js,ts}'],
},
server: {
fs: {
allow: ['../..'],
},
},
});
81 changes: 40 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"node": ">=18.10.0",
"pnpm": ">=8.0.0"
},
"packageManager": "[email protected].10",
"packageManager": "[email protected].11",
"workspaces": [
"apps/*",
"fixtures/*",
Expand All @@ -47,8 +47,7 @@
"build": "turbo run build-lib_ build-app_ --concurrency 16 --cache-dir .cache/turbo",
"build-app": "turbo run build-app_ --concurrency 16 --cache-dir .cache/turbo",
"build-lib": "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo",
"build:angular": "nx run angular:build:production",
"build:svelte": "nx run svelte:build:production",
"dev": "pnpm run --dir apps/svelte dev",
"lint": "turbo run lint_ --concurrency 16 --cache-dir .cache/turbo",
"lint:css": "stylecheck",
"lint:depcheck": "turbo run lint:depcheck_ --concurrency 16 --cache-dir .cache/turbo",
Expand All @@ -75,64 +74,64 @@
"release:major": "commit-and-tag-version --sign --commit-all --release-as major",
"release:minor": "commit-and-tag-version --sign --commit-all --release-as minor",
"release:patch": "commit-and-tag-version --sign --commit-all --release-as patch",
"start": "turbo run start --filter @tinyslice/svelte-example",
"start": "pnpm run --dir apps/svelte start",
"test": "turbo run test_ --concurrency 16 --cache-dir .cache/turbo && merge-workspace-lcov-reports && lcov-viewer lcov -o ./coverage ./coverage/lcov.info",
"test:jest": "jest --passWithNoTests",
"typedoc": "turbo run typedoc_ --concurrency 16 --cache-dir .cache/turbo",
"typedoc_": "typedoc"
},
"devDependencies": {
"@alexaegis/autotool-plugin-commitlint": "^0.6.1",
"@alexaegis/autotool-plugin-depcheck": "^0.6.1",
"@alexaegis/autotool-plugin-editorconfig": "^0.6.1",
"@alexaegis/autotool-plugin-eslint": "^0.6.1",
"@alexaegis/autotool-plugin-git": "^0.6.1",
"@alexaegis/autotool-plugin-github": "^0.6.1",
"@alexaegis/autotool-plugin-husky": "^0.6.1",
"@alexaegis/autotool-plugin-ncu": "^0.6.1",
"@alexaegis/autotool-plugin-prettier": "^0.6.1",
"@alexaegis/autotool-plugin-publint": "^0.6.1",
"@alexaegis/autotool-plugin-remark": "^0.6.1",
"@alexaegis/autotool-plugin-standard-version": "^0.6.1",
"@alexaegis/autotool-plugin-stylelint": "^0.6.1",
"@alexaegis/autotool-plugin-svelte": "^0.6.1",
"@alexaegis/autotool-plugin-ts": "^0.6.1",
"@alexaegis/autotool-plugin-turbo": "^0.6.1",
"@alexaegis/autotool-plugin-typedoc": "^0.6.1",
"@alexaegis/autotool-plugin-vite": "^0.6.1",
"@alexaegis/autotool-plugin-vitest": "^0.6.1",
"@alexaegis/autotool-plugin-vscode": "^0.6.1",
"@alexaegis/autotool-plugin-workspace": "^0.6.1",
"@alexaegis/coverage-tools": "^0.5.0",
"@alexaegis/eslint-config-core": "^0.6.1",
"@alexaegis/nuke": "^0.6.1",
"@alexaegis/stylelint-config": "^0.6.1",
"@alexaegis/ts": "^0.6.1",
"@alexaegis/autotool-plugin-commitlint": "^0.7.1",
"@alexaegis/autotool-plugin-depcheck": "^0.7.1",
"@alexaegis/autotool-plugin-editorconfig": "^0.7.1",
"@alexaegis/autotool-plugin-eslint": "^0.7.1",
"@alexaegis/autotool-plugin-git": "^0.7.1",
"@alexaegis/autotool-plugin-github": "^0.7.1",
"@alexaegis/autotool-plugin-husky": "^0.7.1",
"@alexaegis/autotool-plugin-ncu": "^0.7.1",
"@alexaegis/autotool-plugin-prettier": "^0.7.1",
"@alexaegis/autotool-plugin-publint": "^0.7.1",
"@alexaegis/autotool-plugin-remark": "^0.7.1",
"@alexaegis/autotool-plugin-standard-version": "^0.7.1",
"@alexaegis/autotool-plugin-stylelint": "^0.7.1",
"@alexaegis/autotool-plugin-svelte": "^0.7.1",
"@alexaegis/autotool-plugin-ts": "^0.7.1",
"@alexaegis/autotool-plugin-turbo": "^0.7.1",
"@alexaegis/autotool-plugin-typedoc": "^0.7.1",
"@alexaegis/autotool-plugin-vite": "^0.7.1",
"@alexaegis/autotool-plugin-vitest": "^0.7.1",
"@alexaegis/autotool-plugin-vscode": "^0.7.1",
"@alexaegis/autotool-plugin-workspace": "^0.7.1",
"@alexaegis/coverage-tools": "^0.6.1",
"@alexaegis/eslint-config-core": "^0.7.1",
"@alexaegis/nuke": "^0.7.1",
"@alexaegis/stylelint-config": "^0.7.1",
"@alexaegis/ts": "^0.7.1",
"@lcov-viewer/cli": "^1.3.0",
"@types/eslint": "^8.44.0",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"@vitest/coverage-v8": "^0.33.0",
"@types/eslint": "^8.44.1",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@vitest/coverage-v8": "^0.34.1",
"autotool": "^0.2.3",
"commit-and-tag-version": "^11.2.2",
"commitlint": "^17.6.7",
"depcheck": "^1.4.3",
"eslint": "^8.45.0",
"eslint": "^8.46.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"npm-check-updates": "^16.10.16",
"prettier": "^3.0.0",
"prettier-plugin-svelte": "^3.0.0",
"npm-check-updates": "^16.10.17",
"prettier": "^3.0.1",
"prettier-plugin-svelte": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.4.1",
"remark": "^14.0.3",
"remark-cli": "^11.0.0",
"stylelint": "^15.10.2",
"svelte-check": "^3.4.6",
"ts-node": "^10.9.1",
"turbo": "^1.10.11",
"turbo-ignore": "^1.10.9",
"turbo": "^1.10.12",
"turbo-ignore": "^1.10.12",
"typedoc": "^0.24.8",
"typescript": "^5.1.6",
"vitest": "^0.33.0"
"vitest": "^0.34.1"
}
}
1 change: 1 addition & 0 deletions packages/core/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ typedoc

# sveltekit
.svelte-kit
.vercel
build
1 change: 1 addition & 0 deletions packages/core/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dist
public/build
build
.svelte-kit
.vercel
typedoc

# test artifacts
Expand Down
18 changes: 9 additions & 9 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,17 @@
"./readme": "./readme.md"
},
"dependencies": {
"@alexaegis/common": "^0.5.0",
"@alexaegis/common": "^0.6.1",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@alexaegis/eslint-config-vitest": "^0.6.1",
"@alexaegis/ts": "^0.6.1",
"@alexaegis/vite": "^0.6.1",
"@alexaegis/vitest": "^0.6.1",
"@types/node": "^20.4.4",
"publint": "^0.1.16",
"vite": "^4.4.7",
"vitest": "^0.33.0"
"@alexaegis/eslint-config-vitest": "^0.7.1",
"@alexaegis/ts": "^0.7.1",
"@alexaegis/vite": "^0.7.1",
"@alexaegis/vitest": "^0.7.1",
"@types/node": "^20.4.6",
"publint": "^0.2.0",
"vite": "^4.4.8",
"vitest": "^0.34.1"
}
}
1 change: 1 addition & 0 deletions packages/devtools-plugin/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ typedoc

# sveltekit
.svelte-kit
.vercel
build
1 change: 1 addition & 0 deletions packages/devtools-plugin/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dist
public/build
build
.svelte-kit
.vercel
typedoc

# test artifacts
Expand Down
18 changes: 9 additions & 9 deletions packages/devtools-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@
"rxjs": "^7.8.1"
},
"devDependencies": {
"@alexaegis/eslint-config-vitest": "^0.6.1",
"@alexaegis/stylelint-config": "^0.6.1",
"@alexaegis/ts": "^0.6.1",
"@alexaegis/vite": "^0.6.1",
"@alexaegis/vitest": "^0.6.1",
"@types/node": "^20.4.4",
"publint": "^0.1.16",
"@alexaegis/eslint-config-vitest": "^0.7.1",
"@alexaegis/stylelint-config": "^0.7.1",
"@alexaegis/ts": "^0.7.1",
"@alexaegis/vite": "^0.7.1",
"@alexaegis/vitest": "^0.7.1",
"@types/node": "^20.4.6",
"publint": "^0.2.0",
"stylelint": "^15.10.2",
"vite": "^4.4.7",
"vitest": "^0.33.0"
"vite": "^4.4.8",
"vitest": "^0.34.1"
}
}
1 change: 1 addition & 0 deletions packages/hydration-plugin/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ typedoc

# sveltekit
.svelte-kit
.vercel
build
1 change: 1 addition & 0 deletions packages/hydration-plugin/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dist
public/build
build
.svelte-kit
.vercel
typedoc

# test artifacts
Expand Down
20 changes: 10 additions & 10 deletions packages/hydration-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,20 +81,20 @@
"./readme": "./readme.md"
},
"dependencies": {
"@alexaegis/common": "^0.5.0",
"@alexaegis/common": "^0.6.1",
"@tinyslice/core": "^0.8.0",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@alexaegis/eslint-config-vitest": "^0.6.1",
"@alexaegis/stylelint-config": "^0.6.1",
"@alexaegis/ts": "^0.6.1",
"@alexaegis/vite": "^0.6.1",
"@alexaegis/vitest": "^0.6.1",
"@types/node": "^20.4.4",
"publint": "^0.1.16",
"@alexaegis/eslint-config-vitest": "^0.7.1",
"@alexaegis/stylelint-config": "^0.7.1",
"@alexaegis/ts": "^0.7.1",
"@alexaegis/vite": "^0.7.1",
"@alexaegis/vitest": "^0.7.1",
"@types/node": "^20.4.6",
"publint": "^0.2.0",
"stylelint": "^15.10.2",
"vite": "^4.4.7",
"vitest": "^0.33.0"
"vite": "^4.4.8",
"vitest": "^0.34.1"
}
}
Loading

0 comments on commit fd07d19

Please sign in to comment.