@servable/tools 1.1.1 → 1.1.3

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
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "source": "src/index.js",
5
5
  "main": "src/index.js",
6
- "version": "1.1.1",
6
+ "version": "1.1.3",
7
7
  "description": "Servable tools is a utility that builds a feature's manifest and documents it.",
8
8
  "author": "Servable Community",
9
9
  "license": "ISC",
@@ -3,7 +3,7 @@ export default async props => {
3
3
  const { mainPackage } = props
4
4
  const payload = []
5
5
  payload.push({
6
- h2: 'Compatible framework bridges'
6
+ h2: 'Compatible engines'
7
7
  })
8
8
 
9
9
  if (!mainPackage || !mainPackage.adapters || !mainPackage.adapters.length) {
@@ -3,7 +3,7 @@ export default async props => {
3
3
  const { mainPackage } = props
4
4
  const payload = []
5
5
  payload.push({
6
- h2: 'Compatible framework bridges'
6
+ h2: 'Compatible engines'
7
7
  })
8
8
 
9
9
  if (!mainPackage || !mainPackage.adapters || !mainPackage.adapters.length) {
@@ -57,7 +57,6 @@ export default async props => {
57
57
  }
58
58
  }
59
59
 
60
-
61
60
  chunks.githubTags = await buildGithubTags({ path, npmPackageName, githubPackageName })
62
61
  // payload.push({ h2: chunks.githubTags.name })
63
62
  payload = payload.concat(chunks.githubTags.payload)
@@ -76,7 +76,6 @@ export default class FeatureLoaderV1_0_0 extends BaseClass {
76
76
 
77
77
  const prefix = `${this.path}/classes/${className.toLowerCase()}/triggers`
78
78
 
79
-
80
79
  const data = {}
81
80
  for (var i = 0; i < triggerItems.length; i++) {
82
81
  const item = triggerItems[i]
@@ -21,7 +21,7 @@ export default class FeatureLoaderV1_1_0 extends BaseClass {
21
21
  return this._valueInCache(cacheKey)
22
22
  }
23
23
 
24
- const path = `${this.path}/models/${className.toLowerCase()}target/class.js`
24
+ const path = `${this.path}/models/${className.toLowerCase()}/class.js`
25
25
  // const path = `${this.path}/models/${className.toLowerCase()}target/class.js`
26
26
 
27
27
  if (!(await checkFileExists(path))) {
@@ -448,7 +448,7 @@ export default class FeatureLoaderV1_1_0 extends BaseClass {
448
448
  }
449
449
 
450
450
  let data = mergeClassFeatures({ items, _class, withFeaturesFeatures })
451
- const path = `${this.path}/models/${className.toLowerCase()}target/features.js`
451
+ const path = `${this.path}/models/${className.toLowerCase()}/features.js`
452
452
 
453
453
  if ((await checkFileExists(path))) {
454
454
 
@@ -473,7 +473,7 @@ export default class FeatureLoaderV1_1_0 extends BaseClass {
473
473
  return this._valueInCache(cacheKey)
474
474
  }
475
475
 
476
- let path = `${this.path}target/features.js`
476
+ let path = `${this.path}/features.js`
477
477
  if (!(await checkFileExists(path))) {
478
478
  return null
479
479
  }
@@ -490,7 +490,7 @@ export default class FeatureLoaderV1_1_0 extends BaseClass {
490
490
  return this._valueInCache(cacheKey)
491
491
  }
492
492
 
493
- const path = `${this.path}target/class.js`
493
+ const path = `${this.path}/class.js`
494
494
  if (!(await checkFileExists(path))) {
495
495
  return null
496
496
  }