Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .verdaccio/config.yml

This file was deleted.

5 changes: 4 additions & 1 deletion javascript/packages/browser/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"options": {
"script": "build"
},
"dependsOn": ["@herb-tools/core:build", "wasm:build"]
"dependsOn": [
"@herb-tools/core:build",
"wasm:build"
]
},
"test": {
"executor": "nx:run-script",
Expand Down
15 changes: 0 additions & 15 deletions javascript/packages/formatter/format-result.ts

This file was deleted.

32 changes: 32 additions & 0 deletions javascript/packages/formatter/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "@herb-tools/formatter",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "javascript/packages/formatter/src",
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-script",
"options": {
"script": "build"
},
"dependsOn": [
"@herb-tools/core:build",
"@herb-tools/printer:build",
"@herb-tools/node-wasm:build"
]
},
"test": {
"executor": "nx:run-script",
"options": {
"script": "test"
}
},
"clean": {
"executor": "nx:run-script",
"options": {
"script": "clean"
}
}
},
"tags": []
}
9 changes: 0 additions & 9 deletions javascript/packages/highlighter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,8 @@
"dependencies": {
"@herb-tools/core": "0.6.1",
"@herb-tools/node-wasm": "0.6.1",
"@types/glob": "^8.1.0",
"glob": "^11.0.3"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.3",
"rimraf": "^6.0.1",
"vitest": "^3.1.4"
},
"files": [
"package.json",
"README.md",
Expand Down
5 changes: 4 additions & 1 deletion javascript/packages/highlighter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"options": {
"script": "build"
},
"dependsOn": ["@herb-tools/core:build", "@herb-tools/node-wasm:build"]
"dependsOn": [
"@herb-tools/core:build",
"@herb-tools/node-wasm:build"
]
},
"test": {
"executor": "nx:run-script",
Expand Down
3 changes: 2 additions & 1 deletion javascript/packages/language-server/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"@herb-tools/core:build",
"@herb-tools/node:build",
"@herb-tools/node-wasm:build",
"@herb-tools/linter:build"
"@herb-tools/linter:build",
"@herb-tools/printer:build"
]
},
"test": {
Expand Down
6 changes: 5 additions & 1 deletion javascript/packages/linter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
"options": {
"script": "build"
},
"dependsOn": ["@herb-tools/browser:build", "@herb-tools/highlighter:build"]
"dependsOn": [
"@herb-tools/browser:build",
"@herb-tools/highlighter:build",
"@herb-tools/printer:build"
]
},
"test": {
"executor": "nx:run-script",
Expand Down
31 changes: 31 additions & 0 deletions javascript/packages/printer/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "@herb-tools/printer",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "javascript/packages/printer/src",
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-script",
"options": {
"script": "build"
},
"dependsOn": [
"@herb-tools/core:build",
"@herb-tools/node-wasm:build"
]
},
"test": {
"executor": "nx:run-script",
"options": {
"script": "test"
}
},
"clean": {
"executor": "nx:run-script",
"options": {
"script": "clean"
}
}
},
"tags": []
}
36 changes: 15 additions & 21 deletions javascript/packages/stimulus-lint/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,29 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"dependsOn": ["^build"],
"executor": "nx:run-script",
"options": {
"cwd": "javascript/packages/stimulus-lint",
"command": "rollup -c rollup.config.mjs"
}
},
"dev": {
"executor": "nx:run-commands",
"dependsOn": ["^build"],
"options": {
"cwd": "javascript/packages/stimulus-lint",
"command": "rollup -c rollup.config.mjs --watch"
}
"script": "build"
},
"dependsOn": [
"@herb-tools/core:build",
"@herb-tools/node-wasm:build",
"@herb-tools/linter:build",
"@herb-tools/highlighter:build"
]
},
"test": {
"executor": "nx:run-commands",
"dependsOn": ["^build"],
"executor": "nx:run-script",
"options": {
"cwd": "javascript/packages/stimulus-lint",
"command": "vitest --run"
"script": "test"
}
},
"clean": {
"executor": "nx:run-commands",
"executor": "nx:run-script",
"options": {
"cwd": "javascript/packages/stimulus-lint",
"command": "rimraf dist"
"script": "clean"
}
}
}
},
"tags": []
}
10 changes: 1 addition & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,10 @@
},
"devDependencies": {
"@jothepro/doxygen-awesome-css": "https://github.com/jothepro/doxygen-awesome-css#v2.3.4",
"@nx/js": "^21.4.0",
"@nx/node": "^21.4.0",
"@nx/web": "^21.4.0",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.4",
"@testing-library/dom": "^10.4.0",
"@types/glob": "^9.0.0",
"@vitest/browser": "^3.2.4",
"@vitest/ui": "^3.2.4",
"concurrently": "^9.2.0",
Expand All @@ -32,10 +27,8 @@
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"rollup": "^4.47.1",
"tslib": "^2.8.1",
"tsx": "^4.20.4",
"typescript": "^5.9.2",
"verdaccio": "^6.0.5",
"vitest": "^3.2.4",
"yaml": "^2.8.0",
"yeoman-environment": "^4.4.1",
Expand All @@ -54,8 +47,7 @@
"lint:oxc": "oxlint --config oxlint.json javascript/packages/",
"lint:oxc:fix": "oxlint --config oxlint.json --fix javascript/packages/",
"format": "yarn prettier '**/*.{js,mjs,cjs,ts,mts,cts,css,html}' --write",
"release": "tsx javascript/tools/scripts/release.ts",
"registry": "nx local-registry"
"release": "tsx javascript/tools/scripts/release.ts"
},
"workspaces": [
"javascript/packages/*",
Expand Down
11 changes: 1 addition & 10 deletions project.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
{
"name": "@herb-tools/source",
"$schema": "node_modules/nx/schemas/project-schema.json",
"targets": {
"local-registry": {
"executor": "@nx/js:verdaccio",
"options": {
"port": 4873,
"config": ".verdaccio/config.yml",
"storage": "tmp/local-registry/storage"
}
}
}
"targets": {}
}
Loading
Loading