@cmpose/core 0.1.0 → 0.1.1

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,11 +1,11 @@
1
1
  {
2
2
  "name": "@cmpose/core",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "cmpose project generator core (Compose Multiplatform)",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/Keremturker/cmpose.git",
8
+ "url": "git+https://github.com/Keremturker/cmpose.git",
9
9
  "directory": "packages/core"
10
10
  },
11
11
  "homepage": "https://github.com/Keremturker/cmpose/tree/main/packages/core#readme",
package/src/generate.js CHANGED
@@ -35,8 +35,9 @@ async function generateCmpProject(value, { projectDir, generatorVersion = null }
35
35
  const templateRef = await readMarker(REF_FILE_NAME);
36
36
  const templateCommit = await readMarker(COMMIT_FILE_NAME);
37
37
 
38
- // The cache's own records and IDE state never reach the project
39
- for (const leftover of ['.git', '.idea', 'local.properties', COMMIT_FILE_NAME, REF_FILE_NAME]) {
38
+ // The cache's own records and IDE state never reach the project, nor does the template's own
39
+ // licence: the generated project is the user's, to license as they choose
40
+ for (const leftover of ['.git', '.idea', 'local.properties', 'LICENSE', COMMIT_FILE_NAME, REF_FILE_NAME]) {
40
41
  await fs.remove(path.join(projectDir, leftover));
41
42
  }
42
43
  await cleanImlFiles(projectDir);
package/src/pins.js CHANGED
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
  // The template tags this core version was tested with (immutable tags)
3
3
  module.exports = Object.freeze({
4
- cmp: Object.freeze({ repo: 'Keremturker/cmpose-template', ref: 'template-2026.10.07.5' })
4
+ cmp: Object.freeze({ repo: 'Keremturker/cmpose-template', ref: 'template-2026.10.14' })
5
5
  });