create-react-admin
Advanced tools
Comparing version 4.14.0 to 4.14.1
@@ -23,2 +23,3 @@ "use strict"; | ||
generatePackageJson(projectDirectory, state); | ||
generateGitIgnore(projectDirectory); | ||
generateEnvFile(projectDirectory, state); | ||
@@ -85,2 +86,5 @@ generateReadme(projectDirectory, state); | ||
}; | ||
const generateGitIgnore = (projectDirectory) => { | ||
fs_1.default.writeFileSync(path_1.default.join(projectDirectory, '.gitignore'), defaultGitIgnore); | ||
}; | ||
const generateEnvFile = (projectDirectory, state) => { | ||
@@ -123,3 +127,3 @@ const dataProviderEnv = getTemplateEnv(state.dataProvider); | ||
react: '^18.2.0', | ||
'react-admin': '^4.13.0', | ||
'react-admin': '^4.14.0', | ||
'react-dom': '^18.2.0', | ||
@@ -234,2 +238,27 @@ }, | ||
}; | ||
const defaultGitIgnore = `# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
`; | ||
//# sourceMappingURL=generateProject.js.map |
{ | ||
"name": "create-react-admin", | ||
"description": "A CLI to quickly start a new react-admin project", | ||
"version": "4.14.0", | ||
"version": "4.14.1", | ||
"license": "MIT", | ||
@@ -35,3 +35,3 @@ "bin": "lib/cli.js", | ||
}, | ||
"gitHead": "72a2a95b28ddcf21a0ed89eeefa44e5815b93757" | ||
"gitHead": "ec171330f76374ad7a408b7323ed617b2c5a2b7c" | ||
} |
{ | ||
"dependencies": { | ||
"ra-data-fakerest": "^4.13.0" | ||
"ra-data-fakerest": "^4.14.0" | ||
} | ||
} |
{ | ||
"dependencies": { | ||
"ra-data-json-server": "^4.13.0" | ||
"ra-data-json-server": "^4.14.0" | ||
} | ||
} |
{ | ||
"dependencies": { | ||
"ra-data-simple-rest": "^4.13.0" | ||
"ra-data-simple-rest": "^4.14.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115070
1324