mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 19:22:51 +00:00
feat: update tests
feat: update tests feat: update tests
This commit is contained in:
67
.syncpackrc.cjs
Normal file
67
.syncpackrc.cjs
Normal file
@@ -0,0 +1,67 @@
|
||||
// @ts-check
|
||||
|
||||
/** @type {import('syncpack').RcFile} */
|
||||
const config = {
|
||||
semverRange: '',
|
||||
source: ['package.json', '**/package.json'],
|
||||
indent: ' ',
|
||||
sortFirst: [
|
||||
'name',
|
||||
'description',
|
||||
'version',
|
||||
'type',
|
||||
'license',
|
||||
'repository',
|
||||
'author',
|
||||
'contributors',
|
||||
'keywords',
|
||||
'main',
|
||||
'types',
|
||||
'bin',
|
||||
'scripts',
|
||||
'dependencies',
|
||||
'devDependencies',
|
||||
'peerDependencies',
|
||||
'tsup',
|
||||
'prettier',
|
||||
'eslintConfig',
|
||||
'eslintIgnore',
|
||||
'nyc',
|
||||
],
|
||||
versionGroups: [
|
||||
{
|
||||
label: 'ES Mapping Generator Special Dependencies',
|
||||
dependencies: ['typescript', 'typedoc', 'ts-node', '@types/node', 'got'],
|
||||
packages: ['@openstapps/es-mapping-generator'],
|
||||
isIgnored: true,
|
||||
},
|
||||
/*{
|
||||
label: 'App Special Dependencies',
|
||||
dependencies: ['typescript'],
|
||||
packages: ['@openstapps/app'],
|
||||
isIgnored: true,
|
||||
},*/
|
||||
{
|
||||
label: 'Should have the same version',
|
||||
dependencies: ['**'],
|
||||
dependencyTypes: ['workspace'],
|
||||
packages: ['**'],
|
||||
pinVersion: '2.1.0',
|
||||
},
|
||||
{
|
||||
label: 'Packages should use workspace version',
|
||||
dependencies: ['@openstapps/**'],
|
||||
dependencyTypes: ['prod', 'dev'],
|
||||
packages: ['**'],
|
||||
pinVersion: 'workspace:*',
|
||||
},
|
||||
{
|
||||
label: 'Packages should be synced to app',
|
||||
dependencies: ['typescript', 'ts-node'],
|
||||
packages: ['**'],
|
||||
snapTo: ['@openstapps/app'],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
Reference in New Issue
Block a user