Skip to content

Commit b842ea8

Browse files
added dist
1 parent facafa3 commit b842ea8

File tree

6 files changed

+108
-1
lines changed

6 files changed

+108
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules/
1+
node_modules/
2+
package-lock.json

dist/README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Changelog
2+
*Please for the love of all that you hold dear, do everyone a favor and include a changelog here rather than making people guess at the capabilities of your module since last release*
3+
4+
# Description
5+
This is a typescript template to get you started. This is not intended for beginners.
6+
7+
Please use the javascript template as necessary for your stuff.
8+
9+
10+
## Manifest Plus
11+
Adds the following fields to the manifest for package browsers to pick up and show information better:
12+
13+
```
14+
- includes: [] # list of files to include in the zip
15+
- icon: "" # link to icon img
16+
- cover: "" #link to cover img
17+
- screenshots: [] #links to screenshot images
18+
- video: ""
19+
- authors: [
20+
{
21+
"name": "name",
22+
"email": "email",
23+
"discord": "discord"
24+
}
25+
]
26+
27+
```
28+
29+
30+
## Versioned Releases
31+
32+
The Github Actions script will automatically create a Latest release which will always have a module.json that points to the latest release, and a versioned release whenever you update the version in your module.json.
33+
34+
This allows people who depend on a specific version of your module to just install that and be version locked. The versioned releases will *not* auto update.
35+
36+
37+
# License
38+
MIT License. Do what you will. PRs welcome.

dist/lang/en.json

Whitespace-only changes.

dist/module.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"name": "foundry-typescript-template",
3+
"title": "Typescript Template",
4+
"description": "",
5+
"authors": [
6+
{
7+
"name": "spacemandev",
8+
"discord": "spacemandev#6256"
9+
}
10+
],
11+
"version": "0.0.1",
12+
"minimumCoreVersion": "0.6.0",
13+
"compatibleCoreVersion": "0.7.2",
14+
"url": "",
15+
"manifest": "",
16+
"download": "",
17+
"type": "module",
18+
"includes": [
19+
"dist/"
20+
],
21+
"media": [
22+
{
23+
"type": "icon",
24+
"location": ""
25+
},
26+
{
27+
"type": "cover",
28+
"location": ""
29+
},
30+
{
31+
"type": "screenshot",
32+
"location": ""
33+
}
34+
],
35+
"esmodules": [
36+
"scripts/module.js"
37+
],
38+
"styles": [
39+
"styles/module.css"
40+
],
41+
"languages": [
42+
{
43+
"lang": "en",
44+
"name": "English",
45+
"path": "lang/en.json"
46+
}
47+
],
48+
""
49+
}

dist/scripts/module.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export const log = (...args) => console.log("SWADE_ITEM_MACROS | ", ...args);
2+
export const l = (key) => { return game.i18n.localize(key); };

dist/styles/module.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.item-macro-sheet {
2+
min-width: 360px;
3+
min-height: 320px;
4+
}
5+
.item-macro-sheet form > * {
6+
flex: 0;
7+
}
8+
.item-macro-sheet .form-group.command {
9+
flex: 1;
10+
}
11+
.item-macro-sheet .form-group.command label {
12+
height: 24px;
13+
}
14+
.item-macro-sheet .form-group.command textarea {
15+
height: calc(100% - 24px);
16+
resize: none;
17+
}

0 commit comments

Comments
 (0)