@nx/express 21.3.6 → 21.4.0-beta.1

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/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export { applicationGenerator } from './src/generators/application/application';
2
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/express/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/express",
3
- "version": "21.3.6",
3
+ "version": "21.4.0-beta.1",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Express contains executors and generators for allowing your workspace to create powerful Express Node applications and APIs.",
6
6
  "repository": {
@@ -17,7 +17,7 @@
17
17
  "CLI",
18
18
  "Backend"
19
19
  ],
20
- "main": "./index",
20
+ "main": "./index.js",
21
21
  "typings": "./index.d.ts",
22
22
  "author": "Victor Savkin",
23
23
  "license": "MIT",
@@ -31,9 +31,9 @@
31
31
  "migrations": "./migrations.json"
32
32
  },
33
33
  "dependencies": {
34
- "@nx/devkit": "21.3.6",
35
- "@nx/js": "21.3.6",
36
- "@nx/node": "21.3.6",
34
+ "@nx/devkit": "21.4.0-beta.1",
35
+ "@nx/js": "21.4.0-beta.1",
36
+ "@nx/node": "21.4.0-beta.1",
37
37
  "tslib": "^2.3.0"
38
38
  },
39
39
  "peerDependencies": {
package/project.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "express",
3
+ "$schema": "../../node_modules/nx/schemas/project-schema.json",
4
+ "sourceRoot": "packages/express",
5
+ "projectType": "library",
6
+ "targets": {
7
+ "build": {
8
+ "outputs": ["{workspaceRoot}/dist/packages/express/README.md"],
9
+ "command": "node ./scripts/copy-readme.js express"
10
+ },
11
+ "legacy-post-build": {
12
+ "executor": "@nx/workspace-plugin:legacy-post-build",
13
+ "options": {
14
+ "tsConfig": "./tsconfig.lib.json",
15
+ "assets": [
16
+ {
17
+ "input": "packages/express",
18
+ "glob": "**/files/**",
19
+ "output": "/"
20
+ },
21
+ {
22
+ "input": "packages/express",
23
+ "glob": "**/files/**/.gitkeep",
24
+ "output": "/"
25
+ },
26
+ {
27
+ "input": "packages/express",
28
+ "glob": "**/*.json",
29
+ "ignore": ["**/tsconfig*.json", "project.json", ".eslintrc.json"],
30
+ "output": "/"
31
+ },
32
+ {
33
+ "input": "packages/express",
34
+ "glob": "**/*.js",
35
+ "ignore": ["**/jest.config.js"],
36
+ "output": "/"
37
+ },
38
+ {
39
+ "input": "packages/express",
40
+ "glob": "**/*.d.ts",
41
+ "output": "/"
42
+ },
43
+ {
44
+ "input": "",
45
+ "glob": "LICENSE",
46
+ "output": "/"
47
+ }
48
+ ]
49
+ }
50
+ }
51
+ },
52
+ "implicitDependencies": ["node"]
53
+ }
@@ -3,3 +3,4 @@ import type { Schema } from './schema';
3
3
  export declare function applicationGenerator(tree: Tree, schema: Schema): Promise<GeneratorCallback>;
4
4
  export declare function applicationGeneratorInternal(tree: Tree, schema: Schema): Promise<GeneratorCallback>;
5
5
  export default applicationGenerator;
6
+ //# sourceMappingURL=application.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../../../../packages/express/src/generators/application/application.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAmB1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAkDvC,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAMpE;AAED,wBAAsB,4BAA4B,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAyB5E;AAED,eAAe,oBAAoB,CAAC"}
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "name": {
19
19
  "description": "The name of the application.",
20
- "pattern": "^[a-zA-Z][^:]*$",
20
+ "pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
21
21
  "type": "string"
22
22
  },
23
23
  "skipFormat": {
@@ -2,3 +2,4 @@ import { GeneratorCallback, Tree } from '@nx/devkit';
2
2
  import type { Schema } from './schema';
3
3
  export declare function initGenerator(tree: Tree, schema: Schema): Promise<GeneratorCallback>;
4
4
  export default initGenerator;
5
+ //# sourceMappingURL=init.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../../../packages/express/src/generators/init/init.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,iBAAiB,EAGjB,IAAI,EACL,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAoBvC,wBAAsB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAW7D;AAED,eAAe,aAAa,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export declare const nxVersion: any;
2
2
  export declare const expressVersion = "^4.21.2";
3
3
  export declare const expressTypingsVersion = "^4.17.21";
4
+ //# sourceMappingURL=versions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../../../packages/express/src/utils/versions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,KAAwC,CAAC;AAE/D,eAAO,MAAM,cAAc,YAAY,CAAC;AACxC,eAAO,MAAM,qBAAqB,aAAa,CAAC"}