create-forgeon 0.1.7 → 0.1.9
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
|
@@ -106,6 +106,24 @@ describe('addModule', () => {
|
|
|
106
106
|
assert.match(appTsx, /@forgeon\/i18n-web/);
|
|
107
107
|
assert.match(appTsx, /Language:/);
|
|
108
108
|
|
|
109
|
+
const i18nWebPackage = fs.readFileSync(
|
|
110
|
+
path.join(projectRoot, 'packages', 'i18n-web', 'package.json'),
|
|
111
|
+
'utf8',
|
|
112
|
+
);
|
|
113
|
+
assert.match(i18nWebPackage, /"type": "module"/);
|
|
114
|
+
|
|
115
|
+
const i18nWebTsconfig = fs.readFileSync(
|
|
116
|
+
path.join(projectRoot, 'packages', 'i18n-web', 'tsconfig.json'),
|
|
117
|
+
'utf8',
|
|
118
|
+
);
|
|
119
|
+
assert.match(i18nWebTsconfig, /"module": "ESNext"/);
|
|
120
|
+
|
|
121
|
+
const i18nWebSource = fs.readFileSync(
|
|
122
|
+
path.join(projectRoot, 'packages', 'i18n-web', 'src', 'index.ts'),
|
|
123
|
+
'utf8',
|
|
124
|
+
);
|
|
125
|
+
assert.match(i18nWebSource, /@forgeon\/i18n-contracts\/src\/index/);
|
|
126
|
+
|
|
109
127
|
const caddyDockerfile = fs.readFileSync(
|
|
110
128
|
path.join(projectRoot, 'infra', 'docker', 'caddy.Dockerfile'),
|
|
111
129
|
'utf8',
|