๐Ÿš€ Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more โ†’
Sign In

forji

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

forji - npm Package Compare versions

Comparing version
1.0.2
to
1.0.3
+1
-1
package.json
{
"name": "forji",
"version": "1.0.2",
"version": "1.0.3",
"description": "Library for building project structures with dynamic folder/file names",

@@ -5,0 +5,0 @@ "type": "module",

@@ -45,8 +45,8 @@ # ๐Ÿ—๏ธ Project Builder

const structure = {
'src': {
'components': {
src: {
components: {
Button$tsx: 'export const Button = () => <button>Click me</button>;',
'index$ts': 'export * from "./Button";'
index$ts: 'export * from "./Button";'
},
'utils': {
utils: {
helpers$ts: 'export const sum = (a: number, b: number) => a + b;'

@@ -292,4 +292,4 @@ },

const structure = {
'src': {
'models': {
src: {
models: {
'{{entityName}}$ts': () => {

@@ -391,4 +391,4 @@ // This function has access to the variables via closure

const reactProject = {
'src': {
'components': {
src: {
components: {
App$tsx: `import React from 'react';

@@ -404,3 +404,3 @@ export const App = () => <div>Hello World</div>;`,

},
'public': {
public: {
'index.html': `<!DOCTYPE html>

@@ -407,0 +407,0 @@ <html>