Skip to content

Sync changes to us #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 165 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
d8b4069
fix(vue): v-model does not update when other events bubble up (#425)
liamdebeasi Mar 26, 2024
a0f0530
chore(vue): bump package version (#426)
liamdebeasi Mar 27, 2024
4efbf97
chore(deps): update actions/setup-node action to v4.0.2 (#418)
renovate[bot] Apr 4, 2024
15aa6c2
chore(deps): update actions/checkout action to v4.1.3 (#429)
renovate[bot] Apr 26, 2024
61dc3bf
chore(deps): update actions/cache action to v4 (#413)
renovate[bot] Apr 29, 2024
9846dc1
chore(deps): update actions/checkout action to v4.1.4 (#431)
renovate[bot] Apr 29, 2024
ed73fee
chore(deps): update actions/checkout action to v4.1.5 (#433)
renovate[bot] May 13, 2024
0eb22ba
chore(deps): update actions/checkout action to v4.1.6 (#438)
renovate[bot] May 20, 2024
9524c1c
chore(deps): update actions/checkout action to v4.1.7 (#441)
renovate[bot] Jun 24, 2024
1034f95
fix(vue): pass router-link value to href to properly render clickable…
brandyscarney Aug 2, 2024
d6d233d
chore(vue): bump package version
brandyscarney Aug 2, 2024
d2fea75
feat(react-output-target): generate functional components and ES modu…
thetaPC Aug 14, 2024
244de91
chore(ci): force version bumps in release process (#454)
sean-perkins Aug 15, 2024
941e9d6
chore(lerna): configure with pnpm (#455)
sean-perkins Aug 15, 2024
f2421ab
chore(react): bump package version (#456)
thetaPC Aug 15, 2024
e9d35d9
chore(deps): update pnpm/action-setup action to v4 (#453)
renovate[bot] Aug 22, 2024
24de01e
feat(react-output-target): add customElementsDir configuration option…
sean-perkins Aug 26, 2024
399fe25
feat(react): Next.js Support (#445)
christian-bromann Aug 27, 2024
955534c
chore(react): bump package version (#463)
sean-perkins Aug 27, 2024
b8930b0
feat(angular): Standalone Value Accessor for Angular OutputType (#459)
Samg983 Aug 28, 2024
75c6cce
docs(react): broken markdown for the options table in the README.md f…
dgonzalezr Aug 28, 2024
48da093
fix(react): ssr hydration with children (#464)
christian-bromann Aug 28, 2024
c8e9536
chore(react|angular): bump package versions (#466)
christian-bromann Aug 28, 2024
62f2965
fix(react): transform react props into HTML ones (#467)
christian-bromann Aug 29, 2024
fa90560
fix(react): decamelize all component props (#471)
christian-bromann Aug 30, 2024
516f334
fix(react): enable event names with forward slash (#474)
alexprudhomme Sep 18, 2024
857d8ca
fix(angular): enable event names with forward slash (#482)
alexprudhomme Sep 18, 2024
199349c
fix(react): use property mapping from component meta (#484)
christian-bromann Sep 28, 2024
43e0b80
chore(deps): update actions/checkout action to v4.2.0 (#486)
renovate[bot] Sep 30, 2024
7cfdb9a
fix(react-output-target): event name alignment to underscore (#480)
64BitAsura Oct 3, 2024
c2d56cc
fix(react-output-target): typo in readme (#488)
ghoullier Oct 4, 2024
4b041de
fix(react): propagate slot property when hydrating (#487)
christian-bromann Oct 4, 2024
0143da0
fix(react): React SSR improvements (#489)
christian-bromann Oct 4, 2024
0c1fdc1
chore(deps): update actions/checkout action to v4.2.1 (#494)
renovate[bot] Oct 11, 2024
a15764f
fix: module points to es2015-build (#495)
kristilw Oct 11, 2024
365a754
repo: use new output nomenclature for dev builds (#496)
christian-bromann Oct 14, 2024
c860023
feat(vue): support SSR (#468)
christian-bromann Oct 19, 2024
cfda11c
fix(docs): update links to projects
christian-bromann Oct 19, 2024
53db0b1
fix(docs): update links to projects
christian-bromann Oct 19, 2024
139f202
docs: improve development documentation (#500)
christian-bromann Oct 22, 2024
346b614
Publish: Angular, React and Vue output targets (#501)
christian-bromann Oct 22, 2024
08d3e09
chore(deps): update dependency lerna to v8.1.8 (#507)
renovate[bot] Oct 23, 2024
db62dd0
chore(deps): update dependency @rollup/plugin-typescript to v12.1.1 (…
renovate[bot] Oct 23, 2024
8a7518f
chore(deps): update dependency vite to v5.4.9 (#513)
renovate[bot] Oct 24, 2024
ee2ae89
chore(deps): update dependency rimraf to v5.0.10 (#510)
renovate[bot] Oct 24, 2024
c5b7e3f
chore(deps): update dependency @types/node to v20.16.13 (#517)
renovate[bot] Oct 25, 2024
8f06917
chore(deps): update dependency @types/node to v20.16.14 (#519)
renovate[bot] Oct 25, 2024
9328a50
chore(deps): update dependency prettier to v2.8.8 (#520)
renovate[bot] Oct 25, 2024
6a24eec
chore(deps): update dependency @types/react-dom to v18.3.1 (#505)
renovate[bot] Oct 25, 2024
1147078
Added overrides to boolean and number value accessor as they don't wo…
CosmicEvil Oct 25, 2024
a11a8d8
fix(react): propagate style properties in SSR (#508)
christian-bromann Oct 25, 2024
756a466
feat: expose input properties to Angular Language Server (#497)
kristilw Oct 25, 2024
36e46fd
chore(deps): update dependency rollup to v2.79.2 (#511)
renovate[bot] Oct 25, 2024
29c23f9
fix(ci): group renovate PRs by semver bump
christian-bromann Oct 25, 2024
4a7fd40
Publish: @stencil/angular-output-target v0.10.0, @stencil/react-outpu…
christian-bromann Oct 25, 2024
df41fd7
chore(deps): update dependency rimraf to v5.0.10 (#527)
renovate[bot] Oct 28, 2024
1b4450e
chore(deps): update dependency @types/react to v18.3.12 (#525)
renovate[bot] Oct 28, 2024
51fbc1b
chore(deps): update all minor dependencies (#530)
renovate[bot] Oct 29, 2024
41b3c8c
chore(deps): update actions/checkout action to v4.2.2 (#524)
renovate[bot] Oct 29, 2024
75ba940
chore(deps): update dependency vitest to ^2.1.3 (#536)
renovate[bot] Nov 5, 2024
5999b68
chore(deps): update dependency lerna to v8.1.9 (#538)
renovate[bot] Nov 5, 2024
1b6ba74
chore(deps): update dependency @types/node to v20.17.5 (#535)
renovate[bot] Nov 5, 2024
f05dbc5
chore(deps): update dependency @types/node to v20.17.6 (#541)
renovate[bot] Nov 6, 2024
edecf71
upgrade prettier
christian-bromann Nov 6, 2024
c3dbb65
Revert "upgrade prettier"
christian-bromann Nov 6, 2024
528ba3a
feat(react): support to ignore certain components for SSR (#540)
christian-bromann Nov 7, 2024
e9c6056
fix(angular): set proper dest property for accessor copy (#543)
christian-bromann Nov 7, 2024
4d5233d
chore(deps): update dependency vite to v5.4.11 (#545)
renovate[bot] Nov 15, 2024
fc3bd2e
chore(deps): update dependency vitest to v2.1.5 (#546)
renovate[bot] Nov 19, 2024
247d5c2
chore(deps): update dependency @vue/shared to v3.5.13 (#547)
renovate[bot] Nov 20, 2024
b780d96
chore(deps): update dependency @types/node to v18.19.65 (#550)
renovate[bot] Nov 26, 2024
e02114a
chore(deps): update all minor dependencies (#544)
renovate[bot] Nov 26, 2024
aa405fa
feat: Add a node-specific entry point for the React package (#549)
baumgm94 Nov 26, 2024
880caa9
chore(deps): update dependency @types/node to v18.19.67 (#554)
renovate[bot] Dec 2, 2024
be768be
chore(deps): update dependency vitest to v2.1.8 (#556)
renovate[bot] Dec 6, 2024
61a3975
fix(angular): 2-way data-binding for inlined Inputs (#533)
alexandertrefz Dec 6, 2024
da409f9
chore(deps): update dependency rollup to v4.28.0 (#555)
renovate[bot] Dec 6, 2024
ac40875
chore(deps): update dependency html-react-parser to v5.2.0 (#560)
renovate[bot] Dec 9, 2024
a86ecf0
chore(deps): update dependency prettier to v3.4.2 (#559)
renovate[bot] Dec 9, 2024
382252f
chore(deps): update dependency @types/react-dom to v18.3.2 (#558)
renovate[bot] Dec 9, 2024
e8f9615
chore(deps): update dependency @types/react to v18.3.14 (#557)
renovate[bot] Dec 9, 2024
1b8fb07
fix: further resolve type of async components (#562)
dwirz Dec 10, 2024
a0e894f
chore(deps): update dependency rollup to v4.28.1 (#564)
renovate[bot] Dec 10, 2024
1af50e3
fix(vue): emits events on runtime (#566)
aesteves60 Dec 12, 2024
c85585b
Publish: @stencil/angular-output-target v0.10.1, @stencil/react-outpu…
christian-bromann Dec 12, 2024
25e07c2
fix(ci): remove lerna publish step
christian-bromann Dec 12, 2024
0d884b8
fix(ci): remove version from release input
christian-bromann Dec 12, 2024
fa24ed3
chore(deps): update dependency @types/react-dom to v18.3.3 (#568)
renovate[bot] Dec 13, 2024
28e0d5f
chore(deps): update dependency @types/node to v20.17.10 (#570)
renovate[bot] Dec 16, 2024
5165f06
chore(deps): update dependency @types/react to v18.3.16 (#571)
renovate[bot] Dec 16, 2024
46e5d61
chore(deps): update dependency @types/react-dom to v18.3.5 (#572)
renovate[bot] Dec 17, 2024
419dacc
fix(angular): support nested namespaces in event types (#575)
christian-bromann Dec 18, 2024
653642f
fix(react): hide SSR rendering error (#573)
christian-bromann Dec 18, 2024
78b60b5
chore(deps): update pnpm to v9.15.0 (#578)
renovate[bot] Dec 19, 2024
3310969
chore(deps): update dependency @rollup/plugin-typescript to v12.1.2 (…
renovate[bot] Dec 19, 2024
2526b82
fix(vue): import JSX from default component library export (#574)
christian-bromann Dec 19, 2024
623ae9a
Publish: @stencil/angular-output-target v0.10.2, @stencil/react-outpu…
christian-bromann Dec 20, 2024
000189b
fix(ci): fix release pipeline
christian-bromann Dec 20, 2024
c96e016
chore(deps): update dependency rollup to v4.29.0 (#584)
renovate[bot] Dec 24, 2024
ff74bbe
chore(deps): update pnpm to v9.15.1 (#582)
renovate[bot] Dec 24, 2024
b1432ab
chore(deps): update dependency @types/react to v18.3.18 (#581)
renovate[bot] Dec 24, 2024
869eb02
chore(deps): update dependency rollup to v4.29.1 (#585)
renovate[bot] Dec 25, 2024
971f219
fix(react): improve resolving component types (#583)
dwirz Dec 26, 2024
b564386
chore(deps): update dependency html-react-parser to v5.2.2 (#586)
renovate[bot] Dec 30, 2024
51d68ba
chore(deps): update pnpm to v9.15.2 (#587)
renovate[bot] Dec 31, 2024
325fe6f
chore(deps): update pnpm to v9.15.3 (#592)
renovate[bot] Jan 9, 2025
d64e635
chore(deps): update dependency rollup to v4.29.2 (#591)
renovate[bot] Jan 9, 2025
4ed7bf6
chore(deps): update dependency @types/node to v18.19.70 (#589)
renovate[bot] Jan 9, 2025
25c2b2b
chore(deps): update dependency rollup to v4.30.0 (#593)
renovate[bot] Jan 9, 2025
e48d761
chore(deps): update dependency rollup to v4.30.1 (#596)
renovate[bot] Jan 10, 2025
6a6a7b5
fix(react): add react, react-dom and lit/react to vite externals (#594)
dwirz Jan 10, 2025
297bcfe
Publish: @stencil/react-output-target v0.8.2 (#597)
christian-bromann Jan 10, 2025
ab94819
chore(deps): update dependency @lit/react to v1.0.7 (#599)
renovate[bot] Jan 15, 2025
f4fa61a
chore(deps): update dependency @types/node to v20.17.14 (#603)
renovate[bot] Jan 20, 2025
ebba0b8
chore(deps): update dependency rollup to v4.31.0 (#605)
renovate[bot] Jan 24, 2025
8d4e56c
fix(vue): properly set ROUTER_LINK_VALUE (#606)
christian-bromann Jan 28, 2025
e2e5c88
Publish: @stencil/vue-output-target v0.9.3 (#609)
christian-bromann Jan 28, 2025
a9930b9
Publish: @stencil/vue-output-target v0.9.4
christian-bromann Jan 28, 2025
020612c
chore(deps): update dependency vitest to v2.1.9 (#612)
renovate[bot] Feb 7, 2025
e0cd606
chore(deps): update dependency @types/node to v18.19.75 (#611)
renovate[bot] Feb 7, 2025
d52c5f7
chore(deps): update dependency @types/node to v18.19.76 (#614)
renovate[bot] Feb 18, 2025
e8f92eb
Fix/616 vue custom event listeners (#617)
andrewbeng89 Feb 21, 2025
b61b148
chore(deps): update pnpm to v9.15.4 (#601)
renovate[bot] Feb 21, 2025
36b9ee9
Publish: @stencil/vue-output-target v0.9.5 (#620)
christian-bromann Feb 21, 2025
df26ae8
chore(deps): update pnpm to v9.15.5 (#619)
renovate[bot] Feb 21, 2025
eb138f6
chore(deps): update dependency vite to v5.4.14 (#604)
renovate[bot] Feb 21, 2025
f229f6a
chore(deps): update all minor dependencies (#608)
renovate[bot] Feb 21, 2025
80e9122
fix(vue): fix type issue in test
christian-bromann Feb 21, 2025
39116cc
chore(deps): update all minor dependencies (#622)
renovate[bot] Feb 24, 2025
54c3aa7
chore(deps): update dependency prettier to v3.5.2 (#623)
renovate[bot] Feb 25, 2025
33bbf2c
chore(deps): update pnpm to v9.15.6 (#625)
renovate[bot] Feb 27, 2025
2dd8209
fix: update repository references
christian-bromann Feb 27, 2025
fef6763
fix(docs): add missing Vue example reference
christian-bromann Feb 27, 2025
449cc49
fix(docs): split contributing guidelines from readme
christian-bromann Feb 27, 2025
1405854
chore: update codeowners file
christian-bromann Mar 3, 2025
bd1f29f
test(vue): add e2e test for Vue component changes (#627)
christian-bromann Mar 5, 2025
1416ddc
Publish: @stencil/vue-output-target v0.9.6
christian-bromann Mar 5, 2025
0de5b33
fix(vue): improve types for Vue Stencil components (#630)
christian-bromann Mar 11, 2025
59838b7
Publish: @stencil/vue-output-target v0.10.0
christian-bromann Mar 11, 2025
6abc0e3
fix(vue): always import StencilVueComponent type
christian-bromann Mar 11, 2025
1c34dc7
Publish: @stencil/vue-output-target v0.10.1
christian-bromann Mar 11, 2025
87ab1f0
fix(vue): prettier
christian-bromann Mar 12, 2025
7488116
test(vue): add render test
christian-bromann Mar 12, 2025
be1a0cb
test(vue): add sfc and composition tests
christian-bromann Mar 12, 2025
acd1891
fix(vue): correctly reference model value and more testing
christian-bromann Mar 12, 2025
3178af8
Publish: @stencil/vue-output-target v0.10.2
christian-bromann Mar 12, 2025
e572b60
fix(vue): fix model value assignment
christian-bromann Mar 13, 2025
fa2cce6
Publish: @stencil/vue-output-target v0.10.3
christian-bromann Mar 13, 2025
a162a46
fix(vue): support node classic module resolution for types
christian-bromann Mar 13, 2025
44267c7
Publish: @stencil/vue-output-target v0.10.4
christian-bromann Mar 13, 2025
7f7a3a4
fix(vue): prettier
christian-bromann Mar 13, 2025
c046251
fix(vue): actually publish the type definition
christian-bromann Mar 13, 2025
4c3a9d6
Publish: @stencil/vue-output-target v0.10.5
christian-bromann Mar 13, 2025
2280596
fix(vue): fix typing for routerLink attribute
christian-bromann Mar 17, 2025
b629102
chore(vue): add testing on router link
christian-bromann Mar 17, 2025
816c36a
chore(vue): trim stdout to have equal results in Mac vs Windows
christian-bromann Mar 17, 2025
8478be6
Publish: @stencil/vue-output-target v0.10.6
christian-bromann Mar 17, 2025
50ed60f
fix(vue): support more complex types for routerLink
christian-bromann Mar 17, 2025
1192757
Publish: @stencil/vue-output-target v0.10.7
christian-bromann Mar 17, 2025
2873b0e
feat(react): support Vite based SSR (#624)
christian-bromann Apr 3, 2025
848cbe1
Publish: @stencil/react-output-target v1.0.0 and @stencil/ssr v0.1.0
christian-bromann Apr 3, 2025
5308e29
chore(react): bump @stencil/core version to v4.29.0
christian-bromann Apr 3, 2025
0380d2c
chore: remove renovate file
christian-bromann Apr 3, 2025
d98df24
fix(react): revive esModules option
christian-bromann Apr 3, 2025
34cd3e0
Publish: @stencil/react-output-target v1.0.2
christian-bromann Apr 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
20 changes: 1 addition & 19 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,19 +1 @@
# Lines starting with '#' are comments.

# Each line is a file pattern followed by one or more owners.

# More details are here: https://help.github.com/articles/about-codeowners/

# The '\*' pattern is global owners.

# Order is important. The last matching pattern has the most precedence.

# The folders are ordered as follows:

# In each subsection folders are ordered first by depth, then alphabetically.

# This should make it easy to add new rules without breaking existing ones.

# Global owners

* @ionic-team/stencil @ionic-team/framework
* @stenciljs/technical-steering-committee
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ body:
required: true
- label: I agree to follow the [Code of Conduct](https://github.com/ionic-team/stencil/blob/main/CODE_OF_CONDUCT.md).
required: true
- label: I have searched for [existing issues](https://github.com/ionic-team/stencil-ds-output-targets/issues) that already report this problem, without success.
- label: I have searched for [existing issues](https://github.com/stenciljs/output-targets/issues) that already report this problem, without success.
required: true
- type: input
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ body:
required: true
- label: I agree to follow the [Code of Conduct](https://github.com/ionic-team/stencil/blob/main/CODE_OF_CONDUCT.md).
required: true
- label: I have searched for [existing issues](https://github.com/ionic-team/stencil-ds-output-targets/issues) that already report this problem, without success.
- label: I have searched for [existing issues](https://github.com/stenciljs/output-targets/issues) that already report this problem, without success.
required: true
- type: textarea
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ionic-issue-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ comment:

This project is currently maintained for the purposes of supporting Ionic Framework.
At this time, only new issues & pull requests that support Ionic Framework will be prioritized.
For the latest updates regarding the maintenance status of this project, please see [this section of the project's README](https://github.com/ionic-team/stencil-ds-output-targets#maintenance-status)
For the latest updates regarding the maintenance status of this project, please see [this section of the project's README](https://github.com/stenciljs/output-targets#maintenance-status)
dryRun: false

closeAndLock:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/actions/check-git-context/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: 'Check Git Context'
description: 'checks for a dirty git context, failing if the context is dirty'
runs:
using: composite
steps:
- name: Git status check
# here we check that there are no changed / new files.
# we use `git status`, grep out the build zip used throughout CI,
# and check if there are more than 0 lines in the output.
run: if [[ $(git status --short | grep -c -v stencil-core-build.zip) -ne 0 ]]; then STATUS=$(git status --verbose); printf "%s" "$STATUS"; git diff | cat; exit 1; fi
shell: bash
16 changes: 6 additions & 10 deletions .github/workflows/actions/publish-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ description: 'Releases a package'
inputs:
scope:
description: 'The package to release. Must match a package specified in lerna.json.'
version:
description: 'The type of version to release.'
tag:
description: 'The tag to publish to on NPM (DRY RUN).'
preid:
Expand All @@ -17,19 +15,17 @@ inputs:
runs:
using: 'composite'
steps:
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: './package.json'
node-version: '20.10.0'
cache: 'pnpm'
- name: Install Dependencies
run: npx lerna bootstrap --include-dependencies --scope ${{ inputs.scope }} --ignore-scripts -- --legacy-peer-deps
shell: bash
working-directory: ${{ inputs.working-directory }}
- name: Update Version
run: npx lerna version ${{ inputs.version }} --yes --exact --no-changelog --no-git-tag-version --preid=${{ inputs.preid }}
run: pnpm --filter ${{ inputs.scope }} install
shell: bash
working-directory: ${{ inputs.working-directory }}
- name: Run Build
run: npm run build
run: pnpm run build
shell: bash
working-directory: ${{ inputs.working-directory }}
- name: Prepare NPM Token
Expand Down
45 changes: 20 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,33 @@ jobs:

name: Node on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

timeout-minutes: 30
steps:
- name: Checkout Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version-file: './package.json'
- name: Restore Dependency Cache
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3
env:
cache-name: cache-node-modules

- name: 📥 Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: 📦 Setup pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: 🟢 Use Node
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
node-version-file: .nvmrc
cache: 'pnpm'

- name: 🔧 Install Dependencies
run: pnpm install

- name: Install Dependencies
run: npm ci
- name: 🏗️ Build
run: pnpm run build

- name: Setup Testing Environment
run: npm run bootstrap
- name: 🧪 Test
run: pnpm test

- name: Build
run: npm run build
- name: 🔍 Check Git Context
uses: ./.github/workflows/actions/check-git-context

- name: Test
run: npm test
format:
name: Format
uses: ./.github/workflows/format.yml
15 changes: 7 additions & 8 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ jobs:
version: ${{ steps.dev-build.outputs.version }}
steps:
- name: Checkout Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: './package.json'
- name: Install root dependencies
run: npm ci
shell: bash
node-version: '20.10.0'
cache: 'pnpm'
- name: Install Dependencies
run: npx lerna bootstrap --ignore-scripts -- --legacy-peer-deps
run: pnpm install
shell: bash
- name: Prepare NPM Token
run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
Expand All @@ -38,7 +37,7 @@ jobs:
HUSKY_SKIP_HOOKS=1 lerna publish 0.0.1-dev.$(echo "${{ env.TIMESTAMP }}").$(echo "${{ env.HASH }}") --no-verify-access --yes --force-publish='*' --dist-tag dev --no-git-tag-version --no-push --exact
shell: bash
- id: dev-build
run: echo "::set-output name=version::0.0.1-dev.$(echo "${{ env.TIMESTAMP }}").$(echo "${{ env.HASH }}")"
run: echo "version=0.0.1-dev.$(echo "${{ env.TIMESTAMP }}").$(echo "${{ env.HASH }}")" >> $GITHUB_OUTPUT
get-build:
name: Get your dev build!
runs-on: ubuntu-latest
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- name: Checkout Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- name: Use Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: './package.json'
cache: 'npm'
node-version: '20.10.0'
cache: 'pnpm'

- name: Install Dependencies
run: npm ci
run: pnpm install
shell: bash

- name: Prettier Check
run: npm run prettier.dry-run
run: pnpm run prettier.dry-run
shell: bash
31 changes: 9 additions & 22 deletions .github/workflows/prod-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,7 @@ on:
- vue
- angular
- react
version:
required: true
type: choice
description: Which version should be published?
options:
- patch
- minor
- major
- prepatch
- preminor
- premajor
- prerelease
- ssr
tag:
required: true
type: choice
Expand All @@ -46,15 +35,14 @@ jobs:
outputs:
version: ${{ steps.prod-build.outputs.version }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: './package.json'
- name: Install root dependencies
run: npm ci
shell: bash
node-version: '20.10.0'
cache: 'pnpm'
- name: Install Dependencies
run: npx lerna bootstrap --ignore-scripts -- --legacy-peer-deps
run: pnpm install
shell: bash
- name: Prepare NPM Token
run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
Expand All @@ -64,12 +52,11 @@ jobs:
- name: Publish Package
uses: ./.github/workflows/actions/publish-npm
with:
version: ${{ inputs.version }} # "patch", "minor", "major", "prepatch", "preminor", "premajor", "prerelease"
tag: ${{ inputs.tag }} # "latest" or "next"
preid: ${{ inputs.preid }} # Only needed when version is "prepatch", "preminor", "premajor", or "prerelease"
scope: "@stencil/${{ inputs.package }}-output-target"
scope: ${{ inputs.package == 'ssr' && '@stencil/ssr' || format('@stencil/{0}-output-target', inputs.package) }}
# Look at package.json's name
# Coupled to project structure. Update this when adding a new output target.
# Examples: vue-output-target, angular-output-target, react-output-target
working-directory: "./packages/${{ inputs.package }}-output-target" # Follow the repo structure
working-directory: './packages/${{ inputs.package }}' # Follow the repo structure
token: ${{ secrets.NPM_TOKEN }} # Private, accessible by team leads
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ build/
.npmrc
*.tgz
*.lerna_backup
example-project/component-library/hydrate
example-project/component-library/components
*.tsbuildinfo
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22.14.0
Loading
Loading