Skip to content

Commit 52c1b25

Browse files
author
farfromrefug
committed
Merge remote-tracking branch 'origin/main'
2 parents bb98e7e + 0d4e483 commit 52c1b25

27 files changed

+5082
-5326
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
github: [farfromrefug]
2-

.github/workflows/release.yml

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
name: 'release'
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
release_type:
7+
type: choice
8+
default: auto
9+
description: What kind of version upgrade
10+
options:
11+
- auto
12+
- patch
13+
- minor
14+
- major
15+
16+
jobs:
17+
release:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
with:
23+
fetch-depth: "0"
24+
submodules: true
25+
26+
- name: setup node
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: lts/*
30+
registry-url: 'https://registry.npmjs.org'
31+
32+
33+
- uses: oNaiPs/secrets-to-env-action@v1
34+
with:
35+
secrets: ${{ toJSON(secrets) }}
36+
37+
38+
- uses: oleksiyrudenko/gha-git-credentials@v2-latest
39+
with:
40+
token: '${{ secrets.GITHUB_TOKEN }}'
41+
name: Martin Guillon
42+
43+
44+
- name: install jq
45+
run: sudo apt install jq
46+
47+
- name: Enable CorePack
48+
run: |
49+
corepack enable
50+
yarn config get globalFolder # the yarn command will ensure the correct yarn version is downloaded and installed
51+
52+
- name: Get yarn cache directory path
53+
id: yarn-cache-dir-path
54+
run: echo "::set-output name=dir::$(yarn config get globalFolder)"
55+
56+
- name: Remove package.json resolutions
57+
run: echo "`jq 'delpaths([["resolutions"]])' package.json`" > package.json
58+
59+
- uses: actions/cache@v4
60+
name: Handle node_modules Cache
61+
id: yarn-node_modules # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
62+
with:
63+
path: node_modules
64+
key: ${{ runner.os }}-yarn-node_modules-${{ hashFiles('**/yarn.lock') }}
65+
restore-keys: |
66+
${{ runner.os }}-node_modules-
67+
68+
- uses: actions/cache@v4
69+
if: steps.yarn-node_modules.outputs.cache-hit != 'true'
70+
name: Handle Yarn cache
71+
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
72+
with:
73+
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
74+
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
75+
restore-keys: |
76+
${{ runner.os }}-yarn-
77+
78+
- name: Install deps
79+
if: steps.yarn-node_modules.outputs.cache-hit != 'true'
80+
uses: bahmutov/npm-install@v1
81+
with:
82+
install-command: yarn install --silent
83+
env:
84+
YARN_ENABLE_IMMUTABLE_INSTALLS: false
85+
86+
- name: run setup
87+
run: |
88+
npm run setup
89+
90+
- name: "NPM Identity"
91+
env:
92+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
93+
run: |
94+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
95+
96+
- name: publish auto
97+
if: github.event.inputs.release_type == 'auto'
98+
run: |
99+
npm run publish -- --force-publish --no-verify-access --no-private --no-commit-hooks --yes
100+
env:
101+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
102+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104+
105+
- name: publish
106+
if: github.event.inputs.release_type != 'auto'
107+
run: |
108+
npm run publish -- --force-publish --no-verify-access --no-private --no-commit-hooks --yes --bump ${{ github.event.inputs.release_type }}
109+
env:
110+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
111+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,6 @@ packages/**/angular/*.json
5858
packages/**/*.ngsummary.json
5959
packages/**/*.metadata.json
6060

61+
.vscode/settings.json
62+
6163
/blueprint.md

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.4.1](https://github.com/nativescript-community/ui-cameraview/compare/v0.4.0...v0.4.1) (2024-11-08)
7+
8+
### Features
9+
10+
* `readyToStartPreview` property. Can be used to defer startPreview until permission is granted ([02d5717](https://github.com/nativescript-community/ui-cameraview/commit/02d57177f7cec0495cb2ea938c09fbdfe19b290c))
11+
612
## [0.4.0](https://github.com/nativescript-community/ui-cameraview/compare/v0.3.4...v0.4.0) (2024-07-10)
713

814
### Features

docs/assets/hierarchy.js

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

docs/assets/highlight.css

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
:root {
2-
--light-hl-0: #800000;
3-
--dark-hl-0: #808080;
4-
--light-hl-1: #800000;
5-
--dark-hl-1: #569CD6;
6-
--light-hl-2: #000000;
7-
--dark-hl-2: #D4D4D4;
8-
--light-hl-3: #E50000;
9-
--dark-hl-3: #9CDCFE;
10-
--light-hl-4: #0000FF;
11-
--dark-hl-4: #CE9178;
12-
--light-hl-5: #AF00DB;
13-
--dark-hl-5: #C586C0;
14-
--light-hl-6: #001080;
15-
--dark-hl-6: #9CDCFE;
16-
--light-hl-7: #A31515;
17-
--dark-hl-7: #CE9178;
18-
--light-hl-8: #795E26;
19-
--dark-hl-8: #DCDCAA;
2+
--light-hl-0: #AF00DB;
3+
--dark-hl-0: #C586C0;
4+
--light-hl-1: #000000;
5+
--dark-hl-1: #D4D4D4;
6+
--light-hl-2: #001080;
7+
--dark-hl-2: #9CDCFE;
8+
--light-hl-3: #A31515;
9+
--dark-hl-3: #CE9178;
10+
--light-hl-4: #795E26;
11+
--dark-hl-4: #DCDCAA;
12+
--light-hl-5: #0000FF;
13+
--dark-hl-5: #569CD6;
14+
--light-hl-6: #800000;
15+
--dark-hl-6: #808080;
16+
--light-hl-7: #CD3131;
17+
--dark-hl-7: #F44747;
18+
--light-hl-8: #E50000;
19+
--dark-hl-8: #9CDCFE;
2020
--light-hl-9: #0000FF;
21-
--dark-hl-9: #569CD6;
22-
--light-hl-10: #CD3131;
23-
--dark-hl-10: #F44747;
21+
--dark-hl-9: #CE9178;
22+
--light-hl-10: #800000;
23+
--dark-hl-10: #569CD6;
2424
--light-hl-11: #008000;
2525
--dark-hl-11: #6A9955;
2626
--light-hl-12: #000000;

docs/assets/icons.js

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

0 commit comments

Comments
 (0)