Skip to content

Commit 5beb081

Browse files
committed
Update project configuration and dependencies for OmniScript
## Summary - Added a new `.env.example` file to provide environment variable examples for development. - Updated `package-lock.json` and `pnpm-lock.yaml` to reflect new dependencies and versions, including the addition of `omniscript-parser` and updates to ESLint and TypeScript packages. - Refactored `cli/package.json` to rename the CLI tool from `@osf/cli` to `omniscript-cli` and updated its version to `0.5.1`. - Changed import statements in `cli/src/osf.ts` to use the new `omniscript-parser` package instead of the previous path. - Updated `parser/package.json` to rename the parser package from `@osf/parser` to `omniscript-parser`. ## Testing - Run `pnpm test` to ensure all new and existing tests pass successfully.
1 parent bc2a3a3 commit 5beb081

File tree

6 files changed

+4047
-133
lines changed

6 files changed

+4047
-133
lines changed

.env.example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# NPM Token for publishing packages
2+
# Get your token from: https://www.npmjs.com/settings/tokens
3+
NPM_TOKEN=npm_your_token_here
4+
5+
# Development environment
6+
NODE_ENV=development
7+
8+
# Optional: Organization scope for publishing
9+
NPM_SCOPE=@omniscript

cli/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@osf/cli",
3-
"version": "0.5.0",
2+
"name": "omniscript-cli",
3+
"version": "0.5.1",
44
"description": "OmniScript Format (OSF) CLI tools",
55
"main": "dist/osf.js",
66
"bin": {
@@ -15,7 +15,8 @@
1515
"typecheck": "tsc --noEmit -p tsconfig.json"
1616
},
1717
"dependencies": {
18-
"ajv": "^8.12.0"
18+
"ajv": "^8.12.0",
19+
"omniscript-parser": "^0.5.0"
1920
},
2021
"devDependencies": {
2122
"@types/node": "^22.15.31",

cli/src/osf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
DocBlock,
1010
SlideBlock,
1111
SheetBlock,
12-
} from '../../parser/dist';
12+
} from 'omniscript-parser';
1313

1414
// Type for spreadsheet cell values (compatible with OSFValue)
1515
type CellValue = string | number | boolean;

0 commit comments

Comments
 (0)