Skip to content

Commit eaef734

Browse files
committed
chore(naming): updated names
1 parent 29b9837 commit eaef734

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Change Log
22

3-
All notable changes to the "neuma-api-dart" extension will be documented in this file.
3+
All notable changes to the "neuma-api-flutter" extension will be documented in this file.
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Download the latest `.vsix` file from the [Releases](https://github.com/abelherl
2828

2929
Then install via CLI:
3030
```bash
31-
code --install-extension neuma-api-dart-x.x.x.vsix
31+
code --install-extension neuma-api-flutter-x.x.x.vsix
3232
```
3333

3434
Or install it from VS Code:

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "neuma-api-dart",
2+
"name": "neuma-api-flutter",
33
"displayName": "Neuma API Dart",
44
"description": "Transform JSON collection to folders with request and response model",
55
"version": "0.0.1",
@@ -14,25 +14,25 @@
1414
"contributes": {
1515
"commands": [
1616
{
17-
"command": "neuma-api-dart.generateModel",
17+
"command": "neuma-api-flutter.generateModel",
1818
"title": "Neuma API: Convert JSON to Dart Model"
1919
}
2020
]
2121
},
2222
"configuration": {
2323
"title": "Neuma API Dart",
2424
"properties": {
25-
"neuma-api-dart.defaultBaseFolder": {
25+
"neuma-api-flutter.defaultBaseFolder": {
2626
"type": "string",
2727
"default": "lib/data/models",
2828
"description": "Default base folder for generated Dart models (e.g., 'lib/data/models', 'lib/models')"
2929
},
30-
"neuma-api-dart.generateSubfolders": {
30+
"neuma-api-flutter.generateSubfolders": {
3131
"type": "boolean",
3232
"default": true,
3333
"description": "Create subfolders based on class names (e.g., lib/data/models/user_profile/)"
3434
},
35-
"neuma-api-dart.nullSafety": {
35+
"neuma-api-flutter.nullSafety": {
3636
"type": "string",
3737
"enum": [
3838
"nullable",
@@ -42,32 +42,32 @@
4242
"default": "auto",
4343
"description": "Null safety mode: 'nullable' (String?), 'non-nullable' (String), or 'auto' (detect from JSON)"
4444
},
45-
"neuma-api-dart.generateJsonAnnotation": {
45+
"neuma-api-flutter.generateJsonAnnotation": {
4646
"type": "boolean",
4747
"default": true,
4848
"description": "Add @JsonKey() annotations from json_annotation package"
4949
},
50-
"neuma-api-dart.generateCopyWith": {
50+
"neuma-api-flutter.generateCopyWith": {
5151
"type": "boolean",
5252
"default": false,
5353
"description": "Generate copyWith() method for immutable updates"
5454
},
55-
"neuma-api-dart.generateEquatable": {
55+
"neuma-api-flutter.generateEquatable": {
5656
"type": "boolean",
5757
"default": false,
5858
"description": "Extend Equatable class for value equality (requires equatable package)"
5959
},
60-
"neuma-api-dart.generateToString": {
60+
"neuma-api-flutter.generateToString": {
6161
"type": "boolean",
6262
"default": false,
6363
"description": "Override toString() method"
6464
},
65-
"neuma-api-dart.useFreezed": {
65+
"neuma-api-flutter.useFreezed": {
6666
"type": "boolean",
6767
"default": false,
6868
"description": "Generate Freezed data classes instead of regular classes (requires freezed package)"
6969
},
70-
"neuma-api-dart.fieldCase": {
70+
"neuma-api-flutter.fieldCase": {
7171
"type": "string",
7272
"enum": [
7373
"camelCase",
@@ -77,7 +77,7 @@
7777
"default": "camelCase",
7878
"description": "Field naming convention: camelCase (Dart standard), snake_case (API standard), or preserve original"
7979
},
80-
"neuma-api-dart.addPartStatement": {
80+
"neuma-api-flutter.addPartStatement": {
8181
"type": "boolean",
8282
"default": true,
8383
"description": "Add part statement for code generation (e.g., part 'user.g.dart';)"

src/commands/generateCollection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// import { generateCollectionModels } from '../utils/collectionGenUtils';
33

44
// export function registerGenerateCollectionCommand(context: vscode.ExtensionContext) {
5-
// return vscode.commands.registerCommand('neuma-api-dart.generateCollection', generateCollectionModels);
5+
// return vscode.commands.registerCommand('neuma-api-flutter.generateCollection', generateCollectionModels);
66
// }

src/commands/generateModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import * as vscode from 'vscode';
22
import { generateSingleModel } from '../utils/singleGenUtils';
33

44
export function registerGenerateModelCommand(context: vscode.ExtensionContext) {
5-
return vscode.commands.registerCommand('neuma-api-dart.generateModel', generateSingleModel);
5+
return vscode.commands.registerCommand('neuma-api-flutter.generateModel', generateSingleModel);
66
}

src/utils/configUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as vscode from 'vscode';
22
import { GenerationConfig, ModelGenerationOptions } from '../configs/types';
33

44
export function getExtensionConfig(): GenerationConfig {
5-
const config = vscode.workspace.getConfiguration('neuma-api-dart');
5+
const config = vscode.workspace.getConfiguration('neuma-api-flutter');
66

77
const modelOptions: ModelGenerationOptions = {
88
nullSafety: config.get<'nullable' | 'non-nullable' | 'auto'>('nullSafety', 'auto'),

src/utils/singleGenUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export async function generateSingleModel(): Promise<void> {
3434
const finalClassName = `${classNameBase}${modelType}`;
3535

3636
// Get extension configuration
37-
const config = vscode.workspace.getConfiguration('neuma-api-dart');
37+
const config = vscode.workspace.getConfiguration('neuma-api-flutter');
3838
const baseFolder = config.get<string>('defaultBaseFolder', 'lib/models');
3939
const generateSubfolders = config.get<boolean>('generateSubfolders', true);
4040

0 commit comments

Comments
 (0)