Skip to content

Commit

Permalink
ci: optimise npm package contents
Browse files Browse the repository at this point in the history
  • Loading branch information
eoinsha committed Sep 30, 2024
1 parent 85d735f commit 9ce86c3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -259,5 +259,5 @@ lerna-debug*

samconfig.toml
packaged.yaml
.tgz
*.tgz
*.tar.gz
13 changes: 13 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
*.ipynb
*-test-project/
*-test-project-*/
.tap/
cdk.out/
docs/
*.ts
tests/
coverage/
.cache/
.idea/
.github/
*.tgz
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ In order to release a new version of the project:

1. Update the package version with `npm version <version>` to apply that version across all sub packages. If the Major version has changed, the Macro name will be automatically updated by [the sync-macro-version script](scripts/sync-macro-version.cjs)
2. Push these changes (`git push --tags`)
3. Draft a new release in GitHub (the CI will do the publish to npm) with the same name as the version tag. If you select "pre-release", this will be published in NPM as a `next` label so it will only be installed by users who explictly request the `@next` version.
3. Draft a new release in GitHub (the CI will do the publish to npm) with the same name as the version tag. If you select "pre-release", this will be published in NPM as a `next` label so it will only be installed by users who explicitly request the `@next` version.

0 comments on commit 9ce86c3

Please sign in to comment.