Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make linking work with native source code #2172

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions packages/article-converter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"version": "6.2.1",
"description": "Transforms NDLA articles into extended html versions",
"license": "GPL-3.0",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"type": "module",
"types": "src/index.ts",
"main": "src/index.ts",
"module": "src/index.ts",
"sideEffects": false,
"scripts": {
"build": "node ../../scripts/build.js package",
Expand Down Expand Up @@ -46,7 +47,11 @@
"react-router-dom": ">= 6.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts"
},
"gitHead": "ebeb8a1d86cba369e1156719ebaecb58a6e2cdfc"
}
13 changes: 9 additions & 4 deletions packages/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"version": "12.0.38",
"description": "Button component for NDLA",
"license": "GPL-3.0",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"type": "module",
"types": "src/index.ts",
"main": "src/index.ts",
"module": "src/index.ts",
"scripts": {
"build": "node ../../scripts/build.js package",
"build:types": "tsc -p tsconfig.build.json",
Expand Down Expand Up @@ -39,7 +40,11 @@
"react-i18next": "^13.3.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts"
},
"gitHead": "c2e2628a2dddfcca03f25548474243ffcd13595e"
}
13 changes: 9 additions & 4 deletions packages/carousel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"description": "Carousel for NDLA",
"license": "GPL-3.0",
"sideEffects": false,
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"type": "module",
"types": "src/index.ts",
"main": "src/index.ts",
"module": "src/index.ts",
"scripts": {
"build": "node ../../scripts/build.js package",
"build:types": "tsc -p tsconfig.build.json",
Expand Down Expand Up @@ -35,7 +36,11 @@
"react": ">= 16.8.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts"
},
"gitHead": "c2e2628a2dddfcca03f25548474243ffcd13595e"
}
13 changes: 9 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
"version": "4.5.0",
"description": "UI component library for NDLA.",
"license": "GPL-3.0",
"main": "lib/index.js",
"module": "es/index.js",
"type": "module",
"types": "src/index.ts",
"main": "src/index.ts",
"module": "src/index.ts",
"sideEffects": false,
"types": "lib/index.d.ts",
"scripts": {
"build": "node ../../scripts/build.js package",
"build:types": "tsc -p tsconfig.build.json",
Expand Down Expand Up @@ -35,7 +36,11 @@
"@emotion/react": "^11.10.4"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts"
},
"gitHead": "c2e2628a2dddfcca03f25548474243ffcd13595e"
}
13 changes: 9 additions & 4 deletions packages/dropdown-menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"version": "1.0.31",
"description": "Dropdown menu component for NDLA",
"license": "GPL-3.0",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"type": "module",
"types": "src/index.ts",
"main": "src/index.ts",
"module": "src/index.ts",
"scripts": {
"build": "node ../../scripts/build.js package",
"build:types": "tsc -p tsconfig.build.json",
Expand Down Expand Up @@ -36,6 +37,10 @@
"react-dom": ">= 16.8.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts"
}
}
13 changes: 9 additions & 4 deletions packages/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"version": "2.1.5",
"description": "Collection of React hooks used by NDLA",
"license": "GPL-3.0",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"type": "module",
"types": "src/index.ts",
"main": "src/index.ts",
"module": "src/index.ts",
"scripts": {
"build": "node ../../scripts/build.js package",
"build:types": "tsc -p tsconfig.build.json",
Expand Down Expand Up @@ -35,6 +36,10 @@
"@ndla/util": "^4.0.4"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts"
}
}
13 changes: 9 additions & 4 deletions packages/ndla-accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"version": "3.0.35",
"description": "A simple accordion from NDLA",
"license": "GPL-3.0",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"type": "module",
"types": "src/index.ts",
"main": "src/index.ts",
"module": "src/index.ts",
"sideEffects": false,
"scripts": {
"build": "node ../../scripts/build.js package",
Expand Down Expand Up @@ -38,7 +39,11 @@
"react-i18next": "^13.3.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts"
},
"gitHead": "c2e2628a2dddfcca03f25548474243ffcd13595e"
}
13 changes: 9 additions & 4 deletions packages/ndla-audio-search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"version": "5.0.1",
"description": "A simple library for searching for audio files from NDLA",
"license": "GPL-3.0",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"type": "module",
"types": "src/index.ts",
"main": "src/index.ts",
"module": "src/index.ts",
"scripts": {
"build": "node ../../scripts/build.js package",
"build:types": "tsc -p tsconfig.build.json",
Expand Down Expand Up @@ -39,7 +40,11 @@
"react": ">= 16.8.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts"
},
"gitHead": "c2e2628a2dddfcca03f25548474243ffcd13595e"
}
13 changes: 9 additions & 4 deletions packages/ndla-code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"version": "5.0.49",
"description": "Code components for NDLA",
"license": "GPL-3.0",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"type": "module",
"types": "src/index.ts",
"main": "src/index.ts",
"module": "src/index.ts",
"scripts": {
"build": "node ../../scripts/build.js package",
"build:types": "tsc -p tsconfig.build.json",
Expand Down Expand Up @@ -45,7 +46,11 @@
"@ndla/types-embed": "^4.1.1"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts"
},
"gitHead": "c2e2628a2dddfcca03f25548474243ffcd13595e"
}
13 changes: 9 additions & 4 deletions packages/ndla-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"version": "5.0.50",
"description": "Editor components for NDLA",
"license": "GPL-3.0",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"type": "module",
"types": "src/index.ts",
"main": "src/index.ts",
"module": "src/index.ts",
"repository": {
"type": "git",
"url": "https://github.com/NDLANO/frontend-packages.git/ndla-editor/"
Expand Down Expand Up @@ -39,7 +40,11 @@
"react-i18next": "^13.3.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts"
},
"gitHead": "c2e2628a2dddfcca03f25548474243ffcd13595e"
}
10 changes: 7 additions & 3 deletions packages/ndla-error-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"version": "2.0.0",
"description": "Error reporter for NDLA. Listens to window.onerror and sends client errors to Loggly.",
"license": "GPL-3.0",
"main": "lib/index.js",
"module": "es/index.js",
"type": "module",
"main": "src/index.js",
"module": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/NDLANO/frontend-packages.git/ndla-error-reporter/"
Expand All @@ -29,6 +30,9 @@
"raven-js": "^3.22.3"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js"
}
}
13 changes: 9 additions & 4 deletions packages/ndla-forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"version": "7.0.7",
"description": "Forms components for NDLA",
"license": "GPL-3.0",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"type": "module",
"types": "src/index.ts",
"main": "src/index.ts",
"module": "src/index.ts",
"sideEffects": false,
"scripts": {
"build": "node ../../scripts/build.js package",
Expand Down Expand Up @@ -45,7 +46,11 @@
"react-i18next": "^13.3.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts"
},
"gitHead": "c2e2628a2dddfcca03f25548474243ffcd13595e"
}
13 changes: 9 additions & 4 deletions packages/ndla-howto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"version": "4.1.89",
"description": "Temporary how-to texts for production system",
"license": "GPL-3.0",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"type": "module",
"types": "src/index.ts",
"main": "src/index.ts",
"module": "src/index.ts",
"sideEffects": false,
"scripts": {
"build": "node ../../scripts/build.js package",
Expand Down Expand Up @@ -46,7 +47,11 @@
"react-router-dom": ">= 6.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"type": "commonjs",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts"
},
"gitHead": "ebeb8a1d86cba369e1156719ebaecb58a6e2cdfc"
}
14 changes: 9 additions & 5 deletions packages/ndla-icons/action/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@

{
"name": "@ndla/icons/action",
"private": true,
"main": "../lib/action/index.js",
"module": "../es/action/index.js",
"jsnext:main": "../es/action/index.js"
"main": "../src/action/index.ts",
"module": "../src/action/index.ts",
"types": "../src/action/index.ts",
"publishConfig": {
"main": "../lib/action/index.js",
"module": "../es/action/index.js",
"types": "../lib/action/index.d.ts"
}
}

14 changes: 9 additions & 5 deletions packages/ndla-icons/common/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@

{
"name": "@ndla/icons/common",
"private": true,
"main": "../lib/common/index.js",
"module": "../es/common/index.js",
"jsnext:main": "../es/common/index.js"
"main": "../src/common/index.ts",
"module": "../src/common/index.ts",
"types": "../src/common/index.ts",
"publishConfig": {
"main": "../lib/common/index.js",
"module": "../es/common/index.js",
"types": "../lib/common/index.d.ts"
}
}

Loading
Loading