@gravity-ui/app-builder 0.0.1 → 0.0.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.2](https://github.com/gravity-ui/app-builder/compare/v0.0.1...v0.0.2) (2022-12-19)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **cli:** do not restrict value of the CDN parametr ([9f62c9e](https://github.com/gravity-ui/app-builder/commit/9f62c9e97f04e96567a068a85038776e0f88973d))
9
+ * do not use postcss feature that would need an extra browser library ([a788d9c](https://github.com/gravity-ui/app-builder/commit/a788d9cf334d6306a6feb49ae5a08d4f7518dfa3))
10
+
3
11
  ## 0.0.1 (2022-12-06)
4
12
 
5
13
 
@@ -137,7 +137,9 @@ function compileStyles(inputDir, outputDir, onFinish, additionalGlobs = []) {
137
137
  },
138
138
  });
139
139
  if (sassTransformed === null || sassTransformed === void 0 ? void 0 : sassTransformed.css) {
140
- const postcssTransformed = await (0, postcss_1.default)([(0, postcss_preset_env_1.default)()]).process(sassTransformed.css, {
140
+ const postcssTransformed = await (0, postcss_1.default)([
141
+ (0, postcss_preset_env_1.default)({ enableClientSidePolyfills: false }),
142
+ ]).process(sassTransformed.css, {
141
143
  to: cssFile.split('/').pop(),
142
144
  map: { prev: (_a = sassTransformed.map) === null || _a === void 0 ? void 0 : _a.toString(), inline: false },
143
145
  });
@@ -319,7 +319,7 @@ function createStylesRule({ isEnvDevelopment, isEnvProduction, config, }) {
319
319
  sourceMap: !config.disableSourceMapGeneration,
320
320
  postcssOptions: {
321
321
  config: false,
322
- plugins: [(0, postcss_preset_env_1.default)()],
322
+ plugins: [(0, postcss_preset_env_1.default)({ enableClientSidePolyfills: false })],
323
323
  },
324
324
  },
325
325
  });
@@ -22,7 +22,7 @@ export declare function createCli(argv: string[]): {
22
22
  "disable-fork-ts-checker": boolean | undefined;
23
23
  disableSourceMapGeneration: boolean | undefined;
24
24
  "disable-source-map-generation": boolean | undefined;
25
- cdn: "false" | undefined;
25
+ cdn: string | undefined;
26
26
  _: (string | number)[];
27
27
  $0: string;
28
28
  } | Promise<{
@@ -48,7 +48,7 @@ export declare function createCli(argv: string[]): {
48
48
  "disable-fork-ts-checker": boolean | undefined;
49
49
  disableSourceMapGeneration: boolean | undefined;
50
50
  "disable-source-map-generation": boolean | undefined;
51
- cdn: "false" | undefined;
51
+ cdn: string | undefined;
52
52
  _: (string | number)[];
53
53
  $0: string;
54
54
  }>;
@@ -168,8 +168,8 @@ function createCli(argv) {
168
168
  })
169
169
  .option('cdn', {
170
170
  group: 'Client',
171
- describe: 'Disable upload files to CDN',
172
- choices: ['false'],
171
+ describe: 'Disable upload files to CDN [false]',
172
+ type: 'string',
173
173
  }),
174
174
  handler: handlerP(getCommandHandler('build')),
175
175
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/app-builder",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",