@nrwl/next 0.0.0-pr-22179-271588f

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/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2017-2023 Narwhal Technologies Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ ## @nrwl/next has been renamed to @nx/next!
2
+
3
+ @nrwl/next has been renamed to [@nx/next](https://www.npmjs.com/package/@nx/next). Please use that instead.
4
+
5
+ [Read more here](https://nx.dev/recipes/other/rescope)
6
+
7
+ @nrwl/next will no longer be published in Nx v18.
8
+
9
+ <p style="text-align: center;">
10
+ <picture>
11
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
12
+ <img alt="Nx - Smart Monorepos · Fast CI" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
13
+ </picture>
14
+ </p>
15
+
16
+ # Nx: Smart Monorepos · Fast CI
17
+
18
+ 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.
package/babel.d.ts ADDED
File without changes
package/babel.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('@nx/next/babel');
package/executors.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "executors": {
3
+ "build": {
4
+ "implementation": "@nx/next/src/executors/build/build.impl",
5
+ "schema": "@nx/next/src/executors/build/schema.json",
6
+ "description": "Build a Next.js application."
7
+ },
8
+ "server": {
9
+ "implementation": "@nx/next/src/executors/server/server.impl",
10
+ "schema": "@nx/next/src/executors/server/schema.json",
11
+ "description": "Serve a Next.js application."
12
+ },
13
+ "export": {
14
+ "implementation": "@nx/next/src/executors/export/export.impl",
15
+ "schema": "@nx/next/src/executors/export/schema.json",
16
+ "description": "Export a Next.js application. The exported application is located at `dist/$outputPath/exported`."
17
+ }
18
+ },
19
+ "builders": {
20
+ "build": {
21
+ "implementation": "@nx/next/src/executors/build/compat",
22
+ "schema": "@nx/next/src/executors/build/schema.json",
23
+ "description": "Build a Next.js application."
24
+ },
25
+ "server": {
26
+ "implementation": "@nx/next/src/executors/server/compat",
27
+ "schema": "@nx/next/src/executors/server/schema.json",
28
+ "description": "Serve a Next.js application."
29
+ },
30
+ "export": {
31
+ "implementation": "@nx/next/src/executors/export/compat",
32
+ "schema": "@nx/next/src/executors/export/schema.json",
33
+ "description": "Export a Next.js application. The exported application is located at `dist/$outputPath/exported`."
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": ["@nx/next"],
3
+ "schematics": {}
4
+ }
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@nx/next';
package/index.js ADDED
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("@nx/next"), exports);
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@nrwl/next",
3
+ "version": "0.0.0-pr-22179-271588f",
4
+ "private": false,
5
+ "description": "The Next.js plugin for Nx contains executors and generators for managing Next.js applications and libraries within an Nx workspace. It provides:\n\n\n- Scaffolding for creating, building, serving, linting, and testing Next.js applications.\n\n- Integration with building, serving, and exporting a Next.js application.\n\n- Integration with React libraries within the workspace. \n\nWhen using Next.js in Nx, you get the out-of-the-box support for TypeScript, Cypress, and Jest. No need to configure anything: watch mode, source maps, and typings just work.",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/nrwl/nx.git",
9
+ "directory": "packages-legacy/next"
10
+ },
11
+ "keywords": [
12
+ "Monorepo",
13
+ "Node",
14
+ "Next",
15
+ "Jest",
16
+ "Cypress",
17
+ "CLI"
18
+ ],
19
+ "main": "./index.js",
20
+ "typings": "./index.d.ts",
21
+ "author": "Victor Savkin",
22
+ "license": "MIT",
23
+ "bugs": {
24
+ "url": "https://github.com/nrwl/nx/issues"
25
+ },
26
+ "homepage": "https://nx.dev",
27
+ "schematics": "./generators.json",
28
+ "builders": "./executors.json",
29
+ "dependencies": {
30
+ "@nx/next": "0.0.0-pr-22179-271588f"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
35
+ "nx-migrations": {
36
+ "migrations": "@nx/next/migrations.json"
37
+ },
38
+ "type": "commonjs"
39
+ }
@@ -0,0 +1 @@
1
+ export * from '@nx/next/plugins/with-less';
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("@nx/next/plugins/with-less"), exports);
@@ -0,0 +1 @@
1
+ export * from '@nx/next/plugins/with-nx';
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("@nx/next/plugins/with-nx"), exports);
@@ -0,0 +1 @@
1
+ export * from '@nx/next/plugins/with-stylus';
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("@nx/next/plugins/with-stylus"), exports);
package/tailwind.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@nx/next/tailwind';
package/tailwind.js ADDED
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("@nx/next/tailwind"), exports);
@@ -0,0 +1,12 @@
1
+ /// <reference types="next/image-types/global" />
2
+
3
+ declare module '*.svg' {
4
+ import * as React from 'react';
5
+
6
+ export const ReactComponent: React.FunctionComponent<
7
+ React.SVGProps<SVGSVGElement> & { title?: string }
8
+ >;
9
+
10
+ const content: any;
11
+ export default content;
12
+ }