New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

no-bump

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

no-bump - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

lib/api-impl-599fa949.js

2

lib/cli.cjs.js
'use strict';
var apiImpl = require('./api-impl-592c2540.js');
var apiImpl = require('./api-impl-599fa949.js');
var path = require('path');

@@ -5,0 +5,0 @@ var fs = require('fs');

@@ -1,2 +0,2 @@

import { l as len, a as configFiles, e as existSync, t as throwInvalidateError, b as build, p as print } from './api-impl-75f5d4b9.js';
import { l as len, a as configFiles, e as existSync, t as throwInvalidateError, b as build, p as print } from './api-impl-888744e8.js';
import path from 'path';

@@ -3,0 +3,0 @@ import fs from 'fs';

@@ -5,3 +5,3 @@ 'use strict';

var apiImpl = require('./api-impl-592c2540.js');
var apiImpl = require('./api-impl-599fa949.js');
require('rollup');

@@ -8,0 +8,0 @@ require('fs');

@@ -130,4 +130,3 @@ import { RollupCommonJSOptions } from '@rollup/plugin-commonjs';

*@description create a bundle configuration exports watch and build api
* Example:
* plugins: `Record<string,RollupPlugin>`
*@deprecated Warn:This API isn't expected. Will be removed in future. Please use `build` and `watch` instead.
*/

@@ -138,4 +137,8 @@ declare const createBundle: (options?: Omit<BumpOptions, 'input' | 'output'>) => {

};
/**
* ExtraOptions only use for bump internal configs.
* I don't want expose too many details to user.
*/
declare const build: (options?: BumpOptions) => Promise<void>;
export { BumpOptions, BumpOutputOptions, build, createBundle, define };

@@ -1,2 +0,2 @@

export { b as build, c as createBundle, d as define } from './api-impl-75f5d4b9.js';
export { b as build, c as createBundle, d as define } from './api-impl-888744e8.js';
import 'rollup';

@@ -3,0 +3,0 @@ import 'fs';

{
"name": "no-bump",
"version": "0.3.2",
"version": "0.4.0",
"description": "A zero config bundler.",

@@ -5,0 +5,0 @@ "main": "lib/index.cjs.js",

@@ -1,8 +0,8 @@

# Bump
# NoBump
Bump is a zero configuration bundler.It base on rollup and you can customize it by your self.
### OverView
It provides `rollup-plugin-swc3`,`@rollup/plugin-commonjs`,`@rollup/plugin-node-resolve`,`rollup-plugin-postcss` by default.
NoBump is an zero configuration bundler. It based on rollup and you can customize it by a easy way. Let you work with rollup with
a light way.
### Install

@@ -18,3 +18,2 @@

### Usage

@@ -28,3 +27,3 @@

bump will automatically read the config file in the directory. Support `bump.config.js`,`bump.config.ts`,`bump.yaml`,`bump.yml`
bump will automatically read the config file in the your work sapce (default it's the process.cwd ). Support `bump.config.js`,`bump.config.ts`

@@ -34,10 +33,7 @@ `bump` exports `define` API you only usage in your `.ts` or `.js` file.

```js
import { define } from 'no-bump'
export default define({
// your config.
})
```

@@ -48,10 +44,7 @@

```js
import { build , createBundle } from 'build'
import { build, watch } from 'build'
```
`build` will use the default config by default. If you want customize the config you can use `createBundle` it will exports `watch` and `build`.
Node API doesn't read your config file it's more suitable for you to build into your build task.
The internal plugins will use preset config. If you want to modify it. you can use `internalPlugins` to set your config.
The full config please see [CONFIGS](./docs/CONFIG.md)
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