Skip to content

Commit 4a24d55

Browse files
committed
chore: add release to npm
1 parent e0882cb commit 4a24d55

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/tasks.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* resources:
3+
* - https://kennethwinner.com/2021/03/07/projen-external-module-github/
4+
*/
5+
16
const { typescript } = require('projen');
27
const project = new typescript.TypeScriptProject({
38
defaultReleaseBranch: 'main',
@@ -8,6 +13,9 @@ const project = new typescript.TypeScriptProject({
813
// devDeps: [], /* Build dependencies for this module. */
914
packageName: 'kakiyasu', /* The "name" in package.json. */
1015
npmRegistryUrl: 'https://registry.npmjs.org/',
16+
releaseToNpm: true,
17+
majorVersion: 1,
18+
npmTokenSecret: 'NPM_PUBLISH_TOKEN',
1119
});
1220

1321
project.tsconfig.compilerOptions.lib.push('dom');

0 commit comments

Comments
 (0)