Skip to content

Commit

Permalink
Remove use of Scaffdog
Browse files Browse the repository at this point in the history
  • Loading branch information
bertdeblock committed Nov 29, 2024
1 parent 3151fb5 commit 2cc287a
Show file tree
Hide file tree
Showing 41 changed files with 424 additions and 1,555 deletions.
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/coverage/
/dist/
/documents/*.md
/templates/
/test/output/
/CHANGELOG.md
/pnpm-lock.yaml
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

Generate components, helpers, modifiers and services in v1/v2 apps/addons.

Uses [scaffdog](https://scaff.dog/) underneath.

> NOTE: Only supports `.gjs` (default) and `.gts` files for components.
## Installation
Expand Down Expand Up @@ -159,9 +157,9 @@ export type Config = {
hooks?: {
// A hook that will be executed post running a generator:
postGenerate?: (info: {
documentName: DocumentName;
entityName: string;
files: File[];
files: GeneratorFile[];
generatorName: GeneratorName;
}) => Promise<void> | void;
};

Expand Down
63 changes: 0 additions & 63 deletions documents/component.md

This file was deleted.

7 changes: 0 additions & 7 deletions documents/config.ts

This file was deleted.

77 changes: 0 additions & 77 deletions documents/helper.md

This file was deleted.

65 changes: 0 additions & 65 deletions documents/modifier.md

This file was deleted.

20 changes: 0 additions & 20 deletions documents/service.md

This file was deleted.

2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default typescriptEslint.config(
eslint.configs.recommended,
typescriptEslint.configs.recommended,
eslintPluginNode.configs["flat/recommended-module"],
{ ignores: ["bin", "coverage", "dist", "test/output"] },
{ ignores: ["bin", "coverage", "dist", "templates", "test/output"] },
{
files: ["**/*.ts"],
rules: {
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
"files": [
"bin/",
"dist/",
"documents/",
"templates/",
"CHANGELOG.md"
],
"scripts": {
"build": "tsc --project tsconfig.json",
"gember": "bin/gember.js --path=test/output",
"lint": "concurrently --group --prefix-colors auto \"npm:lint:*(!fix)\"",
"lint:fix": "concurrently --group --prefix-colors auto \"npm:lint:*:fix\"",
"lint:format": "prettier . --cache --check",
Expand All @@ -33,7 +34,7 @@
"consola": "^3.2.3",
"find-up": "^7.0.0",
"fs-extra": "^11.2.0",
"scaffdog": "^4.1.0",
"handlebars": "^4.7.8",
"yargs": "^17.7.2"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 2cc287a

Please sign in to comment.