@nizza/devkit 0.1.0-alpha.5 → 0.1.0-alpha.6

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.
@@ -29,12 +29,9 @@ require('mri');
29
29
  * - @rollup/plugin-graphql
30
30
  * - @vitejs/plugin-react-swc
31
31
  */ const basePlugins = {
32
- generate: ({ projectConfig })=>{
32
+ generate: ()=>{
33
33
  const projects = helpers.getNxTsConfigPaths();
34
34
  return [
35
- // tsconfigPaths({
36
- // projects: tsConfigPaths.map(x => resolve(process.cwd(), x)),
37
- // }),
38
35
  tsconfigPaths({
39
36
  projects
40
37
  }),
@@ -27,12 +27,9 @@ import 'mri';
27
27
  * - @rollup/plugin-graphql
28
28
  * - @vitejs/plugin-react-swc
29
29
  */ const basePlugins = {
30
- generate: ({ projectConfig })=>{
30
+ generate: ()=>{
31
31
  const projects = getNxTsConfigPaths();
32
32
  return [
33
- // tsconfigPaths({
34
- // projects: tsConfigPaths.map(x => resolve(process.cwd(), x)),
35
- // }),
36
33
  tsconfigPaths({
37
34
  projects
38
35
  }),
package/package.json CHANGED
@@ -1,11 +1,26 @@
1
1
  {
2
2
  "name": "@nizza/devkit",
3
- "version": "0.1.0-alpha.5",
3
+ "version": "0.1.0-alpha.6",
4
4
  "type": "module",
5
5
  "main": "dist/cjs/index.cjs",
6
6
  "module": "dist/esm/index.mjs",
7
7
  "source": "src/index.ts",
8
8
  "types": "dist/esm/index.d.ts",
9
+ "exports": {
10
+ "./package.json": "./package.json",
11
+ ".": {
12
+ "import": "./dist/esm/index.mjs",
13
+ "require": "./dist/cjs/index.cjs"
14
+ },
15
+ "./import": {
16
+ "types": "./dist/esm/index.d.mts",
17
+ "default": "./dist/esm/index.mjs"
18
+ },
19
+ "./require": {
20
+ "types": "./dist/cjs/index.d.cts",
21
+ "default": "./dist/cjs/index.cjs"
22
+ }
23
+ },
9
24
  "files": [
10
25
  "dist"
11
26
  ],