Skip to content

Commit

Permalink
Merge pull request #45 from webcomponents-preview/feature/26-plugin-v…
Browse files Browse the repository at this point in the history
…iewport

Feature/26 plugin viewport
  • Loading branch information
davidenke authored May 31, 2023
2 parents 269069b + 068b5a0 commit 828f68f
Show file tree
Hide file tree
Showing 89 changed files with 63,497 additions and 1,859 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,19 @@ jobs:
git config user.email "[email protected]"
- name: Configure npm
run: npm config set //registry.npmjs.org/:_authToken ${{secrets.WCP_NPM_TOKEN}}
- name: Install release tooling
run: npm i -g release-it @release-it/conventional-changelog
- name: Release
run: |
npx release-it --no-npm.publish --github.release --github.autoGenerate --git.commitMessage='chore: release v${version}' --git.pushArgs=--follow-tags --ci
release-it --ci \
--npm.skipChecks \
--no-npm.publish \
--github.release \
--github.autoGenerate \
--git.commitMessage='chore: release v${version}' \
--git.pushArgs=--follow-tags \
--no-plugins.@release-it/conventional-changelog.infile \
--plugins.@release-it/conventional-changelog.preset=angular
env:
GITHUB_TOKEN: ${{secrets.WCP_GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.WCP_NPM_TOKEN}}
8 changes: 1 addition & 7 deletions custom-elements-manifest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@ export default {
customElementExamplesPlugin(),
customElementGenerateReadmesPlugin({
addInlineReadme: true,
transformer: 'cem',
transformerOptions: {
headingOffset: -1,
omitDeclarations: ['exports', 'mixins'],
omitSections: ['main-heading', 'mixins', 'super-class', 'static-fields', 'static-methods'],
private: 'hidden',
},
transformer: 'wca',
outputPath(path) {
if (path === undefined) return '';
return resolve(dirname(path), 'README.md');
Expand Down
Loading

0 comments on commit 828f68f

Please sign in to comment.