init commit
This commit is contained in:
10
turbo/generators/templates/eslint.config.ts.hbs
Normal file
10
turbo/generators/templates/eslint.config.ts.hbs
Normal file
@@ -0,0 +1,10 @@
|
||||
import { defineConfig } from "eslint/config";
|
||||
|
||||
import { baseConfig } from "@acme/eslint-config/base";
|
||||
|
||||
export default defineConfig(
|
||||
{
|
||||
ignores: [],
|
||||
},
|
||||
baseConfig,
|
||||
);
|
||||
26
turbo/generators/templates/package.json.hbs
Normal file
26
turbo/generators/templates/package.json.hbs
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "@acme/{{ name }}",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"clean": "git clean -xdf .cache .turbo dist node_modules",
|
||||
"dev": "tsc",
|
||||
"format": "prettier --check . --ignore-path ../../.gitignore",
|
||||
"lint": "eslint",
|
||||
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@acme/eslint-config": "workspace:*",
|
||||
"@acme/prettier-config": "workspace:*",
|
||||
"@acme/tsconfig": "workspace:*",
|
||||
"eslint": "catalog:",
|
||||
"prettier": "catalog:",
|
||||
"typescript": "catalog:"
|
||||
},
|
||||
"prettier": "@acme/prettier-config"
|
||||
}
|
||||
6
turbo/generators/templates/tsconfig.json.hbs
Normal file
6
turbo/generators/templates/tsconfig.json.hbs
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"extends": "@acme/tsconfig/compiled-package.json",
|
||||
"compilerOptions": {},
|
||||
"include": ["*.ts", "src"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
Reference in New Issue
Block a user