-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrate to pnpm and Update .gitignore * Migrate to Biome and Restyle code * Migration from jest and Rollup.js to Vite and Vitest * Monorepolize with pnpm and turbo * Add examples and integration tests * Fix build configs * Update Node.js version to 20 * Add changeset * Refactor build and check workflows * Remove release-drafter configuration file * Improve * Fix for lint * Add Deno setup for CI * Add turbo build setup caching * Update GitHub Actions caching for Turbo * Remove unused Deno registry configurations * Update pnpm/action-setup to v3.0.0 * Add @types/node * Update dependencies and pipeline in turbo.json * Refactor Real World AST Snapshot tests * Fix import statement in real-world.test.ts * Add testAstSnapshot function to real-world.test.ts * Fix function signature in testAstSnapshot * Fix concurrent test failed * Remove unused function testAstSnapshot() * Add lefthook * Fix escape function to properly handle backslashes * Remove postinstall script from package.json * Separate packages * Update CONTRIBUTING.md with pnpm commands * Add setup for Graphviz * Add architecture documentation and version support policy * Add codegen dependency to test:unit task * Update CI workflow to use Turbo and add integration tests * Update codegen inputs and outputs * Update build.yaml to include/exclude specific files and directories * Update artifact upload path in build workflow * Add v2.0.0 Changeset * Add PullRequest Snapshot Release workflow * Add publishConfig to package.json files * Update package.json files with additional files, funding, and keywords * Add Node.js engine requirement to package.json files * Update package.json files * Refactor core and update build settings * Remove deprecated AttributeKeyDict type * Add privatePackages configuration * Update package descriptions and README * Update Makefile to use pnpm instead of yarn for svgo * Update tsconfig.json to remove empty "include" array * Add .npmignore files and update imports * Remove unnecessary files from package.json * Add src folder to .npmignore files * Update Suponser badge link * Fix typedoc configuration * Add CD workflow for automated release process * Update file extensions and dependencies in webpack build examples * Update typedoc.json file
- Loading branch information
Showing
351 changed files
with
643,465 additions
and
638,018 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"files": [ | ||
"README.md", | ||
"README_ja.md" | ||
"packages/ts-graphviz/README.md" | ||
], | ||
"imageSize": 100, | ||
"commit": false, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json", | ||
"changelog": [ | ||
"@changesets/changelog-github", | ||
{ | ||
"repo": "ts-graphviz/ts-graphviz" | ||
} | ||
], | ||
"privatePackages": { | ||
"tag": false, | ||
"version": false | ||
}, | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-16 | ||
FROM mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye | ||
|
||
RUN apt-get update && apt-get install -y graphviz && \ | ||
curl -fsSL https://deno.land/x/install/install.sh | sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,109 +1,14 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
ignore: | ||
- dependency-name: eslint-config-prettier | ||
versions: | ||
- 7.2.0 | ||
- 8.0.0 | ||
- 8.1.0 | ||
- 8.2.0 | ||
- dependency-name: rollup | ||
versions: | ||
- 2.38.1 | ||
- 2.38.3 | ||
- 2.38.4 | ||
- 2.38.5 | ||
- 2.39.0 | ||
- 2.39.1 | ||
- 2.40.0 | ||
- 2.41.0 | ||
- 2.41.1 | ||
- 2.41.2 | ||
- 2.41.3 | ||
- 2.41.4 | ||
- 2.41.5 | ||
- 2.42.0 | ||
- 2.42.2 | ||
- 2.42.3 | ||
- 2.42.4 | ||
- 2.43.1 | ||
- 2.44.0 | ||
- 2.45.0 | ||
- 2.45.1 | ||
- 2.45.2 | ||
- dependency-name: eslint | ||
versions: | ||
- 7.18.0 | ||
- 7.19.0 | ||
- 7.20.0 | ||
- 7.21.0 | ||
- 7.22.0 | ||
- 7.23.0 | ||
- 7.24.0 | ||
- dependency-name: eslint-plugin-jest | ||
versions: | ||
- 24.1.5 | ||
- 24.1.8 | ||
- 24.1.9 | ||
- 24.2.0 | ||
- 24.2.1 | ||
- 24.3.1 | ||
- 24.3.2 | ||
- 24.3.4 | ||
- 24.3.5 | ||
- dependency-name: "@typescript-eslint/eslint-plugin" | ||
versions: | ||
- 4.14.1 | ||
- 4.14.2 | ||
- 4.15.0 | ||
- 4.15.1 | ||
- 4.15.2 | ||
- 4.16.1 | ||
- 4.17.0 | ||
- 4.18.0 | ||
- 4.19.0 | ||
- 4.20.0 | ||
- 4.21.0 | ||
- dependency-name: "@typescript-eslint/parser" | ||
versions: | ||
- 4.14.1 | ||
- 4.14.2 | ||
- 4.15.0 | ||
- 4.15.1 | ||
- 4.15.2 | ||
- 4.16.1 | ||
- 4.17.0 | ||
- 4.18.0 | ||
- 4.19.0 | ||
- 4.20.0 | ||
- 4.21.0 | ||
- dependency-name: typedoc | ||
versions: | ||
- 0.20.19 | ||
- 0.20.20 | ||
- 0.20.23 | ||
- 0.20.24 | ||
- 0.20.25 | ||
- 0.20.27 | ||
- 0.20.28 | ||
- 0.20.29 | ||
- 0.20.30 | ||
- 0.20.32 | ||
- 0.20.33 | ||
- 0.20.34 | ||
- 0.20.35 | ||
- dependency-name: ts-jest | ||
versions: | ||
- 26.5.0 | ||
- 26.5.1 | ||
- 26.5.2 | ||
- 26.5.3 | ||
- 26.5.4 | ||
- dependency-name: typescript | ||
versions: | ||
- 4.1.4 | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "devcontainers" | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
schedule: | ||
interval: 'weekly' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Build Artifact | ||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- uses: dtinth/setup-github-actions-caching-for-turbo@a0e976d970c2a94366a26984efcef3030e2c0115 # v1.2.0 | ||
with: | ||
cache-prefix: turbo- | ||
- name: Setup Graphviz | ||
uses: ts-graphviz/setup-graphviz@d5b2b6b67007094b256f3fd2fa6cf0ac41ceef25 # v2.0.0 | ||
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | ||
with: | ||
cache: pnpm | ||
node-version-file: ./.node-version | ||
- name: Install Dependencies | ||
run: pnpm install --frozen-lockfile | ||
- name: Build | ||
run: pnpm build | ||
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 | ||
with: | ||
path: | | ||
packages/**/lib | ||
!**/node_modules | ||
name: packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Check Format and Lint | ||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
biome: | ||
name: Check with Biome | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- uses: dtinth/setup-github-actions-caching-for-turbo@a0e976d970c2a94366a26984efcef3030e2c0115 # v1.2.0 | ||
with: | ||
cache-prefix: turbo- | ||
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0 | ||
- name: Setup Node.js 20 | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | ||
with: | ||
node-version-file: ./.node-version | ||
cache: pnpm | ||
- name: Install Dependencies | ||
run: pnpm install --frozen-lockfile | ||
- name: Check | ||
run: npx biome ci . |
Oops, something went wrong.