Skip to content

Commit

Permalink
Unlocked package release (#148)
Browse files Browse the repository at this point in the history
* Updated README & btn images to include details about the new unlocked package

* Made some folder structure changes to help better organize some of the repo

* Bumped version in package.json to v4.4.1

* Added more paths to ignore in deploy.yml
  • Loading branch information
jongpie authored May 23, 2021
1 parent d52be40 commit 7ac32e5
Show file tree
Hide file tree
Showing 25 changed files with 174 additions and 67 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ on:
push:
paths-ignore:
- 'sfdx-project.json'
- 'package.json'
- 'README.md'
- 'Contributing.md'
- 'CODE_OF_CONDUCT.md'
- 'package.json'
- 'LICENSE'
- 'content/**'
- 'docs/**'
- 'examples/**'
- 'managed-package/**'
- 'packages/**'
- '.forceignore'
- '.gitignore'
- '.prettierignore'
- '.prettierrc'
Expand Down
178 changes: 124 additions & 54 deletions README.md

Large diffs are not rendered by default.

Binary file removed content/btn-deploy-unmanaged-metadata.png
Binary file not shown.
Binary file added content/btn-deploy-unpackaged-metadata.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/btn-install-managed-package.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/btn-install-unlocked-package.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/installed-packages-uninstall-option.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "nebula-logger",
"version": "4.4.0",
"version": "4.4.1",
"description": "Fine-tune your logging in Apex, Flow, and Process Builder",
"main": "index.js",
"scripts": {
"create-package-version": "sfdx force:package:version:create --package \"Nebula Logger\" --codecoverage --installationkeybypass --wait 30",
"create-managed-package-version": "sfdx force:package:version:create --package \"Nebula Logger - Managed Package\" --codecoverage --installationkeybypass --wait 30",
"create-unlocked-package-version": "sfdx force:package:version:create --package \"Nebula Logger - Unlocked Package\" --codecoverage --installationkeybypass --wait 30",
"format": "prettier --write nebula-logger",
"generate-docs": "npx apexdocs-generate --configPath config/apexdocs.json --scope global public --sourceDir nebula-logger/main --targetDir nebula-logger-docs",
"generate-docs": "npx apexdocs-generate --configPath config/apexdocs.json --scope global public --sourceDir nebula-logger/main --targetDir docs",
"pretest": "node ./scripts/findTests.js",
"test": "sh ./scripts/test.sh",
"posttest": "node scripts/findTestsCleanup.js"
Expand All @@ -21,7 +22,8 @@
"logging-library",
"salesforce",
"salesforce-lightning",
"salesforce-apex"
"salesforce-apex",
"salesforce-flow"
],
"author": "Jonathan Gillespie",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"sourceApiVersion": "51.0",
"packageDirectories": [
{
"package": "Nebula Logger",
"package": "Nebula Logger - Managed Package",
"path": "nebula-logger",
"default": true,
"definitionFile": "config/project-scratch-def.json",
Expand All @@ -17,10 +17,10 @@
}
],
"packageAliases": {
"Nebula Logger": "0Ho5Y000000XZCDSA4",
"Nebula [email protected]": "04t5Y000000XJZ7QAO",
"Nebula [email protected]": "04t5Y000000Xg4wQAC",
"Nebula [email protected]": "04t5Y000000YLDLQA4",
"Nebula [email protected]": "04t5Y0000027FFgQAM"
"Nebula Logger - Managed Package": "0Ho5Y000000XZCDSA4",
"Nebula Logger - Managed Package@4.0.0-9-managed-package-release": "04t5Y000000XJZ7QAO",
"Nebula Logger - Managed Package@4.2.0-0-more-fields-and-methods": "04t5Y000000Xg4wQAC",
"Nebula Logger - Managed Package@4.3.0-3-logger-console-app": "04t5Y000000YLDLQA4",
"Nebula Logger - Managed Package@4.4.0-2-config-default-save-method": "04t5Y0000027FFgQAM"
}
}
21 changes: 21 additions & 0 deletions packages/unlocked-package/sfdx-project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"namespace": "",
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "51.0",
"packageDirectories": [
{
"package": "Nebula Logger - Unlocked Package",
"path": "nebula-logger",
"default": true,
"definitionFile": "config/project-scratch-def.json",
"versionName": "Unlocked package release",
"versionNumber": "4.4.1.3",
"versionDescription": "First release of the unlocked package",
"releaseNotesUrl": "https://github.com/jongpie/NebulaLogger/releases"
}
],
"packageAliases": {
"Nebula Logger - Unlocked Package": "0Ho5Y000000TNKASA4",
"Nebula Logger - Unlocked [email protected]": "04t5Y0000027FGFQA2"
}
}
File renamed without changes.
File renamed without changes.
15 changes: 13 additions & 2 deletions sfdx-project.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
{
"namespace": "",
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "51.0",
"packageDirectories": [
{
"package": "Nebula Logger - Unlocked Package",
"path": "nebula-logger",
"default": true
"default": true,
"definitionFile": "config/project-scratch-def.json",
"versionName": "Unlocked package release",
"versionNumber": "4.4.1.3",
"versionDescription": "First release of the unlocked package",
"releaseNotesUrl": "https://github.com/jongpie/NebulaLogger/releases"
}
]
],
"packageAliases": {
"Nebula Logger - Unlocked Package": "0Ho5Y000000TNKASA4",
"Nebula Logger - Unlocked [email protected]": "04t5Y0000027FGFQA2"
}
}

0 comments on commit 7ac32e5

Please sign in to comment.