Comments (3)
I would put some rudimentary code like:
src/index.ts
export * from ‘./hello.ts’;
src/hello.ts
export class Hello {
public world() {
return “Hello, world!”;
}
}
test/hello.test.ts
import { Hello } from ‘../src’;
test(‘hello’, () => {
expect(new Hello().world()).toBe(‘Hello, world!’):
}
The idea is that after projen init X
you’d be able to run yarn build
and it will be successful.
from projen.
Just touching those or there's any template code we could add?
from projen.
Done.
from projen.
Related Issues (20)
- bug(typescript): "compile" task does not properly update itself to use a renamed `tsconfig` filename (non-dev)
- bug(npm): In v8+, peer dependency conflicts cause failure HOT 6
- Configuration problems for ts-jest HOT 1
- Publishing v0.78.7 to PyPI failed HOT 1
- Publishing v0.78.8 to PyPI failed
- Publishing v0.78.8 to PyPI failed
- Publishing v0.78.8 to PyPI failed HOT 1
- (AwsCdkPythonApp): Scoped project packages not installing correctly HOT 4
- feat(npmrc): Registry Auth Tokens HOT 5
- bug: changelog update fails when creating a new releasing when a pre-release with the same version is present HOT 5
- Publishing v0.78.8 to Maven Central failed HOT 1
- Publishing v0.78.8 to Maven Central failed
- fix(next): Outdated TSConfig Settings
- Eslint 9
- feat(nextjs): ESLint rules
- Vestigial poetry.toml HOT 2
- feat(nextjs): Jest configuration
- feat(subproject): Only release (GitHub Workflow) when that subproject has changed HOT 13
- bug(typescript): projenrc.ts is not properly packageIgnored (still)
- feat(react): Node Library to publish (to NPM) that supports React/JSX HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from projen.