@nx/expo 19.6.1 → 19.6.3

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/README.md CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  # Nx: Smart Monorepos · Fast CI
24
24
 
25
- Nx is a build system with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.
25
+ Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
26
26
 
27
27
  This package is a [Expo plugin for Nx](https://nx.dev/expo/overview).
28
28
 
package/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
1
  export { expoInitGenerator } from './src/generators/init/init';
2
2
  export { expoApplicationGenerator } from './src/generators/application/application';
3
+ export { expoLibraryGenerator } from './src/generators/library/library';
4
+ export { expoComponentGenerator } from './src/generators/component/component';
3
5
  export { withNxMetro } from './plugins/with-nx-metro';
package/index.js CHANGED
@@ -1,9 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.withNxMetro = exports.expoApplicationGenerator = exports.expoInitGenerator = void 0;
3
+ exports.withNxMetro = exports.expoComponentGenerator = exports.expoLibraryGenerator = exports.expoApplicationGenerator = exports.expoInitGenerator = void 0;
4
4
  var init_1 = require("./src/generators/init/init");
5
5
  Object.defineProperty(exports, "expoInitGenerator", { enumerable: true, get: function () { return init_1.expoInitGenerator; } });
6
6
  var application_1 = require("./src/generators/application/application");
7
7
  Object.defineProperty(exports, "expoApplicationGenerator", { enumerable: true, get: function () { return application_1.expoApplicationGenerator; } });
8
+ var library_1 = require("./src/generators/library/library");
9
+ Object.defineProperty(exports, "expoLibraryGenerator", { enumerable: true, get: function () { return library_1.expoLibraryGenerator; } });
10
+ var component_1 = require("./src/generators/component/component");
11
+ Object.defineProperty(exports, "expoComponentGenerator", { enumerable: true, get: function () { return component_1.expoComponentGenerator; } });
8
12
  var with_nx_metro_1 = require("./plugins/with-nx-metro");
9
13
  Object.defineProperty(exports, "withNxMetro", { enumerable: true, get: function () { return with_nx_metro_1.withNxMetro; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/expo",
3
- "version": "19.6.1",
3
+ "version": "19.6.3",
4
4
  "private": false,
5
5
  "description": "The Expo Plugin for Nx contains executors and generators for managing and developing an expo application within your workspace. For example, you can directly build for different target platforms as well as generate projects and publish your code.",
6
6
  "keywords": [
@@ -28,7 +28,7 @@
28
28
  "main": "./index",
29
29
  "types": "index.d.ts",
30
30
  "dependencies": {
31
- "@nx/devkit": "19.6.1",
31
+ "@nx/devkit": "19.6.3",
32
32
  "chalk": "^4.1.0",
33
33
  "enhanced-resolve": "^5.8.3",
34
34
  "fs-extra": "^11.1.0",
@@ -37,13 +37,13 @@
37
37
  "node-fetch": "^2.6.7",
38
38
  "tslib": "^2.3.0",
39
39
  "tsconfig-paths": "^4.1.2",
40
- "@nx/jest": "19.6.1",
41
- "@nx/js": "19.6.1",
42
- "@nx/eslint": "19.6.1",
43
- "@nx/react": "19.6.1",
44
- "@nx/web": "19.6.1",
45
- "@nx/webpack": "19.6.1",
46
- "@nrwl/expo": "19.6.1"
40
+ "@nx/jest": "19.6.3",
41
+ "@nx/js": "19.6.3",
42
+ "@nx/eslint": "19.6.3",
43
+ "@nx/react": "19.6.3",
44
+ "@nx/web": "19.6.3",
45
+ "@nx/webpack": "19.6.3",
46
+ "@nrwl/expo": "19.6.3"
47
47
  },
48
48
  "executors": "./executors.json",
49
49
  "ng-update": {
@@ -1,5 +1,5 @@
1
1
  import type { ProjectNameAndRootFormat } from '@nx/devkit/src/generators/project-name-and-root-utils';
2
- import type { Linter } from '@nx/eslint';
2
+ import type { Linter, LinterType } from '@nx/eslint';
3
3
 
4
4
  export interface Schema {
5
5
  name: string;
@@ -13,7 +13,7 @@ export interface Schema {
13
13
  pascalCaseFiles?: boolean;
14
14
  classComponent?: boolean;
15
15
  js: boolean; // default is false
16
- linter: Linter; // default is eslint
16
+ linter: Linter | LinterType; // default is eslint
17
17
  setParserOptionsProject?: boolean; // default is false
18
18
  e2eTestRunner: 'cypress' | 'playwright' | 'detox' | 'none'; // default is playwright
19
19
  standaloneConfig?: boolean;
@@ -1,5 +1,5 @@
1
1
  import type { ProjectNameAndRootFormat } from '@nx/devkit/src/generators/project-name-and-root-utils';
2
- import type { Linter } from '@nx/eslint';
2
+ import type { Linter, LinterType } from '@nx/eslint';
3
3
 
4
4
  /**
5
5
  * Same as the @nx/react library schema, except it removes keys: style, component, routing, appProject
@@ -13,7 +13,7 @@ export interface Schema {
13
13
  tags?: string;
14
14
  pascalCaseFiles?: boolean;
15
15
  unitTestRunner: 'jest' | 'none';
16
- linter: Linter; // default is eslint
16
+ linter: Linter | LinterType; // default is eslint
17
17
  publishable?: boolean;
18
18
  buildable?: boolean;
19
19
  importPath?: string;
@@ -1,7 +1,7 @@
1
- import { Linter } from '@nx/eslint';
1
+ import { Linter, LinterType } from '@nx/eslint';
2
2
  import { GeneratorCallback, Tree } from '@nx/devkit';
3
3
  interface NormalizedSchema {
4
- linter?: Linter;
4
+ linter?: Linter | LinterType;
5
5
  projectName: string;
6
6
  projectRoot: string;
7
7
  setParserOptionsProject?: boolean;