0.8.9 • Published 1 month ago

ttpt v0.8.9

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

Tyler TyperScript Project Templates

Some TypeScript project templates from Tyler Liu to quickly create new projects.

Install

yarn add --dev ttpt

Usage

Generate a node.js project

yarn ttpt

By default, it will generate a node.js project.

Generate a web project

yarn ttpt -w

or

yarn ttpt --web

Generate an electron project

yarn ttpt -e

or

yarn ttpt --electron

In the generated project, you can run:

yarn release --dir

to generate a release version of the app into a directory.

You can run:

yarn release --github

to release the app to GitHub.

Options

yarn ttpt -W

-W is the --ignore-workspace-root-check option for yarn add commands.

Ref: https://classic.yarnpkg.com/lang/en/docs/cli/add/#toc-yarn-add-ignore-workspace-root-check-w

For now, only the default project type supports it. Because the other project types don't have to be in a yarn workspace.

Dev Notes

✨ Built in 1.45s
[Error: ENOENT: no such file or directory, open '/Users/tyler.liu/src/ts/ttpt-electron-demo/node_modules/src/util.ts'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/tyler.liu/src/ts/ttpt-electron-demo/node_modules/src/util.ts'
}

The error is probably caused by https://github.com/cosmiconfig/cosmiconfig/issues/337

Todo

  • Add test cases to web and electron app templates.
  • Support electron app auto-update.
  • Support electron app test case and auto-take screenshots
  • Release electron app to mas-dev and mas
    • The latest sample project is "Assets Hosting"
  • Support document-based electron app
    • '-d' or '--document'
0.8.9

1 month ago

0.8.8

1 month ago

0.8.7

3 months ago

0.8.5

3 months ago

0.8.6

3 months ago

0.8.4

4 months ago

0.8.3

4 months ago

0.6.7

6 months ago

0.7.2

6 months ago

0.7.4

6 months ago

0.7.3

6 months ago

0.7.0

6 months ago

0.7.9

6 months ago

0.7.6

6 months ago

0.7.5

6 months ago

0.7.8

6 months ago

0.8.0

6 months ago

0.8.2

5 months ago

0.6.6

8 months ago

0.6.5

8 months ago

0.6.4

9 months ago

0.6.3

1 year ago

0.6.2

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.9

1 year ago

0.5.8

1 year ago

0.5.7

1 year ago

0.5.6

1 year ago

0.5.5

1 year ago

0.5.4

1 year ago

0.5.3

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

1 year ago

0.4.9

1 year ago

0.4.8

1 year ago

0.4.7

1 year ago

0.4.6

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago