Skip to content

Commit

Permalink
feat: update test. small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
miekassu committed Apr 16, 2022
1 parent 93f162c commit faf96e9
Show file tree
Hide file tree
Showing 4 changed files with 235 additions and 69 deletions.
19 changes: 2 additions & 17 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -2702,7 +2702,7 @@ The command to execute.
| <code><a href="#@miekassu/projen-nextjs-ts-package.NextJsTs.property.upgradeWorkflow">upgradeWorkflow</a></code> | <code>projen.javascript.UpgradeDependencies</code> | The upgrade workflow. |
| <code><a href="#@miekassu/projen-nextjs-ts-package.NextJsTs.property.docsDirectory">docsDirectory</a></code> | <code>string</code> | *No description.* |
| <code><a href="#@miekassu/projen-nextjs-ts-package.NextJsTs.property.libdir">libdir</a></code> | <code>string</code> | The directory in which compiled .js files reside. |
| <code><a href="#@miekassu/projen-nextjs-ts-package.NextJsTs.property.srcdir">srcdir</a></code> | <code>string</code> | The directory in which source files reside. |
| <code><a href="#@miekassu/projen-nextjs-ts-package.NextJsTs.property.srcdir">srcdir</a></code> | <code>string</code> | The directory in which the .ts sources reside. |
| <code><a href="#@miekassu/projen-nextjs-ts-package.NextJsTs.property.testdir">testdir</a></code> | <code>string</code> | The directory in which tests reside. |
| <code><a href="#@miekassu/projen-nextjs-ts-package.NextJsTs.property.tsconfigDev">tsconfigDev</a></code> | <code>projen.javascript.TypescriptConfig</code> | A typescript configuration file which covers all files (sources, tests, projen). |
| <code><a href="#@miekassu/projen-nextjs-ts-package.NextJsTs.property.watchTask">watchTask</a></code> | <code>projen.Task</code> | The "watch" task. |
Expand All @@ -2711,7 +2711,6 @@ The command to execute.
| <code><a href="#@miekassu/projen-nextjs-ts-package.NextJsTs.property.tsconfig">tsconfig</a></code> | <code>projen.javascript.TypescriptConfig</code> | *No description.* |
| <code><a href="#@miekassu/projen-nextjs-ts-package.NextJsTs.property.tsconfigEslint">tsconfigEslint</a></code> | <code>projen.javascript.TypescriptConfig</code> | *No description.* |
| <code><a href="#@miekassu/projen-nextjs-ts-package.NextJsTs.property.assetsdir">assetsdir</a></code> | <code>string</code> | The directory in which app assets reside. |
| <code><a href="#@miekassu/projen-nextjs-ts-package.NextJsTs.property.tailwind">tailwind</a></code> | <code>boolean</code> | Setup Tailwind as a PostCSS plugin. |

---

Expand Down Expand Up @@ -3333,7 +3332,7 @@ public readonly srcdir: string;

- *Type:* string

The directory in which source files reside.
The directory in which the .ts sources reside.

---

Expand Down Expand Up @@ -3425,20 +3424,6 @@ The directory in which app assets reside.

---

##### `tailwind`<sup>Required</sup> <a name="tailwind" id="@miekassu/projen-nextjs-ts-package.NextJsTs.property.tailwind"></a>

```typescript
public readonly tailwind: boolean;
```

- *Type:* boolean

Setup Tailwind as a PostCSS plugin.

> [https://tailwindcss.com/docs/installation](https://tailwindcss.com/docs/installation)
---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ Features:
- rip off Tailwind

- forces to use React 17 peer-dependency


#### Thanks
- [https://kennethwinner.com/2021/03/07/projen-external-module-github/](https://kennethwinner.com/2021/03/07/projen-external-module-github/)
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class NextJsTs extends typescript.TypeScriptAppProject {
'**/*.tsx',
],
exclude: [
'node_modules'
'node_modules',
],
compilerOptions: {
// required by Next.js
Expand All @@ -60,7 +60,7 @@ export class NextJsTs extends typescript.TypeScriptAppProject {
],
strict: true,
target: 'es5',
incremental: true
incremental: true,
},
},
};
Expand Down
Loading

0 comments on commit faf96e9

Please sign in to comment.