Skip to content

Commit

Permalink
Merge pull request #50 from idrawjs/dev-v0.4
Browse files Browse the repository at this point in the history
Dev v0.4
  • Loading branch information
chenshenhai authored Dec 16, 2023
2 parents 8632ae9 + 1bf891e commit 772dc3d
Show file tree
Hide file tree
Showing 31 changed files with 71 additions and 1,681 deletions.
10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
{
"private": false,
"version": "0.4.0-alpha.2",
"version": "0.4.0-alpha.3",
"workspaces": [
"packages/*"
],
"scripts": {
"postinstall": "npm run build",
"dev": "vite-node ./scripts/dev.ts",
"build": "vite-node ./scripts/build.ts",
"build": "vite-node ./scripts/build.ts && npm run build:bundle",
"build:bundle": "vite-node ./scripts/build-bundle.ts",
"snapshot": "npm run build:bundle && vite-node ./scripts/snapshot.ts",
"e2e": "jest --config jest.e2e.config.js",
"clear": "rm -rf node_modules/ && rm -rf ./packages/*/dist/ && rm -rf ./packages/*/esm/ && rm -rf ./packages/*/node_modules/",
"jest": "jest --config jest.config.js",
"jest:update": "jest --update-snapshot --config jest.config.js",
"cover": "jest --config jest.cover.js",
"beforetest": "npm run build",
"test": "npm run jest",
"serve": "http-server ./",
"lint": "eslint --fix --ext .ts packages/*/src/**",
"precommit": "npm run lint",
Expand Down
2 changes: 1 addition & 1 deletion packages/studio-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@idraw/studio-base",
"version": "0.4.0-alpha.2",
"version": "0.4.0-alpha.3",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
3 changes: 3 additions & 0 deletions packages/studio-base/src/bundle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import './index.less';

export * from './index';
Binary file not shown.
175 changes: 0 additions & 175 deletions packages/studio/examples/dev-advance/data/idrawjs-introduction.ts

This file was deleted.

Loading

0 comments on commit 772dc3d

Please sign in to comment.