create-reciple 7.1.1 → 7.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -674
- package/README.md +15 -15
- package/bin/bin.js +2 -1
- package/bin/bin.js.map +1 -1
- package/bin/create.js.map +1 -1
- package/package.json +3 -3
- package/templates/javascript/dot.gitignore +130 -130
- package/templates/javascript/modules/test.js +40 -40
- package/templates/javascript/package.json +10 -10
- package/templates/javascript-esm/dot.gitignore +130 -130
- package/templates/javascript-esm/modules/test.js +40 -40
- package/templates/javascript-esm/package.json +11 -11
- package/templates/typescript/dot.gitignore +133 -133
- package/templates/typescript/package.json +15 -15
- package/templates/typescript/src/test.ts +43 -43
- package/templates/typescript/tsconfig.json +13 -13
- package/templates/typescript-esm/dot.gitignore +133 -133
- package/templates/typescript-esm/package.json +16 -16
- package/templates/typescript-esm/src/test.ts +43 -43
- package/templates/typescript-esm/tsconfig.json +13 -13
- package/templates.json +11 -11
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { ContextMenuCommandBuilder, MessageCommandBuilder, RecipleModuleScript, SlashCommandBuilder } from 'reciple';
|
|
2
|
-
import { ApplicationCommandType } from 'discord.js';
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
versions: ['^7'], // Module supports reciple client version 7
|
|
6
|
-
commands: [
|
|
7
|
-
// Right click a message to execute command
|
|
8
|
-
new ContextMenuCommandBuilder()
|
|
9
|
-
.setName(`Test Context Menu`)
|
|
10
|
-
.setType(ApplicationCommandType.Message)
|
|
11
|
-
.setExecute(async data => {
|
|
12
|
-
await data.interaction.reply(`Hello!`);
|
|
13
|
-
}),
|
|
14
|
-
|
|
15
|
-
// Send !test to execute command
|
|
16
|
-
new MessageCommandBuilder()
|
|
17
|
-
.setName(`test`)
|
|
18
|
-
.setDescription(`Test message command`)
|
|
19
|
-
.setAliases(`t`)
|
|
20
|
-
.setExecute(async data => {
|
|
21
|
-
await data.message.reply(`Test message command`);
|
|
22
|
-
}),
|
|
23
|
-
|
|
24
|
-
// Use /test to execute command
|
|
25
|
-
new SlashCommandBuilder()
|
|
26
|
-
.setName(`test`)
|
|
27
|
-
.setDescription(`Test slash command`)
|
|
28
|
-
.setExecute(async data => {
|
|
29
|
-
await data.interaction.reply(`Test slash command`);
|
|
30
|
-
})
|
|
31
|
-
],
|
|
32
|
-
|
|
33
|
-
// Module resolved logic here (Bot not logged in)
|
|
34
|
-
onStart(client) {
|
|
35
|
-
return true;
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
// Module loaded logic here (Bot logged in)
|
|
39
|
-
onLoad(client, module_) {},
|
|
40
|
-
|
|
41
|
-
// Unload logic here
|
|
42
|
-
onUnload({ reason, client }) {}
|
|
43
|
-
} satisfies RecipleModuleScript;
|
|
1
|
+
import { ContextMenuCommandBuilder, MessageCommandBuilder, RecipleModuleScript, SlashCommandBuilder } from 'reciple';
|
|
2
|
+
import { ApplicationCommandType } from 'discord.js';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
versions: ['^7'], // Module supports reciple client version 7
|
|
6
|
+
commands: [
|
|
7
|
+
// Right click a message to execute command
|
|
8
|
+
new ContextMenuCommandBuilder()
|
|
9
|
+
.setName(`Test Context Menu`)
|
|
10
|
+
.setType(ApplicationCommandType.Message)
|
|
11
|
+
.setExecute(async data => {
|
|
12
|
+
await data.interaction.reply(`Hello!`);
|
|
13
|
+
}),
|
|
14
|
+
|
|
15
|
+
// Send !test to execute command
|
|
16
|
+
new MessageCommandBuilder()
|
|
17
|
+
.setName(`test`)
|
|
18
|
+
.setDescription(`Test message command`)
|
|
19
|
+
.setAliases(`t`)
|
|
20
|
+
.setExecute(async data => {
|
|
21
|
+
await data.message.reply(`Test message command`);
|
|
22
|
+
}),
|
|
23
|
+
|
|
24
|
+
// Use /test to execute command
|
|
25
|
+
new SlashCommandBuilder()
|
|
26
|
+
.setName(`test`)
|
|
27
|
+
.setDescription(`Test slash command`)
|
|
28
|
+
.setExecute(async data => {
|
|
29
|
+
await data.interaction.reply(`Test slash command`);
|
|
30
|
+
})
|
|
31
|
+
],
|
|
32
|
+
|
|
33
|
+
// Module resolved logic here (Bot not logged in)
|
|
34
|
+
onStart(client) {
|
|
35
|
+
return true;
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
// Module loaded logic here (Bot logged in)
|
|
39
|
+
onLoad(client, module_) {},
|
|
40
|
+
|
|
41
|
+
// Unload logic here
|
|
42
|
+
onUnload({ reason, client }) {}
|
|
43
|
+
} satisfies RecipleModuleScript;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"include": ["./src/**/*"],
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"rootDir": "./src",
|
|
5
|
-
"outDir": "./modules",
|
|
6
|
-
"target": "ES2020",
|
|
7
|
-
"module": "Node16",
|
|
8
|
-
"moduleResolution": "node16",
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"sourceMap": true,
|
|
12
|
-
"strict": true
|
|
13
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"include": ["./src/**/*"],
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"rootDir": "./src",
|
|
5
|
+
"outDir": "./modules",
|
|
6
|
+
"target": "ES2020",
|
|
7
|
+
"module": "Node16",
|
|
8
|
+
"moduleResolution": "node16",
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"sourceMap": true,
|
|
12
|
+
"strict": true
|
|
13
|
+
}
|
|
14
14
|
}
|
|
@@ -1,133 +1,133 @@
|
|
|
1
|
-
# Logs
|
|
2
|
-
logs
|
|
3
|
-
*.log
|
|
4
|
-
npm-debug.log*
|
|
5
|
-
yarn-debug.log*
|
|
6
|
-
yarn-error.log*
|
|
7
|
-
lerna-debug.log*
|
|
8
|
-
.pnpm-debug.log*
|
|
9
|
-
|
|
10
|
-
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
11
|
-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
12
|
-
|
|
13
|
-
# Runtime data
|
|
14
|
-
pids
|
|
15
|
-
*.pid
|
|
16
|
-
*.seed
|
|
17
|
-
*.pid.lock
|
|
18
|
-
|
|
19
|
-
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
20
|
-
lib-cov
|
|
21
|
-
|
|
22
|
-
# Docs files
|
|
23
|
-
docs.json
|
|
24
|
-
|
|
25
|
-
# Coverage directory used by tools like istanbul
|
|
26
|
-
coverage
|
|
27
|
-
*.lcov
|
|
28
|
-
|
|
29
|
-
# nyc test coverage
|
|
30
|
-
.nyc_output
|
|
31
|
-
|
|
32
|
-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
33
|
-
.grunt
|
|
34
|
-
|
|
35
|
-
# Bower dependency directory (https://bower.io/)
|
|
36
|
-
bower_components
|
|
37
|
-
|
|
38
|
-
# node-waf configuration
|
|
39
|
-
.lock-wscript
|
|
40
|
-
|
|
41
|
-
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
42
|
-
build/Release
|
|
43
|
-
|
|
44
|
-
# Dependency directories
|
|
45
|
-
node_modules/
|
|
46
|
-
jspm_packages/
|
|
47
|
-
|
|
48
|
-
# Snowpack dependency directory (https://snowpack.dev/)
|
|
49
|
-
web_modules/
|
|
50
|
-
|
|
51
|
-
# TypeScript cache
|
|
52
|
-
*.tsbuildinfo
|
|
53
|
-
|
|
54
|
-
# Optional npm cache directory
|
|
55
|
-
.npm
|
|
56
|
-
|
|
57
|
-
# Optional eslint cache
|
|
58
|
-
.eslintcache
|
|
59
|
-
|
|
60
|
-
# Optional stylelint cache
|
|
61
|
-
.stylelintcache
|
|
62
|
-
|
|
63
|
-
# Microbundle cache
|
|
64
|
-
.rpt2_cache/
|
|
65
|
-
.rts2_cache_cjs/
|
|
66
|
-
.rts2_cache_es/
|
|
67
|
-
.rts2_cache_umd/
|
|
68
|
-
|
|
69
|
-
# Optional REPL history
|
|
70
|
-
.node_repl_history
|
|
71
|
-
|
|
72
|
-
# Output of 'npm pack'
|
|
73
|
-
*.tgz
|
|
74
|
-
|
|
75
|
-
# Yarn Integrity file
|
|
76
|
-
.yarn-integrity
|
|
77
|
-
|
|
78
|
-
# dotenv environment variable files
|
|
79
|
-
.env
|
|
80
|
-
.env.development.local
|
|
81
|
-
.env.test.local
|
|
82
|
-
.env.production.local
|
|
83
|
-
.env.local
|
|
84
|
-
|
|
85
|
-
# parcel-bundler cache (https://parceljs.org/)
|
|
86
|
-
.cache
|
|
87
|
-
.parcel-cache
|
|
88
|
-
|
|
89
|
-
# Next.js build output
|
|
90
|
-
.next
|
|
91
|
-
out
|
|
92
|
-
|
|
93
|
-
# Nuxt.js build / generate output
|
|
94
|
-
.nuxt
|
|
95
|
-
dist
|
|
96
|
-
|
|
97
|
-
# Gatsby files
|
|
98
|
-
.cache/
|
|
99
|
-
# Comment in the public line in if your project uses Gatsby and not Next.js
|
|
100
|
-
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
101
|
-
# public
|
|
102
|
-
|
|
103
|
-
# vuepress build output
|
|
104
|
-
.vuepress/dist
|
|
105
|
-
|
|
106
|
-
# vuepress v2.x temp and cache directory
|
|
107
|
-
.temp
|
|
108
|
-
.cache
|
|
109
|
-
|
|
110
|
-
# Serverless directories
|
|
111
|
-
.serverless/
|
|
112
|
-
|
|
113
|
-
# FuseBox cache
|
|
114
|
-
.fusebox/
|
|
115
|
-
|
|
116
|
-
# DynamoDB Local files
|
|
117
|
-
.dynamodb/
|
|
118
|
-
|
|
119
|
-
# TernJS port file
|
|
120
|
-
.tern-port
|
|
121
|
-
|
|
122
|
-
# Stores VSCode versions used for testing VSCode extensions
|
|
123
|
-
.vscode-test
|
|
124
|
-
|
|
125
|
-
# yarn v2
|
|
126
|
-
.yarn/cache
|
|
127
|
-
.yarn/unplugged
|
|
128
|
-
.yarn/build-state.yml
|
|
129
|
-
.yarn/install-state.gz
|
|
130
|
-
.pnp.*
|
|
131
|
-
|
|
132
|
-
# Output files
|
|
133
|
-
modules
|
|
1
|
+
# Logs
|
|
2
|
+
logs
|
|
3
|
+
*.log
|
|
4
|
+
npm-debug.log*
|
|
5
|
+
yarn-debug.log*
|
|
6
|
+
yarn-error.log*
|
|
7
|
+
lerna-debug.log*
|
|
8
|
+
.pnpm-debug.log*
|
|
9
|
+
|
|
10
|
+
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
11
|
+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
12
|
+
|
|
13
|
+
# Runtime data
|
|
14
|
+
pids
|
|
15
|
+
*.pid
|
|
16
|
+
*.seed
|
|
17
|
+
*.pid.lock
|
|
18
|
+
|
|
19
|
+
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
20
|
+
lib-cov
|
|
21
|
+
|
|
22
|
+
# Docs files
|
|
23
|
+
docs.json
|
|
24
|
+
|
|
25
|
+
# Coverage directory used by tools like istanbul
|
|
26
|
+
coverage
|
|
27
|
+
*.lcov
|
|
28
|
+
|
|
29
|
+
# nyc test coverage
|
|
30
|
+
.nyc_output
|
|
31
|
+
|
|
32
|
+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
33
|
+
.grunt
|
|
34
|
+
|
|
35
|
+
# Bower dependency directory (https://bower.io/)
|
|
36
|
+
bower_components
|
|
37
|
+
|
|
38
|
+
# node-waf configuration
|
|
39
|
+
.lock-wscript
|
|
40
|
+
|
|
41
|
+
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
42
|
+
build/Release
|
|
43
|
+
|
|
44
|
+
# Dependency directories
|
|
45
|
+
node_modules/
|
|
46
|
+
jspm_packages/
|
|
47
|
+
|
|
48
|
+
# Snowpack dependency directory (https://snowpack.dev/)
|
|
49
|
+
web_modules/
|
|
50
|
+
|
|
51
|
+
# TypeScript cache
|
|
52
|
+
*.tsbuildinfo
|
|
53
|
+
|
|
54
|
+
# Optional npm cache directory
|
|
55
|
+
.npm
|
|
56
|
+
|
|
57
|
+
# Optional eslint cache
|
|
58
|
+
.eslintcache
|
|
59
|
+
|
|
60
|
+
# Optional stylelint cache
|
|
61
|
+
.stylelintcache
|
|
62
|
+
|
|
63
|
+
# Microbundle cache
|
|
64
|
+
.rpt2_cache/
|
|
65
|
+
.rts2_cache_cjs/
|
|
66
|
+
.rts2_cache_es/
|
|
67
|
+
.rts2_cache_umd/
|
|
68
|
+
|
|
69
|
+
# Optional REPL history
|
|
70
|
+
.node_repl_history
|
|
71
|
+
|
|
72
|
+
# Output of 'npm pack'
|
|
73
|
+
*.tgz
|
|
74
|
+
|
|
75
|
+
# Yarn Integrity file
|
|
76
|
+
.yarn-integrity
|
|
77
|
+
|
|
78
|
+
# dotenv environment variable files
|
|
79
|
+
.env
|
|
80
|
+
.env.development.local
|
|
81
|
+
.env.test.local
|
|
82
|
+
.env.production.local
|
|
83
|
+
.env.local
|
|
84
|
+
|
|
85
|
+
# parcel-bundler cache (https://parceljs.org/)
|
|
86
|
+
.cache
|
|
87
|
+
.parcel-cache
|
|
88
|
+
|
|
89
|
+
# Next.js build output
|
|
90
|
+
.next
|
|
91
|
+
out
|
|
92
|
+
|
|
93
|
+
# Nuxt.js build / generate output
|
|
94
|
+
.nuxt
|
|
95
|
+
dist
|
|
96
|
+
|
|
97
|
+
# Gatsby files
|
|
98
|
+
.cache/
|
|
99
|
+
# Comment in the public line in if your project uses Gatsby and not Next.js
|
|
100
|
+
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
101
|
+
# public
|
|
102
|
+
|
|
103
|
+
# vuepress build output
|
|
104
|
+
.vuepress/dist
|
|
105
|
+
|
|
106
|
+
# vuepress v2.x temp and cache directory
|
|
107
|
+
.temp
|
|
108
|
+
.cache
|
|
109
|
+
|
|
110
|
+
# Serverless directories
|
|
111
|
+
.serverless/
|
|
112
|
+
|
|
113
|
+
# FuseBox cache
|
|
114
|
+
.fusebox/
|
|
115
|
+
|
|
116
|
+
# DynamoDB Local files
|
|
117
|
+
.dynamodb/
|
|
118
|
+
|
|
119
|
+
# TernJS port file
|
|
120
|
+
.tern-port
|
|
121
|
+
|
|
122
|
+
# Stores VSCode versions used for testing VSCode extensions
|
|
123
|
+
.vscode-test
|
|
124
|
+
|
|
125
|
+
# yarn v2
|
|
126
|
+
.yarn/cache
|
|
127
|
+
.yarn/unplugged
|
|
128
|
+
.yarn/build-state.yml
|
|
129
|
+
.yarn/install-state.gz
|
|
130
|
+
.pnp.*
|
|
131
|
+
|
|
132
|
+
# Output files
|
|
133
|
+
modules
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "reciple-app",
|
|
3
|
-
"private": true,
|
|
4
|
-
"type": "module",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"build": "npx rimraf ./modules && npx tsc",
|
|
7
|
-
"start": "npx reciple"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"discord.js": "DISCORDJS",
|
|
11
|
-
"reciple": "RECIPLE"
|
|
12
|
-
},
|
|
13
|
-
"devDependencies": {
|
|
14
|
-
"typescript": "^4",
|
|
15
|
-
"rimraf": "^4"
|
|
16
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "reciple-app",
|
|
3
|
+
"private": true,
|
|
4
|
+
"type": "module",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "npx rimraf ./modules && npx tsc",
|
|
7
|
+
"start": "npx reciple"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"discord.js": "DISCORDJS",
|
|
11
|
+
"reciple": "RECIPLE"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"typescript": "^4",
|
|
15
|
+
"rimraf": "^4"
|
|
16
|
+
}
|
|
17
17
|
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { ContextMenuCommandBuilder, MessageCommandBuilder, RecipleModuleScript, SlashCommandBuilder } from 'reciple';
|
|
2
|
-
import { ApplicationCommandType } from 'discord.js';
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
versions: ['^7'], // Module supports reciple client version 7
|
|
6
|
-
commands: [
|
|
7
|
-
// Right click a message to execute command
|
|
8
|
-
new ContextMenuCommandBuilder()
|
|
9
|
-
.setName(`Test Context Menu`)
|
|
10
|
-
.setType(ApplicationCommandType.Message)
|
|
11
|
-
.setExecute(async data => {
|
|
12
|
-
await data.interaction.reply(`Hello!`);
|
|
13
|
-
}),
|
|
14
|
-
|
|
15
|
-
// Send !test to execute command
|
|
16
|
-
new MessageCommandBuilder()
|
|
17
|
-
.setName(`test`)
|
|
18
|
-
.setDescription(`Test message command`)
|
|
19
|
-
.setAliases(`t`)
|
|
20
|
-
.setExecute(async data => {
|
|
21
|
-
await data.message.reply(`Test message command`);
|
|
22
|
-
}),
|
|
23
|
-
|
|
24
|
-
// Use /test to execute command
|
|
25
|
-
new SlashCommandBuilder()
|
|
26
|
-
.setName(`test`)
|
|
27
|
-
.setDescription(`Test slash command`)
|
|
28
|
-
.setExecute(async data => {
|
|
29
|
-
await data.interaction.reply(`Test slash command`);
|
|
30
|
-
})
|
|
31
|
-
],
|
|
32
|
-
|
|
33
|
-
// Module resolved logic here (Bot not logged in)
|
|
34
|
-
onStart(client) {
|
|
35
|
-
return true;
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
// Module loaded logic here (Bot logged in)
|
|
39
|
-
onLoad(client, module_) {},
|
|
40
|
-
|
|
41
|
-
// Unload logic here
|
|
42
|
-
onUnload({ reason, client }) {}
|
|
43
|
-
} satisfies RecipleModuleScript;
|
|
1
|
+
import { ContextMenuCommandBuilder, MessageCommandBuilder, RecipleModuleScript, SlashCommandBuilder } from 'reciple';
|
|
2
|
+
import { ApplicationCommandType } from 'discord.js';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
versions: ['^7'], // Module supports reciple client version 7
|
|
6
|
+
commands: [
|
|
7
|
+
// Right click a message to execute command
|
|
8
|
+
new ContextMenuCommandBuilder()
|
|
9
|
+
.setName(`Test Context Menu`)
|
|
10
|
+
.setType(ApplicationCommandType.Message)
|
|
11
|
+
.setExecute(async data => {
|
|
12
|
+
await data.interaction.reply(`Hello!`);
|
|
13
|
+
}),
|
|
14
|
+
|
|
15
|
+
// Send !test to execute command
|
|
16
|
+
new MessageCommandBuilder()
|
|
17
|
+
.setName(`test`)
|
|
18
|
+
.setDescription(`Test message command`)
|
|
19
|
+
.setAliases(`t`)
|
|
20
|
+
.setExecute(async data => {
|
|
21
|
+
await data.message.reply(`Test message command`);
|
|
22
|
+
}),
|
|
23
|
+
|
|
24
|
+
// Use /test to execute command
|
|
25
|
+
new SlashCommandBuilder()
|
|
26
|
+
.setName(`test`)
|
|
27
|
+
.setDescription(`Test slash command`)
|
|
28
|
+
.setExecute(async data => {
|
|
29
|
+
await data.interaction.reply(`Test slash command`);
|
|
30
|
+
})
|
|
31
|
+
],
|
|
32
|
+
|
|
33
|
+
// Module resolved logic here (Bot not logged in)
|
|
34
|
+
onStart(client) {
|
|
35
|
+
return true;
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
// Module loaded logic here (Bot logged in)
|
|
39
|
+
onLoad(client, module_) {},
|
|
40
|
+
|
|
41
|
+
// Unload logic here
|
|
42
|
+
onUnload({ reason, client }) {}
|
|
43
|
+
} satisfies RecipleModuleScript;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"include": ["./src/**/*"],
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"rootDir": "./src",
|
|
5
|
-
"outDir": "./modules",
|
|
6
|
-
"target": "ES2020",
|
|
7
|
-
"module": "Node16",
|
|
8
|
-
"moduleResolution": "node16",
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"sourceMap": true,
|
|
12
|
-
"strict": true
|
|
13
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"include": ["./src/**/*"],
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"rootDir": "./src",
|
|
5
|
+
"outDir": "./modules",
|
|
6
|
+
"target": "ES2020",
|
|
7
|
+
"module": "Node16",
|
|
8
|
+
"moduleResolution": "node16",
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"sourceMap": true,
|
|
12
|
+
"strict": true
|
|
13
|
+
}
|
|
14
14
|
}
|
package/templates.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"name": "Javascript",
|
|
4
|
-
"description": "Uses Javascript as main language",
|
|
5
|
-
"dir": "./templates/javascript"
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"name": "Typescript",
|
|
9
|
-
"description": "Uses Typescript as main language",
|
|
10
|
-
"dir": "./templates/typescript"
|
|
11
|
-
}
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "Javascript",
|
|
4
|
+
"description": "Uses Javascript as main language",
|
|
5
|
+
"dir": "./templates/javascript"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"name": "Typescript",
|
|
9
|
+
"description": "Uses Typescript as main language",
|
|
10
|
+
"dir": "./templates/typescript"
|
|
11
|
+
}
|
|
12
12
|
]
|