@idajs/create-mod 0.2.2 → 0.2.10
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/_project.config/gitignore.template +42 -0
- package/install.js +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Dependencies
|
|
2
|
+
node_modules/
|
|
3
|
+
|
|
4
|
+
# Build outputs
|
|
5
|
+
dist/
|
|
6
|
+
build/
|
|
7
|
+
out/
|
|
8
|
+
|
|
9
|
+
# Logs
|
|
10
|
+
*.log
|
|
11
|
+
npm-debug.log*
|
|
12
|
+
yarn-debug.log*
|
|
13
|
+
yarn-error.log*
|
|
14
|
+
pnpm-debug.log*
|
|
15
|
+
lerna-debug.log*
|
|
16
|
+
|
|
17
|
+
# OS files
|
|
18
|
+
.DS_Store
|
|
19
|
+
Thumbs.db
|
|
20
|
+
|
|
21
|
+
# IDE
|
|
22
|
+
*.swp
|
|
23
|
+
*.swo
|
|
24
|
+
*~
|
|
25
|
+
|
|
26
|
+
# Environment variables
|
|
27
|
+
.env
|
|
28
|
+
.env.local
|
|
29
|
+
.env.*.local
|
|
30
|
+
|
|
31
|
+
# Temporary files
|
|
32
|
+
*.tmp
|
|
33
|
+
*.temp
|
|
34
|
+
.cache/
|
|
35
|
+
|
|
36
|
+
# Coverage
|
|
37
|
+
coverage/
|
|
38
|
+
.nyc_output/
|
|
39
|
+
|
|
40
|
+
# IdaJS specific
|
|
41
|
+
.idajs.json
|
|
42
|
+
media/README.md
|
package/install.js
CHANGED
|
@@ -151,6 +151,11 @@ function copyFiles() {
|
|
|
151
151
|
{ source: "template.prettierrc.json", target: ".prettierrc.json" },
|
|
152
152
|
];
|
|
153
153
|
|
|
154
|
+
// Add .gitignore only in standalone mode
|
|
155
|
+
if (!idaRoot) {
|
|
156
|
+
filesToCopy.push({ source: "gitignore.template", target: ".gitignore" });
|
|
157
|
+
}
|
|
158
|
+
|
|
154
159
|
filesToCopy.forEach((file) => {
|
|
155
160
|
const sourcePath = path.join(configDir, file.source);
|
|
156
161
|
const targetPath = path.join(targetDir, file.target || file.source);
|
package/package.json
CHANGED