create-platformatic 0.31.1 → 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.31.1",
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.31.1"
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.31.1",
51
- "@platformatic/service": "0.31.1"
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",
@@ -1,6 +1,6 @@
1
1
  # Platformatic Composer API
2
2
 
3
- This is a generated [Platformatic Composer](https://oss.platformatic.dev/docs/reference/composer/introduction) application.
3
+ This is a generated [Platformatic Composer](https://docs.platformatic.dev/docs/reference/composer/introduction) application.
4
4
 
5
5
  ## Requirements
6
6
 
package/src/db/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Platformatic DB API
2
2
 
3
- This is a generated [Platformatic DB](https://oss.platformatic.dev/docs/reference/db/introduction) application.
3
+ This is a generated [Platformatic DB](https://docs.platformatic.dev/docs/reference/db/introduction) application.
4
4
 
5
5
  ## Requirements
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Platformatic Runtime API
2
2
 
3
- This is a generated [Platformatic Runtime](https://oss.platformatic.dev/docs/reference/runtime/introduction) application.
3
+ This is a generated [Platformatic Runtime](https://docs.platformatic.dev/docs/reference/runtime/introduction) application.
4
4
 
5
5
  ## Requirements
6
6
 
@@ -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([
@@ -1,6 +1,6 @@
1
1
  # Platformatic Service API
2
2
 
3
- This is a generated [Platformatic Service](https://oss.platformatic.dev/docs/reference/service/introduction) application.
3
+ This is a generated [Platformatic Service](https://docs.platformatic.dev/docs/reference/service/introduction) application.
4
4
 
5
5
  ## Requirements
6
6
 
@@ -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
  })