vasille-css 3.2.1 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -14
- package/eslint.config.js +25 -0
- package/package.json +14 -4
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Vasille
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|
|
|
5
|
-
`Vasille Web` is a front-end framework, which is developed to provide
|
|
5
|
+
`Vasille Web` is a front-end framework, which is developed to provide bulletproof frontends.
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/vasille)
|
|
8
8
|
|
|
@@ -32,19 +32,9 @@ Create an app from a template
|
|
|
32
32
|
$ npm create vasille
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Alternative method to create a TypeScript app.
|
|
36
|
-
```bash
|
|
37
|
-
$ npx degit vasille-js/example-typescript my-project
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
Alternative method to create a JavaScript app.
|
|
41
|
-
```bash
|
|
42
|
-
$ npx degit vasille-js/example-javascript my-project
|
|
43
|
-
```
|
|
44
|
-
|
|
45
35
|
### Full documentation:
|
|
46
|
-
* [Learn `Vasille` in 5 minutes](https://github.com/vasille-js/vasille-js/blob/
|
|
47
|
-
* [Vasille Router Documentation](https://github.com/vasille-js/vasille-js/blob/
|
|
36
|
+
* [Learn `Vasille` in 5 minutes](https://github.com/vasille-js/vasille-js/blob/v4/doc/V4-API.md)
|
|
37
|
+
* [Vasille Router Documentation](https://github.com/vasille-js/vasille-js/blob/v4/doc/Router-API.md)
|
|
48
38
|
|
|
49
39
|
### Examples
|
|
50
40
|
* [TypeScript Example](https://github.com/vasille-js/example-typescript)
|
|
@@ -107,6 +97,7 @@ All of these are supported:
|
|
|
107
97
|
* [x] `100%` Test Coverage fot babel plugin.
|
|
108
98
|
* [x] Add CSS support (define styles in components).
|
|
109
99
|
* [x] Add router.
|
|
100
|
+
* [ ] Add SSG (static site generation).
|
|
110
101
|
* [ ] Add SSR (server side rendering).
|
|
111
102
|
* [ ] Develop tools extension for debugging.
|
|
112
103
|
|
package/eslint.config.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import compat from "eslint-plugin-compat";
|
|
2
|
+
import tseslint from "typescript-eslint";
|
|
3
|
+
import { globalIgnores } from "eslint/config";
|
|
4
|
+
|
|
5
|
+
export default tseslint.config(
|
|
6
|
+
tseslint.configs.base,
|
|
7
|
+
{
|
|
8
|
+
name: "compat check",
|
|
9
|
+
files: ["src/**/*.ts", "src/**/*.tsx"],
|
|
10
|
+
plugins: { compat },
|
|
11
|
+
rules: {
|
|
12
|
+
"compat/compat": "error",
|
|
13
|
+
},
|
|
14
|
+
settings: {
|
|
15
|
+
polyfills: [],
|
|
16
|
+
},
|
|
17
|
+
languageOptions: {
|
|
18
|
+
parserOptions: {
|
|
19
|
+
projectService: false,
|
|
20
|
+
tsconfigRootDir: import.meta.dirname,
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
globalIgnores(["node_modules", "lib/**/*", "types", "coverage/**/*"]),
|
|
25
|
+
);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vasille-css",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "The
|
|
3
|
+
"version": "4.0.0",
|
|
4
|
+
"description": "The framework designed to build bulletproof frontends (CSS style library)",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
7
7
|
"exports": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"prepack": "cp -f ../README.md ./README.md",
|
|
16
16
|
"prettier": "prettier src test --write",
|
|
17
|
+
"prebuild": "rm -rf lib types",
|
|
17
18
|
"build": "tsc --build tsconfig.json",
|
|
18
|
-
"build-types": "tsc --build tsconfig-types.json",
|
|
19
19
|
"test": "jest",
|
|
20
20
|
"test-coverage": "jest --coverage"
|
|
21
21
|
},
|
|
@@ -35,13 +35,23 @@
|
|
|
35
35
|
"type": "git",
|
|
36
36
|
"url": "git+https://github.com/vasille-js/vasille-js.git"
|
|
37
37
|
},
|
|
38
|
+
"browserslist": [
|
|
39
|
+
"safari 6",
|
|
40
|
+
"ie 10",
|
|
41
|
+
"chrome 23",
|
|
42
|
+
"firefox 21",
|
|
43
|
+
"opera 15"
|
|
44
|
+
],
|
|
38
45
|
"devDependencies": {
|
|
39
46
|
"@types/jest": "^30.0.0",
|
|
40
47
|
"@types/jsdom": "^21.1.7",
|
|
48
|
+
"eslint": "^9.33.0",
|
|
49
|
+
"eslint-plugin-compat": "^6.0.2",
|
|
41
50
|
"jest": "^30.0.5",
|
|
42
51
|
"jsdom": "^26.1.0",
|
|
43
52
|
"prettier": "^3.6.2",
|
|
44
53
|
"ts-jest": "^29.4.0",
|
|
45
|
-
"typescript": "^5.8.3"
|
|
54
|
+
"typescript": "^5.8.3",
|
|
55
|
+
"typescript-eslint": "^8.39.0"
|
|
46
56
|
}
|
|
47
57
|
}
|