@rockcarver/frodo-cli 0.10.4 → 0.11.1-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -1
- package/README.md +3 -3
- package/package.json +17 -15
- package/src/app.js +7 -6
- package/src/cli/_template/cmd-delete.js +9 -8
- package/src/cli/_template/cmd-describe.js +9 -8
- package/src/cli/_template/cmd-export.js +9 -8
- package/src/cli/_template/cmd-import.js +9 -8
- package/src/cli/_template/cmd-list.js +9 -8
- package/src/cli/_template/cmd-sub1-delete.js +9 -8
- package/src/cli/_template/cmd-sub1-describe.js +9 -8
- package/src/cli/_template/cmd-sub1-export.js +9 -8
- package/src/cli/_template/cmd-sub1-import.js +9 -8
- package/src/cli/_template/cmd-sub1-list.js +9 -8
- package/src/cli/_template/cmd-sub2-delete.js +9 -8
- package/src/cli/_template/cmd-sub2-describe.js +9 -8
- package/src/cli/_template/cmd-sub2-export.js +9 -8
- package/src/cli/_template/cmd-sub2-import.js +9 -8
- package/src/cli/_template/cmd-sub2-list.js +9 -8
- package/src/cli/admin/admin-add-autoid-static-user-mapping.js +12 -12
- package/src/cli/admin/admin-create-oauth2-client-with-admin-privileges.js +15 -18
- package/src/cli/admin/admin-get-access-token.js +12 -12
- package/src/cli/admin/admin-grant-oauth2-client-admin-privileges.js +13 -13
- package/src/cli/admin/admin-hide-generic-extension-attributes.js +13 -13
- package/src/cli/admin/admin-list-oauth2-clients-with-admin-privileges.js +13 -13
- package/src/cli/admin/admin-list-oauth2-clients-with-custom-privileges.js +14 -13
- package/src/cli/admin/admin-list-static-user-mappings.js +12 -12
- package/src/cli/admin/admin-remove-static-user-mapping.js +12 -12
- package/src/cli/admin/admin-repair-org-model.js +13 -13
- package/src/cli/admin/admin-revoke-oauth2-client-admin-privileges.js +13 -13
- package/src/cli/admin/admin-show-generic-extension-attributes.js +13 -13
- package/src/cli/app/app-delete.js +9 -8
- package/src/cli/app/app-describe.js +9 -8
- package/src/cli/app/app-export.js +15 -15
- package/src/cli/app/app-import.js +11 -11
- package/src/cli/app/app-list.js +11 -12
- package/src/cli/conn/conn-add.js +11 -11
- package/src/cli/conn/conn-delete.js +3 -1
- package/src/cli/conn/conn-describe.js +3 -1
- package/src/cli/conn/conn-list.js +3 -4
- package/src/cli/email/email-template-export.js +16 -16
- package/src/cli/email/email-template-import.js +16 -16
- package/src/cli/email/email-template-list.js +11 -11
- package/src/cli/esv/esv-apply.js +12 -12
- package/src/cli/esv/esv-secret-create.js +11 -11
- package/src/cli/esv/esv-secret-delete.js +13 -13
- package/src/cli/esv/esv-secret-describe.js +11 -11
- package/src/cli/esv/esv-secret-export.js +9 -8
- package/src/cli/esv/esv-secret-import.js +9 -8
- package/src/cli/esv/esv-secret-list.js +11 -11
- package/src/cli/esv/esv-secret-set.js +11 -11
- package/src/cli/esv/esv-secret-version-activate.js +12 -12
- package/src/cli/esv/esv-secret-version-create.js +11 -11
- package/src/cli/esv/esv-secret-version-deactivate.js +12 -12
- package/src/cli/esv/esv-secret-version-delete.js +13 -13
- package/src/cli/esv/esv-secret-version-list.js +11 -11
- package/src/cli/esv/esv-variable-create.js +11 -11
- package/src/cli/esv/esv-variable-delete.js +13 -16
- package/src/cli/esv/esv-variable-describe.js +11 -11
- package/src/cli/esv/esv-variable-export.js +9 -8
- package/src/cli/esv/esv-variable-import.js +9 -8
- package/src/cli/esv/esv-variable-list.js +11 -11
- package/src/cli/esv/esv-variable-set.js +13 -16
- package/src/cli/idm/idm-count.js +11 -11
- package/src/cli/idm/idm-export.js +16 -16
- package/src/cli/idm/idm-list.js +11 -11
- package/src/cli/idp/idp-export.js +15 -19
- package/src/cli/idp/idp-import.js +18 -18
- package/src/cli/idp/idp-list.js +12 -12
- package/src/cli/info/info.js +23 -19
- package/src/cli/journey/journey-delete.js +14 -14
- package/src/cli/journey/journey-describe.js +26 -35
- package/src/cli/journey/journey-export.js +18 -21
- package/src/cli/journey/journey-import.js +17 -17
- package/src/cli/journey/journey-list.js +12 -12
- package/src/cli/journey/journey-prune.js +12 -12
- package/src/cli/logging/logs-list.js +33 -28
- package/src/cli/logging/logs-tail.js +26 -22
- package/src/cli/realm/realm-add-custom-domain.js +13 -13
- package/src/cli/realm/realm-describe.js +14 -14
- package/src/cli/realm/realm-list.js +11 -11
- package/src/cli/realm/realm-remove-custom-domain.js +16 -13
- package/src/cli/saml/saml-cot-export.js +16 -16
- package/src/cli/saml/saml-cot-import.js +18 -18
- package/src/cli/saml/saml-cot-list.js +12 -12
- package/src/cli/saml/saml-describe.js +12 -12
- package/src/cli/saml/saml-export.js +16 -19
- package/src/cli/saml/saml-import.js +19 -18
- package/src/cli/saml/saml-list.js +12 -12
- package/src/cli/saml/saml-metadata-export.js +15 -19
- package/src/cli/script/script-delete.js +9 -8
- package/src/cli/script/script-describe.js +9 -8
- package/src/cli/script/script-export.js +18 -20
- package/src/cli/script/script-import.js +13 -12
- package/src/cli/script/script-list.js +12 -12
- package/src/cli/theme/theme-delete.js +17 -21
- package/src/cli/theme/theme-export.js +19 -18
- package/src/cli/theme/theme-import.js +21 -20
- package/src/cli/theme/theme-list.js +12 -12
- package/.eslintrc +0 -29
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -30
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/README.md +0 -273
- package/.github/workflows/pipeline.yml +0 -487
- package/.prettierrc +0 -6
- package/CODE_OF_CONDUCT.md +0 -128
- package/docs/BINARIES.md +0 -22
- package/docs/CONTRIBUTE.md +0 -96
- package/docs/PIPELINE.md +0 -169
- package/docs/images/macos_warn1.png +0 -0
- package/docs/images/macos_warn2.png +0 -0
- package/docs/images/macos_warn3.png +0 -0
- package/docs/images/npm_versioning_guidelines.png +0 -0
- package/docs/images/release_pipeline.png +0 -0
- package/gulpfile.js +0 -49
- package/jsconfig.json +0 -6
- package/resources/sampleEntitiesFile.json +0 -8
- package/resources/sampleEnvFile.env +0 -2
- package/src/api/AuthenticateApi.js +0 -33
- package/src/api/BaseApi.js +0 -242
- package/src/api/CirclesOfTrustApi.js +0 -87
- package/src/api/EmailTemplateApi.js +0 -37
- package/src/api/IdmConfigApi.js +0 -88
- package/src/api/LogApi.js +0 -45
- package/src/api/ManagedObjectApi.js +0 -62
- package/src/api/OAuth2ClientApi.js +0 -69
- package/src/api/OAuth2OIDCApi.js +0 -73
- package/src/api/OAuth2ProviderApi.js +0 -32
- package/src/api/RealmApi.js +0 -99
- package/src/api/Saml2Api.js +0 -176
- package/src/api/ScriptApi.js +0 -84
- package/src/api/SecretsApi.js +0 -151
- package/src/api/ServerInfoApi.js +0 -41
- package/src/api/SocialIdentityProvidersApi.js +0 -114
- package/src/api/StartupApi.js +0 -45
- package/src/api/ThemeApi.js +0 -181
- package/src/api/TreeApi.js +0 -207
- package/src/api/VariablesApi.js +0 -104
- package/src/api/utils/ApiUtils.js +0 -77
- package/src/api/utils/Base64.js +0 -62
- package/src/cli/journey/journey-delete.e2e.test.js +0 -380
- package/src/cli/journey/journey-list.e2e.test.js +0 -141
- package/src/cli/theme/theme-delete.e2e.test.js +0 -178
- package/src/cli/theme/theme-list.e2e.test.js +0 -119
- package/src/ops/AdminOps.js +0 -901
- package/src/ops/AuthenticateOps.js +0 -342
- package/src/ops/CirclesOfTrustOps.js +0 -350
- package/src/ops/ConnectionProfileOps.js +0 -254
- package/src/ops/EmailTemplateOps.js +0 -326
- package/src/ops/IdmOps.js +0 -227
- package/src/ops/IdpOps.js +0 -342
- package/src/ops/JourneyOps.js +0 -2026
- package/src/ops/LogOps.js +0 -357
- package/src/ops/ManagedObjectOps.js +0 -34
- package/src/ops/OAuth2ClientOps.js +0 -151
- package/src/ops/OrganizationOps.js +0 -85
- package/src/ops/RealmOps.js +0 -139
- package/src/ops/SamlOps.js +0 -541
- package/src/ops/ScriptOps.js +0 -211
- package/src/ops/SecretsOps.js +0 -288
- package/src/ops/StartupOps.js +0 -114
- package/src/ops/ThemeOps.js +0 -379
- package/src/ops/VariablesOps.js +0 -185
- package/src/ops/templates/OAuth2ClientTemplate.json +0 -270
- package/src/ops/templates/OrgModelUserAttributesTemplate.json +0 -149
- package/src/ops/templates/cloud/GenericExtensionAttributesTemplate.json +0 -392
- package/src/ops/templates/cloud/managed.json +0 -4119
- package/src/ops/utils/Console.js +0 -434
- package/src/ops/utils/DataProtection.js +0 -92
- package/src/ops/utils/ExportImportUtils.js +0 -146
- package/src/ops/utils/OpsUtils.js +0 -76
- package/src/ops/utils/Wordwrap.js +0 -11
- package/src/storage/SessionStorage.js +0 -45
- package/test/client_cli/en/connections.test.js +0 -62
- package/test/client_cli/en/connections_add.test.js +0 -34
- package/test/client_cli/en/connections_delete.test.js +0 -34
- package/test/client_cli/en/connections_list.test.js +0 -34
- package/test/client_cli/en/email_templates.test.js +0 -77
- package/test/client_cli/en/email_templates_export.test.js +0 -196
- package/test/client_cli/en/email_templates_import.test.js +0 -145
- package/test/client_cli/en/email_templates_list.test.js +0 -130
- package/test/client_cli/en/idm.test.js +0 -111
- package/test/client_cli/en/idm_count.test.js +0 -121
- package/test/client_cli/en/idm_export.test.js +0 -136
- package/test/client_cli/en/idm_exportAll.test.js +0 -156
- package/test/client_cli/en/idm_exportAllRaw.test.js +0 -120
- package/test/client_cli/en/idm_import.test_.js +0 -103
- package/test/client_cli/en/idm_importAll.test_.js +0 -103
- package/test/client_cli/en/idm_list.test.js +0 -103
- package/test/client_cli/en/info.test.js +0 -125
- package/test/client_cli/en/journey.test.js +0 -127
- package/test/client_cli/en/journey_describe.test.js +0 -196
- package/test/client_cli/en/journey_export.test.js +0 -213
- package/test/client_cli/en/journey_import.test.js +0 -195
- package/test/client_cli/en/journey_importAll.test.js +0 -180
- package/test/client_cli/en/journey_list.test.js +0 -162
- package/test/client_cli/en/journey_prune.test.js +0 -148
- package/test/client_cli/en/logs.test.js +0 -79
- package/test/client_cli/en/logs_list.test.js +0 -83
- package/test/client_cli/en/logs_tail.test.js +0 -118
- package/test/client_cli/en/root.test.js +0 -91
- package/test/client_cli/en/script.test.js +0 -77
- package/test/client_cli/en/script_export.test.js +0 -213
- package/test/client_cli/en/script_import.test.js +0 -163
- package/test/client_cli/en/script_list.test.js +0 -148
- package/test/client_cli/utils/utils.js +0 -32
- package/test/e2e/journey/baseline/ForgottenUsername.journey.json +0 -216
- package/test/e2e/journey/baseline/Login.journey.json +0 -205
- package/test/e2e/journey/baseline/PasswordGrant.journey.json +0 -139
- package/test/e2e/journey/baseline/ProgressiveProfile.journey.json +0 -198
- package/test/e2e/journey/baseline/Registration.journey.json +0 -249
- package/test/e2e/journey/baseline/ResetPassword.journey.json +0 -268
- package/test/e2e/journey/baseline/UpdatePassword.journey.json +0 -323
- package/test/e2e/journey/baseline/allAlphaJourneys.journeys.json +0 -1520
- package/test/e2e/journey/delete/ForgottenUsername.journey.json +0 -216
- package/test/e2e/journey/delete/Login.journey.json +0 -205
- package/test/e2e/journey/delete/PasswordGrant.journey.json +0 -139
- package/test/e2e/journey/delete/ProgressiveProfile.journey.json +0 -198
- package/test/e2e/journey/delete/Registration.journey.json +0 -249
- package/test/e2e/journey/delete/ResetPassword.journey.json +0 -268
- package/test/e2e/journey/delete/UpdatePassword.journey.json +0 -323
- package/test/e2e/journey/delete/deleteMe.journey.json +0 -230
- package/test/e2e/journey/list/Disabled.journey.json +0 -43
- package/test/e2e/journey/list/ForgottenUsername.journey.json +0 -216
- package/test/e2e/journey/list/Login.journey.json +0 -205
- package/test/e2e/journey/list/PasswordGrant.journey.json +0 -139
- package/test/e2e/journey/list/ProgressiveProfile.journey.json +0 -198
- package/test/e2e/journey/list/Registration.journey.json +0 -249
- package/test/e2e/journey/list/ResetPassword.journey.json +0 -268
- package/test/e2e/journey/list/UpdatePassword.journey.json +0 -323
- package/test/e2e/setup.js +0 -98
- package/test/e2e/theme/baseline/Contrast.theme.json +0 -95
- package/test/e2e/theme/baseline/Highlander.theme.json +0 -95
- package/test/e2e/theme/baseline/Robroy.theme.json +0 -95
- package/test/e2e/theme/baseline/Starter-Theme.theme.json +0 -94
- package/test/e2e/theme/baseline/Zardoz.theme.json +0 -95
- package/test/e2e/theme/import/Contrast.theme.json +0 -95
- package/test/e2e/theme/import/Highlander.theme.json +0 -95
- package/test/e2e/theme/import/Robroy.theme.json +0 -95
- package/test/e2e/theme/import/Starter-Theme.theme.json +0 -94
- package/test/e2e/theme/import/Zardoz.default.theme.json +0 -95
- package/test/fs_tmp/.gitkeep +0 -2
- package/test/global/setup.js +0 -65
- package/test/lib_api/unit_tests/ApiUtils.test.js +0 -186
- package/test/lib_api/unit_tests/Base64URL.test.js +0 -22
- package/test/lib_api/unit_tests/DataProtection.test.js +0 -25
- package/test/lib_api/unit_tests/ExportImportUtils.test.js +0 -121
|
@@ -1,487 +0,0 @@
|
|
|
1
|
-
name: 'Frodo Release Pipeline'
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- 'main'
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
smoke-tests:
|
|
10
|
-
name: 'Smoke Tests'
|
|
11
|
-
# You must use a Linux environment when using service containers or container jobs
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
strategy:
|
|
14
|
-
matrix:
|
|
15
|
-
node-version: [18, 16, 14]
|
|
16
|
-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
17
|
-
|
|
18
|
-
# Service containers to run with `smoke-tests`
|
|
19
|
-
services:
|
|
20
|
-
# Label used to access the service container
|
|
21
|
-
squid:
|
|
22
|
-
# Docker Hub image
|
|
23
|
-
image: ubuntu/squid
|
|
24
|
-
#
|
|
25
|
-
ports:
|
|
26
|
-
# Maps tcp port 3128 on the host to the same port in the service container
|
|
27
|
-
- 3128:3128
|
|
28
|
-
|
|
29
|
-
steps:
|
|
30
|
-
- name: Checkout repository
|
|
31
|
-
uses: actions/checkout@v2
|
|
32
|
-
with:
|
|
33
|
-
ref: ${{ github.ref }}
|
|
34
|
-
|
|
35
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
36
|
-
uses: actions/setup-node@v2
|
|
37
|
-
with:
|
|
38
|
-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
39
|
-
node-version: ${{ matrix.node-version }}
|
|
40
|
-
cache: 'npm'
|
|
41
|
-
|
|
42
|
-
- name: Install dependencies and install frodo globally
|
|
43
|
-
run: |
|
|
44
|
-
npm ci
|
|
45
|
-
npm i -g
|
|
46
|
-
|
|
47
|
-
#
|
|
48
|
-
# Run tests.
|
|
49
|
-
#
|
|
50
|
-
- name: Version Test
|
|
51
|
-
run: |
|
|
52
|
-
frodo -v
|
|
53
|
-
|
|
54
|
-
- name: Direct Tests
|
|
55
|
-
env:
|
|
56
|
-
FIDC_TENANT_URL: ${{ secrets.FIDC_TENANT_URL }}
|
|
57
|
-
FIDC_TENANT_ADMIN_USERNAME: ${{ secrets.FIDC_TENANT_ADMIN_USERNAME }}
|
|
58
|
-
FIDC_TENANT_ADMIN_PASSWORD: ${{ secrets.FIDC_TENANT_ADMIN_PASSWORD }}
|
|
59
|
-
run: |
|
|
60
|
-
frodo conn add "$FIDC_TENANT_URL" "$FIDC_TENANT_ADMIN_USERNAME" "$FIDC_TENANT_ADMIN_PASSWORD"
|
|
61
|
-
frodo info "$FIDC_TENANT_URL"
|
|
62
|
-
|
|
63
|
-
- name: Proxy Tests
|
|
64
|
-
env:
|
|
65
|
-
HTTPS_PROXY: "http://127.0.0.1:3128"
|
|
66
|
-
FIDC_TENANT_URL: ${{ secrets.FIDC_TENANT_URL }}
|
|
67
|
-
FIDC_TENANT_ADMIN_USERNAME: ${{ secrets.FIDC_TENANT_ADMIN_USERNAME }}
|
|
68
|
-
FIDC_TENANT_ADMIN_PASSWORD: ${{ secrets.FIDC_TENANT_ADMIN_PASSWORD }}
|
|
69
|
-
run: |
|
|
70
|
-
frodo conn add "$FIDC_TENANT_URL" "$FIDC_TENANT_ADMIN_USERNAME" "$FIDC_TENANT_ADMIN_PASSWORD"
|
|
71
|
-
frodo info "$FIDC_TENANT_URL"
|
|
72
|
-
|
|
73
|
-
update-changelog:
|
|
74
|
-
needs: smoke-tests
|
|
75
|
-
name: 'Update Changelog'
|
|
76
|
-
runs-on: ubuntu-latest
|
|
77
|
-
|
|
78
|
-
steps:
|
|
79
|
-
- name: 'Checkout source code'
|
|
80
|
-
uses: 'actions/checkout@v2'
|
|
81
|
-
with:
|
|
82
|
-
ref: ${{ github.ref }}
|
|
83
|
-
|
|
84
|
-
- name: 'cat package.json'
|
|
85
|
-
run: cat ./package.json
|
|
86
|
-
|
|
87
|
-
- name: 'Prepare Version Bump'
|
|
88
|
-
id: prepare-version-bump
|
|
89
|
-
uses: 'phips28/gh-action-bump-version@master'
|
|
90
|
-
with:
|
|
91
|
-
major-wording: 'MAJOR RELEASE'
|
|
92
|
-
minor-wording: 'MINOR RELEASE'
|
|
93
|
-
patch-wording: 'PATCH RELEASE'
|
|
94
|
-
rc-wording: ''
|
|
95
|
-
tag-prefix: 'v'
|
|
96
|
-
default: prerelease
|
|
97
|
-
preid: ''
|
|
98
|
-
bump-policy: 'ignore'
|
|
99
|
-
skip-commit: 'true'
|
|
100
|
-
skip-tag: 'true'
|
|
101
|
-
skip-push: 'true'
|
|
102
|
-
env:
|
|
103
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
104
|
-
|
|
105
|
-
- name: Update Changelog
|
|
106
|
-
uses: thomaseizinger/keep-a-changelog-new-release@1.3.0
|
|
107
|
-
with:
|
|
108
|
-
tag: ${{ steps.prepare-version-bump.outputs.newTag }}
|
|
109
|
-
|
|
110
|
-
- name: 'Output Changelog'
|
|
111
|
-
run: cat CHANGELOG.md
|
|
112
|
-
|
|
113
|
-
- name: Commit updated changelog
|
|
114
|
-
id: commit-changelog
|
|
115
|
-
run: |
|
|
116
|
-
git add CHANGELOG.md
|
|
117
|
-
git commit --message "Updated changelog for release ${{ steps.prepare-version-bump.outputs.newTag }}"
|
|
118
|
-
git push
|
|
119
|
-
|
|
120
|
-
- name: 'Output Version'
|
|
121
|
-
env:
|
|
122
|
-
NEW_VERSION: ${{ steps.prepare-version-bump.outputs.newTag }}
|
|
123
|
-
run: echo "new tag $NEW_VERSION"
|
|
124
|
-
|
|
125
|
-
bump-version:
|
|
126
|
-
needs: update-changelog
|
|
127
|
-
name: 'Bump Version'
|
|
128
|
-
runs-on: ubuntu-latest
|
|
129
|
-
|
|
130
|
-
steps:
|
|
131
|
-
- name: 'Checkout Source Code'
|
|
132
|
-
uses: 'actions/checkout@v2'
|
|
133
|
-
with:
|
|
134
|
-
ref: ${{ github.ref }}
|
|
135
|
-
|
|
136
|
-
- name: 'cat package.json'
|
|
137
|
-
run: cat ./package.json
|
|
138
|
-
|
|
139
|
-
- name: 'Automated Version Bump'
|
|
140
|
-
id: version-bump
|
|
141
|
-
uses: 'phips28/gh-action-bump-version@master'
|
|
142
|
-
with:
|
|
143
|
-
major-wording: 'MAJOR RELEASE'
|
|
144
|
-
minor-wording: 'MINOR RELEASE'
|
|
145
|
-
patch-wording: 'PATCH RELEASE'
|
|
146
|
-
rc-wording: ''
|
|
147
|
-
tag-prefix: 'v'
|
|
148
|
-
default: prerelease
|
|
149
|
-
preid: ''
|
|
150
|
-
bump-policy: 'ignore'
|
|
151
|
-
env:
|
|
152
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
153
|
-
|
|
154
|
-
- name: 'cat package.json'
|
|
155
|
-
run: cat ./package.json
|
|
156
|
-
|
|
157
|
-
- name: 'Output Tag'
|
|
158
|
-
env:
|
|
159
|
-
NEW_TAG: ${{ steps.version-bump.outputs.newTag }}
|
|
160
|
-
run: echo "new tag $NEW_TAG"
|
|
161
|
-
|
|
162
|
-
- name: 'Version From Tag'
|
|
163
|
-
id: version-from-tag
|
|
164
|
-
run: echo "::set-output name=version::$(echo '${{ steps.version-bump.outputs.newTag }}' | sed 's/v//')"
|
|
165
|
-
|
|
166
|
-
- name: 'Output Version'
|
|
167
|
-
id: output-version
|
|
168
|
-
run: echo "Version = ${{ steps.version-from-tag.outputs.version }}"
|
|
169
|
-
|
|
170
|
-
outputs:
|
|
171
|
-
newTag: ${{ steps.version-bump.outputs.newTag }}
|
|
172
|
-
newVersion: ${{ steps.version-from-tag.outputs.version }}
|
|
173
|
-
preRelease: ${{ contains(steps.version-bump.outputs.newTag, '-') }}
|
|
174
|
-
|
|
175
|
-
release-notes:
|
|
176
|
-
needs: bump-version
|
|
177
|
-
name: 'Release Notes'
|
|
178
|
-
runs-on: ubuntu-latest
|
|
179
|
-
|
|
180
|
-
steps:
|
|
181
|
-
- name: 'Checkout Source Code'
|
|
182
|
-
uses: 'actions/checkout@v2'
|
|
183
|
-
with:
|
|
184
|
-
ref: ${{ github.ref }}
|
|
185
|
-
|
|
186
|
-
- name: 'Release Header'
|
|
187
|
-
id: release-header
|
|
188
|
-
run: echo "::set-output name=header::$(echo `grep '## \\[${{ needs.bump-version.outputs.newVersion }}] -' CHANGELOG.md | sed 's/## //' | sed 's/\\[//' | sed 's/]//'`)"
|
|
189
|
-
|
|
190
|
-
- name: 'Output Release Header'
|
|
191
|
-
id: output-release-header
|
|
192
|
-
run: echo "Release Header = ${{ steps.release-header.outputs.header }}"
|
|
193
|
-
|
|
194
|
-
- name: 'Extract Release Notes'
|
|
195
|
-
id: extract-release-notes
|
|
196
|
-
uses: 'dahlia/submark@main'
|
|
197
|
-
with:
|
|
198
|
-
input-file: "CHANGELOG.md"
|
|
199
|
-
heading-level: 2
|
|
200
|
-
heading-title-text: "${{ steps.release-header.outputs.header }}"
|
|
201
|
-
ignore-case: true
|
|
202
|
-
omit-heading: true
|
|
203
|
-
|
|
204
|
-
# The output-file refers to the path of the temporary file which contains
|
|
205
|
-
# the only extracted part:
|
|
206
|
-
- name: 'Output Extracted Release Notes File'
|
|
207
|
-
run: cat ${{ steps.extract-release-notes.outputs.output-file }}
|
|
208
|
-
|
|
209
|
-
# The output-text contains the text of the extracted part.
|
|
210
|
-
- name: 'Output Extracted Release Notes'
|
|
211
|
-
run: echo "${{ steps.extract-release-notes.outputs.output-text }}"
|
|
212
|
-
|
|
213
|
-
outputs:
|
|
214
|
-
notes: ${{ steps.extract-release-notes.outputs.output-text }}
|
|
215
|
-
|
|
216
|
-
release:
|
|
217
|
-
needs: [bump-version, release-notes]
|
|
218
|
-
name: 'Release'
|
|
219
|
-
runs-on: ubuntu-latest
|
|
220
|
-
|
|
221
|
-
steps:
|
|
222
|
-
- name: 'Checkout Source Code'
|
|
223
|
-
uses: 'actions/checkout@v2'
|
|
224
|
-
with:
|
|
225
|
-
ref: ${{ github.ref }}
|
|
226
|
-
|
|
227
|
-
- name: 'Github SHA'
|
|
228
|
-
id: github-sha
|
|
229
|
-
run: echo ${{ github.sha }} > Release.txt
|
|
230
|
-
|
|
231
|
-
- name: 'Test Github SHA'
|
|
232
|
-
id: test-github-sha
|
|
233
|
-
run: cat Release.txt
|
|
234
|
-
|
|
235
|
-
- name: Release
|
|
236
|
-
uses: softprops/action-gh-release@v1
|
|
237
|
-
with:
|
|
238
|
-
name: ${{ needs.bump-version.outputs.newVersion }}
|
|
239
|
-
tag_name: ${{ needs.bump-version.outputs.newTag }}
|
|
240
|
-
body: ${{ needs.release-notes.outputs.notes }}
|
|
241
|
-
prerelease: ${{ needs.bump-version.outputs.preRelease }}
|
|
242
|
-
generate_release_notes: ${{ contains(needs.bump-version.outputs.newTag, '-') }}
|
|
243
|
-
files: |
|
|
244
|
-
CHANGELOG.md
|
|
245
|
-
LICENSE
|
|
246
|
-
Release.txt
|
|
247
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
248
|
-
|
|
249
|
-
outputs:
|
|
250
|
-
newTag: ${{ needs.bump-version.outputs.newTag }}
|
|
251
|
-
newVersion: ${{ needs.bump-version.outputs.newVersion }}
|
|
252
|
-
|
|
253
|
-
npm-release:
|
|
254
|
-
needs: [bump-version, release]
|
|
255
|
-
runs-on: ubuntu-latest
|
|
256
|
-
steps:
|
|
257
|
-
- uses: actions/checkout@v3
|
|
258
|
-
with:
|
|
259
|
-
ref: ${{ github.ref }}
|
|
260
|
-
- uses: actions/setup-node@v3
|
|
261
|
-
with:
|
|
262
|
-
node-version: 14
|
|
263
|
-
- name: Pre-Release
|
|
264
|
-
if: ${{ fromJSON(needs.bump-version.outputs.preRelease) }}
|
|
265
|
-
uses: JS-DevTools/npm-publish@v1
|
|
266
|
-
with:
|
|
267
|
-
tag: "next"
|
|
268
|
-
token: ${{ secrets.NPM_ACCESS_TOKEN }}
|
|
269
|
-
- name: Release
|
|
270
|
-
if: ${{ ! fromJSON(needs.bump-version.outputs.preRelease) }}
|
|
271
|
-
uses: JS-DevTools/npm-publish@v1
|
|
272
|
-
with:
|
|
273
|
-
token: ${{ secrets.NPM_ACCESS_TOKEN }}
|
|
274
|
-
- name: Remove Pre-Release Tag
|
|
275
|
-
if: ${{ ! fromJSON(needs.bump-version.outputs.preRelease) }}
|
|
276
|
-
run: |
|
|
277
|
-
export INPUT_TOKEN=${{ secrets.NPM_ACCESS_TOKEN }}
|
|
278
|
-
npm whoami
|
|
279
|
-
npm dist-tag rm @rockcarver/frodo-cli next
|
|
280
|
-
|
|
281
|
-
macos-binary-release:
|
|
282
|
-
needs: [bump-version, release]
|
|
283
|
-
runs-on: macos-latest
|
|
284
|
-
strategy:
|
|
285
|
-
matrix:
|
|
286
|
-
node-version: [18]
|
|
287
|
-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
288
|
-
timeout-minutes: 15
|
|
289
|
-
steps:
|
|
290
|
-
- name: 'Checkout Project'
|
|
291
|
-
uses: actions/checkout@v2
|
|
292
|
-
with:
|
|
293
|
-
ref: ${{ needs.release.outputs.newTag }}
|
|
294
|
-
|
|
295
|
-
- name: 'cat package.json'
|
|
296
|
-
run: cat ./package.json
|
|
297
|
-
|
|
298
|
-
- name: Install the Apple certificate
|
|
299
|
-
env:
|
|
300
|
-
DEVELOPMENT_CERTIFICATE_DATA: ${{ secrets.DEVELOPMENT_CERTIFICATE_DATA }}
|
|
301
|
-
DEVELOPMENT_CERTIFICATE_PASSPHRASE: ${{ secrets.DEVELOPMENT_CERTIFICATE_PASSPHRASE }}
|
|
302
|
-
INTERMEDIATE_CERTIFICATE_DATA: ${{ secrets.INTERMEDIATE_CERTIFICATE_DATA }}
|
|
303
|
-
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
|
|
304
|
-
run: |
|
|
305
|
-
# create variables
|
|
306
|
-
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
|
|
307
|
-
INTERMEDIATE_CERTIFICATE_PATH=$RUNNER_TEMP/intermediate_certificate.p12
|
|
308
|
-
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
|
|
309
|
-
|
|
310
|
-
# import certificates from secrets
|
|
311
|
-
echo -n "$DEVELOPMENT_CERTIFICATE_DATA" | base64 --decode --output $CERTIFICATE_PATH
|
|
312
|
-
echo -n "$INTERMEDIATE_CERTIFICATE_DATA" | base64 --decode --output $INTERMEDIATE_CERTIFICATE_PATH
|
|
313
|
-
|
|
314
|
-
# create temporary keychain
|
|
315
|
-
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
|
|
316
|
-
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
|
|
317
|
-
security unlock-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
|
|
318
|
-
|
|
319
|
-
# import certificate to keychain
|
|
320
|
-
security import $CERTIFICATE_PATH -P "$DEVELOPMENT_CERTIFICATE_PASSPHRASE" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
|
|
321
|
-
#security import $INTERMEDIATE_CERTIFICATE_PATH -P "$DEVELOPMENT_CERTIFICATE_PASSPHRASE" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
|
|
322
|
-
security list-keychain -d user -s $KEYCHAIN_PATH
|
|
323
|
-
|
|
324
|
-
- name: Install pkg
|
|
325
|
-
run: npm install -g pkg
|
|
326
|
-
|
|
327
|
-
- name: Install gulp
|
|
328
|
-
run: npm install -g gulp
|
|
329
|
-
|
|
330
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
331
|
-
uses: actions/setup-node@v2
|
|
332
|
-
with:
|
|
333
|
-
node-version: ${{ matrix.node-version }}
|
|
334
|
-
cache: 'npm'
|
|
335
|
-
|
|
336
|
-
- name: Install root dependencies
|
|
337
|
-
run: npm ci
|
|
338
|
-
|
|
339
|
-
- name: Transpile to CommonJS
|
|
340
|
-
run: gulp
|
|
341
|
-
|
|
342
|
-
- name: Install binary distribution dependencies
|
|
343
|
-
working-directory: ./dist
|
|
344
|
-
run: npm ci
|
|
345
|
-
|
|
346
|
-
- name: Build distribution binary
|
|
347
|
-
working-directory: ./dist
|
|
348
|
-
run: pkg -C Gzip -t node18-macos-x64 -o bin/macos/frodo .
|
|
349
|
-
#
|
|
350
|
-
# Fail early on failing tests.
|
|
351
|
-
#
|
|
352
|
-
|
|
353
|
-
- name: 'Test'
|
|
354
|
-
run: 'dist/bin/macos/frodo -v'
|
|
355
|
-
|
|
356
|
-
#
|
|
357
|
-
# Re-sign the application with the "Developer ID" certificate.
|
|
358
|
-
#
|
|
359
|
-
- name: Sign distribution binary
|
|
360
|
-
working-directory: ./dist/bin/macos
|
|
361
|
-
run: "codesign -f -s 'Rock Carver' --timestamp --deep frodo"
|
|
362
|
-
# run: "codesign -f -s 'Developer ID Application: Volker Scheuber (AV6L99G8W9)' --timestamp --deep frodo"
|
|
363
|
-
|
|
364
|
-
#
|
|
365
|
-
# Zip up the app and add it to the GitHub Release as a
|
|
366
|
-
# downloadable asset.
|
|
367
|
-
#
|
|
368
|
-
|
|
369
|
-
- name: Package for Distribution
|
|
370
|
-
run: ditto -V -c -k --keepParent "dist/bin/macos/frodo" "dist/frodo-macos-${{ needs.release.outputs.newVersion }}.zip"
|
|
371
|
-
|
|
372
|
-
- name: Release
|
|
373
|
-
uses: softprops/action-gh-release@v1
|
|
374
|
-
with:
|
|
375
|
-
name: ${{ needs.release.outputs.newVersion }}
|
|
376
|
-
tag_name: ${{ needs.release.outputs.newTag }}
|
|
377
|
-
files: dist/frodo-macos-${{ needs.release.outputs.newVersion }}.zip
|
|
378
|
-
|
|
379
|
-
linux-binary-release:
|
|
380
|
-
needs: [bump-version, release]
|
|
381
|
-
runs-on: ubuntu-latest
|
|
382
|
-
strategy:
|
|
383
|
-
matrix:
|
|
384
|
-
node-version: [18]
|
|
385
|
-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
386
|
-
steps:
|
|
387
|
-
- name: Checkout repository
|
|
388
|
-
uses: actions/checkout@v2
|
|
389
|
-
with:
|
|
390
|
-
ref: ${{ needs.release.outputs.newTag }}
|
|
391
|
-
|
|
392
|
-
- name: 'cat package.json'
|
|
393
|
-
run: cat ./package.json
|
|
394
|
-
|
|
395
|
-
- name: Install pkg
|
|
396
|
-
run: npm install -g pkg
|
|
397
|
-
|
|
398
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
399
|
-
uses: actions/setup-node@v2
|
|
400
|
-
with:
|
|
401
|
-
node-version: ${{ matrix.node-version }}
|
|
402
|
-
cache: 'npm'
|
|
403
|
-
|
|
404
|
-
- name: Install root dependencies
|
|
405
|
-
run: npm ci
|
|
406
|
-
|
|
407
|
-
- name: Transpile to CommonJS
|
|
408
|
-
run: gulp
|
|
409
|
-
|
|
410
|
-
- name: Install binary distribution dependencies
|
|
411
|
-
working-directory: ./dist
|
|
412
|
-
run: npm ci
|
|
413
|
-
|
|
414
|
-
- name: Build distribution binary
|
|
415
|
-
working-directory: ./dist
|
|
416
|
-
run: pkg -C Gzip -t node18-linux-x64 -o bin/linux/frodo .
|
|
417
|
-
|
|
418
|
-
#
|
|
419
|
-
# Fail early on failing tests.
|
|
420
|
-
#
|
|
421
|
-
- name: 'Test'
|
|
422
|
-
run: 'dist/bin/linux/frodo -v'
|
|
423
|
-
|
|
424
|
-
- name: Archive distribution binary
|
|
425
|
-
run: zip -r -Z bzip2 dist/frodo-linux-${{ needs.release.outputs.newVersion }}.zip . -i dist/bin/linux/frodo
|
|
426
|
-
|
|
427
|
-
- name: Release distribution binaries
|
|
428
|
-
uses: softprops/action-gh-release@v1
|
|
429
|
-
with:
|
|
430
|
-
name: ${{ needs.release.outputs.newVersion }}
|
|
431
|
-
tag_name: ${{ needs.release.outputs.newTag }}
|
|
432
|
-
files: dist/frodo-linux-${{ needs.release.outputs.newVersion }}.zip
|
|
433
|
-
|
|
434
|
-
windows-binary-release:
|
|
435
|
-
needs: [bump-version, release]
|
|
436
|
-
runs-on: windows-latest
|
|
437
|
-
strategy:
|
|
438
|
-
matrix:
|
|
439
|
-
node-version: [18]
|
|
440
|
-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
441
|
-
steps:
|
|
442
|
-
- name: Checkout repository
|
|
443
|
-
uses: actions/checkout@v2
|
|
444
|
-
with:
|
|
445
|
-
ref: ${{ needs.release.outputs.newTag }}
|
|
446
|
-
|
|
447
|
-
- name: 'type package.json'
|
|
448
|
-
run: type package.json
|
|
449
|
-
|
|
450
|
-
- name: Install pkg
|
|
451
|
-
run: npm install -g pkg
|
|
452
|
-
|
|
453
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
454
|
-
uses: actions/setup-node@v2
|
|
455
|
-
with:
|
|
456
|
-
node-version: ${{ matrix.node-version }}
|
|
457
|
-
cache: 'npm'
|
|
458
|
-
|
|
459
|
-
- name: Install root dependencies
|
|
460
|
-
run: npm ci
|
|
461
|
-
|
|
462
|
-
- name: Transpile to CommonJS
|
|
463
|
-
run: gulp
|
|
464
|
-
|
|
465
|
-
- name: Install binary distribution dependencies
|
|
466
|
-
working-directory: ./dist
|
|
467
|
-
run: npm ci
|
|
468
|
-
|
|
469
|
-
- name: Build distribution binary
|
|
470
|
-
working-directory: ./dist
|
|
471
|
-
run: pkg -C Gzip -t node18-win-x64 -o bin/win/frodo .
|
|
472
|
-
|
|
473
|
-
#
|
|
474
|
-
# Fail early on failing tests.
|
|
475
|
-
#
|
|
476
|
-
- name: 'Test'
|
|
477
|
-
run: 'dist/bin/win/frodo.exe -v'
|
|
478
|
-
|
|
479
|
-
- name: Archive distribution binary
|
|
480
|
-
run: 7z a -tzip dist/frodo-win-${{ needs.release.outputs.newVersion }}.zip dist/bin/win/frodo.exe
|
|
481
|
-
|
|
482
|
-
- name: Release distribution binaries
|
|
483
|
-
uses: softprops/action-gh-release@v1
|
|
484
|
-
with:
|
|
485
|
-
name: ${{ needs.release.outputs.newVersion }}
|
|
486
|
-
tag_name: ${{ needs.release.outputs.newTag }}
|
|
487
|
-
files: dist/frodo-win-${{ needs.release.outputs.newVersion }}.zip
|
package/.prettierrc
DELETED
package/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
-
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
-
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
-
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity
|
|
10
|
-
and orientation.
|
|
11
|
-
|
|
12
|
-
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
-
diverse, inclusive, and healthy community.
|
|
14
|
-
|
|
15
|
-
## Our Standards
|
|
16
|
-
|
|
17
|
-
Examples of behavior that contributes to a positive environment for our
|
|
18
|
-
community include:
|
|
19
|
-
|
|
20
|
-
* Demonstrating empathy and kindness toward other people
|
|
21
|
-
* Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
-
* Giving and gracefully accepting constructive feedback
|
|
23
|
-
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
-
and learning from the experience
|
|
25
|
-
* Focusing on what is best not just for us as individuals, but for the
|
|
26
|
-
overall community
|
|
27
|
-
|
|
28
|
-
Examples of unacceptable behavior include:
|
|
29
|
-
|
|
30
|
-
* The use of sexualized language or imagery, and sexual attention or
|
|
31
|
-
advances of any kind
|
|
32
|
-
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
-
* Public or private harassment
|
|
34
|
-
* Publishing others' private information, such as a physical or email
|
|
35
|
-
address, without their explicit permission
|
|
36
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
-
professional setting
|
|
38
|
-
|
|
39
|
-
## Enforcement Responsibilities
|
|
40
|
-
|
|
41
|
-
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
-
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
-
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
-
or harmful.
|
|
45
|
-
|
|
46
|
-
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
-
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
-
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
-
decisions when appropriate.
|
|
50
|
-
|
|
51
|
-
## Scope
|
|
52
|
-
|
|
53
|
-
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
-
an individual is officially representing the community in public spaces.
|
|
55
|
-
Examples of representing our community include using an official e-mail address,
|
|
56
|
-
posting via an official social media account, or acting as an appointed
|
|
57
|
-
representative at an online or offline event.
|
|
58
|
-
|
|
59
|
-
## Enforcement
|
|
60
|
-
|
|
61
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
-
reported to the community leaders responsible for enforcement at
|
|
63
|
-
schaturvedi@gmail.com.
|
|
64
|
-
All complaints will be reviewed and investigated promptly and fairly.
|
|
65
|
-
|
|
66
|
-
All community leaders are obligated to respect the privacy and security of the
|
|
67
|
-
reporter of any incident.
|
|
68
|
-
|
|
69
|
-
## Enforcement Guidelines
|
|
70
|
-
|
|
71
|
-
Community leaders will follow these Community Impact Guidelines in determining
|
|
72
|
-
the consequences for any action they deem in violation of this Code of Conduct:
|
|
73
|
-
|
|
74
|
-
### 1. Correction
|
|
75
|
-
|
|
76
|
-
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
77
|
-
unprofessional or unwelcome in the community.
|
|
78
|
-
|
|
79
|
-
**Consequence**: A private, written warning from community leaders, providing
|
|
80
|
-
clarity around the nature of the violation and an explanation of why the
|
|
81
|
-
behavior was inappropriate. A public apology may be requested.
|
|
82
|
-
|
|
83
|
-
### 2. Warning
|
|
84
|
-
|
|
85
|
-
**Community Impact**: A violation through a single incident or series
|
|
86
|
-
of actions.
|
|
87
|
-
|
|
88
|
-
**Consequence**: A warning with consequences for continued behavior. No
|
|
89
|
-
interaction with the people involved, including unsolicited interaction with
|
|
90
|
-
those enforcing the Code of Conduct, for a specified period of time. This
|
|
91
|
-
includes avoiding interactions in community spaces as well as external channels
|
|
92
|
-
like social media. Violating these terms may lead to a temporary or
|
|
93
|
-
permanent ban.
|
|
94
|
-
|
|
95
|
-
### 3. Temporary Ban
|
|
96
|
-
|
|
97
|
-
**Community Impact**: A serious violation of community standards, including
|
|
98
|
-
sustained inappropriate behavior.
|
|
99
|
-
|
|
100
|
-
**Consequence**: A temporary ban from any sort of interaction or public
|
|
101
|
-
communication with the community for a specified period of time. No public or
|
|
102
|
-
private interaction with the people involved, including unsolicited interaction
|
|
103
|
-
with those enforcing the Code of Conduct, is allowed during this period.
|
|
104
|
-
Violating these terms may lead to a permanent ban.
|
|
105
|
-
|
|
106
|
-
### 4. Permanent Ban
|
|
107
|
-
|
|
108
|
-
**Community Impact**: Demonstrating a pattern of violation of community
|
|
109
|
-
standards, including sustained inappropriate behavior, harassment of an
|
|
110
|
-
individual, or aggression toward or disparagement of classes of individuals.
|
|
111
|
-
|
|
112
|
-
**Consequence**: A permanent ban from any sort of public interaction within
|
|
113
|
-
the community.
|
|
114
|
-
|
|
115
|
-
## Attribution
|
|
116
|
-
|
|
117
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
118
|
-
version 2.0, available at
|
|
119
|
-
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
|
120
|
-
|
|
121
|
-
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
|
122
|
-
enforcement ladder](https://github.com/mozilla/diversity).
|
|
123
|
-
|
|
124
|
-
[homepage]: https://www.contributor-covenant.org
|
|
125
|
-
|
|
126
|
-
For answers to common questions about this code of conduct, see the FAQ at
|
|
127
|
-
https://www.contributor-covenant.org/faq. Translations are available at
|
|
128
|
-
https://www.contributor-covenant.org/translations.
|
package/docs/BINARIES.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# `frodo` binary distribution
|
|
2
|
-
Prebuilt binaries for major OSes (MacOs, Windows and linux) are available on the [releases page](https://github.com/rockcarver/frodo/releases). These binaries can be run without and prerequisites or dependencies and are the **easiest and fastest** way to start using `frodo`. But, these binaries are not signed and hence are untrusted by MacOS and Windows. As a result, these OSes may not let you run frodo the very first time just after downloading and unzipping it. Follow these simple steps to get frodo binaries working on MacOS and Windows.
|
|
3
|
-
|
|
4
|
-
## MacOS
|
|
5
|
-
- When frodo is run from a terminal for the first time, you may see a popup like below
|
|
6
|
-
|
|
7
|
-

|
|
8
|
-
|
|
9
|
-
- You can either click "Show in Finder" or open Finder yourself and navigate to where the `frodo` binary is.
|
|
10
|
-
- **Right click** on `frodo` and then click **Open**
|
|
11
|
-
|
|
12
|
-

|
|
13
|
-
|
|
14
|
-
- Another popup, like below, will show
|
|
15
|
-
|
|
16
|
-

|
|
17
|
-
|
|
18
|
-
- Click **Open** in this popup. A terminal window will open and then exit (it will be quick).
|
|
19
|
-
- Now you will be able to run `frodo` in the terminal
|
|
20
|
-
|
|
21
|
-
## Windows
|
|
22
|
-
To be added...
|