create-forgeon 0.1.8 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-forgeon",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Forgeon project generator CLI",
5
5
  "license": "MIT",
6
6
  "author": "Forgeon",
@@ -118,6 +118,12 @@ describe('addModule', () => {
118
118
  );
119
119
  assert.match(i18nWebTsconfig, /"module": "ESNext"/);
120
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
+
121
127
  const caddyDockerfile = fs.readFileSync(
122
128
  path.join(projectRoot, 'infra', 'docker', 'caddy.Dockerfile'),
123
129
  'utf8',
@@ -3,7 +3,7 @@ import {
3
3
  I18N_LOCALES,
4
4
  LANG_QUERY_PARAM,
5
5
  type I18nLocale,
6
- } from '@forgeon/i18n-contracts';
6
+ } from '@forgeon/i18n-contracts/src/index';
7
7
 
8
8
  const LOCALE_STORAGE_KEY = 'forgeon.locale';
9
9