vona-module-test-vona 5.0.79 → 5.0.81

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.
Binary file
@@ -1,6 +1,7 @@
1
1
  import { BeanAssetBase } from 'vona-module-a-static';
2
2
  export interface IAssetGetPath {
3
3
  static: 'img/vona.svg' | 'img/vona.png';
4
+ img: 'vona.png';
4
5
  }
5
6
  export declare class MetaAsset extends BeanAssetBase<IAssetGetPath> {
6
7
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-test-vona",
3
3
  "type": "module",
4
- "version": "5.0.79",
4
+ "version": "5.0.81",
5
5
  "title": "test-vona",
6
6
  "vonaModule": {
7
7
  "fileVersion": 1,
@@ -33,8 +33,8 @@
33
33
  "./package.json": "./package.json"
34
34
  },
35
35
  "files": [
36
+ "assets",
36
37
  "dist",
37
- "static",
38
38
  "src",
39
39
  "test"
40
40
  ],
@@ -3,6 +3,7 @@ import { BeanAssetBase } from 'vona-module-a-static';
3
3
 
4
4
  export interface IAssetGetPath {
5
5
  static: 'img/vona.svg' | 'img/vona.png';
6
+ img: 'vona.png';
6
7
  }
7
8
 
8
9
  @Meta()
@@ -15,6 +15,8 @@ describe('static.test.ts', () => {
15
15
  const scopeTest = app.scope('test-vona');
16
16
  const file = scopeTest.asset.get('static', 'img/vona.png');
17
17
  assert.equal(file.includes('vona.png'), true);
18
+ const file2 = scopeTest.asset.get('img', 'vona.png');
19
+ assert.equal(file2.includes('vona.png'), true);
18
20
  });
19
21
  });
20
22
  });
File without changes
File without changes