diff --git a/browser/.eslintrc.cjs b/browser/.eslintrc.cjs index 0e72f8c92..ca5d3e6fc 100644 --- a/browser/.eslintrc.cjs +++ b/browser/.eslintrc.cjs @@ -35,6 +35,7 @@ module.exports = { 'react/tsconfig.json', 'data-browser/tsconfig.json', 'e2e/tsconfig.json', + 'create-template/tsconfig.json', ], }, plugins: ['react', '@typescript-eslint', 'prettier', 'react-hooks', 'jsx-a11y'], diff --git a/browser/CHANGELOG.md b/browser/CHANGELOG.md index 0b594ac0f..465c11338 100644 --- a/browser/CHANGELOG.md +++ b/browser/CHANGELOG.md @@ -2,9 +2,26 @@ This changelog covers all five packages, as they are (for now) updated as a whole -## UNRELEASED +## Unreleased -- #970 Add "show commit" button in History view +### Atomic Browser + +- [#952](https://github.com/atomicdata-dev/atomic-server/issues/952) Add templates containing pre made ontologies and resources. +- [#970](https://github.com/atomicdata-dev/atomic-server/issues/970) Add "show commit" button in History +- [#968](https://github.com/atomicdata-dev/atomic-server/issues/968) Allow users to pick files by entering a subject into the file picker search bar. +- [#969](https://github.com/atomicdata-dev/atomic-server/issues/969) Fix markdown editor sometimes doesn't update the value after saving. +- [#975](https://github.com/atomicdata-dev/atomic-server/issues/975) Add create button to resource selector without classtype. +- Fix markdown editor closing the edit page when a button is clicked. +- Add an edit button to the default resource view. + +### @tomic/lib + +- BREAKING CHANGE: removed the `importJsonAdString` function. +- Added `store.importJsonAD()` method. + +### @tomic/create-template + +- Added `@tomic/create-template` package to create new templates. ## v0.39.0 diff --git a/browser/create-template/.gitignore b/browser/create-template/.gitignore new file mode 100644 index 000000000..5e56e040e --- /dev/null +++ b/browser/create-template/.gitignore @@ -0,0 +1 @@ +/bin diff --git a/browser/create-template/package.json b/browser/create-template/package.json new file mode 100644 index 000000000..92e04b512 --- /dev/null +++ b/browser/create-template/package.json @@ -0,0 +1,36 @@ +{ + "version": "0.39.0", + "author": "Polle Pas", + "dependencies": { + "@tomic/lib": "workspace:*", + "chalk": "^5.3.0", + "prettier": "3.0.3" + }, + "devDependencies": { + "@types/node": "^20.11.5", + "typescript": "^5.4.5" + }, + "description": "", + "license": "MIT", + "name": "@tomic/create-template", + "publishConfig": { + "access": "public" + }, + "scripts": { + "build": "tsc", + "lint": "eslint ./src --ext .js,.ts", + "lint-fix": "eslint ./src --ext .js,.ts --fix", + "prepublishOnly": "pnpm run build && pnpm run lint-fix", + "watch": "tsc --build --watch", + "start": "pnpm exec tsc --build --watch", + "tsc": "pnpm exec tsc --build", + "typecheck": "pnpm exec tsc --noEmit" + }, + "bin": { + "create-template": "./bin/src/index.js" + }, + "type": "module", + "peerDependencies": { + "@tomic/lib": "workspace:*" + } +} diff --git a/browser/create-template/readme.md b/browser/create-template/readme.md new file mode 100644 index 000000000..68d177003 --- /dev/null +++ b/browser/create-template/readme.md @@ -0,0 +1,9 @@ +# @tomic/template + +```cli +npm create @tomic/template my-project -- --template