Skip to content

Commit db3ba73

Browse files
committed
Update naming scheme (autocomplete-plugin -> autocomplete)
1 parent ecf6d6c commit db3ba73

3 files changed

Lines changed: 33 additions & 33 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
For most circumstances, using the package directly would be fine
66

77
```bash
8-
yarn add @sourceacademy/autocomplete-plugin@github:source-academy/autocomplete-plugin#0.0.1
8+
yarn add @sourceacademy/autocomplete@github:source-academy/autocomplete#0.0.1
99
```
1010

1111
Then, directly import them from your code
1212

1313
```ts
14-
import { BaseAutoCompleteWebPlugin } from '@sourceacademy/autocomplete-plugin';
14+
import { BaseAutoCompleteWebPlugin } from '@sourceacademy/autocomplete';
1515

1616
export class AutoCompletePlugin extends BaseAutoCompleteWebPlugin {
1717
(...)
@@ -21,8 +21,8 @@ export class AutoCompletePlugin extends BaseAutoCompleteWebPlugin {
2121
If you need to set up a development build, clone the repository
2222

2323
```bash
24-
git clone https://github.com/source-academy/autocomplete-plugin
25-
cd autocomplete-plugin
24+
git clone https://github.com/source-academy/autocomplete
25+
cd autocomplete
2626
```
2727

2828
Run `yarn build` (or `yarn watch` for development, where it creates incremental builds). If there are no problems, the files `dist/index.mjs` and `dist/index.cjs` will be generated.
@@ -31,7 +31,7 @@ This is the file that will be used to run the plugin on the host (the frontend)
3131
To use the new package in another project, go to the project directory, then use
3232

3333
```bash
34-
yarn link path/to/autocomplete-plugin
34+
yarn link path/to/autocomplete
3535
```
3636

3737
## Contents of this package

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "autocomplete-plugin",
2+
"name": "@sourceacademy/autocomplete",
33
"version": "0.0.1",
44
"packageManager": "yarn@4.6.0",
55
"description": "The autocomplete plugin for Conductor framework",
@@ -16,7 +16,7 @@
1616
},
1717
"repository": {
1818
"type": "git",
19-
"url": "git+https://github.com/source-academy/autocomplete-plugin.git"
19+
"url": "git+https://github.com/source-academy/autocomplete.git"
2020
},
2121
"license": "ISC",
2222
"files": [
@@ -33,9 +33,9 @@
3333
}
3434
},
3535
"bugs": {
36-
"url": "https://github.com/source-academy/autocomplete-plugin/issues"
36+
"url": "https://github.com/source-academy/autocomplete/issues"
3737
},
38-
"homepage": "https://github.com/source-academy/autocomplete-plugin#readme",
38+
"homepage": "https://github.com/source-academy/autocomplete#readme",
3939
"devDependencies": {
4040
"@rollup/plugin-node-resolve": "^16.0.3",
4141
"@rollup/plugin-terser": "^1.0.0",

yarn.lock

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,6 +1255,30 @@ __metadata:
12551255
languageName: node
12561256
linkType: hard
12571257

1258+
"@sourceacademy/autocomplete@workspace:.":
1259+
version: 0.0.0-use.local
1260+
resolution: "@sourceacademy/autocomplete@workspace:."
1261+
dependencies:
1262+
"@rollup/plugin-node-resolve": "npm:^16.0.3"
1263+
"@rollup/plugin-terser": "npm:^1.0.0"
1264+
"@rollup/plugin-typescript": "npm:^12.3.0"
1265+
"@sourceacademy/conductor": "npm:^0.3.0"
1266+
"@types/jest": "npm:^30.0.0"
1267+
eslint: "npm:^10.0.3"
1268+
eslint-config-prettier: "npm:^10.1.8"
1269+
jest: "npm:^30.3.0"
1270+
prettier: "npm:^3.8.1"
1271+
rollup: "npm:^4.60.0"
1272+
ts-jest: "npm:^29.4.6"
1273+
tslib: "npm:^2.8.1"
1274+
typedoc: "npm:^0.28.18"
1275+
typescript: "npm:^5.9.3"
1276+
typescript-eslint: "npm:^8.57.1"
1277+
peerDependencies:
1278+
"@sourceacademy/conductor": ">=0.3.0"
1279+
languageName: unknown
1280+
linkType: soft
1281+
12581282
"@sourceacademy/conductor@npm:^0.3.0":
12591283
version: 0.3.0
12601284
resolution: "@sourceacademy/conductor@npm:0.3.0"
@@ -1816,30 +1840,6 @@ __metadata:
18161840
languageName: node
18171841
linkType: hard
18181842

1819-
"autocomplete-plugin@workspace:.":
1820-
version: 0.0.0-use.local
1821-
resolution: "autocomplete-plugin@workspace:."
1822-
dependencies:
1823-
"@rollup/plugin-node-resolve": "npm:^16.0.3"
1824-
"@rollup/plugin-terser": "npm:^1.0.0"
1825-
"@rollup/plugin-typescript": "npm:^12.3.0"
1826-
"@sourceacademy/conductor": "npm:^0.3.0"
1827-
"@types/jest": "npm:^30.0.0"
1828-
eslint: "npm:^10.0.3"
1829-
eslint-config-prettier: "npm:^10.1.8"
1830-
jest: "npm:^30.3.0"
1831-
prettier: "npm:^3.8.1"
1832-
rollup: "npm:^4.60.0"
1833-
ts-jest: "npm:^29.4.6"
1834-
tslib: "npm:^2.8.1"
1835-
typedoc: "npm:^0.28.18"
1836-
typescript: "npm:^5.9.3"
1837-
typescript-eslint: "npm:^8.57.1"
1838-
peerDependencies:
1839-
"@sourceacademy/conductor": ">=0.3.0"
1840-
languageName: unknown
1841-
linkType: soft
1842-
18431843
"babel-jest@npm:30.3.0":
18441844
version: 30.3.0
18451845
resolution: "babel-jest@npm:30.3.0"

0 commit comments

Comments
 (0)