mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
fix: comment out experiments from configuration files (#1505)
This commit is contained in:
parent
214f4645f8
commit
3438b7596a
3 changed files with 13 additions and 8 deletions
|
@ -68,7 +68,6 @@ middlewares:
|
||||||
logs:
|
logs:
|
||||||
- { type: stdout, format: pretty, level: http }
|
- { type: stdout, format: pretty, level: http }
|
||||||
#- {type: file, path: verdaccio.log, level: info}
|
#- {type: file, path: verdaccio.log, level: info}
|
||||||
|
#experiments:
|
||||||
experiments:
|
# # support for npm token command
|
||||||
# support for npm token command
|
# token: false
|
||||||
token: false
|
|
||||||
|
|
|
@ -68,7 +68,6 @@ middlewares:
|
||||||
logs:
|
logs:
|
||||||
- { type: stdout, format: pretty, level: http }
|
- { type: stdout, format: pretty, level: http }
|
||||||
#- {type: file, path: verdaccio.log, level: info}
|
#- {type: file, path: verdaccio.log, level: info}
|
||||||
|
#experiments:
|
||||||
experiments:
|
# # support for npm token command
|
||||||
# support for npm token command
|
# token: false
|
||||||
token: false
|
|
||||||
|
|
|
@ -62,6 +62,9 @@ const checkDefaultConfPackages = (config) => {
|
||||||
expect(config.publish).toBeUndefined();
|
expect(config.publish).toBeUndefined();
|
||||||
expect(config.url_prefix).toBeUndefined();
|
expect(config.url_prefix).toBeUndefined();
|
||||||
expect(config.url_prefix).toBeUndefined();
|
expect(config.url_prefix).toBeUndefined();
|
||||||
|
|
||||||
|
expect(config.experiments).toBeUndefined();
|
||||||
|
expect(config.jwt).toBeUndefined();
|
||||||
};
|
};
|
||||||
|
|
||||||
describe('Config file', () => {
|
describe('Config file', () => {
|
||||||
|
@ -90,5 +93,9 @@ describe('Config file', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('Config file', () => {
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue