create-puck-app 0.3.0 → 0.3.1
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/index.js +2 -1
- package/package.json +1 -4
- package/templates/next/gitignore +36 -0
package/index.js
CHANGED
@@ -124,7 +124,8 @@ program
|
|
124
124
|
const filePath = path.join(templatePath, templateFile);
|
125
125
|
const targetPath = filePath
|
126
126
|
.replace(templatePath, appPath)
|
127
|
-
.replace(".hbs", "")
|
127
|
+
.replace(".hbs", "")
|
128
|
+
.replace("gitignore", ".gitignore"); // .gitignore gets ignored by npm during publish, so we have to rename it
|
128
129
|
|
129
130
|
let data;
|
130
131
|
|
package/package.json
CHANGED
@@ -1,15 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "create-puck-app",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.1",
|
4
4
|
"private": false,
|
5
5
|
"license": "MIT",
|
6
6
|
"type": "module",
|
7
7
|
"bin": {
|
8
8
|
"create-puck-app": "./index.js"
|
9
9
|
},
|
10
|
-
"files": [
|
11
|
-
"templates"
|
12
|
-
],
|
13
10
|
"dependencies": {
|
14
11
|
"commander": "^10.0.1",
|
15
12
|
"handlebars": "^4.7.7",
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
2
|
+
|
3
|
+
# dependencies
|
4
|
+
/node_modules
|
5
|
+
/.pnp
|
6
|
+
.pnp.js
|
7
|
+
|
8
|
+
# testing
|
9
|
+
/coverage
|
10
|
+
|
11
|
+
# next.js
|
12
|
+
/.next/
|
13
|
+
/out/
|
14
|
+
|
15
|
+
# production
|
16
|
+
/build
|
17
|
+
|
18
|
+
# misc
|
19
|
+
.DS_Store
|
20
|
+
*.pem
|
21
|
+
|
22
|
+
# debug
|
23
|
+
npm-debug.log*
|
24
|
+
yarn-debug.log*
|
25
|
+
yarn-error.log*
|
26
|
+
|
27
|
+
# local env files
|
28
|
+
.env.local
|
29
|
+
.env.development.local
|
30
|
+
.env.test.local
|
31
|
+
.env.production.local
|
32
|
+
|
33
|
+
# vercel
|
34
|
+
.vercel
|
35
|
+
|
36
|
+
database.json
|