create-platformatic 0.32.0 → 0.33.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-platformatic",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "description": "Create platformatic-db interactive tool",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "semver": "^7.5.1",
35
35
  "undici": "^5.22.1",
36
36
  "which": "^3.0.1",
37
- "@platformatic/config": "0.32.0"
37
+ "@platformatic/config": "0.33.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "ajv": "^8.12.0",
@@ -47,8 +47,8 @@
47
47
  "tap": "^16.3.6",
48
48
  "typescript": "~5.1.6",
49
49
  "yaml": "^2.3.1",
50
- "@platformatic/db": "0.32.0",
51
- "@platformatic/service": "0.32.0"
50
+ "@platformatic/db": "0.33.0",
51
+ "@platformatic/service": "0.33.0"
52
52
  },
53
53
  "scripts": {
54
54
  "test": "standard | snazzy && cross-env NODE_OPTIONS=\"--loader=esmock --no-warnings\" c8 tap --no-coverage test/*test.mjs test/*/*test.mjs",
@@ -50,7 +50,7 @@ export async function createPlatformaticRuntime (_args) {
50
50
  // Create the project directory
51
51
  await mkdir(projectDir, { recursive: true })
52
52
 
53
- const baseServicesDir = join(relative(process.cwd(), projectDir), 'services')
53
+ const baseServicesDir = join(relative(process.cwd(), projectDir), 'library-app/services')
54
54
  const servicesDir = await askDir(logger, baseServicesDir, 'Where would you like to load your services from?')
55
55
 
56
56
  const { runPackageManagerInstall } = await inquirer.prompt([
@@ -23,7 +23,7 @@ const fakeLogger = {
23
23
  }
24
24
 
25
25
  test('creates runtime', async ({ equal, same, ok }) => {
26
- await createRuntime(fakeLogger, tmpDir, undefined, 'services', 'foobar')
26
+ await createRuntime(fakeLogger, tmpDir, undefined, 'library-app/services', 'foobar')
27
27
 
28
28
  const pathToRuntimeConfigFile = join(tmpDir, 'platformatic.runtime.json')
29
29
  const runtimeConfigFile = readFileSync(pathToRuntimeConfigFile, 'utf8')
@@ -36,7 +36,7 @@ test('creates runtime', async ({ equal, same, ok }) => {
36
36
  allowCycles: false,
37
37
  hotReload: true,
38
38
  autoload: {
39
- path: 'services',
39
+ path: 'library-app/services',
40
40
  exclude: ['docs']
41
41
  }
42
42
  })