Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amplicode/create-amplicode

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplicode/create-amplicode - npm Package Compare versions

Comparing version 0.10.4 to 0.10.5

2

dist/index.js

@@ -1531,3 +1531,3 @@ #!/usr/bin/env node

module.exports = JSON.parse('{"name":"@amplicode/create-amplicode","version":"0.10.4","description":"Create amplicode app","keywords":["code","typescript","react","generate"],"bin":{"create-amplicode":"dist/index.js"},"files":["dist/*","templates/*"],"dependencies":{"ejs":"^3.1.9","minimist":"^1.2.8"},"devDependencies":{"@types/ejs":"^3.1.5","@types/minimist":"^1.2.5","@types/node":"^20.11.2","copy-webpack-plugin":"^12.0.1","ts-loader":"^9.5.1","typescript":"^5.2.2","webpack":"^5.89.0","webpack-cli":"^5.1.4"},"scripts":{"build":"webpack","watch":"webpack --watch","generate:ra":"npm run build && node ./dist/index.js --appName ra-test --template react-admin --serverUrl localhost:8080 --restBasePath /rest --schema \'[{\\"entity\\":\\"owners\\",\\"screens\\":[\\"list\\",\\"edit\\"]}]\' --targetDir ../test-ra-app","test":"echo \\"Error: no test specified\\" && exit 1"},"publishConfig":{"access":"public"},"repository":"https://github.com/Amplicode/amplicode-create-app","author":"Amplicode","license":"Apache-2.0"}');
module.exports = JSON.parse('{"name":"@amplicode/create-amplicode","version":"0.10.5","description":"Create amplicode app","keywords":["code","typescript","react","generate"],"bin":{"create-amplicode":"dist/index.js"},"files":["dist/*","templates/*"],"dependencies":{"ejs":"^3.1.9","minimist":"^1.2.8"},"devDependencies":{"@types/ejs":"^3.1.5","@types/minimist":"^1.2.5","@types/node":"^20.11.2","copy-webpack-plugin":"^12.0.1","ts-loader":"^9.5.1","typescript":"^5.2.2","webpack":"^5.89.0","webpack-cli":"^5.1.4"},"scripts":{"build":"webpack","watch":"webpack --watch","generate:ra":"npm run build && node ./dist/index.js --appName ra-test --template react-admin --serverUrl localhost:8080 --restBasePath /rest --schema \'[{\\"entity\\":\\"owners\\",\\"screens\\":[\\"list\\",\\"edit\\"]}]\' --targetDir ../test-ra-app","test":"echo \\"Error: no test specified\\" && exit 1"},"publishConfig":{"access":"public"},"repository":"https://github.com/Amplicode/amplicode-create-app","author":"Amplicode","license":"Apache-2.0"}');

@@ -1534,0 +1534,0 @@ /***/ })

{
"name": "@amplicode/create-amplicode",
"version": "0.10.4",
"version": "0.10.5",
"description": "Create amplicode app",

@@ -5,0 +5,0 @@ "keywords": ["code", "typescript", "react", "generate"],

@@ -1,3 +0,6 @@

import { alpha, darken, lighten, Theme, rgbToHex } from "@mui/material";
import { CSSInterpolation, Components as MuiComponents } from "@mui/material/styles";
import { alpha, darken, lighten, Theme } from "@mui/material";
import {
CSSInterpolation,
Components as MuiComponents,
} from "@mui/material/styles";

@@ -23,3 +26,5 @@ export type BaseRaComponentProps = {

export const createComponents = (theme: Theme): MuiComponents & RaComponents => {
export const createComponents = (
theme: Theme
): MuiComponents & RaComponents => {
return {

@@ -294,10 +299,10 @@ MuiCssBaseline: {

borderRadius: "6px",
transition: `background-color ${theme.transitions.duration.short}ms ${theme.transitions.easing.easeInOut} 0ms, box-shadow ${theme.transitions.duration.short}ms ${theme.transitions.easing.easeInOut} 0ms, border-color ${theme.transitions.duration.short}ms ${theme.transitions.easing.easeInOut} 0ms, color ${theme.transitions.duration.short}ms ${theme.transitions.easing.easeInOut} 0ms`,
color: "#fff",
backgroundColor: theme.palette.primary.main,
boxShadow: `${theme.colors.neutral[200]} 0px 0px 1px, ${alpha(
theme.colors.neutral[800],
0.08
)} 0px 1px 3px`,
lineHeight: 1.75,
// transition: `background-color ${theme.transitions.duration.short}ms ${theme.transitions.easing.easeInOut} 0ms, box-shadow ${theme.transitions.duration.short}ms ${theme.transitions.easing.easeInOut} 0ms, border-color ${theme.transitions.duration.short}ms ${theme.transitions.easing.easeInOut} 0ms, color ${theme.transitions.duration.short}ms ${theme.transitions.easing.easeInOut} 0ms`,
// color: "#fff",
// backgroundColor: theme.palette.primary.main,
// boxShadow: `${theme.colors.neutral[200]} 0px 0px 1px, ${alpha(
// theme.colors.neutral[800],
// 0.08
// )} 0px 1px 3px`,
lineHeight: 1.5,
minWidth: "64px",

@@ -309,10 +314,10 @@ padding: "4px 18px",

"& .MuiButton-root:hover": {
textDecoration: "none",
backgroundColor: theme.palette.primary.dark,
boxShadow: `${theme.colors.neutral[200]} 0px 0px 1px, ${alpha(
theme.colors.neutral[800],
0.08
)} 0px 3px 8px`,
},
// "& .MuiButton-root:hover": {
// textDecoration: "none",
// backgroundColor: theme.palette.primary.dark,
// boxShadow: `${theme.colors.neutral[200]} 0px 0px 1px, ${alpha(
// theme.colors.neutral[800],
// 0.08
// )} 0px 3px 8px`,
// },
},

@@ -415,2 +420,8 @@ },

MuiFormControl: {
defaultProps: {
variant: "outlined" as const,
margin: "dense" as const,
size: "small" as const,
fullWidth: true,
},
styleOverrides: {

@@ -420,2 +431,3 @@ root: {

transform: "none",
width: "100%",

@@ -484,3 +496,6 @@ "& .MuiFormLabel-root": {

borderWidth: "1px",
boxShadow: `${alpha(theme.palette.primary.main, 0.25)} 0px 0px 0px 0.2rem`,
boxShadow: `${alpha(
theme.palette.primary.main,
0.25
)} 0px 0px 0px 0.2rem`,
},

@@ -492,3 +507,6 @@ },

borderWidth: "1px",
boxShadow: `${alpha(theme.palette.error.main, 0.25)} 0px 0px 0px 0.2rem`,
boxShadow: `${alpha(
theme.palette.error.main,
0.25
)} 0px 0px 0px 0.2rem`,
},

@@ -501,2 +519,5 @@ },

MuiAutocomplete: {
defaultProps: {
fullWidth: true,
},
styleOverrides: {

@@ -623,3 +644,3 @@ popper: {

"& .MuiInputBase-root": {
minWidth: "250px",
width: "100%",
},

@@ -637,3 +658,14 @@ },

},
MuiButton: {
defaultProps: {
variant: "outlined" as const,
},
styleOverrides: {
sizeSmall: {
padding: `${theme.spacing(0.5)} ${theme.spacing(1.5)}`,
},
},
},
};
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc