create-digigov-docs
Advanced tools
Comparing version 1.0.7-a7ffb5dc to 1.0.7-aefd0709
{ | ||
"name": "create-digigov-docs", | ||
"version": "1.0.7-a7ffb5dc", | ||
"version": "1.0.7-aefd0709", | ||
"description": "Create a DigiGOV docs website that uses Docusaurus under the hood", | ||
@@ -25,6 +25,6 @@ "bin": "cli.js", | ||
"devDependencies": { | ||
"@digigov/cli": "1.1.0", | ||
"@digigov/cli-docs": "1.0.7-a7ffb5dc", | ||
"@digigov/cli-test": "1.1.1", | ||
"typescript": "5.3.2", | ||
"@digigov/cli": "2.0.0-aefd0709", | ||
"@digigov/cli-lint": "2.0.0-aefd0709", | ||
"@digigov/cli-docs": "2.0.0-aefd0709", | ||
"@digigov/cli-test": "2.0.0-aefd0709", | ||
"publint": "0.1.8" | ||
@@ -36,5 +36,4 @@ }, | ||
"publint": "publint", | ||
"lint": "digigov lint", | ||
"test": "echo 'no test command found'" | ||
"lint": "digigov lint" | ||
} | ||
} |
@@ -5,22 +5,16 @@ const { relative } = require('path'); | ||
const digigovDepsDev = [ | ||
"@digigov/cli", | ||
"@digigov/cli-build", | ||
"@digigov/cli-lint", | ||
"@digigov/cli-test", | ||
"@digigov/cli-docs" | ||
'@digigov/cli', | ||
'@digigov/cli-build', | ||
'@digigov/cli-lint', | ||
'@digigov/cli-test', | ||
'@digigov/cli-docs', | ||
]; | ||
const digigovDeps = [ | ||
"@digigov/react-core", | ||
"@digigov/docusaurus-preset", | ||
"@grnet/docusaurus-term-preview", | ||
"@grnet/docusaurus-glossary-view" | ||
'@digigov/react-core', | ||
'@digigov/docusaurus-preset', | ||
'@grnet/docusaurus-term-preview', | ||
'@grnet/docusaurus-glossary-view', | ||
]; | ||
const docusaurusDeps = [ | ||
"@grnet/docusaurus-term-preview", | ||
"@digigov/docusaurus-preset", | ||
"@grnet/docusaurus-glossary-view" | ||
] | ||
module.exports = { | ||
@@ -35,3 +29,3 @@ prompts: require('./prompts'), | ||
pmRun, | ||
theme | ||
theme, | ||
}; | ||
@@ -74,14 +68,16 @@ }, | ||
patterns: { | ||
'src/pages/index.classic.js': 'src/pages/index.js' | ||
} | ||
'src/pages/index.classic.js': 'src/pages/index.js', | ||
}, | ||
}); | ||
} else { | ||
actions.push({ | ||
type: 'remove', | ||
files: 'src/pages/index.classic.js', | ||
}, | ||
actions.push( | ||
{ | ||
type: 'remove', | ||
files: 'src/pages/index.classic.js', | ||
}, | ||
{ | ||
type: 'add', | ||
files: 'src/css/custom.css', | ||
}); | ||
} | ||
); | ||
} | ||
@@ -95,3 +91,3 @@ | ||
'_.prettierrc.js': '.prettierrc.js', | ||
'_.eslintrc.js': '.eslintrc.js', | ||
'_eslint.config.mjs': 'eslint.config.mjs', | ||
'_docusaurus.config.js': 'docusaurus.config.js', | ||
@@ -123,5 +119,7 @@ }, | ||
); | ||
console.log(`\n ${chalk.red('✋ Hodor. HODOR! We\'re not done yet.')}\n`); | ||
console.log(chalk` You should change you current to the next project:\n\n${cdMsg}`); | ||
console.log(`\n ${chalk.red("✋ Hodor. HODOR! We're not done yet.")}\n`); | ||
console.log( | ||
chalk` You should change you current to the next project:\n\n${cdMsg}` | ||
); | ||
console.log( | ||
chalk`\n {bold You should install the following dependencies:} \n\n \t{cyan ${this.answers.pm} add ${digigovDeps.join(' ')}}\n` | ||
@@ -128,0 +126,0 @@ ); |
@@ -17,14 +17,14 @@ { | ||
"@material-ui/icons": "4.11.2", | ||
"@docusaurus/core": "2.2.0", | ||
"@docusaurus/core": "2.4.3", | ||
"postcss-import": "^13.0.0", | ||
"@mdx-js/react": "1.6.21", | ||
"classnames": "2.2.6", | ||
"react": "16.14.0", | ||
"react-dom": "16.14.0" | ||
"react": "18.3.1", | ||
"react-dom": "18.3.1" | ||
}, | ||
"devDependencies": { | ||
"typescript": "5.3.2", | ||
"eslint": "^7.27.0", | ||
"prettier": "^2.3.0" | ||
"typescript": "5.5.4", | ||
"eslint": "9.16.0", | ||
"prettier": "3.4.2" | ||
} | ||
} |
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
2
295337
517