Skip to content
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

Updated oclif and project structure #38

Open
wants to merge 154 commits into
base: main
Choose a base branch
from
Open

Updated oclif and project structure #38

wants to merge 154 commits into from

Conversation

andre-vidal
Copy link
Contributor

πŸ”— Linked issue

N/A

❓ CLI Refactoring

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

The Frontier project has been refactored to support the following:

  • updated oclif framework version

    • support space command separators instead of colons :
      • e.g. frontier vue add component instead of frontier vue:add:component
    • command event hooks to add custom functionality at different stages in a command execution
    • other features can be viewed here
  • parsing of a .frontierrc file that exists in the root of a frontier related project that describes the scope of the cli to leverage

  • consolidating the CLIs for different domains into one master CLI

    • these will be managed by folder structure instead of as separate packages

These changes will result in the following experience for users:

  • shorter command structure
  • partial commands will still work in an existing frontier project
  • plugins for the separate domains will no longer need to be installed since all features of frontier will be available by default

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Raffique-RD and others added 30 commits July 7, 2023 09:29
* updated commands page

* updates

---------

Co-authored-by: Raffique <[email protected]>
…nds dont execute as expected (#63)

* try catch added and conditional statement adjusted

* throw error if code ! = 0

* typo corrected

* use try catch and throw error for success1 variable

---------

Co-authored-by: tbennett109 <[email protected]>
* update dotnet query page

* update queries page

* update page documentation

* update documentation

---------

Co-authored-by: Raffique <[email protected]>
Co-authored-by: Raffique Muir <[email protected]>
* updated commands page

* updates

* update commands page

* update page documentation

* fix: update typo

---------

Co-authored-by: Raffique <[email protected]>
Co-authored-by: Raffique Muir <[email protected]>
Co-authored-by: andre-vidal <[email protected]>
* update dotnet endpoints page

* update endpoints webpage

* update documentation

---------

Co-authored-by: Raffique <[email protected]>
Co-authored-by: Raffique Muir <[email protected]>
* update entities page

* changed title

* update entity website page

* update documentation

* update

---------

Co-authored-by: Raffique <[email protected]>
Co-authored-by: Raffique Muir <[email protected]>
#79)

* changed the way in which we deploy to NPM by updating the deploy-package.yml

* Update deploy-package.yml

* updated the install dependencies command

* exposed version number and message update in github actions

* Fixed bug with versioning the npm package. Prevent the creation of git commits

* Added build step to the deploy-package.yml
* Updated the create-project command so that is uses docker instead of the host system tools when creating a project

* updated the "up" command to use docker instead of host dotnet CLI

* clean up the create project command

* So added the migration commands to be dependent on docker only. Added environment, configuration and continaer flags

* corrected the new step instructions after project

* added platform specific paths to command execution for project creation

* FIx "sh" executable on widows

* Removed unnecessary comments and logs

* dockerize down command

* Updated the documentation for the the dotnet namespace

* Fixed invalid filename when parsing migrations in the dotnet down command

---------

Co-authored-by: Davane Davis <[email protected]>
)

* changed the way in which we deploy to NPM by updating the deploy-package.yml

* Update deploy-package.yml

* updated the install dependencies command

* exposed version number and message update in github actions

* Fixed bug with versioning the npm package. Prevent the creation of git commits

* Added build step to the deploy-package.yml

* Clean up

* Update deploy-package.yml

---------

Co-authored-by: Davane Davis <[email protected]>
* changed the way in which we deploy to NPM by updating the deploy-package.yml

* Update deploy-package.yml

* updated the install dependencies command

* exposed version number and message update in github actions

* Fixed bug with versioning the npm package. Prevent the creation of git commits

* Added build step to the deploy-package.yml

* Clean up

* Update deploy-package.yml

* Removed the branch triggers for the Github actions pipeline

* Removed the isBeta check from the publish check in Actions

---------

Co-authored-by: Davane Davis <[email protected]>
* Update path generation needed for scaffolding features

* updated constant naming

* removed unused logs
* Updated to include support for vue3 plugins and localization updates

* Vue Changes:
- Updated the injection of localization plugin into the main.ts file
- Removed unnecessary code for installing Buefy and Vuetify plugins
- Updated the main.ts file to use the new injection methods for Vue 2 and Vue 3
- Added the injection of routes to the main router
- Refactored imports for vue2 methods and implementation and vue 3

* Update package.json and tsconfig.tsbuildinfo

- Update "bin" property in package.json to point to "./bin/run"
- Remove unnecessary "No newline at end of file" in package.json
- No significant changes in tsconfig.tsbuildinfo

* Update installation and serve commands

- Update the installation command to remove the flag '--legacy-peer-deps' in order to install dependencies correctly.
- Update the serve command to run 'npm run dev' instead of 'npm run serve' for serving the project.

This commit updates the installation and serve commands in the '3.next-steps.md' file under 'Vue/2.getting-started' directory. The installation command no longer includes the '--legacy-peer-deps' flag, ensuring correct installation of dependencies. The serve command has been updated to use 'npm run dev' instead of 'npm run serve' for serving the project. These changes improve the clarity and accuracy of the instructions provided in the documentation.

* Add route to router configuration when adding a new page

This commit adds a route object to the router configuration when a new page is added using the Vue CLI. The route object includes the path, name, component, and webpackChunkName properties. After creating the route object, it is injected into the router configuration using the injectRoutesIntoRouter function. This ensures that the newly added page is accessible through the specified path.

* Update package version and fix tsconfig.tsbuildinfo.

- Updated package version in package.json from "0.0.2-beta.12" to "0.0.2-beta.13".
- Fixed issue in tsconfig.tsbuildinfo by correcting the file paths.

For more details, see the specific changes made in each file.

* Removed console log and updated condition for checking presets

* SEPA-849: initial implementation of sentry integration (#76)

* initial implementation of sentry integration

* Added Sentry functionality as a preset during the project creation

* Rearrange Sentry prompt and loggging

* Added prompt for dsn to sentry plugin when ran standalone

---------

Co-authored-by: Davane Davis <[email protected]>

* Added ability to import prebuilt ui components from .rdvue (#85)

* Added ability to import prebuilt ui components from .rdvue

* Refactor component command to update package.json and install dependencies in parallel

* Removed usage of exit()

* update copy files method and update packages

* docs: Update the docs to reflect migration from Vuex to Pinia for state management.

* docs:  Refactor and expand Vue service documentation

* docs: Update Vue pages doc with CLI and router instructions

* docs: Add comprehensive layout documentation & CLI usage

---------

Co-authored-by: Tyrone Taylor <[email protected]>
Co-authored-by: Tahjyei Thompson <[email protected]>
Co-authored-by: Mickey <[email protected]>
Co-authored-by: Davane Davis <[email protected]>
Co-authored-by: nxtedecoy <[email protected]>
…ated in the .net template. (#95)

* Adding an overview/explanation of the folder structure used in dotnet template

* Update formatting of page to be less jumbled

* Update 7.folder structure.md

* Update formatting 7.folder structure.md

* Update 7.folder structure.md
* Updated to include support for vue3 plugins and localization updates

* Vue Changes:
- Updated the injection of localization plugin into the main.ts file
- Removed unnecessary code for installing Buefy and Vuetify plugins
- Updated the main.ts file to use the new injection methods for Vue 2 and Vue 3
- Added the injection of routes to the main router
- Refactored imports for vue2 methods and implementation and vue 3

* Update package.json and tsconfig.tsbuildinfo

- Update "bin" property in package.json to point to "./bin/run"
- Remove unnecessary "No newline at end of file" in package.json
- No significant changes in tsconfig.tsbuildinfo

* Update installation and serve commands

- Update the installation command to remove the flag '--legacy-peer-deps' in order to install dependencies correctly.
- Update the serve command to run 'npm run dev' instead of 'npm run serve' for serving the project.

This commit updates the installation and serve commands in the '3.next-steps.md' file under 'Vue/2.getting-started' directory. The installation command no longer includes the '--legacy-peer-deps' flag, ensuring correct installation of dependencies. The serve command has been updated to use 'npm run dev' instead of 'npm run serve' for serving the project. These changes improve the clarity and accuracy of the instructions provided in the documentation.

* Add route to router configuration when adding a new page

This commit adds a route object to the router configuration when a new page is added using the Vue CLI. The route object includes the path, name, component, and webpackChunkName properties. After creating the route object, it is injected into the router configuration using the injectRoutesIntoRouter function. This ensures that the newly added page is accessible through the specified path.

* Update package version and fix tsconfig.tsbuildinfo.

- Updated package version in package.json from "0.0.2-beta.12" to "0.0.2-beta.13".
- Fixed issue in tsconfig.tsbuildinfo by correcting the file paths.

For more details, see the specific changes made in each file.

* Removed console log and updated condition for checking presets

* SEPA-849: initial implementation of sentry integration (#76)

* initial implementation of sentry integration

* Added Sentry functionality as a preset during the project creation

* Rearrange Sentry prompt and loggging

* Added prompt for dsn to sentry plugin when ran standalone

---------

Co-authored-by: Davane Davis <[email protected]>

* Added ability to import prebuilt ui components from .rdvue (#85)

* Added ability to import prebuilt ui components from .rdvue

* Refactor component command to update package.json and install dependencies in parallel

* Removed usage of exit()

* update copy files method and update packages

* docs: Update the docs to reflect migration from Vuex to Pinia for state management.

* docs:  Refactor and expand Vue service documentation

* docs: Update Vue pages doc with CLI and router instructions

* docs: Add comprehensive layout documentation & CLI usage

* update dotnet template tag

---------

Co-authored-by: Tyrone Taylor <[email protected]>
Co-authored-by: Tahjyei Thompson <[email protected]>
Co-authored-by: Mickey <[email protected]>
Co-authored-by: Davane Davis <[email protected]>
Co-authored-by: nxtedecoy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.