@jcoreio/toolchain 4.5.3 → 4.5.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jcoreio/toolchain",
3
- "version": "4.5.3",
3
+ "version": "4.5.5",
4
4
  "description": "base JS build toolchain",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,9 +18,13 @@ module.exports = [
18
18
  async function getConfigFiles() {
19
19
  const { env, rules } = (await getRootEslintConfig()) || {}
20
20
  const files = {
21
- '.npmrc': dedent`
22
- optional=false
23
- `,
21
+ ...(isMonorepoSubpackage
22
+ ? {}
23
+ : {
24
+ '.npmrc': dedent`
25
+ optional=false
26
+ `,
27
+ }),
24
28
  '.eslintrc.cjs': (prev) =>
25
29
  prev
26
30
  ? prev.replace(
@@ -77,8 +81,12 @@ module.exports = [
77
81
 
78
82
  `
79
83
  }
80
- const tasks = await getPluginsArraySync('vscodeTasks')
81
- const launch = await getPluginsArraySync('vscodeLaunch')
84
+ const tasks = isMonorepoSubpackage
85
+ ? []
86
+ : await getPluginsArraySync('vscodeTasks')
87
+ const launch = isMonorepoSubpackage
88
+ ? []
89
+ : await getPluginsArraySync('vscodeLaunch')
82
90
 
83
91
  if (tasks.length) {
84
92
  files['.vscode/tasks.json'] = JSON.stringify(