Skip to content

Commit

Permalink
feat new started template.
Browse files Browse the repository at this point in the history
  • Loading branch information
ispyhumanfly committed Oct 12, 2023
1 parent 7caca14 commit b9b615f
Show file tree
Hide file tree
Showing 8 changed files with 552 additions and 340 deletions.
1 change: 0 additions & 1 deletion packages/iniquity/src/example/.iniquity/.gitignore

This file was deleted.

864 changes: 535 additions & 329 deletions packages/iniquity/src/example/.iniquity/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/iniquity/src/example/.iniquity/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"declaration": true,
"forceConsistentCasingInFileNames": true
},
"include": ["../*.ts"],
"include": ["../*.ts", "../*.json"],
"exclude": [".vscode", "iniquity", "node_modules", "src/example"]
}
4 changes: 4 additions & 0 deletions packages/iniquity/src/example/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Euphoria template

This is a template for Iniquity BBS projects. It contains a basic project structure.

2 changes: 0 additions & 2 deletions packages/iniquity/src/example/iniquity.env

This file was deleted.

6 changes: 0 additions & 6 deletions packages/iniquity/src/example/iniquity.hjson

This file was deleted.

5 changes: 5 additions & 0 deletions packages/iniquity/src/example/iniquity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "mybbs",
"template": "euphoria",
"theme": "iq3"
}
8 changes: 7 additions & 1 deletion packages/iniquity/src/example/iniquity.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
import iq from "./.iniquity/node_modules/@iniquitybbs/core/src"
import config from "./iniquity.json"

iq.say(`Welcome to ${config.name}.`).pause()

iq.print("This is a test of the Iniquity BBS system").pause()



iq.say("Welcome to iniquity").pause()

0 comments on commit b9b615f

Please sign in to comment.