@openedx/frontend-app-learner-dashboard 1.0.0-alpha.7 → 1.0.0-alpha.9

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/dist/app.js CHANGED
@@ -1,13 +1,11 @@
1
1
  import { appId } from './constants';
2
2
  import routes from './routes';
3
3
  import providers from './providers';
4
- import messages from './i18n';
5
4
  import slots from './slots';
6
5
  const app = {
7
6
  appId,
8
7
  routes,
9
8
  providers,
10
- messages,
11
9
  slots,
12
10
  config: {
13
11
  LEARNING_BASE_URL: 'http://apps.local.openedx.io:2000',
package/dist/app.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,QAAQ,MAAM,QAAQ,CAAC;AAC9B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,GAAG,GAAQ;IACf,KAAK;IACL,MAAM;IACN,SAAS;IACT,QAAQ;IACR,KAAK;IACL,MAAM,EAAE;QACN,iBAAiB,EAAE,mCAAmC;QACtD,eAAe,EAAE,KAAK;QACtB,kBAAkB,EAAE,EAAE;QACtB,iBAAiB,EAAE,EAAE;QACrB,WAAW,EAAE,EAAE;QACf,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC;AAEF,eAAe,GAAG,CAAC","sourcesContent":["import { App } from '@openedx/frontend-base';\nimport { appId } from './constants';\nimport routes from './routes';\nimport providers from './providers';\nimport messages from './i18n';\nimport slots from './slots';\n\nconst app: App = {\n appId,\n routes,\n providers,\n messages,\n slots,\n config: {\n LEARNING_BASE_URL: 'http://apps.local.openedx.io:2000',\n ENABLE_PROGRAMS: false,\n ECOMMERCE_BASE_URL: '',\n ORDER_HISTORY_URL: '',\n SUPPORT_URL: '',\n SHOW_UNENROLL_SURVEY: false,\n }\n};\n\nexport default app;\n"]}
1
+ {"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,GAAG,GAAQ;IACf,KAAK;IACL,MAAM;IACN,SAAS;IACT,KAAK;IACL,MAAM,EAAE;QACN,iBAAiB,EAAE,mCAAmC;QACtD,eAAe,EAAE,KAAK;QACtB,kBAAkB,EAAE,EAAE;QACtB,iBAAiB,EAAE,EAAE;QACrB,WAAW,EAAE,EAAE;QACf,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC;AAEF,eAAe,GAAG,CAAC","sourcesContent":["import { App } from '@openedx/frontend-base';\nimport { appId } from './constants';\nimport routes from './routes';\nimport providers from './providers';\nimport slots from './slots';\n\nconst app: App = {\n appId,\n routes,\n providers,\n slots,\n config: {\n LEARNING_BASE_URL: 'http://apps.local.openedx.io:2000',\n ENABLE_PROGRAMS: false,\n ECOMMERCE_BASE_URL: '',\n ORDER_HISTORY_URL: '',\n SUPPORT_URL: '',\n SHOW_UNENROLL_SURVEY: false,\n }\n};\n\nexport default app;\n"]}
@@ -1,25 +1 @@
1
- declare const _default: {
2
- ar: {};
3
- 'zh-hk': {};
4
- 'zh-cn': {};
5
- uk: {};
6
- 'tr-tr': {};
7
- th: {};
8
- te: {};
9
- ru: {};
10
- 'pt-pt': {};
11
- 'pt-br': {};
12
- 'it-it': {};
13
- id: {};
14
- hi: {};
15
- he: {};
16
- 'fr-ca': {};
17
- fa: {};
18
- 'es-es': {};
19
- 'es-419': {};
20
- el: {};
21
- 'de-de': {};
22
- da: {};
23
- bo: {};
24
- };
25
- export default _default;
1
+ export { default } from './messages';
@@ -1,26 +1,2 @@
1
- // Placeholder be overridden by `make pull_translations`
2
- export default {
3
- ar: {},
4
- 'zh-hk': {},
5
- 'zh-cn': {},
6
- uk: {},
7
- 'tr-tr': {},
8
- th: {},
9
- te: {},
10
- ru: {},
11
- 'pt-pt': {},
12
- 'pt-br': {},
13
- 'it-it': {},
14
- id: {},
15
- hi: {},
16
- he: {},
17
- 'fr-ca': {},
18
- fa: {},
19
- 'es-es': {},
20
- 'es-419': {},
21
- el: {},
22
- 'de-de': {},
23
- da: {},
24
- bo: {},
25
- };
1
+ export { default } from './messages';
26
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/i18n/index.js"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,eAAe;IACb,EAAE,EAAE,EAAE;IACN,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,EAAE,EAAE,EAAE;IACN,OAAO,EAAE,EAAE;IACX,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,OAAO,EAAE,EAAE;IACX,EAAE,EAAE,EAAE;IACN,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE,EAAE;IACZ,EAAE,EAAE,EAAE;IACN,OAAO,EAAE,EAAE;IACX,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;CACP,CAAC","sourcesContent":["// Placeholder be overridden by `make pull_translations`\nexport default {\n ar: {},\n 'zh-hk': {},\n 'zh-cn': {},\n uk: {},\n 'tr-tr': {},\n th: {},\n te: {},\n ru: {},\n 'pt-pt': {},\n 'pt-br': {},\n 'it-it': {},\n id: {},\n hi: {},\n he: {},\n 'fr-ca': {},\n fa: {},\n 'es-es': {},\n 'es-419': {},\n el: {},\n 'de-de': {},\n da: {},\n bo: {},\n};\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC","sourcesContent":["export { default } from './messages';\n"]}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export { default as learnerDashboardApp } from './app';
2
2
  export { default as learnerDashboardRoutes } from './routes';
3
- export { default as learnerDashboardMessages } from './i18n';
package/dist/index.js CHANGED
@@ -1,4 +1,3 @@
1
1
  export { default as learnerDashboardApp } from './app';
2
2
  export { default as learnerDashboardRoutes } from './routes';
3
- export { default as learnerDashboardMessages } from './i18n';
4
3
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,QAAQ,CAAC","sourcesContent":["export { default as learnerDashboardApp } from './app';\nexport { default as learnerDashboardRoutes } from './routes';\nexport { default as learnerDashboardMessages } from './i18n';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,UAAU,CAAC","sourcesContent":["export { default as learnerDashboardApp } from './app';\nexport { default as learnerDashboardRoutes } from './routes';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openedx/frontend-app-learner-dashboard",
3
- "version": "1.0.0-alpha.7",
3
+ "version": "1.0.0-alpha.9",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,6 +23,12 @@
23
23
  "*.css",
24
24
  "*.scss"
25
25
  ],
26
+ "atlasTranslations": {
27
+ "path": "translations/frontend-app-learner-dashboard/src/i18n/messages",
28
+ "dependencies": [
29
+ "@openedx/frontend-base"
30
+ ]
31
+ },
26
32
  "scripts": {
27
33
  "build": "make build",
28
34
  "build:packages": "make build-packages",
@@ -36,6 +42,7 @@
36
42
  "lint:fix": "openedx lint --fix .",
37
43
  "prepack": "npm run clean && npm run build",
38
44
  "test": "openedx test --coverage --passWithNoTests",
45
+ "translations:pull": "openedx translations:pull",
39
46
  "watch:build": "nodemon --exec 'npm run build'"
40
47
  },
41
48
  "author": "Open edX",