@chamn/render 0.0.10 → 0.0.11

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/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@chamn/render",
3
3
  "private": false,
4
- "version": "0.0.10",
4
+ "files": [
5
+ "dist"
6
+ ],
7
+ "version": "0.0.11",
5
8
  "publishConfig": {
6
9
  "access": "public"
7
10
  },
8
- "main": "dist/index.cjs.js",
9
- "module": "dist/index.es.js",
11
+ "main": "dist/index.js",
12
+ "module": "dist/index.mjs",
10
13
  "types": "dist/index.d.ts",
11
14
  "scripts": {
12
15
  "start": "build-script",
@@ -18,7 +21,7 @@
18
21
  "test": "jest"
19
22
  },
20
23
  "dependencies": {
21
- "@chamn/model": "0.0.10",
24
+ "@chamn/model": "0.0.11",
22
25
  "cross-env": "^7.0.3",
23
26
  "html-tag-names": "^2.0.1",
24
27
  "loadjs": "4.3.0-rc1",
@@ -29,9 +32,9 @@
29
32
  "zustand": "^4.1.5"
30
33
  },
31
34
  "devDependencies": {
32
- "@chamn/build-script": "0.0.10",
33
- "@chamn/demo-page": "0.0.10",
34
- "@chamn/material": "0.0.10",
35
+ "@chamn/build-script": "0.0.11",
36
+ "@chamn/demo-page": "0.0.11",
37
+ "@chamn/material": "0.0.11",
35
38
  "@types/loadjs": "^4.0.1",
36
39
  "@types/lodash-es": "^4.17.6",
37
40
  "@types/node": "^18.15.9",
@@ -42,5 +45,5 @@
42
45
  "vite-plugin-dts": "^2.1.0"
43
46
  },
44
47
  "config": {},
45
- "gitHead": "89c4cfa2d5a7a8e60970e7317616e564ddd626e1"
48
+ "gitHead": "dab187afcca315664284a4bc03d01a40a43e1cdf"
46
49
  }
package/.eslintignore DELETED
@@ -1 +0,0 @@
1
- .*
package/.eslintrc.js DELETED
@@ -1,31 +0,0 @@
1
- /* eslint-disable no-undef */
2
- module.exports = {
3
- root: true,
4
- settings: {
5
- react: {
6
- version: 'detect',
7
- },
8
- },
9
- env: {
10
- browser: true,
11
- es2021: true,
12
- node: true,
13
- },
14
- extends: ['eslint:recommended', 'plugin:react/recommended', 'plugin:@typescript-eslint/recommended'],
15
- parser: '@typescript-eslint/parser',
16
- parserOptions: {
17
- ecmaFeatures: {
18
- jsx: true,
19
- },
20
- ecmaVersion: 'latest',
21
- sourceType: 'module',
22
- },
23
- plugins: ['react', '@typescript-eslint'],
24
- rules: {
25
- indent: ['error', 2],
26
- 'linebreak-style': ['error', 'unix'],
27
- quotes: ['error', 'single'],
28
- semi: ['error', 'always'],
29
- 'no-debugger': 0,
30
- },
31
- };
package/.prettierrc.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "trailingComma": "es5",
3
- "tabWidth": 2,
4
- "semi": true,
5
- "singleQuote": true,
6
- "printWidth": 150
7
- }
package/CHANGELOG.md DELETED
@@ -1,44 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [0.0.10](https://github.com/ByteCrazy/chameleon/compare/v0.0.9...v0.0.10) (2023-04-17)
7
-
8
- **Note:** Version bump only for package @chamn/render
9
-
10
- ## [0.0.9](https://github.com/ByteCrazy/chameleon/compare/v0.0.8...v0.0.9) (2023-04-17)
11
-
12
- ### ✨ Features | 新功能
13
-
14
- * **docs-website, engine, render:** 🎸 render add collectVariable flatObject util method ([ae25160](https://github.com/ByteCrazy/chameleon/commit/ae25160b568c267041b3827e836c95f60ecaee59))
15
-
16
- ## [0.0.8](https://github.com/ByteCrazy/chameleon/compare/v0.0.7...v0.0.8) (2023-04-16)
17
-
18
- ### ✨ Features | 新功能
19
-
20
- * **build-script, engine, layout, model, render:** 🎸 optimize pack package ([78d99c5](https://github.com/ByteCrazy/chameleon/commit/78d99c507ad65ca39101f0239467737d2b445c87))
21
-
22
- ## [0.0.7](https://github.com/ByteCrazy/chameleon/compare/v0.0.6...v0.0.7) (2023-03-29)
23
-
24
- ### ✨ Features | 新功能
25
-
26
- * **build-script, build-script-example, demo-page, engine, layout, material, model, render:** 🎸 external monaco eitor and remove style panel ([494d898](https://github.com/ByteCrazy/chameleon/commit/494d898fd75dabe84d867ff45e84ae63f9b59c5e))
27
-
28
- ## [0.0.6](https://github.com/ByteCrazy/chameleon/compare/v0.0.5...v0.0.6) (2023-03-28)
29
-
30
- **Note:** Version bump only for package @chamn/render
31
-
32
- ## [0.0.5](https://github.com/ByteCrazy/chameleon/compare/v0.0.4...v0.0.5) (2023-03-28)
33
-
34
- ### ✨ Features | 新功能
35
-
36
- * **build-script, engine, layout, material, model, render:** 🎸 complete package info ([86b095d](https://github.com/ByteCrazy/chameleon/commit/86b095da6c955946300591b1775f59c1a141c065))
37
-
38
- ## [0.0.4](https://github.com/ByteCrazy/chameleon/compare/v0.0.3...v0.0.4) (2023-03-27)
39
-
40
- **Note:** Version bump only for package @chamn/render
41
-
42
- ## [0.0.2](https://github.com/ByteCrazy/chameleon/compare/v0.0.1...v0.0.2) (2023-03-27)
43
-
44
- **Note:** Version bump only for package @chamn/render
@@ -1,3 +0,0 @@
1
- test('adds 1 + 2 to equal 3', () => {
2
- expect(3).toBe(3);
3
- });
package/build.config.ts DELETED
@@ -1,29 +0,0 @@
1
- import dts from 'vite-plugin-dts';
2
- import path from 'path';
3
- // 开发模式默认读取 index.html 作为开发模式入口
4
- // entry 作为打包库入口
5
- export default {
6
- entry: './src/index.ts',
7
- formats: ['es', 'cjs', 'umd'],
8
- libName: 'CRender',
9
- fileName: 'index',
10
- external: ['react', 'react-dom'],
11
- global: {
12
- react: 'React',
13
- 'react-dom': 'ReactDOM',
14
- },
15
- // 额外的 vite 配置
16
- vite: {
17
- define: {
18
- // 'process.env.NODE_ENV': JSON.stringify('production'),
19
- },
20
- plugins: [
21
- dts({
22
- entryRoot: path.resolve('./src'),
23
- compilerOptions: {
24
- skipDefaultLibCheck: false,
25
- },
26
- }),
27
- ],
28
- },
29
- };