@minnai/create-aura-app 0.0.20 → 0.0.21

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/scaffold.js CHANGED
@@ -25,7 +25,7 @@ async function scaffold(options) {
25
25
  filter: (src) => {
26
26
  const relative = path_1.default.relative(templateDir, src);
27
27
  const parts = relative.split(path_1.default.sep);
28
- return !parts.includes('node_modules') && !parts.includes('.git');
28
+ return !parts.includes('node_modules') && !parts.includes('.git') && !parts.includes('package-lock.json');
29
29
  }
30
30
  });
31
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minnai/create-aura-app",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "Scaffolding tool for new Aura projects",
5
5
  "bin": "dist/index.js",
6
6
  "files": [
@@ -273,13 +273,22 @@ export default {
273
273
  ],
274
274
  resolve: {
275
275
  alias: {
276
- // Allow standard node resolution
277
- // 'react': path.resolve(__dirname, './node_modules/react'),
278
- // 'react-dom': path.resolve(__dirname, './node_modules/react-dom'),
276
+ 'react': path.resolve(__dirname, './node_modules/react'),
277
+ 'react-dom': path.resolve(__dirname, './node_modules/react-dom'),
279
278
  },
280
- dedupe: ['react', 'react-dom', '@minnai/aura']
279
+ dedupe: ['react', 'react-dom']
281
280
  },
282
281
  server: {
283
282
  port: 5175
283
+ },
284
+ optimizeDeps: {
285
+ include: [
286
+ '@minnai/aura',
287
+ '@minnai/aura/sdk',
288
+ '@minnai/aura/flux/index',
289
+ '@minnai/aura/atmosphere',
290
+ '@minnai/aura/atmosphere/tasks',
291
+ '@minnai/aura/atmosphere/youtube-player'
292
+ ]
284
293
  }
285
294
  })
@@ -1,24 +0,0 @@
1
- # Logs
2
- logs
3
- *.log
4
- npm-debug.log*
5
- yarn-debug.log*
6
- yarn-error.log*
7
- pnpm-debug.log*
8
- lerna-debug.log*
9
-
10
- node_modules
11
- dist
12
- dist-ssr
13
- *.local
14
-
15
- # Editor directories and files
16
- .vscode/*
17
- !.vscode/extensions.json
18
- .idea
19
- .DS_Store
20
- *.suo
21
- *.ntvs*
22
- *.njsproj
23
- *.sln
24
- *.sw?