@pro-laico/create-atomic-payload 0.1.5 → 0.1.6
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/bin/cli.js
CHANGED
|
@@ -132,6 +132,12 @@ async function main() {
|
|
|
132
132
|
},
|
|
133
133
|
})
|
|
134
134
|
|
|
135
|
+
// Rename gitignore.template → .gitignore (npm renames .gitignore to .npmignore during pack/extract)
|
|
136
|
+
const gitignoreTemplate = path.join(targetDir, 'gitignore.template')
|
|
137
|
+
if (fs.existsSync(gitignoreTemplate)) {
|
|
138
|
+
await fsp.rename(gitignoreTemplate, path.join(targetDir, '.gitignore'))
|
|
139
|
+
}
|
|
140
|
+
|
|
135
141
|
copySpinner.succeed(`Template copied in ${((Date.now() - startCopy) / 1000).toFixed(1)}s`)
|
|
136
142
|
|
|
137
143
|
const installSpinner = ora({ text: 'Installing dependencies with pnpm...', color: 'cyan' }).start()
|
package/package.json
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
node_modules
|
|
2
|
+
.next
|
|
3
|
+
.vercel
|
|
4
|
+
.DS_Store
|
|
5
|
+
|
|
6
|
+
# TypeScript
|
|
7
|
+
tsconfig.tsbuildinfo
|
|
8
|
+
|
|
9
|
+
public/robots.txt
|
|
10
|
+
public/sitemap*.xml
|
|
11
|
+
|
|
12
|
+
.env
|
|
13
|
+
.env*.local
|
|
14
|
+
|
|
15
|
+
# Ignore all automatically generated font files
|
|
16
|
+
/src/app/definition.ts
|
|
17
|
+
/public/fonts
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// DO NOT EDIT MANUALLY. THIS FILE IS AUTOMATICALLY GENERATED.
|
|
2
|
+
|
|
3
|
+
import localFont from 'next/font/local'
|
|
4
|
+
|
|
5
|
+
const fontSerif = localFont({ src: '../../public/fonts/serif.woff2', variable: '--font-setSerif' })
|
|
6
|
+
const fontMono = localFont({ src: '../../public/fonts/mono.woff2', variable: '--font-setMono' })
|
|
7
|
+
const fontDisplay = localFont({ src: '../../public/fonts/display.woff2', variable: '--font-setDisplay' })
|
|
8
|
+
|
|
9
|
+
const fonts = { fontSerif, fontMono, fontDisplay }
|
|
10
|
+
export default fonts
|