@ronas-it/nx-generators 0.3.5 → 0.3.7

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
@@ -2,17 +2,9 @@
2
2
 
3
3
  NX generators for Ronas IT projects.
4
4
 
5
- At the moment this library contains the following generators:
6
-
7
- 1. `repo-config` - setups the monorepo structure for React Native development.
8
- 1. `code-checks` - configures code checks and formatting with pre-commit hook.
9
- 1. `expo-app` - generates and configures Expo React Native app.
10
- 1. `react-lib` - generates a library according to [NX notation](https://nx.dev/concepts/more-concepts/applications-and-libraries).
11
- 1. `react-component` - creates a React component in particular library.
12
-
13
5
  ## Usage
14
6
 
15
- 1. Create monorepo with Expo app using [NX preset](https://nx.dev/nx-api/expo):
7
+ 1. Create monorepo with Expo app using [NX Expo preset](https://nx.dev/nx-api/expo) or with Next.js app using [NX Next preset](https://nx.dev/nx-api/next):
16
8
 
17
9
  ```sh
18
10
  npx create-nx-workspace@latest my-project --preset=expo --appName=my-app --e2eTestRunner=none --ci=skip
@@ -29,7 +21,7 @@ npm i @ronas-it/nx-generators --save-dev
29
21
  ```sh
30
22
  npx nx g repo-config
31
23
  npx nx g code-checks
32
- npx nx g expo-app
24
+ npx nx g expo-app // for Expo app
33
25
  ```
34
26
 
35
27
  Or run all generators at once:
@@ -51,6 +43,80 @@ npx nx g react-lib mobile/account/features/profile-settings --withComponent
51
43
  npx nx g react-component
52
44
  ```
53
45
 
46
+ ## Generators overview
47
+
48
+ ### 1. `repo-config`
49
+
50
+ Setups the monorepo structure for development.
51
+
52
+ ### 2. `code-checks`
53
+
54
+ Configures code checks and formatting with pre-commit hook.
55
+
56
+ ### 3. `expo-app`
57
+
58
+ Generates and configures Expo React Native app.
59
+
60
+ ### Options
61
+
62
+ 1. `name` (optional) - name of the app for `app.config.ts` (e.g: my-app)
63
+
64
+ 2. `directory` (optional) - name of the directory in the `apps/` folder (e.g: mobile)
65
+
66
+ ### Example
67
+
68
+ ```sh
69
+ npx nx g expo-app --name=my-app --directory=mobile
70
+ ```
71
+ or
72
+ ```sh
73
+ npx nx g expo-app my-app mobile
74
+ ```
75
+
76
+ ### 4. `react-lib`
77
+
78
+ Generates a library according to [NX notation](https://nx.dev/concepts/more-concepts/applications-and-libraries).
79
+
80
+ ### Options
81
+
82
+ 1. `directory` (optional) - directory for the library (e.g. mobile/account/features/profile-settings)
83
+
84
+ 2. `withComponent` (optional) - generate the library with `lib/component.tsx` file
85
+
86
+ 3. `dryRun` (optional) - generate the library without creating files
87
+
88
+ ### Example
89
+
90
+ ```sh
91
+ npx nx g react-lib --directory=mobile/account/features/profile-settings --withComponent --dryRun
92
+ ```
93
+ or
94
+ ```sh
95
+ npx nx g react-lib mobile/account/features/profile-settings --withComponent --dryRun
96
+ ```
97
+
98
+ ### 5. `react-component`
99
+
100
+ Creates a React component in particular library.
101
+
102
+ ### Options
103
+
104
+ 1. `name` (optional) - name of the component (e.g. AppButton)
105
+
106
+ 2. `subcomponent` (optional) - generate a folder for components
107
+
108
+ ### Example
109
+
110
+ ```sh
111
+ npx nx g react-component --name=AppButton --subcomponent
112
+ ```
113
+ or
114
+ ```sh
115
+ npx nx g react-component AppButton --subcomponent
116
+ ```
117
+
118
+ ### Note
119
+
54
120
  Each generator accepts the `--help` argument to see generator instructions.
55
121
 
56
122
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ronas-it/nx-generators",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "NX generators for Ronas IT projects",
5
5
  "license": "MIT",
6
6
  "author": "Ronas IT",
@@ -33,4 +33,4 @@
33
33
  "main": "./src/index.js",
34
34
  "typings": "./src/index.d.ts",
35
35
  "generators": "./generators.json"
36
- }
36
+ }
@@ -8,8 +8,8 @@ const devkit_1 = require("@nx/devkit");
8
8
  const config_1 = require("./config");
9
9
  const scripts_1 = require("./scripts");
10
10
  function codeChecksGenerator(tree, options) {
11
- var _a;
12
11
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
12
+ var _a, _b;
13
13
  const projectRoot = '.';
14
14
  // Delete files
15
15
  tree.delete('.eslintrc.json');
@@ -27,6 +27,9 @@ function codeChecksGenerator(tree, options) {
27
27
  // Update .gitignore
28
28
  const gitignoreContent = ((_a = tree.read('.gitignore')) === null || _a === void 0 ? void 0 : _a.toString()) + '\n.eslintcache\n';
29
29
  tree.write('.gitignore', gitignoreContent);
30
+ // Update .eslintignore
31
+ const eslintignoreContent = ((_b = tree.read('.eslintignore')) === null || _b === void 0 ? void 0 : _b.toString()) + '\n**/*.js\napps/*/app.config.ts\n';
32
+ tree.write('.eslintignore', eslintignoreContent);
30
33
  // Add files
31
34
  (0, devkit_1.generateFiles)(tree, path.join(__dirname, 'files'), projectRoot, options);
32
35
  // Install necessary dependencies
@@ -40,7 +43,7 @@ function codeChecksGenerator(tree, options) {
40
43
  'eslint-plugin-react': '^7.34.3',
41
44
  'eslint-plugin-react-hooks': '^4.6.2',
42
45
  'eslint-plugin-react-native': '^4.1.0',
43
- 'eslint-plugin-unused-imports': '^4.0.0',
46
+ 'eslint-plugin-unused-imports': '^3.0.0',
44
47
  '@typescript-eslint/eslint-plugin': '^7.13.1',
45
48
  '@typescript-eslint/parser': '^7.13.1',
46
49
  'tsc-files': '^1.1.4',
@@ -1 +1 @@
1
- {"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../plugin/src/generators/code-checks/generator.ts"],"names":[],"mappings":";;;;AAAA,iDAAyC;AACzC,6BAA6B;AAC7B,uCAQoB;AACpB,qCAA8B;AAE9B,uCAAgC;AAEhC,SAAsB,mBAAmB,CAAC,IAAU,EAAE,OAAkC;;;QACtF,MAAM,WAAW,GAAG,GAAG,CAAC;QAExB,eAAe;QACf,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;QAC9B,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;QAE3B,4BAA4B;QAC5B,IAAA,wBAAQ,EAAC,uBAA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5 +1,6 @@
1
1
  declare const _default: {
2
2
  lint: string;
3
3
  format: string;
4
+ prepare: string;
4
5
  };
5
6
  export default _default;
@@ -3,5 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  'lint': 'npx tsc && npx eslint ./',
5
5
  'format': 'npx prettier --write . && npm run lint -- --fix',
6
+ 'prepare': 'husky',
6
7
  };
7
8
  //# sourceMappingURL=scripts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"scripts.js","sourceRoot":"","sources":["../../../../../plugin/src/generators/code-checks/scripts.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE,0BAA0B;IAClC,QAAQ,EAAE,iDAAiD;CAC5D,CAAA"}
1
+ {"version":3,"file":"scripts.js","sourceRoot":"","sources":["../../../../../plugin/src/generators/code-checks/scripts.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE,0BAA0B;IAClC,QAAQ,EAAE,iDAAiD;IAC3D,SAAS,EAAE,OAAO;CACnB,CAAA"}
@@ -21,10 +21,15 @@ const dependencies = {
21
21
  function expoAppGenerator(tree, options) {
22
22
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
23
23
  const appRoot = `apps/${options.directory}`;
24
+ const appTestFolder = `apps/${options.directory}-e2e`;
24
25
  // Install @nx/expo plugin
25
26
  (0, child_process_1.execSync)('npx nx add @nx/expo', { stdio: 'inherit' });
26
27
  if (!(0, fs_1.existsSync)(appRoot)) {
27
- (0, child_process_1.execSync)(`npx nx g app ${options.name} --directory=apps/${options.directory} --projectNameAndRootFormat=as-provided --unitTestRunner=none --e2eTestRunner=none`);
28
+ (0, child_process_1.execSync)(`npx nx g @nx/expo:app ${options.name} --directory=apps/${options.directory} --projectNameAndRootFormat=as-provided --unitTestRunner=none --e2eTestRunner=none`, { stdio: 'inherit' });
29
+ }
30
+ // Workaround: Even with the '--e2eTestRunner=none' parameter, the test folder is created. We delete it manually.
31
+ if ((0, fs_1.existsSync)(appTestFolder)) {
32
+ (0, fs_1.rmSync)(appTestFolder, { recursive: true, force: true });
28
33
  }
29
34
  const appPackagePath = `${appRoot}/package.json`;
30
35
  // Remove unnecessary files and files that will be replaced
@@ -1 +1 @@
1
- {"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../plugin/src/generators/expo-app/generator.ts"],"names":[],"mappings":";;;;AAAA,iDAAyC;AACzC,6BAA6B;AAC7B,uCAQoB;AAEpB,uCAAgC;AAChC,2BAAgC;AAChC,8CAAgD;AAEhD,MAAM,YAAY,GAAG;IACnB,gBAAgB,EAAE,SAAS;IAC3B,aAAa,EAAE,SAAS;IACxB,gCAAgC,EAAE,SAAS;IAC3C,sBAAsB,EAAE,SAAS;IACjC,cAAc,EAAE,QAAQ;IACxB,iBAAiB,EAAE,SAAS;IAC5B,cAAc,EAAE,UAAU;IAC1B,eAAe,EAAE,QAAQ;CAC1B,CAAC;AAEF,SAAsB,gBAAgB,CACpC,IAAU,EACV,OAA+B;;QAE/B,MAAM,OAAO,GAAG,QAAQ,OAAO,CAAC,SAAS,EAAE,CAAC;QAE5C,0BAA0B;QAC1B,IAAA,wBAAQ,EAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAA;QAErD,IAAI,CAAC,IAAA,eAAU,EAAC,OAAO,CAAC,EAAE,CAAC;YACzB,IAAA,wBAAQ,EACN,gBAAgB,OAAO,CAAC,IAAI,qBAAqB,OAAO,CAAC,SAAS,oFAAoF,CACvJ,CAAC;QACJ,CAAC;QAED,MAAM,cAAc,GAAG,GAAG,OAAO,eAAe,CAAC;QAEjD,2DAA2D;QAC3D,IAAI,CAAC,MAAM,CAAC,GAAG,OAAO,MAAM,CAAC,CAAC;QAC9B,IAAI,CAAC,MAAM,CAAC,GAAG,OAAO,WAAW,CAAC,CAAC;QACnC,IAAI,CAAC,MAAM,CAAC,GAAG,OAAO,oBAAoB,CAAC,CAAC;QAC5C,IAAI,CAAC,MAAM,CAAC,GAAG,OA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EC;AAED,kBAAe,gBAAgB,CAAC"}
@@ -1,7 +1,4 @@
1
1
  declare const _default: {
2
2
  'deps:sync': string;
3
- 'g:library': string;
4
- 'g:component': string;
5
- 'g:subcomponent': string;
6
3
  };
7
4
  export default _default;
@@ -2,8 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  'deps:sync': 'npx syncpack fix-mismatches',
5
- 'g:library': 'npx nx g @nx/expo:lib --skipPackageJson --unitTestRunner=none',
6
- 'g:component': 'npx nx g @nx/expo:component component --export --flat --skipTests --directory=lib/${npm_config_name}',
7
- 'g:subcomponent': 'npx nx g @nx/expo:component component --export=false --flat --skipTests --directory=lib/components/${npm_config_name}',
8
5
  };
9
6
  //# sourceMappingURL=scripts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"scripts.js","sourceRoot":"","sources":["../../../../../plugin/src/generators/repo-config/scripts.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE,+DAA+D;IAC5E,aAAa,EACX,sGAAsG;IACxG,gBAAgB,EACd,uHAAuH;CAC1H,CAAC"}
1
+ {"version":3,"file":"scripts.js","sourceRoot":"","sources":["../../../../../plugin/src/generators/repo-config/scripts.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,WAAW,EAAE,6BAA6B;CAC3C,CAAC"}