Skip to content

Commit

Permalink
Additional projen config to publich to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
rlmartin committed Dec 16, 2022
1 parent ae3b6d5 commit f9c5ba4
Show file tree
Hide file tree
Showing 8 changed files with 169 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

93 changes: 93 additions & 0 deletions .github/workflows/release-dev.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .projen/files.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 28 additions & 1 deletion .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
import { SkepPluginProject } from '@skeptools/skep-plugin-project';
import { NpmAccess } from 'projen/lib/javascript';

const majorVersion = 0;
const project = new SkepPluginProject({
cdktfProviderPackage: '@skeptools/provider-slack',
defaultReleaseBranch: 'main',
devDeps: ['@skeptools/skep-plugin-project'],
name: 'plugin-slack',
name: '@skeptools/plugin-slack',
projenrcTs: true,
releaseToNpm: true,
npmAccess: NpmAccess.PUBLIC,
majorVersion,
releaseBranches: {
dev: { prerelease: 'dev', npmDistTag: 'dev', majorVersion },
},
depsUpgradeOptions: {
workflowOptions: {
branches: ['main'],
},
},

// deps: [], /* Runtime dependencies of this module. */
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */
Expand Down
6 changes: 5 additions & 1 deletion package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f9c5ba4

Please sign in to comment.