-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from chialab/next
Migrate to DNA 4
- Loading branch information
Showing
40 changed files
with
1,138 additions
and
1,655 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@chialab/synapse": major | ||
--- | ||
|
||
Remove node server support. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@chialab/synapse": major | ||
--- | ||
|
||
Migrate to DNA 4. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"mode": "exit", | ||
"tag": "alpha", | ||
"initialVersions": { | ||
"@chialab/synapse": "3.0.3" | ||
}, | ||
"changesets": [ | ||
"brave-pugs-change", | ||
"lovely-lamps-remain" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"extends": "@chialab/eslint-config" | ||
"extends": "@chialab/eslint-config", | ||
"env": { | ||
"browser": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,25 @@ | ||
{ | ||
"name": "@chialab/synapse", | ||
"version": "3.0.3", | ||
"version": "4.0.0-alpha.0", | ||
"type": "module", | ||
"description": "Application framework built on the top of DNA Web Components.", | ||
"main": "dist/synapse.cjs", | ||
"module": "dist/synapse.js", | ||
"browser": { | ||
"node-fetch": false | ||
}, | ||
"types": "types/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./types/index.d.ts", | ||
"require": "./dist/synapse.cjs", | ||
"node": "./dist/synapse.node.js", | ||
"default": "./dist/synapse.js" | ||
} | ||
}, | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "rimraf 'dist' 'types' && yarn types && yarn build:esm && yarn build:node && yarn build:cjs", | ||
"build": "rimraf 'dist' 'types' && yarn types && yarn build:esm && yarn build:cjs", | ||
"build:esm": "esbuild src/index.ts --outfile=dist/synapse.js --format=esm --bundle --packages=external --sourcemap --platform=browser", | ||
"build:node": "esbuild src/index.ts --outfile=dist/synapse.node.js --format=esm --bundle --packages=external --sourcemap --platform=node", | ||
"build:cjs": "esbuild src/index.ts --outfile=dist/synapse.cjs --format=cjs --bundle --packages=external --sourcemap --platform=node", | ||
"build:cjs": "esbuild src/index.ts --outfile=dist/synapse.cjs --format=cjs --bundle --packages=external --sourcemap --platform=browser", | ||
"types": "tsc", | ||
"test": "yarn test:browser && yarn test:node", | ||
"test:browser": "vitest run --config vitest.browser.ts", | ||
"test:node": "vitest run --config vitest.node.ts", | ||
"test": "vitest run", | ||
"lint": "prettier --check . && eslint src test", | ||
"pages:build": "vite build", | ||
"prepack": "yarn build && publint" | ||
|
@@ -43,20 +37,18 @@ | |
}, | ||
"author": "Chialab <[email protected]> (https://www.chialab.it)", | ||
"dependencies": { | ||
"@chialab/dna": "^3.20.0", | ||
"node-fetch": "^3.0.0", | ||
"tslib": "^2.0.0" | ||
"@chialab/dna": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.22.0", | ||
"@chialab/eslint-config": "^4.0.0", | ||
"@chialab/prettier-config": "^1.2.2", | ||
"@types/node": "^20.11.21", | ||
"@vitest/browser": "^1.2.2", | ||
"@vitest/coverage-istanbul": "^1.2.2", | ||
"@vitest/coverage-v8": "^1.2.2", | ||
"esbuild": "^0.20.0", | ||
"eslint": "^8.0.0", | ||
"jsdom": "^16.0.0", | ||
"playwright": "^1.41.1", | ||
"prettier": "^3.2.4", | ||
"publint": "^0.2.7", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.