create-node-lib 2.13.4 → 2.14.0
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/CHANGELOG.md +7 -0
- package/__tests__/generator.test.js +6 -0
- package/package.json +1 -1
- package/template/apm.yml +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [2.14.0](https://github.com/lirantal/create-node-lib/compare/v2.13.4...v2.14.0) (2026-03-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add apm manifest ([583ed58](https://github.com/lirantal/create-node-lib/commit/583ed58987e0c4644477fed879d8b55f543be69b))
|
|
7
|
+
|
|
1
8
|
## [2.13.4](https://github.com/lirantal/create-node-lib/compare/v2.13.3...v2.13.4) (2026-03-26)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -34,6 +34,7 @@ describe('all the template files are accountable for', () => {
|
|
|
34
34
|
expect(stream.fileList).toContain('README.md')
|
|
35
35
|
expect(stream.fileList).toContain('__tests__/app.test.ts')
|
|
36
36
|
expect(stream.fileList).toContain('package.json')
|
|
37
|
+
expect(stream.fileList).toContain('apm.yml')
|
|
37
38
|
})
|
|
38
39
|
|
|
39
40
|
test('Generator input creates a valid package.json file', async () => {
|
|
@@ -63,6 +64,11 @@ describe('all the template files are accountable for', () => {
|
|
|
63
64
|
)
|
|
64
65
|
|
|
65
66
|
const pkg = JSON.parse(await stream.readFile('package.json'))
|
|
67
|
+
const apmYaml = await stream.readFile('apm.yml')
|
|
68
|
+
expect(apmYaml).toContain(`name: "${mockProjectName}"`)
|
|
69
|
+
expect(apmYaml).toContain(`description: "${mockProjectDescription}"`)
|
|
70
|
+
expect(apmYaml).toContain(`author: "${mockProjectAuthor}"`)
|
|
71
|
+
|
|
66
72
|
expect(pkg.name).toBe(mockProjectName)
|
|
67
73
|
expect(pkg.description).toBe(mockProjectDescription)
|
|
68
74
|
expect(pkg.author.name).toBe(mockProjectAuthor)
|
package/package.json
CHANGED