langium-tools 0.3.2 → 0.3.3

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/README.md CHANGED
@@ -1129,7 +1129,7 @@ Don't forget to give the project a star! Thanks again!
1129
1129
 
1130
1130
  4. Open a Pull Request
1131
1131
 
1132
- 5. Release with release-it
1132
+ 5. Release with `npm run release`
1133
1133
 
1134
1134
  ### Top contributors:
1135
1135
 
@@ -184,7 +184,7 @@ export class GeneratedContentManager {
184
184
  return this.listAllFiles(fullPath);
185
185
  }
186
186
  else if (entry.isFile()) {
187
- return [fullPath];
187
+ return [await fsPromises.realpath(fullPath)];
188
188
  }
189
189
  else {
190
190
  return []; // Skip symbolic links, etc.
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "langium-tools",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "A set of tools for Langium",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {
9
+ "release": "npm run test && npm run build && npx release-it",
9
10
  "build": "tsc",
10
11
  "lint": "eslint 'src/**/*.{ts,tsx}'",
11
12
  "lint:fix": "eslint 'src/**/*.{ts,tsx}' --fix",