Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

07-cli

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

07-cli - npm Package Compare versions

Comparing version 2.6.2 to 2.6.3

14

commands/cra.js

@@ -38,8 +38,18 @@ /*

if (!exists) {
// execSync(
// `npm create vite ${name} -- --template react-ts && code ${name} && cd ${name} && npm i && ${
// process.platform === ('darwin' || 'linux')
// ? `open http://localhost:3000/`
// : `start http://localhost:3000/`
// } && npm run dev`,
// {
// stdio: 'inherit',
// }
// );
execSync(
`npm create vite ${name} -- --template react-ts && code ${name} && cd ${name} && npm i && ${
`npx degit 07-media-sor/07_vite_template ${name} && code ${name} && cd ${name} && npm i && ${
process.platform === ('darwin' || 'linux')
? `open http://localhost:3000/`
: `start http://localhost:3000/`
} && npm run dev`,
} && npm run start`,
{

@@ -46,0 +56,0 @@ stdio: 'inherit',

2

package.json
{
"name": "07-cli",
"version": "2.6.2",
"version": "2.6.3",
"description": "A command line tool for 07 organization",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -35,2 +35,10 @@ ## A Command Line Tool for 07 organization

**UMB**
Arguments:
```properties
-n --name <output> Specify a project name (e.g. nav-kalkulator)
-h, --help display help for command
```
**GH**

@@ -43,1 +51,25 @@ Arguments:

```
**UMB post-install setup**
On install the umbraco instance runs automagically.
To start the project from CLI:
- cd into project folder
- run the command "dotnet run"
The terminal output will tell you the URL to access the site.
Some extra setup is required to get up and running with the UMB template
* Install Umbraco backoffice and set up database
* In backoffice settings > Document types: Import "SEO.udt" and "Website.udt" document types (NB the order of import matters! Import SEO first and then Website)
These files are found in the "ASSETS" folder in the umbraco project folder
* In backoffice settings > Templates: Create a template called "Website". The content of this template should be auto generated based on the Website document type.
* In backoffice settings > Document types: Select the Website template and set it as default
* In backoffice content: Create a Root site and select Website as template
* Save and publish the root site and you should be good to go
Next step is probably to add the project to git
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc