@genesislcap/rollup-builder 14.439.3 → 14.442.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;yBAKrC,KAAK,YAAY;AAAvC,wBAoDE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;yBAMrC,KAAK,YAAY;AAAvC,wBAoDE"}
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.transformCSSFragment = transformCSSFragment;
4
4
  /* eslint prefer-named-capture-group: "off" */
5
5
  const newlines = /\n/g;
6
- const separators = /\s*([\{\};])\s*/g;
6
+ const separators = /\s*([{};])\s*/g;
7
7
  const lastProp = /;\s*(\})/g;
8
8
  const extraSpaces = /\s\s+/g;
9
9
  const endingSpaces = / ?\s+$/g;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/rollup-builder",
3
3
  "description": "Rollup builder",
4
- "version": "14.439.3",
4
+ "version": "14.442.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -12,11 +12,11 @@
12
12
  "build": "npm run clean && tsc -b ./tsconfig.json",
13
13
  "clean": "rimraf dist temp tsconfig.tsbuildinfo",
14
14
  "dev": "tsc -b ./tsconfig.json -w",
15
- "lint": "genx lint --profile",
16
- "lint:fix": "genx lint --fix"
15
+ "lint": "genx lint -l ox",
16
+ "lint:fix": "genx lint -l ox --fix"
17
17
  },
18
18
  "dependencies": {
19
- "@genesislcap/build-kit": "14.439.3",
19
+ "@genesislcap/build-kit": "14.442.0",
20
20
  "@rollup/plugin-commonjs": "28.0.0",
21
21
  "@rollup/plugin-json": "^5.0.0",
22
22
  "@rollup/plugin-node-resolve": "^13.1.3",
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "75d483c70f8d48c49eca72c6da18cb42e1076dd2"
42
+ "gitHead": "ad425e4ea17dad7d5b580200f2ca31758896d07f"
43
43
  }
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { rm, green, white, bold, ms, run, resolveBin } from '@genesislcap/build-kit';
2
1
  import type { BuildContext } from '@genesislcap/build-kit';
2
+ import { rm, green, white, bold, ms, run, resolveBin } from '@genesislcap/build-kit';
3
3
  import consola from 'consola';
4
4
  import { rollup, watch } from 'rollup';
5
5
  import { getInputOptions, getOutputOptions } from './options';
@@ -1,6 +1,6 @@
1
1
  /* eslint prefer-named-capture-group: "off" */
2
2
  const newlines = /\n/g;
3
- const separators = /\s*([\{\};])\s*/g;
3
+ const separators = /\s*([{};])\s*/g;
4
4
  const lastProp = /;\s*(\})/g;
5
5
  const extraSpaces = /\s\s+/g;
6
6
  const endingSpaces = / ?\s+$/g;
package/tsconfig.json CHANGED
@@ -2,17 +2,10 @@
2
2
  "extends": "../../../../tsconfig.json",
3
3
  "compilerOptions": {
4
4
  "declarationDir": "./dist",
5
- "lib": [
6
- "ES2015",
7
- "ES2016",
8
- "ES2017",
9
- "ES2019",
10
- ],
5
+ "lib": ["ES2015", "ES2016", "ES2017", "ES2019"],
11
6
  "module": "commonjs",
12
7
  "outDir": "./dist",
13
- "rootDir": "./src",
8
+ "rootDir": "./src"
14
9
  },
15
- "include": [
16
- "src/**/*"
17
- ]
10
+ "include": ["src/**/*"]
18
11
  }