@toa.io/operations 1.0.0-alpha.45 → 1.0.0-alpha.47

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": "@toa.io/operations",
3
- "version": "1.0.0-alpha.45",
3
+ "version": "1.0.0-alpha.47",
4
4
  "description": "Toa Deployment",
5
5
  "homepage": "https://toa.io",
6
6
  "author": {
@@ -27,12 +27,12 @@
27
27
  "test": "echo \"Error: run tests from root\" && exit 1"
28
28
  },
29
29
  "dependencies": {
30
- "@toa.io/filesystem": "1.0.0-alpha.45",
31
- "@toa.io/generic": "1.0.0-alpha.45",
32
- "@toa.io/norm": "1.0.0-alpha.45",
33
- "@toa.io/yaml": "1.0.0-alpha.45",
30
+ "@toa.io/filesystem": "1.0.0-alpha.47",
31
+ "@toa.io/generic": "1.0.0-alpha.47",
32
+ "@toa.io/norm": "1.0.0-alpha.47",
33
+ "@toa.io/yaml": "1.0.0-alpha.47",
34
34
  "execa": "5.1.1",
35
35
  "fs-extra": "11.1.1"
36
36
  },
37
- "gitHead": "2fca82a02c708d791e1f72378aa97e8f0a83b01c"
37
+ "gitHead": "9e3d26277392e1500d500664559ae9332f60d436"
38
38
  }
@@ -65,7 +65,7 @@ class Image {
65
65
 
66
66
  const template = await read(this.dockerfile, 'utf-8')
67
67
  const contents = template.replace(/{{(\S{1,32})}}/g, (_, key) => this.#value(key))
68
- const ignore = 'Dockerfile'
68
+ const ignore = ['Dockerfile', '**/node_modules'].join('\r\n')
69
69
 
70
70
  await write(join(path, 'Dockerfile'), contents)
71
71
  await write(join(path, '.dockerignore'), ignore)