create-mapcomponents-app 1.5.7-5 → 1.5.7-8

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/dist/package.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "name": "create-mapcomponents-app",
3
- "version": "1.5.7-5",
4
- "main": "./index.js",
5
- "types": "./index.d.ts",
6
- "type": "module",
7
- "bin": "cli.js",
8
- "dependencies": {
9
- "degit": "^2.8.4"
10
- }
11
- }
package/eslint.config.mjs DELETED
@@ -1,12 +0,0 @@
1
- import nx from '@nx/eslint-plugin';
2
- import baseConfig from '../../eslint.config.mjs';
3
-
4
- export default [
5
- ...baseConfig,
6
- ...nx.configs['flat/react'],
7
- {
8
- files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
9
- // Override or add rules here
10
- rules: {},
11
- },
12
- ];
package/project.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "name": "create-mapcomponents-app",
3
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
4
- "sourceRoot": "packages/create-mapcomponents-app/src",
5
- "projectType": "library",
6
- "tags": [],
7
- "// targets": "to see all targets run: nx show project create-mapcomponents-app --web",
8
- "targets": {}
9
- }
package/tsconfig.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "files": [],
3
- "include": [],
4
- "references": [
5
- {
6
- "path": "./tsconfig.lib.json"
7
- }
8
- ],
9
- "extends": "../../tsconfig.base.json"
10
- }
package/tsconfig.lib.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "target": "ESNext",
5
- "module": "ESNext",
6
- "outDir": "../../dist/out-tsc",
7
- "allowJs": true,
8
- "types": [
9
- "node",
10
- "@nx/react/typings/cssmodule.d.ts",
11
- "@nx/react/typings/image.d.ts",
12
- "vite/client"
13
- ]
14
- },
15
- "exclude": [
16
- "**/*.spec.ts",
17
- "**/*.test.ts",
18
- "**/*.spec.tsx",
19
- "**/*.test.tsx",
20
- "**/*.spec.js",
21
- "**/*.test.js",
22
- "**/*.spec.jsx",
23
- "**/*.test.jsx"
24
- ],
25
- "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"]
26
- }
package/vite.config.ts DELETED
@@ -1,46 +0,0 @@
1
- /// <reference types='vitest' />
2
- import { defineConfig } from 'vite';
3
- import react from '@vitejs/plugin-react';
4
- import dts from 'vite-plugin-dts';
5
- import * as path from 'path';
6
- import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
7
- import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin';
8
-
9
- export default defineConfig(() => ({
10
- root: __dirname,
11
- cacheDir: '../../node_modules/.vite/packages/create-mapcomponents-app',
12
- plugins: [
13
- react(),
14
- nxViteTsPaths(),
15
- nxCopyAssetsPlugin(['*.md']),
16
- dts({
17
- entryRoot: 'src',
18
- tsconfigPath: path.join(__dirname, 'tsconfig.lib.json'),
19
- pathsToAliases: false,
20
- }),
21
- ],
22
- // Uncomment this if you are using workers.
23
- // worker: {
24
- // plugins: [ nxViteTsPaths() ],
25
- // },
26
- // Configuration for building your library.
27
- // See: https://vitejs.dev/guide/build.html#library-mode
28
- build: {
29
- outDir: 'dist',
30
- emptyOutDir: true,
31
- reportCompressedSize: true,
32
- commonjsOptions: {
33
- transformMixedEsModules: true,
34
- },
35
- lib: {
36
- entry: './cli.js',
37
- name: 'create-mapcomponents-app',
38
- fileName: 'index',
39
- formats: ['es' as const],
40
- },
41
- rollupOptions: {
42
- // External packages that should not be bundled into your library.
43
- external: ['react', 'react-dom', 'react/jsx-runtime'],
44
- },
45
- },
46
- }));