Skip to content

Commit 75aa792

Browse files
refactor: rename package to code-ollama
1 parent 0496351 commit 75aa792

7 files changed

Lines changed: 30 additions & 34 deletions

File tree

README.md

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,56 @@
1-
# npm-package-typescript-template
1+
# code-ollama
22

3-
[![NPM](https://nodei.co/npm/npm-package-typescript-template.svg)](https://www.npmjs.com/package/npm-package-typescript-template)
3+
[![NPM](https://nodei.co/npm/code-ollama.svg)](https://www.npmjs.com/package/code-ollama)
44

5-
[![NPM version](https://img.shields.io/npm/v/npm-package-typescript-template.svg)](https://www.npmjs.com/package/npm-package-typescript-template)
6-
[![build](https://github.com/remarkablemark/npm-package-typescript-template/actions/workflows/build.yml/badge.svg)](https://github.com/remarkablemark/npm-package-typescript-template/actions/workflows/build.yml)
7-
[![codecov](https://codecov.io/gh/remarkablemark/npm-package-typescript-template/graph/badge.svg?token=B0W2IQZ66A)](https://codecov.io/gh/remarkablemark/npm-package-typescript-template)
5+
[![NPM version](https://img.shields.io/npm/v/code-ollama.svg)](https://www.npmjs.com/package/code-ollama)
6+
[![build](https://github.com/ai-action/code-ollama/actions/workflows/build.yml/badge.svg)](https://github.com/ai-action/code-ollama/actions/workflows/build.yml)
7+
[![codecov](https://codecov.io/gh/ai-action/code-ollama/graph/badge.svg?token=B0W2IQZ66A)](https://codecov.io/gh/ai-action/code-ollama)
88

9-
npm-package-typescript-template
9+
Ollama Code
1010

1111
## Quick Start
1212

1313
```ts
14-
import { name } from 'npm-package-typescript-template';
14+
import { name } from 'code-ollama';
1515
```
1616

1717
## Install
1818

19-
[NPM](https://www.npmjs.com/package/npm-package-typescript-template):
19+
[NPM](https://www.npmjs.com/package/code-ollama):
2020

2121
```sh
22-
npm install npm-package-typescript-template
22+
npm install code-ollama
2323
```
2424

25-
[CDN](https://unpkg.com/browse/npm-package-typescript-template/):
25+
[CDN](https://unpkg.com/browse/code-ollama/):
2626

2727
```html
28-
<script src="https://unpkg.com/npm-package-typescript-template@latest/dist/index.umd.js"></script>
28+
<script src="https://unpkg.com/code-ollama@latest/dist/index.umd.js"></script>
2929
```
3030

3131
## Usage
3232

3333
ES Modules:
3434

3535
```ts
36-
import { name } from 'npm-package-typescript-template';
36+
import { name } from 'code-ollama';
3737
```
3838

3939
CommonJS:
4040

4141
```ts
42-
const { name } = require('npm-package-typescript-template');
42+
const { name } = require('code-ollama');
4343
```
4444

4545
UMD:
4646

4747
```html
48-
<script src="https://unpkg.com/npm-package-typescript-template@latest/dist/index.umd.js"></script>
48+
<script src="https://unpkg.com/code-ollama@latest/dist/index.umd.js"></script>
4949
<script>
50-
const { name } = window['npm-package-typescript-template'];
50+
const { name } = window['code-ollama'];
5151
</script>
5252
```
5353

54-
## Release
55-
56-
Release is automated with [Release Please](https://github.com/googleapis/release-please).
57-
5854
## License
5955

60-
[MIT](https://github.com/remarkablemark/npm-package-typescript-template/blob/master/LICENSE)
56+
[MIT](https://github.com/ai-action/code-ollama/blob/master/LICENSE)

__tests__/index.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import { name } from '../dist/index.mjs';
22

33
describe('index', () => {
44
it('exports name', () => {
5-
assert.strictEqual(name, 'npm-package-typescript-template');
5+
assert.strictEqual(name, 'code-ollama');
66
});
77
});

__tests__/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { name } from '../src/index';
22

33
it('exports name', () => {
4-
expect(name).toBe('npm-package-typescript-template');
4+
expect(name).toBe('code-ollama');
55
});

package-lock.json

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

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "npm-package-typescript-template",
3-
"version": "1.0.0-alpha",
4-
"description": "npm-package-typescript-template",
2+
"name": "code-ollama",
3+
"version": "0.0.0",
4+
"description": "Ollama Code",
55
"author": "Mark <mark@remarkablemark.org> (https://remarkablemark.org)",
66
"main": "./dist/index.cjs",
77
"module": "./dist/index.mjs",
@@ -35,13 +35,13 @@
3535
},
3636
"repository": {
3737
"type": "git",
38-
"url": "git+https://github.com/remarkablemark/npm-package-typescript-template.git"
38+
"url": "git+https://github.com/ai-action/code-ollama.git"
3939
},
4040
"bugs": {
41-
"url": "https://github.com/remarkablemark/npm-package-typescript-template/issues"
41+
"url": "https://github.com/ai-action/code-ollama/issues"
4242
},
4343
"keywords": [
44-
"npm-package-typescript-template"
44+
"code-ollama"
4545
],
4646
"devDependencies": {
4747
"@commitlint/cli": "20.5.3",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const name = 'npm-package-typescript-template';
1+
export const name = 'code-ollama';

vite.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default defineConfig({
88
build: {
99
lib: {
1010
entry: resolve(import.meta.dirname, 'src/index.ts'),
11-
name: 'npm-package-typescript-template',
11+
name: 'code-ollama',
1212
formats: ['cjs', 'es', 'umd'],
1313
fileName: (format) => {
1414
switch (format) {

0 commit comments

Comments
 (0)