Comments (4)
pls also add tsc support of jsii configuration, it allows customize the tsconfig.json
generated by jsii. It might reuse the existing tsconfig
for jsii tsc
section.
from projen.
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.
from projen.
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen.
from projen.
@eladb this is my workaround in .projenrc.ts:
const project = new VueJsProject({
name: 'my-vuejs-sample',
description: "my awesome vue project",
// ...
devDeps: [
'projen-vuejs'
],
/* customize tsconfig (projen actually applies this to `tsconfig.dev.json` */
tsconfig: {
compilerOptions: {
baseUrl: './',
paths: {
'@': [ './src' ]
}
}
}
});
/* add this to sort out tsconfig customisation for all files under the `./src` folder */
if (!project.disableTsconfig) {
new JsonFile(project, 'src/tsconfig.json', {
obj: {
extends: '../tsconfig.dev.json'
}
});
}
/* tsconfig fixt */
project.synth();
I also add a very similar thing to my personalized external modules like:
if (!options.disableTsconfig) {
new JsonFile(this, 'src/tsconfig.json', {
committed: true,
readonly: true,
obj: {
extends: '../tsconfig.dev.json'
}
});
}
Hope this helps
from projen.
Related Issues (20)
- RFC: Target-project based control of `TypescriptConfig` from `TypeScriptProject` HOT 12
- pin devDeps for AwsCdkTypeScriptApp HOT 5
- Request for Upgrade: `jsii` 5.1 to 5.3 HOT 1
- bug(upgrade-depdendencies): some dependencies are still attempted to be upgraded by ncu, then reverted by projen HOT 10
- Support modifying generated files HOT 2
- Projen npm package not updated with generated package HOT 11
- project initialization has dependency on yarn "classic" HOT 18
- Fails to publish a new package to npm HOT 3
- Better default for Jest UpdateSnapshot HOT 3
- `npx` used when `bun` is package manager
- bump and unbump share environment variable object
- spawn does not respect step envrionment variables HOT 1
- Poetry console output not shown in real time
- New structure for `PythonProject` HOT 3
- Make GitHub pipeline run tests on multiple node versions
- Publishing v0.80.16 to PyPI failed HOT 1
- Publishing v0.80.17 to Maven Central failed HOT 1
- Should `args` be returned by the task --inspect CLI command? HOT 1
- Error when using `NodePackageManager.BUN` with `NodejsFunction` HOT 5
- Update actions due to node v16 deprecation notice: codecov/codecov-action HOT 1
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.