Skip to content

Commit

Permalink
feat(terminal): init
Browse files Browse the repository at this point in the history
  • Loading branch information
BroKun committed Oct 25, 2023
1 parent 054c31d commit 8ef384c
Show file tree
Hide file tree
Showing 14 changed files with 588 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/libro-terminal/.eslintrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: require.resolve('../../.eslintrc.js'),
};
15 changes: 15 additions & 0 deletions packages/libro-terminal/.fatherrc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export default {
platform: 'browser',
esm: {
output: 'es',
},
extraBabelPlugins: [
['@babel/plugin-proposal-decorators', { legacy: true }],
['@babel/plugin-transform-flow-strip-types'],
['@babel/plugin-transform-class-properties', { loose: true }],
['@babel/plugin-transform-private-methods', { loose: true }],
['@babel/plugin-transform-private-property-in-object', { loose: true }],
['babel-plugin-parameter-decorator'],
],
extraBabelPresets: [['@babel/preset-typescript', { onlyRemoveTypeImports: true }]],
};
12 changes: 12 additions & 0 deletions packages/libro-terminal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# @difizen/libro-widget

## 0.0.2-alpha.0

### Patch Changes

- Initia version
- Updated dependencies
- @difizen/libro-common@0.0.2-alpha.0
- @difizen/libro-core@0.0.2-alpha.0
- @difizen/libro-kernel@0.0.2-alpha.0
- @difizen/libro-rendermime@0.0.2-alpha.0
1 change: 1 addition & 0 deletions packages/libro-terminal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# libro-widget
11 changes: 11 additions & 0 deletions packages/libro-terminal/babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript"],
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/plugin-transform-flow-strip-types",
["@babel/plugin-transform-private-methods", { "loose": true }],
["@babel/plugin-transform-private-property-in-object", { "loose": true }],
["@babel/plugin-transform-class-properties", { "loose": true }],
"babel-plugin-parameter-decorator"
]
}
3 changes: 3 additions & 0 deletions packages/libro-terminal/jest.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import configs from '../../jest.config.mjs';

export default { ...configs };
59 changes: 59 additions & 0 deletions packages/libro-terminal/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"name": "@difizen/libro-terminal",
"version": "0.0.2-alpha.0",
"description": "",
"keywords": [
"libro"
],
"repository": "[email protected]:difizen/libro.git",
"license": "MIT",
"type": "module",
"exports": {
".": {
"typings": "./es/index.d.ts",
"default": "./es/index.js"
},
"./mock": {
"typings": "./es/mock/index.d.ts",
"default": "./es/mock/index.js"
},
"./es/mock": {
"typings": "./es/mock/index.d.ts",
"default": "./es/mock/index.js"
},
"./package.json": "./package.json"
},
"main": "es/index.js",
"module": "es/index.js",
"typings": "es/index.d.ts",
"files": [
"es",
"src"
],
"scripts": {
"setup": "father build",
"build": "father build",
"test": ": Note: lint task is delegated to test:* scripts",
"test:vitest": "vitest run",
"test:jest": "jest",
"coverage": ": Note: lint task is delegated to coverage:* scripts",
"coverage:vitest": "vitest run --coverage",
"coverage:jest": "jest --coverage",
"lint": ": Note: lint task is delegated to lint:* scripts",
"lint:eslint": "eslint src",
"lint:tsc": "tsc --noEmit"
},
"dependencies": {
"@difizen/libro-core": "^0.0.2-alpha.0",
"@difizen/libro-common": "^0.0.2-alpha.0",
"@difizen/libro-kernel": "^0.0.2-alpha.0",
"@difizen/mana-app": "alpha"
},
"peerDependencies": {
"antd": "^5.8.6",
"react": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.25"
}
}
Loading

0 comments on commit 8ef384c

Please sign in to comment.