Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 2031867

Browse files
committed
feat: setup initial project ecosystem
0 parents  commit 2031867

File tree

15 files changed

+6276
-0
lines changed

15 files changed

+6276
-0
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.eslintrc.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
env:
2+
browser: true
3+
es2021: true
4+
node: true
5+
extends:
6+
- standard
7+
parser: '@typescript-eslint/parser'
8+
parserOptions:
9+
ecmaVersion: 12
10+
sourceType: module
11+
plugins:
12+
- '@typescript-eslint'
13+
rules: {}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
dist
3+
_templates

app/hello.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const hello = ```
2+
Hello!
3+
This is your first prompt based hygen template.
4+
5+
Learn what it can do here:
6+
7+
https://github.com/jondot/hygen
8+
```
9+
10+
console.log(hello)
11+
12+

index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const myName: string = 'Hello Jonas'
2+
3+
export default myName

lerna.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"packages": [
3+
"packages/*"
4+
],
5+
"version": "0.0.0"
6+
}

package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "chakra-ui-vue-next",
3+
"version": "1.0.0",
4+
"description": "Vue 3 compatible Chakra UI",
5+
"main": "index.js",
6+
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next.git",
7+
"author": "codebender828 [email protected]",
8+
"workspaces": [
9+
"packages/*"
10+
],
11+
"scripts": {
12+
"build": "lerna run build --no-private --stream"
13+
},
14+
"license": "MIT",
15+
"private": true,
16+
"devDependencies": {
17+
"@swc/cli": "^0.1.26",
18+
"@swc/core": "^1.2.28",
19+
"@typescript-eslint/eslint-plugin": "^4.1.1",
20+
"@typescript-eslint/parser": "^4.1.1",
21+
"concurrently": "^5.3.0",
22+
"cross-env": "^7.0.2",
23+
"eslint": "^7.9.0",
24+
"eslint-config-standard": "^14.1.1",
25+
"eslint-plugin-import": "^2.22.0",
26+
"eslint-plugin-node": "^11.1.0",
27+
"eslint-plugin-promise": "^4.2.1",
28+
"eslint-plugin-standard": "^4.0.1",
29+
"lerna": "^3.22.1"
30+
}
31+
}

packages/core/package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "@chakra-ui/vue-next",
3+
"version": "1.0.0",
4+
"description": "Vue 3 compatible version of Chakra UI Vue",
5+
"main": "index.js",
6+
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next.git",
7+
"author": "codebender828 [email protected]",
8+
"license": "MIT",
9+
"scripts": {
10+
"build": "concurrently yarn:build:*",
11+
"build:esm": "cross-env swc src --out-dir dist/esm/",
12+
"build:cjs": "cross-env swc -C module.type=commonjs src --out-dir dist/cjs/"
13+
}
14+
}

packages/core/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const myName: string = 'Hello Jonas from `@chakra-ui/vue-next`'
2+
3+
export default myName

packages/core/tsconfig.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"include": ["src"]
4+
}

0 commit comments

Comments
 (0)