Skip to content

Commit

Permalink
feat: do not depend on "constructs" (#36)
Browse files Browse the repository at this point in the history
As much as it's romantic, it didn't add much value to this project.

Implement a simple decentralized synthesis model where "Component" has a "synthesize" method
that accepts an output directory and can emit files into that directory.
  • Loading branch information
Elad Ben-Israel authored Jul 29, 2020
1 parent e448fd4 commit a715a06
Show file tree
Hide file tree
Showing 29 changed files with 641 additions and 375 deletions.
14 changes: 4 additions & 10 deletions .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
const { JsiiProject, Semver } = require('./lib');

const constructs = Semver.pinned('2.0.1');

const project = new JsiiProject({
name: 'projen',
jsiiVersion: Semver.caret('1.5.0'),
jsiiVersion: Semver.caret('1.9.0'),
description: 'A new generation of project generators',
repository: 'https://github.com/eladb/projen.git',
authorName: 'Elad Ben-Israel',
Expand All @@ -14,20 +12,19 @@ const project = new JsiiProject({
'yaml': Semver.caret('1.9.2'),
'fs-extra': Semver.caret('9.0.1'),
'yargs': Semver.caret('15.4.0'),
'constructs': constructs,
'decamelize': Semver.caret('4.0.0')
},
devDependencies: {
'@types/fs-extra': Semver.caret('8.0.1'),
'@types/yargs': Semver.caret('15.0.5')
},
peerDependencies: {
'constructs': constructs
},
bundledDependencies: [
'yaml', 'fs-extra', 'yargs', 'decamelize',
],
projenDevDependency: false, // because I am projen
scripts: {
bootstrap: [ 'yarn install', 'yarn compile', 'yarn projen' ].join(' && ')
},
workflowBootstrapSteps: [
{ run: `yarn bootstrap` }
],
Expand All @@ -36,9 +33,6 @@ const project = new JsiiProject({
compileBeforeTest: true,
});

project.addScripts({
bootstrap: 'yarn install && yarn compile && yarn projen'
});
project.gitignore.comment('templates must live in the repo');
project.gitignore.include('templates/**');

Expand Down
Loading

0 comments on commit a715a06

Please sign in to comment.